2020-12-25 15:52:54 +01:00
2020-12-25 15:52:54 +01:00
2020-12-25 15:52:54 +01:00
2020-12-25 15:52:54 +01:00
2020-12-25 15:52:54 +01:00
2021-02-02 16:10:58 +01:00

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
Description
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.
Readme 106 KiB
Languages
C++ 100%