433mhz smoke alarm and sonoff tasmota rf bridge integration with yale house alarm siren and push notification

This flow is a simple flow that gives peace of mind both in and away from home. If a fire or smoke is detected an mqtt signal is received from tasmota rf433 bridge originating from the smoke alarm.

The flow then sends a push notification to my and my wifes phone and parents nearby that the alarm has detected smoke. The yale wireless house alarm siren is activated. This can be turned off from the phone or by voice command if required.

The flow has a self checking mechanism to constantly monitor that all connections are always live. If any are dropped a reset procedure is instantly started to repair any broken link.

This flow was kept as small and simple as possible to maximise reliability and I have yet to find any breakages and hiccups with the monitoring and resetting procedure that would stop an alarm from being notified and triggering the extra procedures. The flow is always running and I am very confident of its reliability.

This in no way shape or form interferes with the smoke alarm standard setup and its own siren mechanism. The flow is an add on from the signal that is sent on activation in the event of smoke detected from the unit itself.

Todo is to add on the switch node the extra signal the alarm sends via 433mhz when the 9v battery is low and needs replacing. But the smoke alarm does the usual pip when the voltage is becoming low. It would be handy to get a notification with the low battery information. I will add this as soon as I have some spare time.

[{"id":"86b80191.aad54","type":"tab","label":"smoke 3457 connect","disabled":false,"info":""},{"id":"b007b6ef.33bca8","type":"mqtt in","z":"86b80191.aad54","name":"","topic":"tele/tasmota_433ABF/RESULT","qos":"2","datatype":"json","broker":"59fef99c.d0fa28","x":150,"y":60,"wires":[["b45a8966.c8cc68"]]},{"id":"b45a8966.c8cc68","type":"switch","z":"86b80191.aad54","name":"","property":"payload.RfReceived.RfKey","propertyType":"msg","rules":[{"t":"eq","v":"4","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":370,"y":60,"wires":[["f605bda0.e9ac3","a202b78c.cd8b88"]]},{"id":"9230ff2d.49544","type":"alexa-remote-routine","z":"86b80191.aad54","name":"","account":"149ea61b.2e576a","routineNode":{"type":"pushNotification","payload":{"text":{"type":"str","value":"SMOKE ALARM DETECT SMOKE"},"title":{"type":"str","value":"Node-RED SMOKE ALARM ACTIVATED"}}},"x":1110,"y":60,"wires":[[]]},{"id":"f605bda0.e9ac3","type":"delay","z":"86b80191.aad54","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"3","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":540,"y":60,"wires":[["354928c3.66c858"]]},{"id":"a202b78c.cd8b88","type":"debug","z":"86b80191.aad54","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":510,"y":140,"wires":[]},{"id":"354928c3.66c858","type":"json","z":"86b80191.aad54","name":"","property":"payload","action":"obj","pretty":true,"x":710,"y":60,"wires":[["5f92c993.c296e8","584c613b.2fb85","b8f3795.6c38788"]]},{"id":"b1f78ec7.cbb36","type":"alexa-remote-routine","z":"86b80191.aad54","name":"","account":"149ea61b.2e576a","routineNode":{"type":"smarthome","payload":{"entity":"3a991e01-b04a-4f13-aac8-28e7be87ffc0","action":"sceneActivate"}},"x":1120,"y":160,"wires":[[]]},{"id":"5f92c993.c296e8","type":"alexa-remote-routine","z":"86b80191.aad54","name":"","account":"149ea61b.2e576a","routineNode":{"type":"speakAtVolume","payload":{"type":"regular","text":{"type":"str","value":"SMOKE ALARM DETECTS SMOKE"},"volume":{"type":"num","value":"80"},"mode":"set","devices":["G090U509910719JR"]}},"x":990,"y":260,"wires":[[]]},{"id":"584c613b.2fb85","type":"delay","z":"86b80191.aad54","name":"","pauseType":"delay","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":910,"y":60,"wires":[["9230ff2d.49544"]]},{"id":"b8f3795.6c38788","type":"delay","z":"86b80191.aad54","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":920,"y":140,"wires":[["b1f78ec7.cbb36"]]},{"id":"e4fa26e8.f1e398","type":"delay","z":"86b80191.aad54","name":"","pauseType":"delay","timeout":"30","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":480,"y":300,"wires":[["67f5178b.89fef8"]]},{"id":"8189ecf.b05c71","type":"nbrowser","z":"86b80191.aad54","name":"","methods":[],"prop":"nbrowser","propout":"payload","object":"msg","objectout":"msg","close":true,"show":false,"ssl":true,"outputs":0,"x":900,"y":380,"wires":[]},{"id":"9f9d7682.404468","type":"debug","z":"86b80191.aad54","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":500,"y":440,"wires":[]},{"id":"675c9b17.4d6914","type":"is online","z":"86b80191.aad54","name":"online","url":"192.168.0.29:3457","action":"2","x":160,"y":440,"wires":[["9f9d7682.404468"]]},{"id":"11ab8a7.b16ec76","type":"inject","z":"86b80191.aad54","name":"","props":[{"p":"payload"}],"repeat":"60","crontab":"","once":true,"onceDelay":"0.1","topic":"","payload":"","payloadType":"date","x":130,"y":300,"wires":[["675c9b17.4d6914","a1b83399.13eda"]]},{"id":"a1b83399.13eda","type":"is online","z":"86b80191.aad54","name":"offline","url":"192.168.0.29:3457","action":"1","x":190,"y":500,"wires":[["4923c7a8.045fb8","94070e5.8dde0f","b1530e83.85258"]]},{"id":"4923c7a8.045fb8","type":"debug","z":"86b80191.aad54","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":490,"y":500,"wires":[]},{"id":"bdc2bc54.be6ed","type":"mqtt out","z":"86b80191.aad54","name":"","topic":"cmnd/tasmota_433ABF/Restart1","qos":"2","retain":"false","broker":"59fef99c.d0fa28","x":650,"y":580,"wires":[]},{"id":"2b9f2849.f85638","type":"change","z":"86b80191.aad54","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":360,"y":580,"wires":[["bdc2bc54.be6ed","433fb1c1.aeb4a"]]},{"id":"433fb1c1.aeb4a","type":"debug","z":"86b80191.aad54","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":730,"y":500,"wires":[]},{"id":"94070e5.8dde0f","type":"delay","z":"86b80191.aad54","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":320,"y":380,"wires":[["61ecf6ec.1c5408"]]},{"id":"e9fd0112.ffb0f","type":"inject","z":"86b80191.aad54","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"00 01 * * *","once":false,"onceDelay":"0.1","topic":"","payload":"","payloadType":"date","x":110,"y":580,"wires":[["2b9f2849.f85638"]]},{"id":"67f5178b.89fef8","type":"is online","z":"86b80191.aad54","name":"online","url":"192.168.0.29:3457","action":"2","x":590,"y":380,"wires":[["74d1f4dc.33d84c"]]},{"id":"74d1f4dc.33d84c","type":"change","z":"86b80191.aad54","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":740,"y":420,"wires":[["8189ecf.b05c71"]]},{"id":"b1530e83.85258","type":"delay","z":"86b80191.aad54","name":"","pauseType":"rate","timeout":"30","timeoutUnits":"seconds","rate":"1","nbRateUnits":"3","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":280,"y":540,"wires":[["2b9f2849.f85638"]]},{"id":"53a0ff7e.0d33b","type":"link in","z":"86b80191.aad54","name":"","links":[],"x":75,"y":240,"wires":[["61ecf6ec.1c5408"]]},{"id":"61ecf6ec.1c5408","type":"delay","z":"86b80191.aad54","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"3","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":250,"y":260,"wires":[["a8eac2f2.d2608","e4fa26e8.f1e398"]]},{"id":"e1fc5522.941e78","type":"comment","z":"86b80191.aad54","name":"link from error catch on alexa flow to re logon to amazon 3457","info":"","x":260,"y":180,"wires":[]},{"id":"1849ebd5.a9e574","type":"comment","z":"86b80191.aad54","name":"mqtt restart rf bridge 01 am every day and after error catch","info":"","x":830,"y":540,"wires":[]},{"id":"a8eac2f2.d2608","type":"nbrowser","z":"86b80191.aad54","name":"","methods":[],"prop":"nbrowser","propout":"payload","object":"msg","objectout":"msg","close":true,"show":false,"ssl":true,"outputs":0,"x":340,"y":300,"wires":[]},{"id":"59fef99c.d0fa28","type":"mqtt-broker","name":"Local Broker","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"149ea61b.2e576a","type":"alexa-remote-account","name":"","authMethod":"proxy","proxyOwnIp":"localhost","proxyPort":"3457","cookieFile":"","refreshInterval":"7","alexaServiceHost":"alexa.amazon.co.uk","amazonPage":"amazon.co.uk","acceptLanguage":"en-UK","userAgent":"","useWsMqtt":"on","autoInit":"on"}]

Flow Info

Created 4 years, 4 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • change (x2)
  • comment (x2)
  • debug (x4)
  • delay (x7)
  • inject (x2)
  • json (x1)
  • link in (x1)
  • mqtt in (x1)
  • mqtt out (x1)
  • mqtt-broker (x1)
  • switch (x1)
Other
  • alexa-remote-account (x1)
  • alexa-remote-routine (x3)
  • is online (x3)
  • nbrowser (x2)
  • tab (x1)

Tags

  • alexa
  • mqtt
  • 433mhz
  • rfbridge
  • smoke
  • alarm
  • yale
  • self-monitor
  • push-notification
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option