Door bell gateway integrating MQTT for Home Automation support. This has an interface in both directions, door bell signals from the push buttons are published on MQTT and it listens to events to turn on the bell or switch on the light.
Go to file
Dirk Jahnke 1507f55fc1 Fixed HA IP-Address and MQTT user/pwd 2021-04-26 15:26:27 +02:00
.vscode Initial commit 2020-12-25 15:52:54 +01:00
include Initial commit 2020-12-25 15:52:54 +01:00
lib Initial commit 2020-12-25 15:52:54 +01:00
src Fixed HA IP-Address and MQTT user/pwd 2021-04-26 15:26:27 +02:00
test Initial commit 2020-12-25 15:52:54 +01:00
.gitignore Initial commit 2020-12-25 15:52:54 +01:00
README.md Added mqtt status message for output pins; moved output init to beginning of setup 2020-12-28 16:59:33 +01:00
platformio.ini Added Debouncer 2021-02-02 16:10:58 +01:00

README.md

DoorBell-MQTT-Gateway

Based on

  • Arduino Uno
  • Ethernet interface using MQTT

Watchout for GPIO changes as triggers for

  • door bell input
  • mailbox observer (post entry)
  • mailbox observer (takeout posts)
  • light requests (button)

Serve outputs (using relays to trigger) for

  • turn light on at mailbox
  • turn bell sound on

MQTT messages:

  • doorBellTopic = "doorBellGW/doorbell" --> issued when pushbutton pressed: trigger / re-trigger / release
  • postboxFlapTopic = "doorBellGW/mailboxFlap" --> issued, when flap is opened to enter mail: trigger / re-trigger / release
  • postboxDoorTopic = "doorBellGW/mailboxDoor" --> issued, when mailbox door is opened to remove mail: trigger / re-trigger / release
  • doorBellTriggerSoundTopic = "doorBellGW/doorbellTrigger" --> listens to this message and turns on relay for a short time to trigger the bell/gong
  • doorLightRequestTopic = "doorBellGW/lightRequest" --> issued, when light pushbutton is pressed: trigger / re-trigger / release; light is turned on for 30 seconds
  • postboxLightTopic = "doorBellGW/light" --> listens to this message and turns light on at mailbox for 30 seconds
  • postboxLightStatusTopic = "doorBellGW/light/status" --> issued, when light at mailbox is turned on/off: on / off