2021年1月2日 星期六

Node-Red Slider(滑桿)與Gauge(儀表)

 Node-Red Slider(滑桿)與Gauge(儀表)



[{"id":"3ff855e8.b02a5a","type":"ui_slider","z":"8929f3b6.359b7","name":"","label":"slider 滑桿","tooltip":"","group":"6c9116b.b62d4e8","order":2,"width":0,"height":0,"passthru":true,"outs":"all","topic":"","min":0,"max":10,"step":1,"x":300,"y":540,"wires":[["10000d1b.4de743"]]},{"id":"10000d1b.4de743","type":"ui_gauge","z":"8929f3b6.359b7","name":"","group":"6c9116b.b62d4e8","order":5,"width":0,"height":0,"gtype":"gage","title":"gauge儀表","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":500,"y":540,"wires":[]},{"id":"fa0a3691.bf03d8","type":"ui_button","z":"8929f3b6.359b7","name":"","group":"6c9116b.b62d4e8","order":7,"width":0,"height":0,"passthru":false,"label":"ON","tooltip":"","color":"","bgcolor":"","icon":"","payload":"LED ON","payloadType":"str","topic":"","x":280,"y":600,"wires":[["99a76b2.24c8898"]]},{"id":"807b50d5.61c17","type":"ui_button","z":"8929f3b6.359b7","name":"","group":"6c9116b.b62d4e8","order":8,"width":0,"height":0,"passthru":false,"label":"OFF","tooltip":"","color":"","bgcolor":"","icon":"","payload":"LED OFF","payloadType":"str","topic":"","x":290,"y":660,"wires":[["99a76b2.24c8898"]]},{"id":"99a76b2.24c8898","type":"ui_text","z":"8929f3b6.359b7","group":"6c9116b.b62d4e8","order":6,"width":0,"height":0,"name":"","label":"LED狀態","format":"{{msg.payload}}","layout":"row-spread","x":480,"y":620,"wires":[]},{"id":"6c9116b.b62d4e8","type":"ui_group","name":"LED","tab":"53b8c8f9.cfbe48","order":1,"disp":true,"width":"6","collapse":false},{"id":"53b8c8f9.cfbe48","type":"ui_tab","name":"Home","icon":"dashboard","order":2,"disabled":false,"hidden":false}]

沒有留言:

張貼留言

2024_09 作業3 以Node-Red 為主

 2024_09 作業3  (以Node-Red 為主  Arduino 可能需要配合修改 ) Arduino 可能需要修改的部分 1)mqtt broker  2) 主題Topic (發行 接收) 3) WIFI ssid , password const char br...