AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.67k stars 414 forks source link

Fix slide_2 action sensor always triggered by any command (T5-3C-86) #1252

Closed catalinescu-sudo closed 9 months ago

catalinescu-sudo commented 11 months ago

Hi, I want to use capabilities of T5-3C-86 with slide_1 and slide_2. The problem is that everytime I turn on or off one of the light channels of the device, also "slide_2" action is received by home assistant, and this disturbs my other plans, so I can't make usable automations with this function. Is a bug perhaps of the new update? Thank you!

AlexxIT commented 11 months ago

You need to collect debug logs with this problem

catalinescu-sudo commented 11 months ago

home-assistant_sonoff_2023-11-01T14-56-29.455Z.log Is this what you need?

catalinescu-sudo commented 11 months ago

Another observation: this behavior is happening when I use switches in home assistant interface. If I press actual physical switches or in ewelink app is not happening, is working correctly.

Opontios commented 9 months ago

Another observation: this behavior is happening when I use switches in home assistant interface. If I press actual physical switches or in ewelink app is not happening, is working correctly.

I also have noticed that if you trigger the lights off as in a "all off" group command, the slide sensor gets triggered. I have automations created with slide triggers that are executed while sending the all off command to the group that has the T5 included.

AlexxIT commented 9 months ago

https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.5.4