Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hubmartin/933e3c38c90354a170da4958880fbdca to your computer and use it in GitHub Desktop.
Save hubmartin/933e3c38c90354a170da4958880fbdca to your computer and use it in GitHub Desktop.
[{"id":"e5538902.46b928","type":"inject","z":"cb2a7314.2cf73","name":"","topic":"","payload":"door_closed","payloadType":"flow","repeat":"","crontab":"00 20 * * *","once":false,"onceDelay":0.1,"x":210,"y":420,"wires":[["34129672.f2d98a"]]},{"id":"2b95093a.e1e216","type":"mqtt in","z":"cb2a7314.2cf73","name":"","topic":"node/door-sensor:0/door-sensor/a/state","qos":"2","datatype":"auto","broker":"3785ddb7.c9eeb2","x":230,"y":260,"wires":[["2694efd1.7d7c1"]]},{"id":"2694efd1.7d7c1","type":"change","z":"cb2a7314.2cf73","name":"","rules":[{"t":"set","p":"door_closed","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":260,"wires":[[]]},{"id":"34129672.f2d98a","type":"switch","z":"cb2a7314.2cf73","name":"doors are closed","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"true","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":440,"y":420,"wires":[[],["a4ca932b.6a981"]]},{"id":"4dede209.bd7e3c","type":"blynk-ws-out-notify","z":"cb2a7314.2cf73","name":"","client":"53c060de.168dd","queue":false,"rate":5,"x":850,"y":420,"wires":[]},{"id":"a4ca932b.6a981","type":"change","z":"cb2a7314.2cf73","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Garage doors opened!","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":660,"y":420,"wires":[["4dede209.bd7e3c"]]},{"id":"a289b697.badc58","type":"inject","z":"cb2a7314.2cf73","name":"","topic":"","payload":"true","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":330,"y":300,"wires":[["2694efd1.7d7c1"]]},{"id":"b6a03f62.0f936","type":"inject","z":"cb2a7314.2cf73","name":"","topic":"","payload":"false","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":330,"y":340,"wires":[["2694efd1.7d7c1"]]},{"id":"3785ddb7.c9eeb2","type":"mqtt-broker","z":"","broker":"127.0.0.1","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"53c060de.168dd","type":"blynk-ws-client","z":"","name":"","path":"ws://blynk-cloud.com/websockets","key":"ed058033163b4f4b977e6e1d60c725d9","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":""}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment