Skip to content

Instantly share code, notes, and snippets.

@unixweb unixweb/doors.json
Created May 23, 2018

Embed
What would you like to do?
Node-Red Icons
[{"id":"29e0e77c.6d3b78","type":"ui_template","z":"ca55e714.8cafb8","group":"fe3b5a9c.4026c","name":"Türe Terrasse","order":0,"width":"3","height":"4","format":"<p> <center>Terrasse</center> </p>\n<div ng-bind-html=\"msg.payload\"></div>\n</body>","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":580,"y":160,"wires":[[]]},{"id":"a4747682.28e728","type":"inject","z":"ca55e714.8cafb8","name":"Open","topic":"","payload":"<img src=\"https://node.unixweb.eu/pic/doors/door-9-128.png\">","payloadType":"str","repeat":"","crontab":"","once":false,"x":372.8833312988281,"y":227,"wires":[["29e0e77c.6d3b78"]]},{"id":"39d0caec.09b4d6","type":"inject","z":"ca55e714.8cafb8","name":"Close","topic":"","payload":"<img src=\"https://node.unixweb.eu/pic/doors/door-10-128.png\">","payloadType":"str","repeat":"","crontab":"","once":true,"x":372.8833312988281,"y":287,"wires":[["29e0e77c.6d3b78"]]},{"id":"20881627.4a9f92","type":"change","z":"ca55e714.8cafb8","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"OPEN","fromt":"str","to":"<img src=\"https://node.unixweb.eu/pic/doors/door-9-128.png\">","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"CLOSED","fromt":"str","to":"<img src=\"https://node.unixweb.eu/pic/doors/door-10-128.png\">","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":160,"wires":[["29e0e77c.6d3b78"]]},{"id":"a1ae9ddf.9f058","type":"mqtt in","z":"ca55e714.8cafb8","name":"","topic":"home/terrasse","qos":"2","broker":"9832b47b.a01918","x":120,"y":160,"wires":[["20881627.4a9f92"]]},{"id":"fe3b5a9c.4026c","type":"ui_group","z":"","name":"Türen und Fenster","tab":"769a19e8.10371","order":1,"disp":true,"width":"6"},{"id":"9832b47b.a01918","type":"mqtt-broker","z":"","broker":"mqtt.unixweb.de","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"769a19e8.10371","type":"ui_tab","z":"","name":"Doors","icon":"dashboard","order":6}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.