spacemanspiff2007 / sml2mqtt

Sml to MQTT Bridge
GNU General Public License v3.0
25 stars 8 forks source link

Fix reconnect after PUBS_FAILED_SINCE #14

Closed TobiasEckl closed 1 year ago

TobiasEckl commented 1 year ago

Directly calling _connect_to_broker() from connect() will never set TASK_CONNECT back to None causing any further connect() calls to not do anything.

spacemanspiff2007 commented 1 year ago

Thank you!

TobiasEckl commented 1 year ago

Additional info: The issue was only observed when changing from an anonymous MQTT connection towards one requiring authentication.