StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
620 stars 111 forks source link

[BUG] No update to binary switch entity when Dimmer 2 shows input tiggered #549

Open poldim opened 3 years ago

poldim commented 3 years ago

Environment

Describe the bug

I have a switch wired into S1. The integration does not update the switch state to 1, while the status page of the shelly does show it as 1.

Steps to Reproduce

Toggle switch state and observe no change on the entity in HA

Expected behavior

Switch state would follow state on shelly

Screenshots

image image

Traceback/Error logs

Additional context

knewg commented 3 years ago

I have the same issue on 0.2.1 (yes I'm planning on updating). But I think this might have started happening when I upgraded the Shelly fw from 1.9.4 to 1.10.1 a couple of weeks ago but that could also just be a coincidence.

I can also observe the status changes in the Shelly api.

HendrikKirsch commented 3 years ago

I have a long delay (about 10 sec.) till the status toggle... look like there is a trigger time for the status request... fw is 1.10.3

HendrikKirsch commented 3 years ago

I found the error in my config. after i change the Colot Server from: mcast to the "IP:Port" of the HASS.IO Server it works perfekt..

knewg commented 3 years ago

My issue seems to have magically solved itself. I updated the shellys to 1.10.4 = no change, updated shellyforhass = no change, restarted igmp-proxy in the router = no change. Restarted home assistant again = magically started working. :shrug:

poldim commented 3 years ago

My issue seems to have magically solved itself. I updated the shellys to 1.10.4 = no change, updated shellyforhass = no change, restarted igmp-proxy in the router = no change. Restarted home assistant again = magically started working. 🤷

I just checked and mind is still not working. I'm on fw 20210415-131442/v1.10.3-g23074d0. image