konnected-io / konnected-esphome

ESPHome firmware configuration and recipes for Konnected devices
Other
66 stars 42 forks source link

ESPHome/Home Assistant - Sensor gets stuck on opening #59

Open omayhemo opened 6 months ago

omayhemo commented 6 months ago

Garage door is closed, but the status in home assistant is opening. I have two, both do the same thing periodically. Each time the garage door is closed, when the status appears as Opening in Home Assistant. I've adopted both sensors into ESPHome.

The yaml is as follows:

packages:
  konnected.garage-door-esp8266: github://konnected-io/konnected-esphome/garage-door-esp8266.yaml@master
esphome:
  name: garage-door-west
  friendly_name: "Garage Door West"
api:
  encryption:
    key: "REDACTED"

wifi:
  ssid: !secret wifi_ssid_iot
  password: !secret wifi_password
  use_address: REDACTED
  ap:
    ssid: "Garage-Door-West"
    password: "REDACTED"

# Enable logging
logger:

ota:
  password: "REDACTED"

  # Enable fallback hotspot (captive portal) in case wifi connection fails

captive_portal:
omayhemo commented 5 months ago

Noone?

JonathanTroyer commented 2 months ago

Also running into this. It can get stuck on opening or closing. Additionally, when HomeAssistant restarts the sensor defaults back to opening.

JonathanTroyer commented 2 months ago

I've found a pretty hacky workaround: set up an automation that triggers when the garage is in the opening or closing state for more than 15s and then press the reset button on the device. image