Need help with config of MQTT channel.
Scenario:
Siemens LOGO-PLC connected via Modbus to Teltonica router RUT240.
Router via Olivia wireless SIMcard and ZeroTier VPN connected to the world.
( direct modbus communication is working well, visu + control )
Target now:
collect, save and analytic of sensor data.
Therefor I have setup the MQTT and send Modbus data on the RUT240.
This data is aleady arriving in flespi broker and on the MQTT board with client as subscriber I can see the following message payload:
{"ID":"10","TS":"1613035994","ST":"101","VR":"[273,23,443,643,-40,245,18,-2]"}
"VR:" contains the modbus data from the sensors as array.
I have now tried to setup a MQTT channel with the same client parameters as the client on the MQTT board.
But how to extract the "VR:" array from the message payload and even more better how extract array items into self defined parameters (varaibles) for save and analytic ?