Skip to content

Use ESPHome watchdog timeout instead of the custom PN532 override - #80

Merged
luka6000 merged 2 commits into
mainfrom
copilot/extend-watchdog-timeout
Sep 20, 2026
Merged

luka6000 merged 2 commits into
mainfrom
copilot/extend-watchdog-timeout

Conversation

Copilot AI commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

TagTuner was still routing PN532 through a repository-specific external component to support long NFC operations. This change switches back to ESPHome’s built-in PN532 component and uses the ESP32 platform watchdog timeout where write-capable devices need a larger execution window.

  • Remove the custom PN532 source

    • Drop the external_components override from the shared NFC package so all configs use ESPHome’s standard pn532_i2c implementation.
  • Widen the ESP32 watchdog for write-capable targets

    • Add esp32.watchdog_timeout: 15s to the ESP32 device configs that expose NFC write/format flows:
      • tagtuner-D1-custom1.yaml
      • tagtuner-XIAO-custom.yaml
      • tagtuner-atom-grove-ble.yaml
      • tagtuner-on-ha-voice-pe.yaml
  • Keep tagreader unchanged in behavior

    • Leave the tagreader variant on the standard PN532 component without extra write-related watchdog tuning, since it does not expose NFC write options.
esp32:
  board: wemos_d1_mini32
  watchdog_timeout: 15s
  framework:
    type: esp-idf

Co-authored-by: luka6000 <1110994+luka6000@users.noreply.github.com>
Copilot AI changed the title [WIP] Update watchdog timeout instead of using custom pn532 component Use ESPHome watchdog timeout instead of the custom PN532 override Sep 20, 2026
Copilot AI requested a review from luka6000 September 20, 2026 20:00
@luka6000
luka6000 marked this pull request as ready for review September 20, 2026 20:12
@luka6000
luka6000 merged commit dadba89 into main Sep 20, 2026
5 checks passed
@luka6000
luka6000 deleted the copilot/extend-watchdog-timeout branch September 20, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

extend watchdog_timeout instead of using custom pn532 component

2 participants