Hello Mikhail,
I had setup MQTT Client in v6, and I can get data from MQTT broker, but I confused 2 questions, could you please help to check?
1, all the data I got is double, can I get data in other format? for example, the sequence number is int.
Current Data
| # | Code | Name | Value | Channel |
| 1 | .saleid | MqttReport.saleid | 10,100,001.000 | |
| 2 | .gateid | MqttReport.gateid | 10,100,001,001.000 | |
| 3 | .time | MqttReport.time | — | |
| 4 | .sequence | MqttReport.sequence | 100.000 | |
2, when use setValue(1,data.time) in js file for MqttReport.time, had error: “Error : Input string was
not in a correct format.”
I had try different format of timestamp, all got errors. How can I get correct time value?
Thanks a lot!