Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341

Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341

thingiverse

Hello, i have the Arduino IDE version, i have adapt to MQTT to integrate into HA, and yesterday i have adapt the code for ESPHOME with HA API, here is the complete and functionnal code if someone is interested to :wink: work in progress...not perfect...but works : need to push the codelock on the touchscreen until the X symbol is draw on the screen for each digit, basicly 4 digids, you can change with "codenum" variable in globals: section of the file. Enjoy! 2 things to do first : - 1 is to create a "input_boolean.digicode_arm" in HA to trigger an automation to put alarm on and off - 2 create an automation that will be triggered with the input_boolean above and will activate the alarm(s) entity(entities). i use the ILI9341 with xpt2046 touchscreen 3.2" and a ESP32S, dont work with a ESP8266. Need a photoresistance + resistance of 10KOmhs and a buzzer + a 220Ohms resistance + a BC337 or similar transistor.

Download Model from thingiverse

With this file you will be able to print Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341.