aarons22 / homebridge-bond

Homebridge plugin for Bond
MIT License
64 stars 31 forks source link

Bond bridge with only light does not work as expected #187

Open fatal1010 opened 2 years ago

fatal1010 commented 2 years ago

Hey,

I have specific reasons to not include power toggle for my fans (I already have a smart switch connected to HomeKit to control power to the fans, but want fan speed control through bond/homekit. So for power, I use the smart switch I have now and for speed, I use the bond...since I do not have power off as an action, when I turn the power on, it turns back on at the same speed that was set last time [and I have automations to keep both accessories in sync when turning on/off in HomeKit]).

Now, when a light is and fan are setup on the same device on the bond, and I do not have the "power" option for the fan, when I turn on the light, it also turns on the fan since the last state bond remembers is the last speed state.

So, to get around this, I added the same fan again as another device, removed all commands but the light (and removed the light commands from the device I use for fan control)...but the bond is still adding a fan and light control in HomeKit.

Edit: the expectation is that only the light toggle shows up in HomeKit and not the fan speed control. Edit 2: To add, I've cleared cache in hoobs/homebridge and re-added and still same issue. Edit 3: I added the device as a light device in bond instead of fan, but there is a bigger/longer delay when doing it that way on the bond.

Let me know if more information is needed.

12/4/2021, 1:27:01 PMBond Bridge starting
12/4/2021, 1:27:03 PMBond BridgeLoaded plugin 'homebridge-bond'
12/4/2021, 1:27:03 PMBond BridgeLoading 1 platforms...
12/4/2021, 1:27:03 PMBond BridgeBridge is running on port 51846.
12/4/2021, 1:27:03 PMBond BridgeBond3 cached accessories were loaded
12/4/2021, 1:27:03 PMBond BridgeBondGetting devices for this Bond (XXXXXXXXX)...
12/4/2021, 1:27:03 PMBond BridgeBond3 devices were found on this Bond (XXXXXXXXX).
12/4/2021, 1:27:03 PMBond BridgeBondNo new devices to add for this Bond (XXXXXXXXX).
12/4/2021, 1:27:03 PMBond BridgeBondConfiguring Accessory: Master Bedroom Ceiling fan
12/4/2021, 1:27:03 PMBond BridgeBond[Ceiling fan] actions: TurnOff,SetSpeed,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed
12/4/2021, 1:27:03 PMBond BridgeBondConfiguring Accessory: Living Room Living Room Ceiling Fan
12/4/2021, 1:27:03 PMBond BridgeBond[Living Room Ceiling Fan] actions: SetSpeed,Stop,TogglePower,TurnOn,TurnOff,IncreaseSpeed,DecreaseSpeed
12/4/2021, 1:27:03 PMBond BridgeBondConfiguring Accessory: Living Room Living Room Light
12/4/2021, 1:27:03 PMBond BridgeBond[Living Room Light] actions: ToggleLight,Stop,TurnLightOn,TurnLightOff
12/4/2021, 1:27:03 PMBond BridgeBondERROR[Living Room Light] Fan Speed is not supported (missing max_speed property or IncreaseSpeed/DescreaseSpeed actions).
12/4/2021, 1:27:03 PMBond BridgeBondERROR[Living Room Light] CeilingFanAccessory does not have required actions for fan service.

Let me know if more information is needed.

IMG_1017 IMG_1018