使用MQTT節點
[{"id":"a6793e55.92b1e","type":"comment","z":"6357831a.d111ac","name":"MQTT Broker","info":"","x":130,"y":60,"wires":[]},{"id":"20a133ae.c53b4c","type":"comment","z":"6357831a.d111ac","name":"MQTT IN","info":"","x":120,"y":120,"wires":[]},{"id":"81bff40f.4db528","type":"comment","z":"6357831a.d111ac","name":"MQTT OUT","info":"","x":130,"y":300,"wires":[]},{"id":"6dee416.21f19c","type":"debug","z":"6357831a.d111ac","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":610,"y":60,"wires":[]},{"id":"ba293462.4bae38","type":"mqtt in","z":"6357831a.d111ac","name":"","topic":"alex9ufo/sensor/sensor1","qos":"0","broker":"40bf4d5e.0395f4","x":370,"y":120,"wires":[["58b863c9.47236c"]]},{"id":"58b863c9.47236c","type":"debug","z":"6357831a.d111ac","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":610,"y":120,"wires":[]},{"id":"8c811d5.a9a62e","type":"inject","z":"6357831a.d111ac","name":"","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":330,"y":300,"wires":[["fd430b5a.695fe8"]]},{"id":"fd430b5a.695fe8","type":"mqtt out","z":"6357831a.d111ac","name":"","topic":"alex9ufo/sensor/sensor1","qos":"0","retain":"","broker":"40bf4d5e.0395f4","x":650,"y":300,"wires":[]},{"id":"d2d13a4e.e1e338","type":"inject","z":"6357831a.d111ac","name":"","topic":"","payload":"2","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":330,"y":360,"wires":[["720c30bb.ca207"]]},{"id":"720c30bb.ca207","type":"mqtt out","z":"6357831a.d111ac","name":"","topic":"alex9ufo/sensor/sensor2","qos":"0","retain":"","broker":"40bf4d5e.0395f4","x":650,"y":360,"wires":[]},{"id":"2803f112.95532e","type":"mqtt in","z":"6357831a.d111ac","name":"","topic":"alex9ufo/sensor/#","qos":"0","broker":"40bf4d5e.0395f4","x":350,"y":180,"wires":[["147c069d.d35869"]]},{"id":"147c069d.d35869","type":"debug","z":"6357831a.d111ac","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":610,"y":180,"wires":[]},{"id":"f9183f36.d4eed","type":"mqtt in","z":"6357831a.d111ac","name":"","topic":"alex9ufo/#","qos":"0","broker":"40bf4d5e.0395f4","x":320,"y":60,"wires":[["6dee416.21f19c"]]},{"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"}]
2019年11月25日 星期一
訂閱:
張貼留言 (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 + * 後 序式的運算 例如: 運算時由 後序式的...
沒有留言:
張貼留言