We have some sparkplug devices sending data to a MQTT distributor module.
If the values sent from the sparkplug device are the same as the current values in the MQTT engine. The timestamp in the Ignition tag system(MQTT-Engine) are not updating. Should not the timestamp update, even though the value is the same?
This gives a trend w/ gaps, alot of gaps. see the attached picture of two values always beeing sent at the same time. Here it can be seen that if the timestamp value has not been updated, a gap will occur.
Also, if I want to run a tag event script on this. How often will that fire? I guess only when the value received by the MQTT Engine actually differs from the last value?
Not sure if it helps but in all my MQTT transmissions I include the date and time stamp from the device. That way in the message there is always a value that is different.
Has there been any change on this? I’ve got the exact same issue as Tordvd. My architecture depends on being able to send commands with the same contents (but updated timestamp) and I need them to be able to trigger tag scripts.
This is also a problem for my use case where we need to be able to tell the last time a value was calculated, even if the result is the same. The only work-around we’ve been able to figure out so far is to periodically write a very small change to the value then write the original value back when we want to update the timestamp with no change in the value.