mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
662f14e10ba7355054aed80c8b7eb0a9075d7126
The debug component's reset reason text sensor was returning an empty string on RP2040/RP2350 platforms. Read the chip reset registers to report the actual reset source. RP2040: reads VREG_AND_CHIP_RESET for POR, RUN pin, and debug port. RP2350: reads POWMAN chip_reset for POR, brown-out, RUN pin, watchdog variants, glitch detect, debugger, rescue, and core powerdown. Both: checks watchdog_caused_reboot() from the Pico SDK. Also adds buf_append_str() helper to helpers.h for efficient plain string appends without format parsing overhead.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
601 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
