pimoroni / enviro

MIT License
105 stars 85 forks source link

If your mqtt broker goes down, the board gets stuck in connecting forever #28

Closed Godley closed 2 years ago

Godley commented 2 years ago

If your mqtt config is either not right (e.g bad hostname), or your broker goes down, the board's activity light remains on forever (I'm presuming it's stuck). The only way to resolve the latter issue is to power it off and back on again once your broker is back up (or figure out the config is wrong for yourself).

lowfatcode commented 2 years ago

I've added a 30 second timeout to the MQTT client so this shouldn't happen any more! Fixed in https://github.com/pimoroni/enviro/commit/4ec6b426325971dde7629eca90f45933bcd86688