Heya,
Mango version: 3.5.6
I am trying to resolve an issue with differences between values recorded by a MQTT data point and its associated meta data point.
Data flow:
- Device transmits messages on an hourly basis, which contains sensor values for each 10 minute interval during that previous hour (thus 6 packets of values)
- MQTT service receives these messages, parses them, and posts the values to the topics. The date/time for each packet is set to the appropriate 10 minute interval it occurred on. All 6 values are published to the topic in < 1 sec
- (Mango) MQTT client receives these changes to the topic. The meta point is changed based on the context change
The values recorded by the MQTT data point are:
The value recorded by the meta data point are:
The pattern is interesting: the first and last values in the hour are consistent. The middle 4 values are the same as the last value.
The meta point currently calls a global function to process the raw value. However, for this value (temperature), no manipulation is occurring. The same value should be returned by the meta point.
The logging properties of the meta point is when timestamp changes.
My belief is there is a timing issue as maybe the rapid changes to the topic are occurring too quickly. I have been using this process for other projects successfully but the updates to the topics have been > 30 secs.
Are there considerations I need to make if changes to a data point occur at millisecond frequency? Any insights would be great.
Thanks
Ian