• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 1
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 2
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 3
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 4
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 5
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 6
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 7
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Image 8
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 1
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 2
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 3
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 4
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 5
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 6
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 7
Digicode / codelock with ESPHOME for Home Assistant with ESP32 and ILI9341 3D Printer File Thumbnail 8

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

Electronlibre avatarElectronlibre

February 21, 2022

thingiverse-icon
DescriptionCommentsTags

Description

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.

License:

Creative Commons - Attribution

Related Models

Minimalistic Motorized Roller Blinds - NEMA 17 stepper motor gear and mount preview image

Minimalistic Motorized Roller Blinds - NEMA 17 stepper motor gear and mount

lushey profile image

lushey

3,988

Case for Flipper Zero Wi-Fi Module v1 preview image

Case for Flipper Zero Wi-Fi Module v1

fivesixzero profile image

fivesixzero

1,086

ESP32 NFC Mini Record Player - Vinyl Tag Reader preview image

ESP32 NFC Mini Record Player - Vinyl Tag Reader

geroulas profile image

geroulas

246

Smart, Self-watering Plant Pot Planter "Flaura" preview image

Smart, Self-watering Plant Pot Planter "Flaura"

Martin_McMaker profile image

Martin_McMaker

3,807

Heltec v3 case for Meshtastic preview image

Heltec v3 case for Meshtastic

TonyG profile image

TonyG

1,556

NFC Tag Reader: ESP8266/32-C6/C3 Supermini + PN532 preview image

NFC Tag Reader: ESP8266/32-C6/C3 Supermini + PN532

Fabrice profile image

Fabrice

127

Hexagonal Nanoleaf - Hexaleaf preview image

Hexagonal Nanoleaf - Hexaleaf

ElHeisa profile image

ElHeisa

3,238

LED Frame 2.0 (Multiboard) for IKEA SKADIS preview image

LED Frame 2.0 (Multiboard) for IKEA SKADIS

Hawk7 profile image

Hawk7

2,929