My own ESPHome 4 Button Switch for Home Assistant


Hey,


I have a new idea; I work extensively with home automations and have several home servers, including Home Assistant. For my doorbell, I use an Aqara Smart Button, but I'm not entirely satisfied with it, so I'm currently developing and building a proof of concept 4-way button. It runs on a Wemos D1 Mini, connected to which are 4 buttons as "smart buttons" and an LED that lights up to confirm button presses. ESPHome serves as the connection between Home Assistant and the buttons.The power supply is provided by a 18650 battery.

 

I have a new idea: I work extensively with home automations and have several home servers, including Home Assistant. For my doorbell, I use an Aqara Smart Button, but I'm not entirely satisfied with it, so I'm currently developing and building a proof of concept 4-way button. It runs on a Wemos D1 Mini, connected to which are 4 buttons as "smart buttons" and an LED that lights up to confirm button presses. ESPHome serves as the connection between Home Assistant and the buttons.The power supply is provided by a 18650 battery

 

Here's the first look at the construction:

Size of the finished Switch: 80mm x 80mm x 28mm

 
 
 
as you see, the Buttons glued to the marked areas, the Areas are marked by the print itself.
 
 
 


And this is how it looks assembled and operational:

(Every Button can do his own Operations, even more with multiclick feature on every Button)

 

 



If anyone is interested in the file and the accompanying code, both can be found at:

(Details for soldering ect. in the Code-File)

Buy stl and Code for the 4 Button Switch


Bill of Materials (BOM)

Components:

  • 4x Push buttons, 6x6mm
  • 1x 3mm 3.3V LED
  • 1x Wemos D1 Mini
  • 2x 220 Ohm resistors for battery level measurement
  • 1x 18650 battery
  • 1x 30x70mm perfboard
  • 4x M3x5mm screws
  • Adhesive (for front panel)

 

UPDATE 04/04/24:

because of me using an ESP8266 (Wemos d1 Mini), it cannot go in sleepstate and wake up per Button Push, therfore i soldered an additional Push Button to the reset Button, to wake up the Smart Button.




Comments

Popular Posts