mycontroller-v1-legacy icon indicating copy to clipboard operation
mycontroller-v1-legacy copied to clipboard

Gateway ACK Enabled setting not working

Open seant100 opened this issue 7 years ago • 4 comments

When I enable ACK on the Gateway settings for a MySensors MQTT gateway, setting the ACK enabled setting to on seems to prevent any message being sent. When I enable that the resource logs show no messages being sent anymore. And the mycontroller.log file shows messages like this 2018-10-27 19:35:53,646 INFO [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:232] Seems like failed to send this message. There is no ACK received! Retried 10 time(s). MessageImpl(gatewayId=1, nodeEui=2, sensorId=SENSOR_BC, type=Stream, subType=Firmware response, ack=1, payload=220024004d032A95E1F71124EF90FF900F911F91CF91, isTxMessage=true, timestamp=1540661748086, properties=null)

seant100 avatar Oct 27 '18 17:10 seant100

@seant100 looks like your gateway/node not sending back the ack response.

jkandasa avatar Oct 30 '18 08:10 jkandasa

@jkandasa Is there something I need to add to my sketches to tell it to send back ack responses?

seant100 avatar Oct 30 '18 08:10 seant100

@seant100 No, no actions required in MySensors library.

Can you enable debug and verify? refer: https://github.com/mycontroller-org/mycontroller/issues/473

jkandasa avatar Oct 30 '18 08:10 jkandasa

Ack doesn't also work with my MyController - Embedded MQTT Broker - serial2mqtt adapter - USB - Arduino - Relay -setup. When I change switch state, I soon get following error: 400 And the switch state doesn't chance. It changes automatically after 30 s by automatic refresh.

Earlier setup: MyController - USB - Arduino - Relay works as expected.

jpink avatar Jan 30 '19 12:01 jpink