Start a new topic

UC511 mqtt command syntax?

Dear Sirs, 

got a UG56 that correctly receive status update and send trough mqtt.


This is what I've tried so far:

 

mosquitto_pub -h broker -t "ug/downlink" -m '{
"devEui":"devicetoOPEN",
"confirmed":true,
"fPort":85,
"data":"ff1d2000"
}'
mosquitto_pub -h broker -t "ug/downlink" -m '{
"devEui":"devicetoCLOSE",
"confirmed":true,
"fPort":85,
"data":"ff1d0001"
}'

 

can see on another subscription terminal   

ug/downlink {
"devEui":"device",
"confirmed":true,
"fPort":85,
"data":"ff1d2000"
}

  

but in network server nothing seems to be received

Instead if I send data to device directly from that page a greyed out row is added .


But no message is published on mqtt when data is sent from th web page ug/uplinkdata. I receive:  

{"applicationID":1,"battery":100,"devEUI":"device","deviceName":"YV01","gatewayTime":"2026-05-16T11:09:10+02:00","gpio_1":1,"gpio_2":1,"valve_1":1,"valve_2":0}


I need to trigger also commands:

- disable/enable time schedule

- direct command

- change time schedule


Actually device are programmed via NFC.


Can you please tell me how to do it correclty?

Thanks, BR

Login or Signup to post a comment