Closed nohn closed 2 years ago
Works with 0b8ea25 (c981d1b).
[2021-10-16 06:38:10,046] [sml2mqtt ] INFO | Shutting down ...
[2021-10-16 06:38:26,979] [sml ] INFO | Starting V0.6
[2021-10-16 06:38:27,188] [sml.device.ttyUSB0 ] INFO | PORT_OPENED
[2021-10-16 06:38:29,219] [sml.device.ttyUSB0 ] INFO | OK
[2021-10-16 06:50:51,058] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:50:52,786] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:50:54,529] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:50:56,306] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:50:58,035] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:50:59,763] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:51:01,508] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:51:03,236] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:51:05,404] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:51:06,741] [sml.mqtt ] ERROR | [code:4] Could not publish message (MqttCodeError)
[2021-10-16 06:51:06,766] [sml.mqtt ] ERROR | [Errno 111] Connection refused (MqttError)
Thank you for verifying!
Today I restarted my MQTT broker.
While sml2mqtt detected that it was gone, it apparently did not try to reconnect. A restart of sml2mqtt fixed that: