Electromagnetic Drawer Locks using Home Assistant and ESPHome
Published at : 18 Dec 2025
Let's talk about Electronic Mag Locks! In today's video we're taking a look at how we used electronic mag locks on all ten of the drawers in our van. We'll look at my choice for the magnets, micro-controller, driver board, and the ESPHome YAML configuration used to make it all work! As as bonus we look at the 3D printed case and custom aluminum mounting bracket I made to complete the setup.
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps us keep making content! Thanks so much.
0:00 Intro - Mag Locks! 0:23 Mag Locks Demo 1:18 Magnet Choice 3:21 Making the Magnet Smart 5:04 Wiring the Components 7:52 ESPHome YAML 13:17 Setting up the Locks in Home Assistant 14:11 Creating Redundancy 15:37 Mounting the Locks 16:31 Wrapping Up