Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.6 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.6 KB

ESP_Doorbell

IoT style doorbell using 433 lloydtron MIP recieve and ESP to MQTT Parts:

Wiring: ESP12F mini d1 used : pin D2 -> 433 receiver data pin, GND/5V <TODO: wiring diagram>

Notables:

create: /etc/avahi/services/mosquitto.service

---- snip -----
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
 <name replace-wildcards="yes">Mosquitto MQTT server on %h</name>
  <service>
   <type>_mqtt._tcp</type>
   <port>1883</port>
   <txt-record>info=Publish, Publish! Read all about it! mqtt.org</txt-record>
  </service>

</service-group>
---- snip -----
  • MIP value check : to trigger to MQTT, this code will wait till it see the 433 24bit id announcements 3 times (to deal with situation when 2 devices announce at same time and garble received values..)

  • MQTT connect announce

  • Heartbeat indicator on internal LED (let you know its still ticking)

  • [TODO] : Adding sound trigger and MP3 BOARD

Prototype build:

image of build