esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
289 stars 36 forks source link

AC Dimmer boot loop after update to 2024.3.0 #5626

Closed leelists closed 2 months ago

leelists commented 7 months ago

The problem

The following script enter a boot loop with ESPHome 2024.3.0, a rollback to ESPHome 2024.2.2 fix the issue.

Which version of ESPHome has the issue?

2024.3.0

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.3.2

What platform are you using?

ESP8266

Board

d1mini

Component causing the issue

ac_dimmer

Example YAML snippet

esphome:
  name: vmc-cave
  friendly_name: vmc_cave
  platformio_options:
    board_build.f_cpu: 160000000L  

esp8266:
  board: d1_mini

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: !secret api_pass

ota:
  password:  !secret ota_pass

wifi:
  networks:
  - ssid: !secret wifi_ssid
    password: !secret wifi_pass
    priority: 2
  - ssid: !secret wifi2_ssid
    password: !secret wifi2_pass
    priority: 1
  output_power: 10

status_led:
  pin:
    number: GPIO2
    inverted: true

captive_portal:

output:
  - platform: ac_dimmer
    id: dimmer1
    gate_pin: D7
    zero_cross_pin:
      number: D6
      mode:
        input: true
      inverted: yes
    min_power: 0.1
    zero_means_zero: true  

fan:
  - platform: speed
    output: dimmer1
    name: "VMC Speed"  
    speed_count: 5

Anything in the logs that might be useful for us?

Unable to connect remotely to recover logs

Additional information

No response

ssieb commented 6 months ago

What is the device? Can you get serial logs?

leelists commented 6 months ago

the device is an d1 mini (8266) with a robbotdyn ac dimmer.

unfortunately the device is embedded in difficult to access device so a don't have serial access to it, i will try the script on a naked d1mini and see if i can reproduce the error

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.