I'm publishing data over a topic: {group_id}/{device_number}/info_location.
When I publish this data using a script that uses this extension, I get the value as '1' whereas I was expecting it to be some kinda of a string message that I was passing as the payload.
client.publish(topic, 'abc', 1, false, 2000);
Upon publishing the same payload over the same topic through MQTT Explorer, I get the see the correct message `abc' in values.
Ideally the value being passed in the payload should reflect as it is.
I'm publishing data over a topic: {group_id}/{device_number}/info_location.
When I publish this data using a script that uses this extension, I get the value as '1' whereas I was expecting it to be some kinda of a string message that I was passing as the payload.
client.publish(topic, 'abc', 1, false, 2000);
Upon publishing the same payload over the same topic through MQTT Explorer, I get the see the correct message `abc' in values.
Ideally the value being passed in the payload should reflect as it is.