2018年12月1日 星期六
Node-Red & MQTT
[{"id":"36b9ac19.468a04","type":"mqtt in","z":"a47b5494.3eb618","name":"","topic":"alex9ufo/led_event","qos":"2","broker":"40bf4d5e.0395f4","x":256,"y":142,"wires":[["b4dc5dae.5e7a5"]]},{"id":"fdce570a.70c9a8","type":"ui_button","z":"a47b5494.3eb618","name":"","group":"e4b1387a.934b88","order":0,"width":0,"height":0,"passthru":false,"label":"On led","color":"white","bgcolor":"","icon":"fa-circle","payload":"1","payloadType":"num","topic":"","x":210,"y":260,"wires":[["cbe61db9.a111f"]]},{"id":"7789eb7e.2785d4","type":"ui_button","z":"a47b5494.3eb618","name":"","group":"e4b1387a.934b88","order":0,"width":0,"height":0,"label":"Off led","color":"black","icon":"fa-circle-o","payload":"0","payloadType":"num","topic":"","x":210,"y":320,"wires":[["cbe61db9.a111f"]]},{"id":"cbe61db9.a111f","type":"mqtt out","z":"a47b5494.3eb618","name":"","topic":"alex9ufo/led_event","qos":"1","retain":"false","broker":"40bf4d5e.0395f4","x":490,"y":300,"wires":[]},{"id":"b4dc5dae.5e7a5","type":"ui_text","z":"a47b5494.3eb618","group":"e4b1387a.934b88","order":0,"width":0,"height":0,"name":"","label":"out","format":"{{msg.payload}}","layout":"col-center","x":530,"y":140,"wires":[]},{"id":"40bf4d5e.0395f4","type":"mqtt-broker","broker":"broker.mqtt-dashboard.com","port":"1883","clientid":""},{"id":"e4b1387a.934b88","type":"ui_group","z":"","name":"Control led ESP8266 (ESP32)","tab":"8b6381a9.6f9d6","order":1,"disp":true,"width":"6","collapse":false},{"id":"8b6381a9.6f9d6","type":"ui_tab","name":"Tab 1","icon":"dashboard","order":1}]
訂閱:
張貼留言 (Atom)
2024_09 作業3 以Node-Red 為主
2024_09 作業3 (以Node-Red 為主 Arduino 可能需要配合修改 ) Arduino 可能需要修改的部分 1)mqtt broker 2) 主題Topic (發行 接收) 3) WIFI ssid , password const char br...
-
python pip 不是内部或外部命令 -- 解決方法 要安裝 Pyqt5 1. 首先,開啟命令提示字元。 2. 輸入 pip3 install pyqt5 好像不能執行 ! ! 錯誤顯示 : ‘ pip3 ’ 不是內部或外部命令、可執行的程式或批...
-
課程講義 下載 11/20 1) PPT 下載 + 程式下載 http://www.mediafire.com/file/cru4py7e8pptfda/106%E5%8B%A4%E7%9B%8A2-1.rar 11/27 2) PPT 下載...
-
• 認 識 PreFix、InFix、PostFix PreFix(前序式):* + 1 2 + 3 4 InFix(中序式): (1+2)*(3+4) PostFix(後序式):1 2 + 3 4 + * 後 序式的運算 例如: 運算時由 後序式的...
沒有留言:
張貼留言