Radio Flood Detector

Protect your home from the flood with this simple device. It will send you the notification when there is some leak in a bathroom or kitchen

BeginnerFull instructions provided1 hour866
Radio Flood Detector

Things used in this project

Hardware components

Flood Detector Kit
HARDWARIO Flood Detector Kit
×1
Radio Dongle
HARDWARIO Radio Dongle
×1

Software apps and online services

Playground
HARDWARIO Playground
Node-RED
Node-RED
Blynk
Blynk

Story

Read more

Code

NODE-Red flow

JSON
Put this into the NODE-Red.
[{"id":"e959d4b6.172ad8","type":"mqtt in","z":"484a866.3239c78","name":"","topic":"node/flood-detector:0/flood-detector/a/alarm","qos":"2","broker":"e649966c.8c2af8","x":310,"y":240,"wires":[["bffbe173.94839"]]},{"id":"cc2e3641.6afa98","type":"blynk-ws-out-notify","z":"484a866.3239c78","name":"","client":"d6a7d587.156788","queue":false,"rate":5,"x":810,"y":240,"wires":[]},{"id":"bffbe173.94839","type":"function","z":"484a866.3239c78","name":"Alarm checker","func":"if(msg.payload == \"true\")\n{\n    msg.payload = \"Warning: Flood detected\";\n    return msg;\n}","outputs":1,"noerr":0,"x":620,"y":240,"wires":[["cc2e3641.6afa98"]]},{"id":"e649966c.8c2af8","type":"mqtt-broker","z":"","name":"","broker":"127.0.0.1","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"d6a7d587.156788","type":"blynk-ws-client","z":"","name":"Flood Detector","path":"ws://blynk-cloud.com/websockets","key":"074414289d414c73ba5a9288c7ce8a13","dbg_all":false,"dbg_read":false,"dbg_write":false,"dbg_notify":false,"dbg_mail":false,"dbg_prop":false,"dbg_sync":false,"dbg_bridge":false,"dbg_low":false,"dbg_pins":"","multi_cmd":false,"proxy_type":"no","proxy_url":""}]

Credits

Jakub Smejkal
79 projects • 14 followers
Contact
Martin Hubáček
65 projects • 56 followers
Contact
Lukáš Fabik
43 projects • 12 followers
Contact
Alan Fabik
43 projects • 11 followers
Contact
Pavel Hübner
19 projects • 17 followers
I am a hardware engineer, firmware developer, and open-source enthusiast.
Contact

Comments

Please log in or sign up to comment.