ifrogLab Gateway 透過 MQTT 把資料傳給 Node-red,
[{"id":"90c6c5e7.5a9fc8","type":"mqtt-broker","z":"2e2a98ec.f3a1f8","broker":"test.mosquitto.org","port":"1883","clientid":"","usetls":false,"verifyservercert":true,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willRetain":null,"willPayload":"","birthTopic":"","birthQos":"0","birthRetain":null,"birthPayload":""},{"id":"653b15df.b4414c","type":"debug","z":"2e2a98ec.f3a1f8","name":"","active":true,"console":"false","complete":"false","x":578,"y":96,"wires":[]},{"id":"97da33f.60213d","type":"function","z":"2e2a98ec.f3a1f8","name":"","func":"//msg.payload=\"www.ifroglab.com , LoRa Gateway\"\nreturn msg;","outputs":1,"noerr":0,"x":319,"y":95,"wires":[["653b15df.b4414c"]]},{"id":"9a045076.3455c","type":"mqtt in","z":"2e2a98ec.f3a1f8","name":"","topic":"ifroglab/mqtt","broker":"90c6c5e7.5a9fc8","x":108,"y":161,"wires":[["97da33f.60213d"]]}]
教學影片
第1步:在QNAP上安裝Node-Red
第2步:在Node-Red上,取得iFrogLab LoRa Gateway 的資料,透過MQTT 傳送