Hello Steve, I am currently working towards the same goal outlined in your video, specifically, buffering data during periods of unstable network connectivity. I am curious to know if there is a method to automatically send the stored data once the broker is back "online" or "connected", without the need for manual intervention such as clicking on the inject node. Thank you very much for your help on this matter.
You are sending 20º and 80% of humidity, the last values you have. Let's say the connection is lost at 11:58. What if you need to send 20º and 80% at 12:00, 19.9º and 80% at 12:01, 19.8º and 79.9 at 12:02 and so on? I mean, when the connection is restored, for example at 12:05, you will have those values but with no reference to when they occurred, haven´t you? Thanks in advance.
If you need those values then you will need to buffer them. However if you are using the value to trigger an event like turning on a fan if the temperature is above 20C the sending old values doesn't make sense and will just delay the fan turning on as old data is sent first. Does that make sense? rgds steve
thank you for sharing the knowledge. it helps a lot
Hello Steve,
I am currently working towards the same goal outlined in your video, specifically, buffering data during periods of unstable network connectivity. I am curious to know if there is a method to automatically send the stored data once the broker is back "online" or "connected", without the need for manual intervention such as clicking on the inject node.
Thank you very much for your help on this matter.
You are sending 20º and 80% of humidity, the last values you have. Let's say the connection is lost at 11:58. What if you need to send 20º and 80% at 12:00, 19.9º and 80% at 12:01, 19.8º and 79.9 at 12:02 and so on? I mean, when the connection is restored, for example at 12:05, you will have those values but with no reference to when they occurred, haven´t you? Thanks in advance.
If you need those values then you will need to buffer them.
However if you are using the value to trigger an event like turning on a fan if the temperature is above 20C the sending old values doesn't make sense and will just delay the fan turning on as old data is sent first.
Does that make sense?
rgds
steve
@@stevecope yes. It makes sense. In my case, is not turning off or on but drawing an historical trend.
@@jlnolmo Then you will need to buffer the data.
Rgds
Steve
good