konnected-io / konnected-esphome

ESPHome firmware configuration and recipes for Konnected devices
Other
53 stars 35 forks source link

Wrap panic handler to prevent spurious door openings. #70

Closed h2zero closed 1 month ago

h2zero commented 1 month ago

When the GDO-BlaQ is restarted by software through a watchdog timeout or abort() or assert()the reset process can leave the UART TX in a HIGH state, which causes the output to go LOW, triggering the garage door to open/close unexpectedly. This adds a wrapper around the panic handler which switches the UART TX pin to a digital input with pulldown enabled which will cause the output to remain HIGH and avoid triggering the door.