AnaviTechnology / anavi-thermometer-sw

Open source Arduino sketch for the smart WiFi dev board ANAVI Thermometer
GNU General Public License v3.0
27 stars 17 forks source link

Enable factory reset during boot #8

Closed cederlys closed 5 years ago

cederlys commented 5 years ago

The factory reset button only works once the Anavi Thermometer has successfully connected to a network. This is problematic if you move the thermometer to another location. While the Thermometer will fall back to the normal network setup if it cannot connect, I have found that the setup works better when the thermometer has been reset.

This commit blinks rapidly with the status led for 2 seconds during setup. If you press the reset button during this time, the normal factory reset sequence will be started: keep holding the button for 3 seconds while it blinks slowly, and it will apply the factory settings.

leon-anavi commented 5 years ago

This is a really convenient feature. Thanks!