-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
roller2.json
1 lines (1 loc) · 2.57 KB
/
roller2.json
1
[{"id":"cabb3fcef2697fe9","type":"shelly-gen1","z":"0d338faf61a7ae48","hostname":"192.168.178.165","description":"","mode":"polling","server":"033a6e9acf499057","uploadretryinterval":"5000","pollinginterval":5000,"pollstatus":false,"getstatusoncommand":true,"devicetype":"Roller","outputs":1,"credentials":{"username":"","password":""},"x":710,"y":160,"wires":[["04574bee967834da"]]},{"id":"04574bee967834da","type":"debug","z":"0d338faf61a7ae48","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":890,"y":160,"wires":[]},{"id":"787041d58dadf405","type":"inject","z":"0d338faf61a7ae48","name":"goTo 75%","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":320,"y":100,"wires":[["48e65c72691b9926"]]},{"id":"48e65c72691b9926","type":"function","z":"0d338faf61a7ae48","name":"75%","func":"msg.payload = {\n roller : 0,\n go : \"to_pos\",\n roller_pos : 75\n}\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":490,"y":100,"wires":[["cabb3fcef2697fe9"]]},{"id":"4d54cc3b739d3e8b","type":"inject","z":"0d338faf61a7ae48","name":"goTo 25%","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":320,"y":200,"wires":[["41b70996ea73beef"]]},{"id":"41b70996ea73beef","type":"function","z":"0d338faf61a7ae48","name":"25%","func":"msg.payload = {\n roller : 0,\n go : \"to_pos\",\n roller_pos : 25\n}\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":490,"y":200,"wires":[["cabb3fcef2697fe9"]]},{"id":"187b09d9896a7a58","type":"inject","z":"0d338faf61a7ae48","name":"goTo 100%","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":320,"y":60,"wires":[["dd66dc7c9e2a9b06"]]},{"id":"dd66dc7c9e2a9b06","type":"function","z":"0d338faf61a7ae48","name":"100%","func":"msg.payload = {\n roller : 0,\n go : \"to_pos\",\n roller_pos : 100\n}\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":490,"y":60,"wires":[["cabb3fcef2697fe9"]]},{"id":"71b395a58411f253","type":"inject","z":"0d338faf61a7ae48","name":"goTo 0%","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":320,"y":240,"wires":[["48f08f01c015ef51"]]},{"id":"48f08f01c015ef51","type":"function","z":"0d338faf61a7ae48","name":"0%","func":"msg.payload = {\n roller : 0,\n go : \"to_pos\",\n roller_pos : 0\n}\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":490,"y":240,"wires":[["cabb3fcef2697fe9"]]},{"id":"033a6e9acf499057","type":"shelly-gen1-server","port":"20001","hostname":""}]