homebridge-plugins / homebridge-ewelink

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

Feature request - Hide fan light icon #347

Closed viictor924 closed 2 years ago

viictor924 commented 2 years ago

Hi,

I'm using a Sonoff iFan04 to connect my Fan to homekit via the homebridge-ewelink plugin https://www.amazon.com/dp/B09C21LX9R

Would it be possible to have a boolean in the config.json that will enable/disable interaction with the fan light? I've got hue bulbs in my ceiling fan so the fan light has to be on at all times to transmit power to the hue bulbs. However, it's confusing/redundant to have two light icons in the Home app: one for the hue bulbs and one for the ceiling fan light. I think Apple should give us the ability to show/hide icons in the Home app, but they don't. So I think a fix within the plugin is the only solution.

It also makes the Home app show "Bedroom light on." at all times even though the hue bulbs are off.

image

bwp91 commented 2 years ago

Hi @viictor924

This option already exists :)

Screenshot 2022-02-12 at 11 07 55
viictor924 commented 2 years ago

Ah, I had checked the settings but there wasn't anything for "hide light" because I hadn't manually added the fan. The fan got added to HomeKit automatically when I installed the plug-in so I didn't know I had to add it manually in settings.

image

Anyway, I've added and enabled the hide light setting and now it's working like a charm! Thanks a bunch!

Easiest feature request resolution!

bwp91 commented 2 years ago

Yes all devices will be added to homebridge, the config is only needed if you want to change these little settings per device.

The options are hidden at first so that a device id is definitely entered. A lot of people didn’t bother otherwise and wondered why it wasn’t working!

bwp91 commented 2 years ago

Glad it’s working well!