SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
145 stars 79 forks source link

Button Handler #655

Closed mairas closed 1 year ago

mairas commented 1 year ago

This PR implements a button handler for SensESP. The BOOT button on GPIO 0 detects the following events:

JohnySeven commented 1 year ago

Nice, that is something I was thinking about today, I've replaced my RPI 3A+ with CM4 board and changed WiFi SSID. So, I had to erase flash & upload code to get my boat engine SH-ESP working with new SSID!

Also, it would be nice if LED flash interval would change to indicate activation of network reset or factory settings restore. This is how Mikrotik indicates the board will restore factory settings. It's very convenient for the user.

mairas commented 1 year ago

Thanks for the comment. I created a new issue for that.