iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Ability to override device type in config #234

Open rpletka opened 7 months ago

rpletka commented 7 months ago

Is your feature request related to a problem? Please describe:

I came over from the main fork of SmartThings where you had to add devices in the now defunct legacy smart things iOS app. Thank you for making this fork so we can continue with this integration! I really like that the devices automatically come over and there is no manual assignment. I view that as a huge upgrade! However I have some bathroom fans that are just z-wave switches and my master bedroom fan that shows up as a z-wave dimmer. I will pull the plate and verify that it is in fact a dimmer not a fan control. Even if it is a dimmer that has been a valid control for my fan for 8 years. Same for switches for my bathroom fans. When I request Siri turn off the lights in those rooms unfortunately the fans now turn off and this is undesirable behavior especially in the bedrooms where we sleep with fans on.

Describe the solution you'd like: I would love if there was a way to override the device type so you could change these switches to fans without having to buy new switches and replace what is working.

Describe alternatives you've considered: I tried to change the driver in smart things but I get an error.

Additional context:

rpletka commented 7 months ago

Perhaps even a simple toggle in the config to check if the word fan was in the device label it could be marked a fans vs a light.

coryabooth commented 7 months ago

Depending how devices arrive to HomeKit. Some marked as switches initially can be changed. Have you tried that yet?

image

rpletka commented 7 months ago

Thank you! That worked for the switches but not the one in the bedrooms that shows as a dimmer.

rpletka commented 7 months ago

pulled the plate that is a GE ZW 4002 smart fan control. Seems like smartthings had detected that as a dimmer incorrectly all those years and the ability to assign it as a fan has in home kit via the original smartthings plug-in has masked that behavior.