-
-
Save jacopen/72468a6176162e9a88f5cf5f654750b5 to your computer and use it in GitHub Desktop.
HUIS x Node-RED flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"afe06708.1f8058","type":"inject","z":"96ac7095.08f82","name":"bootstrap","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":95.3888931274414,"y":171.99998474121094,"wires":[["d61a4986.befb78"]]},{"id":"d61a4986.befb78","type":"exec","z":"96ac7095.08f82","command":"sudo bto","addpay":true,"append":"","useSpawn":true,"timer":"","name":"command","x":287.5,"y":172.5,"wires":[["feea19ab.818108"],[],["5bc857ef.477168"]]},{"id":"5bc857ef.477168","type":"function","z":"96ac7095.08f82","name":"loop","func":"\nreturn msg;","outputs":1,"noerr":0,"x":289.5,"y":232,"wires":[["d61a4986.befb78"]]},{"id":"feea19ab.818108","type":"switch","z":"96ac7095.08f82","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"C1AA5A8F3023B1","vt":"str"},{"t":"cont","v":"C1AA5A8F3022A1","vt":"str"},{"t":"cont","v":"C1AA5A8F302081","vt":"str"},{"t":"cont","v":"41AA5A8F301C71","vt":"str"},{"t":"cont","v":"C1AA5A8F302191","vt":"str"},{"t":"else"}],"checkall":"true","outputs":6,"x":465.5,"y":160,"wires":[["237476ff.200d5a"],["43328847.4e1048"],["11d91c12.eaaa74"],["623bff1e.0fe18"],["3173f1c0.e3174e"],[]]},{"id":"237476ff.200d5a","type":"function","z":"96ac7095.08f82","name":"next","func":"context.global.count++;\nreturn msg;","outputs":1,"noerr":0,"x":603.5,"y":87,"wires":[[]]},{"id":"43328847.4e1048","type":"function","z":"96ac7095.08f82","name":"back","func":"context.global.count--;\nreturn msg;","outputs":1,"noerr":0,"x":604.5,"y":124,"wires":[[]]},{"id":"11d91c12.eaaa74","type":"function","z":"96ac7095.08f82","name":"up","func":"msg.payload='発表中だよ #noderedjp';\nreturn msg;","outputs":1,"noerr":0,"x":603.5,"y":162,"wires":[[]]},{"id":"623bff1e.0fe18","type":"function","z":"96ac7095.08f82","name":"middle","func":"msg.payload='起きた #noderedjp';\nreturn msg;","outputs":1,"noerr":0,"x":603.5,"y":200,"wires":[[]]},{"id":"3173f1c0.e3174e","type":"function","z":"96ac7095.08f82","name":"down","func":"msg.payload='ぽんぽんぺいん #noderedjp';\nreturn msg;","outputs":1,"noerr":0,"x":604.5,"y":239,"wires":[[]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment