Hi there, my setup has slightly changed but I’m still using the same components
1) Doorbell via motion detection
- I have setup a motion sensor outside my fence to detect any motion in front of the gate
- the motion sensot has to be position carefully so only the front-gate is covered, otherwise you will get too many alerts
- whenever a motion is detected I raise an alam in my atomation and an MP3 is played
- I have a setup a schedule (7am - 10pm) to enable the MP3, otherwise there is a silent alarm on my phone via Telegram
- Motion detection in my front-yard
- I have setuo 2 RTSP cameras in my front-yard and configured in motioneye
- i did a brief description here
- Motioneye is detecting a movement and sending a websocket alarm to my automation system Node-Red
- Node-Red is raising an alam via MP3 during my alarm schedule (7pm to 7am) and seitich on the front-yard lights
- Node-red is also sending the alarm video via Telegram to my phone
- Porch-light via motion detection
- previously I used the motion sensor on the porch for my doorbell alert
- now I’m using it to switch on the light on the porch
As said, I’m using Node-Red for all my automations and my flows are very custom but in general
- I use the Zigbee protocoll for most of my sensors and lights
- Some sensors working on RF protokol as they are not necessarily real-time relevant and very cheap … I use them primarily to check the indoor doors and some windows
- An RF receiver (Broadlink RM) is receving the RF alerts and sending them to node-red
- All my RTSP cameras are connected to Motioneye and alarms are sent to Node-Red via Websocket
I hope that helped a bit, let me know if you have some more specific questions … as said my flows are heavily customized and using the THINGS node to managing all my device entities.
the below flow is waiting for a motion in my halway and will switch on the light in the hallway for 3 minutes
[{"id":"8b615e5d5666923c","type":"Thing Trigger","z":"c545107f.26945","nodeName":"Switch.Hallway","triggerThing":{"path":"name","type":"str","value":"Switch.Hallway"},"triggerState":null,"triggerTest":null,"ignoreInit":false,"payload":{"type":"state","value":"click"},"x":320,"y":3580,"wires":[["820ef51be17391e3"]]},{"id":"820ef51be17391e3","type":"switch","z":"c545107f.26945","name":"single","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"single","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":730,"y":3580,"wires":[["d890f21204d02773"]]},{"id":"d890f21204d02773","type":"trigger","z":"c545107f.26945","name":"","op1":"","op2":"","op1type":"pay","op2type":"nul","duration":"1","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":900,"y":3580,"wires":[["dd61d738928f32b6"]]},{"id":"dd61d738928f32b6","type":"link out","z":"c545107f.26945","name":"","links":["52514708.712188"],"x":1055,"y":3580,"wires":[]}]
- The THING node is getting updated by a central routine gathering the Zigbee events
- only when the THING node is “Turning ON” than another routine managing my lights is gettig initiated
- I use a trigger node to eliminate fast ON/OFF signals
- I know this will not help you directly, but my flows are very modular and I do not have an end-to-end flow just for doorbell
For example:
- I have a central flow to receive all Zigbee messages. This node is updating my THING universe so I have all the states and events captured
- I have a dedicated flow just to switch ON/OFF my lights
- I have a dedicted flow for all my different alarms (MP3 via Sonos-Player, Flashing Lights, Sending Alarm messages via Telegram)
- I have a flow to handle all my alarms messages via Telegram
- and lots more of these … but not end-to-end flow