Hi,
I’m trying to create virtual device using a workflow. And the generated payload from this device to be send to external MQTT.
In the end of the workflow I’m using a MQTT Message Node (Orange color) pointing to Integration where is configured the the 3rd party MQTT. The virtual device is generating a random data storing it in The Device: State Node before the MQTT. It also has a debug node after the state node where I can check the generated random device data.
In the 3rd party MQTT subscriber to the topic is getting [object Object]. If convert bytes to string I’m getting “W29iamVjdCBPYmplY3Rd” and is not a JSON. I’m trying to send JSON data in the message but not succeeding.
Is there a important configuration that has to be taken in account in order to send json to 3rd party MQTT?