2019年11月25日 星期一

使用MQTT節點

使用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"}]

沒有留言:

張貼留言

2024_09 作業3 以Node-Red 為主

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