SamZorSec / Itead_Sonoff

Alternative firmware for Itead Sonoff switches, based on the MQTT protocol and a TLS connection
MIT License
116 stars 33 forks source link

Reset on MQTT connection Failure #3

Open bl8rnr opened 7 years ago

bl8rnr commented 7 years ago

First off - great work on this implementation.

Maybe not an issue really but something practical.

Currently when the switch loses connection the the MQTT broker (restarting Home Assistant for instance) it resets the settings and config has to be done again.

Maybe it would be better to just restart the switch.

In case of incorrect settings one can always reset the settings via the button.

Cheers!