Thingspeak, Analysing within a channel

1 visualizzazione (ultimi 30 giorni)
Julius Kübler
Julius Kübler il 6 Dic 2019
Risposto: Vinod il 6 Dic 2019
Hi Team,
I have a channel with data in field1 to field6. Now I want to use these data points to calculate the values for field 7. But I can't write the data with the exact same timestamp as the values of field1 to field6. I know, I could write the calculated data into a new channel, but I think this is a rather inelegant solution. One workaround is to add one second to the timestamps. But again, I would prefer a cleaner solution. Is there a way to do this properly?

Risposta accettata

Vinod
Vinod il 6 Dic 2019
This is by design -- once the data is recorded for a particular timestamp, the datapoint associated with that timestamp is considered immutable. If that restriction was relaxed, someone could go back and re-record a value for a pre-existing timestamp & field combination. Then, one would have trouble to know what was the recorded value, and what was the "derived"/"computed" value.
If you are "deriving" data from a "measured data" channel, the currently recommended solution is to put that derived data in a separate channel.

Più risposte (0)

Community

Più risposte nel  ThingSpeak Community

Categorie

Scopri di più su ThingSpeak in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by