Greetings,
I, as most people, am working to create an RTU that utilizes the MQTT communications protocol. Right now I am testing with a local broker and have data reliably getting to VTScada.
However, I need the ability to write data back to a certain topic with a certain metric. The ability seems to exist, yet I have not had any luck with VTScada publishing the message correctly yet.
Using JSON formatting lets say I wanted the data to write like this
{"LSP":XX.XX}
Where...
Topic: DD/Write
Metric: LSP
and XX.XX is the value input to my analog widget.
Right now when I try to get my data to publish as such, I get the topic == DD/Write, but the metric is no where to be found in the message. The only data in the message is the integer entered.
See the attached image for how I have my write address set up.
Greetings,
I, as most people, am working to create an RTU that utilizes the MQTT communications protocol. Right now I am testing with a local broker and have data reliably getting to VTScada.
However, I need the ability to write data back to a certain topic with a certain metric. The ability seems to exist, yet I have not had any luck with VTScada publishing the message correctly yet.
Using JSON formatting lets say I wanted the data to write like this
{"LSP":XX.XX}
Where...
Topic: DD/Write
Metric: LSP
and XX.XX is the value input to my analog widget.
Right now when I try to get my data to publish as such, I get the topic == DD/Write, but the metric is no where to be found in the message. The only data in the message is the integer entered.
See the attached image for how I have my write address set up.![672131ba43c1a](serve/attachment&path=672131ba43c1a)