system
(system)
1
@FuJi Kok Fook-Kee
For MQTT, I understand that TagoIO backend support JSON format like:
{“variable”: “payload”, “value”: “1122334455”}
&
{ “payload”: 1122334455}
But does it support raw non-JSON payload format like 1122334455? Any payload parser snippet example available?
system
(system)
2
@Fabiano Eger
Hi @nypwtc447,
The TagoIO MQTT broker accepts any message body. You just need to create a payload parser to convert the “raw payload” to JSON.
See about the payload parser here: https://docs.tago.io/en/articles/147-payload-parser