You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i am trying to integrate the watermeter into ClearScada by Schneider Electric. After 2 days i found out the problem. The values in JSON are with quotes and that represent a string for scada. As there is no option for string point (except sparkplug B) i am not able to get values into the scada. When i tried to do manual publishing of json without quotes i was able to get value.
Is it possible to add at least checkbox that i want to have vlaue in string or number format?
It will be really helpful for me.
Example :
actual json look like that
`{
"main":
{
"value": "868.9640",
"raw": "00868.9640",
"pre": "868.9640",
"error": "no error",
"rate": "0.000060",
"timestamp": "2024-12-18T18:27:05+0100"
}
}`
i need to be like that { "main": { "value": 868.9640, "raw": "00868.9640", "pre": 868.9640, "error": "no error", "rate": 0.000060, "timestamp": "2024-12-18T18:27:05+0100" } }
I have no knowledge about mqtt. Maybe all i wrote above is wrong.
I just need that at least "value" is reported as numbers. Not a string. To broker.
As broker i am usin mosquitto from eclipse.
The text was updated successfully, but these errors were encountered:
The Feature
Hello,
i am trying to integrate the watermeter into ClearScada by Schneider Electric. After 2 days i found out the problem. The values in JSON are with quotes and that represent a string for scada. As there is no option for string point (except sparkplug B) i am not able to get values into the scada. When i tried to do manual publishing of json without quotes i was able to get value.
Is it possible to add at least checkbox that i want to have vlaue in string or number format?
It will be really helpful for me.
Example :
actual json look like that
`{
"main":
{
"value": "868.9640",
"raw": "00868.9640",
"pre": "868.9640",
"error": "no error",
"rate": "0.000060",
"timestamp": "2024-12-18T18:27:05+0100"
}
}`
i need to be like that
{ "main": { "value": 868.9640, "raw": "00868.9640", "pre": 868.9640, "error": "no error", "rate": 0.000060, "timestamp": "2024-12-18T18:27:05+0100" } }
I have no knowledge about mqtt. Maybe all i wrote above is wrong.
I just need that at least "value" is reported as numbers. Not a string. To broker.
As broker i am usin mosquitto from eclipse.
The text was updated successfully, but these errors were encountered: