10/27/2017 3:27 PM | |
Joined: 4/28/2015 Last visit: 8/26/2024 Posts: 3345 Rating:
|
Hi, I do not know solution for buffering data in case of a failing internet connection yet. There are two nodes for creating a buffer: https://flows.nodered.org/node/node-red-contrib-file-buffer https://flows.nodered.org/node/node-red-contrib-circularbuffer Maybe you can make use of them. I am not sure how to detect if internet connection is valid in node-red. Another possibility is to use the function node and create an own buffer. Maybe there is someone in the community who already realized such an application? Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
11/3/2017 10:17 AM | |
Joined: 12/12/2008 Last visit: 4/18/2024 Posts: 69 Rating:
|
Hello, If you are using the Siemens example image, you could use the IOT2000's Mosquitto MQTT Broker. You can write from NodeRED to the local mqtt server, and if your "Cloud" then is connected to this broker with persistent connection, the IOT2000 broker will buffer data. You could even retain the data in the broker if your "cloud" connects after the device is set up. There is a lot of possibilities, and in turn responsibility to set this up correct in regards to multiple factors: SD or memory, retain or not retain, persistence or not and so forth.. https://mosquitto.org/documentation/ /Ben |
This contribution was helpful to
1 thankful Users |
5/6/2020 10:56 AM | |
Joined: 7/19/2011 Last visit: 8/30/2024 Posts: 262 Rating:
|
Hi You can try node-red-contrib-msg-queue node also. It will allow you to buffer the data locally when there is connection failure . Once the connection is regained all the buffer data will be pushed to the cloud automatically. Please check for the below Link https://flows.nodered.org/node/node-red-contrib-msg-queue Thanks & Regards |
JAVED AKHTAR |
|
Follow us on