Node-Red

Аватар пользователя
admin
Администратор
Сообщений: 245
Зарегистрирован: 10 июн 2017, 16:49
Откуда: Rakun City
Контактная информация:

Node-Red

Сообщение admin » 21 июл 2019, 15:39

Код: Выбрать все

[{"id":"5ea6c996.329e08","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"3645d912.2a2b56","type":"ui_chart","z":"5ea6c996.329e08","name":"","group":"eb78c4d8.4bc328","order":1,"width":0,"height":0,"label":"Bar Davlenie","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"300","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":658.5,"y":345,"wires":[[]]},{"id":"c2a8b06b.14096","type":"ui_gauge","z":"5ea6c996.329e08","name":"","group":"eb78c4d8.4bc328","order":0,"width":0,"height":0,"gtype":"gage","title":"Temp","label":"units","format":"{{value}}","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":618.5,"y":257,"wires":[]},{"id":"72629923.67b598","type":"random","z":"5ea6c996.329e08","name":"Temp","low":"1","high":"100","inte":"true","property":"payload","x":301.5,"y":211,"wires":[["c2a8b06b.14096"]]},{"id":"d2a38058.4f7c2","type":"random","z":"5ea6c996.329e08","name":"","low":"1","high":"300","inte":"true","property":"payload","x":313.5,"y":348,"wires":[["3645d912.2a2b56"]]},{"id":"5af4d827.34fbc8","type":"inject","z":"5ea6c996.329e08","name":"","topic":"lop","payload":"true","payloadType":"bool","repeat":"3","crontab":"","once":false,"onceDelay":0.1,"x":124.5,"y":230,"wires":[["72629923.67b598","d2a38058.4f7c2","f340b2b3.85c1d"]]},{"id":"12dd21d8.d739fe","type":"debug","z":"5ea6c996.329e08","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":976.5,"y":397,"wires":[]},{"id":"1e2f891b.130c67","type":"http request","z":"5ea6c996.329e08","name":"","method":"GET","ret":"txt","paytoqs":false,"url":"http://192.168.1.1?a={{{querry}}}","tls":"","proxy":"","authType":"","x":689.5,"y":464,"wires":[["12dd21d8.d739fe"]]},{"id":"f340b2b3.85c1d","type":"function","z":"5ea6c996.329e08","name":"Qurry","func":"var dzho = Math.random() * (999 - 1) + 1;\n\n\nglobal.set('huy',dzho);\n\nvar newMsg = { payload: '5' };\nreturn newMsg;","outputs":1,"noerr":0,"x":235.5,"y":511,"wires":[["7f373e0c.6ac9f","51812878.b82f58"]]},{"id":"7f373e0c.6ac9f","type":"change","z":"5ea6c996.329e08","name":"Preobrazov","rules":[{"t":"set","p":"querry","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":468.5,"y":480,"wires":[["1e2f891b.130c67"]]},{"id":"51812878.b82f58","type":"function","z":"5ea6c996.329e08","name":"Qurry2","func":"var count=global.get('huy')|| 0;\n\n\nmsg.payload=\"F1 \"+msg.payload+\" \"+count;\n\n\nreturn msg;","outputs":1,"noerr":0,"x":779,"y":671,"wires":[["12dd21d8.d739fe"]]},{"id":"eb78c4d8.4bc328","type":"ui_group","z":"","name":"Intel","tab":"fb705441.605098","disp":true,"width":"6","collapse":false},{"id":"fb705441.605098","type":"ui_tab","z":"","name":"Intel","icon":"dashboard","disabled":false,"hidden":false}]

Вернуться в «Raspberry»

Кто сейчас на форуме

Количество пользователей, которые сейчас просматривают этот форум: нет зарегистрированных пользователей и 1 гость