Closed GadgetUK closed 4 years ago
Sorry, no idea. Have you got your mqtt broker correctly defined/on standard ports etc? Judging from the errors, the script seems to be having difficulties in connecting to it.
Turns out that you can't have a keepalive equal to 0 in the mqtt_client.connect
keepalive
of 0 turns off the keepalive
checking. Although the better solution would be to put a keepalive of say 5 minutes (as devices can take up to 4 minutes to wake up on the evohome network), and extend the code to auto-reconnect etc, the keepalive
of 0 should still work. It has been working for me and others for over a year....
If nothing further, I'll close this issue. Please do not hesitate to re-open this or a new issue if something else comes up.
Same problem here, with keepalive at 0 I got the same error and doesn't start. Modifing keepalive all is working.
Interesting. Maybe due to version compatibilities? If and when I get some time, I may look into it further, as I recall there was a specific reason that I had set it to zero.
Trying to get up and running, get the following