Lights won't dim with HomeKit after Hubitat update

I just updated to 2.4.1.177 from 2.3.something. Anyway, after the update, when I tell Siri to dim my living room lights to a given amount, nothing happens. But it will turn them on and off if I tell it to.

But, I don't know if it's a Homekit integration issue or not. I have two floor lamps in the living room, and I have a virtual button that I've always had, that when you press it, it dims the lights the 50%, then press it again and it brings them to full brightness. Now after the update, when I press that button, sometimes one will dim, and the other won't respond, then I just tried it, and the other wouldn't respond, but the first one would brighten in steps, instead of alternating between bright and dim. It seemed to be getting about 10% brighter each time I pressed the button.

This was an issue with 2.4.0, there is a very long thread about it: Homekit dimmer switches - #62 by shaun.rockett

According to the posts at the bottom it was all resolved with 2.4.1

You will need to provide some logs and event history similar to what was asked for in that thread for anyone to see what is going on.

1 Like

Attached are the logs. I don't have any way to see if the command to dim was done by HomeKit or the virtual button I have, but I tried Siri first, and it did nothing. Then I hit the virtual button on the app, and it dimmed the Back Lamp, but not Front Lamp. so I tried hitting the button a few times in a row, but for some reason Hubtiat keeps commanding the Front Lamp to go to 100% on every push, and the Back Lamp to 50% on every push.

FRONT LAMP log:

BACK LAMP log:

Yes you do, go to the device page and click o the Event tab. It shows commands there and what "produced" it.

1 Like

I didn't know that, but looks like I have some answers. Looking at the event log, you can see where the command was called to set level, that was from pushing the virtual button, but then you see the command from HomeKit to turn the light on, which HomeKit wasn't used by me. So for some reason HomeKit is getting involved.

But, I have two lamps that are both controlled by that button, and the other one did dim, but then wouldn't brighten back up. I didn't have a chance to look at that log, but for at least that one time, it dimmed one lamp and not the other. And it seems to be at random.

Do you have any Apple Home automations?

I have two but those have nothing to do with this. But here’s what they are: In order to use HomeLit as my presence sensor, I have a virtual switch in Hubitat. When the switch is on, Hubitat is set to away, and when it’s off, Hubitat is set to home.

What the two automations do is change the home/away virtual switch. One automation for when I leave, the other for when I get home.

Need to see your rule "LR Floor Dim (VB)"

Hm they have said the produced by info may not be perfect but I have not seen it be wrong.

But your rule also does call the on command. So not sure where else that command-on would be coming from.

Any events or logs if you use Siri to adjust the lamps?

If you go back to the logs I posted, and look at the first entry, that's what it does. It says that HomeKit commanded it on.

I may have just found the issue, or at least sort of.

I have a group in Hubitat that is both of these lamps, and that was included in HomeKit integration. In all of this, I didn't realize I had it in there as well. I took it out, and now the virtual switch works. Siri still won't dim them, and looking at the even log, it shows the same on command from HomeKit when I told it to dim them to 50%

You will have to look on your phone and see where Home thinks the device is at before the voice command. If light showing on or off? What level does it show?

If home thinks the light is off and already at 50% (from the last time it was on) then maybe it makes sense to just send an ON command?

I would also look at the device page in HE to make sure it is in line with what Home shows.

Also have you tried adjusting it from the Home app instead of a voice command to see if that is any different?

To answer everything, the brightness levels show up the same in both HE and HomeKti, and if I adjust the level in one, it immediately shows it in the other. I can adjust in HE and it shows up in HomeKit and adjust in HomeKit and it shows up in HE.