2026-07-27 15:26:03 Session with the device [5] dev_pub
Request current data
OK
Publish data
Send /1004/command = {“Val”:0}
Send /1004/command = {“Val”:0}
OK
2026-07-27 15:26:32 Receive /v1/devices/1004/datas = {
“humidity”:12,
…
Subscribed devices: 4
Hello from JS. Topic: /v1/devices/1004/datas
{
“humidity”:12,
“temperature”:7
}
The data published by SCADA and the subscribed data vary significantly. How to specify the attribute names?
Send /1004/command = {“Val”:0}
@val Why is the value 0? I wrote the value in the “send command”, but it didn’t work. An error “invalid command” occurred.