Skip to content

Conversation

Copy link

Copilot AI commented Dec 3, 2025

GPIO16 on ESP8266 is HIGH during boot, causing the sauna heater to activate during startup or device hangs—a fire hazard.

Changes

  • sauna_controller.yaml: Moved heater control from D0 (GPIO16) to D7 (GPIO13)
    • GPIO13 is LOW during boot, preventing unintended heater activation
    • Updated pin mapping comments
  • README.md: Added safety warning about GPIO16 behavior on ESP8266

Hardware Impact

Users must rewire heater control from D0 to D7 on their ESP8266 board.

# Before (unsafe)
output:
  - platform: slow_pwm
    pin: D0  # GPIO16 - HIGH during boot
    id: sauna_ofen_pwm

# After (safe)
output:
  - platform: slow_pwm
    pin: D7  # GPIO13 - LOW during boot
    id: sauna_ofen_pwm

Fixes #2

Original prompt

gibt es offene bugs?


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Dec 3, 2025
Copilot AI and others added 3 commits December 3, 2025 21:19
… during boot

Co-authored-by: killee <6411307+killee@users.noreply.github.com>
Co-authored-by: killee <6411307+killee@users.noreply.github.com>
Co-authored-by: killee <6411307+killee@users.noreply.github.com>
Copilot AI changed the title [WIP] Investigate existence of open bugs Fix critical safety issue: Move ESP8266 heater control from GPIO16 to GPIO13 Dec 3, 2025
Copilot AI requested a review from killee December 3, 2025 21:23
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.

Pin GPIO16 (control Pin for heater) ESP8266 is high during start up

2 participants