Open FulvioSpelta opened 4 years ago
I cannot implement this with the current design. LWT would need to be sent for every AC adapter. But I can only have one last will. I prefer to have only one instance of this connector running; supporting multiple AC wifi adapters at the same time.
Maybe can can publish the state=lost at least when the program is (propertly) shut down.
The homie ask for a LWT message: MQTT only allows one last will message per connection. Homie requires the last will (LWT) to set the homie / device ID / $state attribute to the value lost
It seems that this is not implemented because in my subscription i can see always "ready" state even if the java gateway is disconnected from mqtt.