Someone having problems with the new MQTT JSON Schema A driver?
I decided to test it, so everything works fine until I found out the data is not stored into historian. The configuration, the broker, the json format, everything is fine, even in the log files it recognizes the values and timestamps, it associated the topics, items and points. No error in the log files but there are nothing in the historian of the points. Also in ViewX the connection with broker is good, but for the current values of the points there are nothing (Waiting for initial data) even though in the log file says that there are data for these points.
Solved! Go to Solution.
Hi,
It could be that the data format is incorrect? The format requires a timestamp value and point names/values. If there is no timestamp then data will not be processed.
An example is:
{
"time": 1592493746,
"Analog1": 51
}
The time is a 'unix epoch' number of seconds since 1 Jan 1970, and the point 'Tag' field should be "Analog1" in this case.
Hi,
It could be that the data format is incorrect? The format requires a timestamp value and point names/values. If there is no timestamp then data will not be processed.
An example is:
{
"time": 1592493746,
"Analog1": 51
}
The time is a 'unix epoch' number of seconds since 1 Jan 1970, and the point 'Tag' field should be "Analog1" in this case.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!