Skip to content

Latest commit

 

History

History
54 lines (46 loc) · 2.79 KB

README.md

File metadata and controls

54 lines (46 loc) · 2.79 KB

Smart Doorbell

Smart doorbell that can be implemented in any existing doorbell based upon a NodeMCU, a 3v3 Relay and Tasmota

Table of Contents

  1. Materials needed
  2. Connecting the hardware
  3. Setting up the software
  4. Add silent mode

Materials

The following components have been used

Connecting the hardware

  1. Connect the wires as follows: alt text

Setting up the software

  1. Download Tasmotizer: https://github.com/tasmota/tasmotizer
  2. Connect the NodeMCU via the USB port
  3. In Tamotizer, select Release and click Tasmotize
  4. Look up an access point with the name tasmota_XXXXXX-####, connect and follow the instructions
  5. Go with the browser to the IP-adress of your NodeMCU
  6. Click Configuration
  7. Click Configure Module
  8. Set Module Type to Generic
  9. Save and wait for the device to reboot
  10. Repeat step 6 & 7
  11. Configure the module as shown on the picture below

alt text

  1. Save and wait for the device to reboot

Optional: add silent mode to doorbell

Optionally, it is possible by adding a 'silent mode' to your doorbell. You do this by updating the configuration add temporarily remove the relay from the configuration.

Home Assistant configuration (requires MQTT to be configured)

Switch:
- platform: mqtt
  name: "Deurbel stille modus"
  command_topic: "cmnd/doorbell/GPIO5" ## Set 'doorbell' to the topic name of your device
  state_topic: "stat/doorbell/RESULT" ## Set 'doorbell' to the topic name of your device 
  payload_on: "0"
  payload_off: "256"
  state_on: '{"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"},"GPIO4":{"0":"None"},"GPIO5":{"0":"None"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"0":"None"},"GPIO13":{"0":"None"},"GPIO14":{"160":"Switch1"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"}}}'
  state_off: '{"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"},"GPIO4":{"0":"None"},"GPIO5":{"256":"Relay_i1"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"0":"None"},"GPIO13":{"0":"None"},"GPIO14":{"160":"Switch1"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"}}}'