kpsuperplane / homebridge-wiz-lan

Control Wiz lights over LAN
Apache License 2.0
114 stars 37 forks source link

Dimming percentage stays at 0% when bulbs are turned on #142

Open ulysseskan opened 9 months ago

ulysseskan commented 9 months ago

I'm having a problem when I ask Siri to turn either of my 2 WIZ bulbs ON, she turns them on via homebridge-wiz-lan, but dimming percentage stays at what it was previously: 0%. This means they're effectively off.

I have to go into the Home app and manually change the percentage to 50% or however bright I want it to be.

Here is my config: { "name": "WizSmarthome", "enableScenes": false, "lastStatus": false, "refreshInterval": 0, "platform": "WizSmarthome" }

[9/26/2023, 12:24:11 PM] [WizSmarthome] Loading accessory from cache: Wiz RGB Bulb a8...
[9/26/2023, 12:24:11 PM] [WizSmarthome] Loading accessory from cache: Wiz Tunable White Bulb d8...

If I set enableScenes to true (even though I don't care about scenes), I get an on/off button in HomeKit for the light, but the bulbs still remember the last status of 0% dimmed. (even though lastStatus is off)

If I ask Siri to "set living room light to one-hundred-percent", the plugin works great and does exactly that - but that's a bit of a mouthful compared to simply "turn on living room".

I just want Siri to turn the light to 100% ON with Adaptive Lighting colors when I ask it to go on. Is the workaround here to create a scene with the name of the light?