Homebridge Plug-in

Hello,

Experiencing a weird problem,

Homebridge and Hubitat connected, no issues, until now.

When i turn off a light or anything after about 30 seconds these device events pop up and turn the lights back on.

LIke hubitat keeps sending device commands that override what i say to do within homebridge or on the homekit app.

Anyone experience this? i can't tell where the override is coming from.

edit logs:

dev:1552021-05-30 10:07:01.262 am infoHue ambiance downlight 37 was turned on

dev:1592021-05-30 10:07:01.249 am infoHue ambiance downlight 40 was turned on

dev:1572021-05-30 10:07:01.219 am infoHue ambiance downlight 39 was turned on

dev:1562021-05-30 10:07:01.208 am infoHue ambiance downlight 38 was turned on

dev:1892021-05-30 10:07:01.197 am infoGroup Office was turned on

app:3562021-05-30 10:07:00.941 am info Homebridge (v2.5.7) | | Master Bedroom | Command [setColorTemperature()] | Process Time: (698ms)

app:3562021-05-30 10:07:00.937 am info Homebridge (v2.5.7) | Command Successful for Device Master Bedroom | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.932 am info Homebridge (v2.5.7) | | Office | Command [setColorTemperature()] | Process Time: (675ms)

app:3562021-05-30 10:07:00.919 am info Homebridge (v2.5.7) | Command Successful for Device Office | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.908 am info Homebridge (v2.5.7) | | Guest Bathroom | Command [setColorTemperature()] | Process Time: (594ms)

app:3562021-05-30 10:07:00.905 am info Homebridge (v2.5.7) | Command Successful for Device Guest Bathroom | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.873 am info Homebridge (v2.5.7) | | Bay Window | Command [setColorTemperature()] | Process Time: (619ms)

app:3562021-05-30 10:07:00.869 am info Homebridge (v2.5.7) | Command Successful for Device Bay Window | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.858 am info Homebridge (v2.5.7) | | Back Hallway | Command [setColorTemperature()] | Process Time: (546ms)

app:3562021-05-30 10:07:00.854 am info Homebridge (v2.5.7) | Command Successful for Device Back Hallway | Command [setColorTemperature(3690)]

app:3562021-05-30 10:07:00.828 am info Homebridge (v2.5.7) | | Patio | Command [setColorTemperature()] | Process Time: (586ms)

app:3562021-05-30 10:07:00.824 am info Homebridge (v2.5.7) | Command Successful for Device Patio | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.808 am info Homebridge (v2.5.7) | | Laundry room | Command [setColorTemperature()] | Process Time: (507ms)

app:3562021-05-30 10:07:00.801 am info Homebridge (v2.5.7) | Command Successful for Device Laundry room | Command [setColorTemperature(3690)]

app:3562021-05-30 10:07:00.790 am info Homebridge (v2.5.7) | | Hallway | Command [setColorTemperature()] | Process Time: (555ms)

app:3562021-05-30 10:07:00.783 am info Homebridge (v2.5.7) | Command Successful for Device Hallway | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.759 am info Homebridge (v2.5.7) | | Master Closet | Command [setColorTemperature()] | Process Time: (507ms)

app:3562021-05-30 10:07:00.756 am info Homebridge (v2.5.7) | Command Successful for Device Master Closet | Command [setColorTemperature(2959)]

app:3562021-05-30 10:07:00.647 am info Homebridge (v2.5.7) | | Bathroom | Command [setColorTemperature()] | Process Time: (408ms)

app:3562021-05-30 10:07:00.643 am info Homebridge (v2.5.7) | Command Successful for Device Bathroom | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.615 am info Homebridge (v2.5.7) | | Front Yard | Command [setColorTemperature()] | Process Time: (385ms)

app:3562021-05-30 10:07:00.611 am info Homebridge (v2.5.7) | Command Successful for Device Front Yard | Command [setColorTemperature(3356)]

app:3562021-05-30 10:07:00.586 am info Homebridge (v2.5.7) | | Entrance | Command [setColorTemperature()] | Process Time: (269ms)

app:3562021-05-30 10:07:00.583 am info Homebridge (v2.5.7) | Command Successful for Device Entrance | Command [setColorTemperature(3344)]

app:3562021-05-30 10:07:00.560 am info Homebridge (v2.5.7) | | Driveway | Command [setColorTemperature()] | Process Time: (253ms)

app:3562021-05-30 10:07:00.552 am info Homebridge (v2.5.7) | Command Successful for Device Driveway | Command [setColorTemperature(3690)]

app:3562021-05-30 10:07:00.534 am info Homebridge (v2.5.7) | | Living room | Command [setColorTemperature()] | Process Time: (316ms)

app:3562021-05-30 10:07:00.527 am info Homebridge (v2.5.7) | Command Successful for Device Living room | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.509 am info Homebridge (v2.5.7) | | Master Bathroom | Command [setColorTemperature()] | Process Time: (323ms)

app:3562021-05-30 10:07:00.505 am info Homebridge (v2.5.7) | Command Successful for Device Master Bathroom | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.474 am info Homebridge (v2.5.7) | | Kitchen | Command [setColorTemperature()] | Process Time: (277ms)

app:3562021-05-30 10:07:00.469 am info Homebridge (v2.5.7) | Command Successful for Device Kitchen | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.452 am info Homebridge (v2.5.7) | | Bedroom | Command [setColorTemperature()] | Process Time: (250ms)

app:3562021-05-30 10:07:00.449 am info Homebridge (v2.5.7) | Command Successful for Device Bedroom | Command [setColorTemperature(5319)]

app:3562021-05-30 10:07:00.447 am info Homebridge (v2.5.7) | | Master Closet LED | Command [setColorTemperature()] | Process Time: (200ms)

app:3562021-05-30 10:07:00.441 am info Homebridge (v2.5.7) | Command Successful for Device Master Closet LED | Command [setColorTemperature(3802)]

dev:4212021-05-30 10:07:00.439 am errorjava.lang.NullPointerException: Cannot get property 'level' on null object on line 925 (setColorTemperature)

dev:4212021-05-30 10:07:00.430 am infoMaster Closet LED: Bulb is off. Turning on

dev:4212021-05-30 10:07:00.403 am infoMaster Closet LED: setColorTemperature(3802)

app:3562021-05-30 10:07:00.383 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 189 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.381 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 182 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.378 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 190 | Command: (setColorTemperature) | Param1: (3690)

app:3562021-05-30 10:07:00.375 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 184 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.373 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 174 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.370 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 232 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.367 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 421 | Command: (setColorTemperature) | Param1: (3802)

app:3562021-05-30 10:07:00.365 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 180 | Command: (setColorTemperature) | Param1: (2959)

app:3562021-05-30 10:07:00.362 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 175 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.350 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 179 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.348 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 186 | Command: (setColorTemperature) | Param1: (3356)

app:3562021-05-30 10:07:00.330 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 181 | Command: (setColorTemperature) | Param1: (3690)

app:3562021-05-30 10:07:00.327 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 185 | Command: (setColorTemperature) | Param1: (3344)

app:3562021-05-30 10:07:00.319 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 187 | Command: (setColorTemperature) | Param1: (3690)

app:3562021-05-30 10:07:00.316 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 176 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.212 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 183 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.207 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 178 | Command: (setColorTemperature) | Param1: (5319)

app:3562021-05-30 10:07:00.204 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 177 | Command: (setColorTemperature) | Param1: (5319)

dev:1222021-05-30 10:06:46.877 am debugOffice Switch: MeterReport(meterType: 1, precision: 1, scale: 2, size: 4, meterValue: [0, 0, 0, 24], rateType: 1, deltaTime: 0, previousMeterValue: [])

dev:1942021-05-30 10:06:30.411 am infoKitchen Sonos playing: Untold Stories by Buju Banton from 'Til Shiloh (25th Anniversary Edition)

dev:1552021-05-30 10:06:17.965 am infoHue ambiance downlight 37 was turned off

dev:1592021-05-30 10:06:17.952 am infoHue ambiance downlight 40 was turned off

dev:1572021-05-30 10:06:17.942 am infoHue ambiance downlight 39 was turned off

dev:1562021-05-30 10:06:17.931 am infoHue ambiance downlight 38 was turned off

dev:1892021-05-30 10:06:17.921 am infoGroup Office was turned off

app:3562021-05-30 10:06:17.827 am info Homebridge (v2.5.7) | | Office | Command [off()] | Process Time: (58ms)

app:3562021-05-30 10:06:17.824 am info Homebridge (v2.5.7) | Command Successful for Device Office | Command [off()]

app:3562021-05-30 10:06:17.768 am info Homebridge (v2.5.7) | Plugin called Process Command | DeviceId: 189 | Command: (off)

dev:1222021-05-30 10:06:14.849 am debugOffice Switch: MeterReport(meterType: 1, precision: 1, scale: 2, size: 4, meterValue: [0, 0, 0, 228], rateType: 1, deltaTime: 0, previousMeterValue: [])

Looks to me like you’ve enabled Apple’s Adaptive Lighting. You need to have color prestaging enabled for any device using adaptive lighting, otherwise the light will turn back on when the CT command is sent from Home.

3 Likes

yep,

that was it!

thank you!, how do i setup color prestaging?

Not all drivers support it.

ok, thank you,

i will do some research to check if hue bulbs support it through homebridge.

If connected to Hubitat, they support it using the Generic Zigbee rgbw driver. Remember to hit “configure” after changing the driver (if you’re using a different one). You will see the option for prestaging in the driver preferences.
Otherwise, the Hue bridge supports it natively (Apple’s Adaptive Lighting that is).

2 Likes

Is is possible to create a modified thermostat that is cooling only, for HVAC devices that do not have heating functions?

I think I broke it.

Is that a known limitation?

Yes. Per instance.
Create a second instance to add more.

1 Like

A second homebridge instance or a second instance of the plugin on hubitat?

Both, you'll need to add another instance of the Homebridge v2 app and then in Homebridge you can add the new instance as a child bridge.

2 Likes

angel voices

A new world has been revealed to me !

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.