2019年8月11日 星期日

NODE-RED UI 使用

NODE-RED UI 使用 




[{"id":"3d52fce2.15d484","type":"mqtt in","z":"82b1fd24.9884c","name":"","topic":"event","qos":"2","broker":"40bf4d5e.0395f4","x":210,"y":160,"wires":[["fb750b9d.fe2088"]]},{"id":"23393961.2ec876","type":"mqtt out","z":"82b1fd24.9884c","name":"","topic":"event","qos":"1","retain":"false","broker":"d9663c87.7e7da","x":410,"y":240,"wires":[]},{"id":"ddbb1187.c3fb6","type":"ui_button","z":"82b1fd24.9884c","name":"","group":"e3b9c52c.4d99e8","order":0,"width":0,"height":0,"label":"On led","color":"white","icon":"fa-circle","payload":"1","payloadType":"num","topic":"","x":210,"y":220,"wires":[["23393961.2ec876"]]},{"id":"e832ca2d.7908a8","type":"ui_button","z":"82b1fd24.9884c","name":"","group":"e3b9c52c.4d99e8","order":0,"width":0,"height":0,"label":"Off led","color":"black","icon":"fa-circle-o","payload":"0","payloadType":"num","topic":"","x":210,"y":280,"wires":[["23393961.2ec876"]]},{"id":"fb750b9d.fe2088","type":"ui_text","z":"82b1fd24.9884c","group":"e3b9c52c.4d99e8","order":0,"width":0,"height":0,"name":"","label":"out","format":"{{msg.payload}}","layout":"col-center","x":390,"y":160,"wires":[]},{"id":"40bf4d5e.0395f4","type":"mqtt-broker","broker":"broker.mqtt-dashboard.com","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":15,"cleansession":true,"birthQos":"0","willQos":"0"},{"id":"d9663c87.7e7da","type":"mqtt-broker","broker":"broker.mqtt-dashboard.com","port":"1883","clientid":""},{"id":"e3b9c52c.4d99e8","type":"ui_group","z":"","name":"Control led ESP8266","tab":"ae428cdc.a1819","order":1,"disp":true,"width":"6"},{"id":"ae428cdc.a1819","type":"ui_tab","name":"Tab 1","icon":"dashboard","order":1}]

沒有留言:

張貼留言

2024_09 作業3 以Node-Red 為主

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