bwp91 / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
384 stars 126 forks source link

New fan speed settings aren't working properly #542

Closed pickanothername closed 2 months ago

pickanothername commented 3 months ago

What issue do you have? Please be as thorough and explicit as possible.

The new fan speed configuration is not working properly for me. It shows as a 0-100% scale and I have to select by moving the slider a pixel up or down. My fan is broken in all automations, which wouldn't be a huge deal to fix except that the fan in all automations is still shown with the original 0%-33%-66%-99% setup, so I can only set it to off (0%) or full speed, since obviously 33% is above 3%. This persists even when I remove and re-add the accessory to the automations. Attached is a photo of what my UI looks like.

Details of your setup.

Please paste any relevant logs below.

I haven't seen anything relevant in the logs, but I'll update this if I notice anything or if logs are requested.

My UI
manasagrawal commented 3 months ago

I managed to get the new behavior by removing the cache for each fan:

Three Dots on top right. Settings. Scroll down and near the bottom is "Managed Cached Accessories" Click on the box to the right of "Remove Single Cached Accessory" A list will pop up listing each accessory. Click on the red trash can.

pickanothername commented 2 months ago

It seems in my case, I just needed to wait for my Homekit caches on each device (or the hub?) to clear. Or maybe Homebridge cleared its own cache automatically. In any case, the new behavior is now working for me as well. Thanks for the tip!