Philips Hue CLIP 2 API v2 Discussion Thread

I am opening this thread as a platform to discuss the implementation of the Hue CLIP 2 API v2 in the Hue openHAB binding.

1 Like

Below is a demo video showing the speed of the SSE event stream. It shows commands being issued from the Hue App on the left to an OH Sitemap on the right (i.e. Hue App => Hue Bridge => CLIP 2 Binding => OH Core => Site Map)…

And you can download the OH 4.x and OH 3.4.x Jar files, plus also the Jetty dependency Jars, HERE.

I’ve tried your jar on OH 4.0.0M1, but I get following error:
Unresolved requirement: Import-Package: org.eclipse.jetty.http2.api; version=“[9.4.0,10.0.0)”

Did I miss something? I thought on OH4 the additional jetty jar’s are not required?

The jars were not yet included in OH4 M1, so you need to use a SNAPSHOT for the time being, or wait for M2…

I would like to give the JARs a try. I have looked at your migration document but am not clear on how this would work for a UI based migration with auto discovery?

Will all the Things, Channels and Items have to be recreated? How does this get dealt with when using Discovery etc?

I thought I read something about an attempt to covert the old items to the new etc.

EDIT: Found it -

Furthermore when new API v2 things are created via the discovery services, then if a legacy API v1 thing exists, the new v2 thing will attempt too clone the attributes of the existing v1 thing. And also, if a legacy API v1 thing exists and has items linked to its channels, then the new v2 thing will replicate the links between those items and the respective new v2 channels.

So do you just install the JARS and configure the bridge and go from there?

The process is as follows…

  • Make sure that your v1 Bridge and Things are online
  • Let the inbox discover the v2 Bridge, and instantiate it
  • When the v2 Bridge is instantiated, the binding automatically takes over the API key from the existing v1 Bridge
  • Let the inbox discover the v2 Things, and instantiate them
  • When each v2 Thing is instantiated, the binding checks if there is a matching v1 Thing already existing; and if so, it checks for any Items bound to the v1 Thing’s channels, and it automatically binds those items also to the respective v2 Thing’s channels.
  • Finally disable the v1 Bridge and Things (to avoid ‘fighting’ between the two APIs).

Obviously the above works best if the v1 Things and Items had been created dynamically via the UI. Whereas if the v1 Items had been created via an .items file, above step of automatically binding the Items to the new v2 Thing’s channels won’t work because the Items are defined read only in the .items file.


Another way to create the v2 Things is to use the following console command…

openhab:hue hue:clip2:<mybridgeid> things
.. or to create a things file directly..
openhab:hue hue:clip2:<mybridgeid> things > my-things-file.things

I have installed 4.0.0-SNAPSHOT Build #3386 from today.

When I add the org.openhab.binding.hue-4.0.0-SNAPSHOT.jar to addons I still get:

17:43:27.560 [WARN ] [org.apache.felix.fileinstall         ] - Error while starting bundle: file:/C:/openHAB/addons/org.openhab.binding.hue-4.0.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.hue [267]
  Unresolved requirement: Import-Package: org.eclipse.jetty.alpn.client; version="[11.0.0,12.0.0)"

        at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) ~[?:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) ~[?:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) ~[?:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) ~[?:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) ~[?:?]

Is there any way round this?

The two PRs below resolved the HTTP/2 dependencies by importing Jetty v9.4.50.

By contrast your log says that Jetty ALPN v[11.0.0,12.0.0) is missing; which is clearly above the Jetty v9.4.50 that was imported via the above PRs.

I know the OH maintainers do plan an upgrade from Jetty 9.4.50 to v10 / v11 but I think they are awaiting an upgrade of the Karaf version. However my guess is that your SNAPSHOT unintentionally pulled in some of the pre-work on that subject, thus causing the Jetty version conflict. ??

=> @wborn can you please comment?


EDIT: or maybe you have a version of my Hue Binding PR Jar where I might have been playing around with independent dependencies on Jetty v11. ?? Make sure you have the latest Jar from HERE

That seems to have been the issue. Have downloaded and installed from the updated link and will give it a go. All my V1 Bridge and Things are online so will go from there and report back.

All my devices are running as V1, however even running a manual scan does not detect the V2 Bridge. Do I need to add this manually?
If I add manually what do I do about the “Unique ID” and “Application Key”? Looks like I just enter the IP address and the Application Key should be generated?

If you add it manually, the use the same IP address and key as the v1 bridge already has. (On v1 the key parameter is called something like ‘user name’ whereas on v2 it is called ‘application key’ but the actual code is the same).

Should the V2 bridge be discovered?

Will give it a try when I get back later.

Yes the v2 should be auto discovered. And if you instantiate it from the Inbox, the config params will be taken over from the v1 bridge. Orherwise if you manually create it then you have to manually copy paste the config params.

Thanks Andrew. I have migrated to the the V2 bridge and removed all the V1 devices, so only V2 Things, Items left.

All the existing V1 Items were linked to the V2 Things, which is great.
I am able to control my lights etc as before using the same widgets etc.

I have done this on a “test” instance of OH.

A couple of things I noticed.

  • My V2 Bridge was not discovered, so I had to manually add. Not sure why that would be? Not difficult to do and works fine though. Maybe worth a note in docs on how to do this even for migration?
  • I do not seem to be getting updates back from the Hue Hub to openHAB. I can control the devices from openHAB, however if I turn on lights using the Hue APP, these changes do not seem to get to openHAB? I initially thought this was because I was using a group. But also tested with a single device and the same. The V1 devices on my production server still get updated (delayed)
  • Also noticed the Last Updated channel does not update, even though I have used openHAB to switch on/off etc.

Thanks

Me neither. The discovery is actually not something that I had added to this version of the binding. It is in fact the same discovery process as in the orginal version of the binding.

But perhaps you can give me some info about your Hue bridge? Is it the round or the square(ish) version? And in the Hue App can you please check Settings | About, and let me know its Model Number and Software version?

That definitely sounds broken. Does the correct status come through eventually after 10 minutes? And can you please try logging the communications as follows?

log:set TRACE org.openhab.binding.hue.internal.connection.Clip2Bridge

EDIT: more on the above. Philips / Signify says that CLIP 2 is officially only supported on bridges with firmware of v1948086000 or higher. And the discovery process in my new binding code does check this version, whereby if the version is below that level it does NOT discover the bridge into the Inbox. That might explain why auto discovery did not work for you. Yet it is possible that if the firmware is below that threshold version, there might still be some limited CLIP 2 functionality (just a guess). Which might explain why some things work for you, and some do not.

The Hue Hub is the squaring one.
Model: BSb002
Software: 1.56.1956178040 (> than the version you mentioned above and the latest available)

Also, from the Binding I get:

Trace Logs as follows (Turned 3 groups On then Off):

15:13:41.186 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:13:40Z","data":[{"id":"3f746425-6c0f-4192-9540-9a85b7dd04db","id_v1":"/lights/4","on":{"on":true},"owner":{"rid":"ee1aa624-91b6-41f9-9921-e3ae2bae291d","rtype":"device"},"type":"light"},{"id":"164226b9-c8b2-485a-b8d8-269ca60019e1","id_v1":"/lights/5","on":{"on":true},"owner":{"rid":"18d47ab1-36fd-4c0f-8206-a95969f6b8b9","rtype":"device"},"type":"light"},{"id":"5666c6f5-71ab-478a-bd59-1308142cd999","id_v1":"/lights/6","on":{"on":true},"owner":{"rid":"d7aa1d72-009f-4b8d-a28f-798da9d7b33f","rtype":"device"},"type":"light"},{"id":"a7967b2a-bdb2-4b7c-955d-b54d363efabc","id_v1":"/lights/7","on":{"on":true},"owner":{"rid":"fb032c0c-4187-4f93-9bab-3ae1c3dc5567","rtype":"device"},"type":"light"},{"id":"58a9dd84-310a-44f8-b641-e555807e6bf4","id_v1":"/lights/8","on":{"on":true},"owner":{"rid":"0c18b50b-572f-4f50-ad3e-476293accd7b","rtype":"device"},"type":"light"},{"id":"224d33d8-ceb7-4a8d-a3c9-3c71c9996a59","id_v1":"/lights/1","on":{"on":true},"owner":{"rid":"6485b533-3d67-429c-89ff-e7ba813513f6","rtype":"device"},"type":"light"},{"id":"c00eff47-e666-4ff7-86c2-51f11fe8e713","id_v1":"/lights/2","on":{"on":true},"owner":{"rid":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","rtype":"device"},"type":"light"},{"id":"8b0ca755-f39a-40cb-b46b-b538aec29091","id_v1":"/lights/3","on":{"on":true},"owner":{"rid":"4a1f8a73-3543-41f4-b4d9-173dc03747f5","rtype":"device"},"type":"light"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","on":{"on":true},"owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":84.65},"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"id":"ba365fdb-f055-410c-9021-561b725cdc22","id_v1":"/groups/1","on":{"on":true},"owner":{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},"type":"grouped_light"},{"dimming":{"brightness":84.65},"id":"ba365fdb-f055-410c-9021-561b725cdc22","id_v1":"/groups/1","owner":{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},"type":"grouped_light"}],"id":"dd7863cb-af7d-4de3-af1f-cd8bd745a7d5","type":"update"}]
15:13:41.189 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Hue_color_spot_1_Power' changed from OFF to ON
15:13:41.189 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Hue_color_spot_1_Last_Updated' changed from 2023-03-28T15:11:07.076379400+0200 to 2023-03-28T15:13:41.188049500+0200
15:13:41.190 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LoungeRoom_Switch' changed from OFF to ON
15:13:41.190 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LoungeRoom_Brightness' changed from 0 to 85
15:13:43.329 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 6.6 % to 5.3 %
15:13:48.334 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_MemoryUsed' changed from 68.2 to 68.4
15:13:48.337 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 5.3 % to 3.5 %
15:13:50.798 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:13:50Z","data":[{"id":"3f746425-6c0f-4192-9540-9a85b7dd04db","id_v1":"/lights/4","on":{"on":false},"owner":{"rid":"ee1aa624-91b6-41f9-9921-e3ae2bae291d","rtype":"device"},"type":"light"},{"id":"164226b9-c8b2-485a-b8d8-269ca60019e1","id_v1":"/lights/5","on":{"on":false},"owner":{"rid":"18d47ab1-36fd-4c0f-8206-a95969f6b8b9","rtype":"device"},"type":"light"},{"id":"5666c6f5-71ab-478a-bd59-1308142cd999","id_v1":"/lights/6","on":{"on":false},"owner":{"rid":"d7aa1d72-009f-4b8d-a28f-798da9d7b33f","rtype":"device"},"type":"light"},{"id":"a7967b2a-bdb2-4b7c-955d-b54d363efabc","id_v1":"/lights/7","on":{"on":false},"owner":{"rid":"fb032c0c-4187-4f93-9bab-3ae1c3dc5567","rtype":"device"},"type":"light"},{"id":"58a9dd84-310a-44f8-b641-e555807e6bf4","id_v1":"/lights/8","on":{"on":false},"owner":{"rid":"0c18b50b-572f-4f50-ad3e-476293accd7b","rtype":"device"},"type":"light"},{"id":"224d33d8-ceb7-4a8d-a3c9-3c71c9996a59","id_v1":"/lights/1","on":{"on":false},"owner":{"rid":"6485b533-3d67-429c-89ff-e7ba813513f6","rtype":"device"},"type":"light"},{"id":"c00eff47-e666-4ff7-86c2-51f11fe8e713","id_v1":"/lights/2","on":{"on":false},"owner":{"rid":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","rtype":"device"},"type":"light"},{"id":"8b0ca755-f39a-40cb-b46b-b538aec29091","id_v1":"/lights/3","on":{"on":false},"owner":{"rid":"4a1f8a73-3543-41f4-b4d9-173dc03747f5","rtype":"device"},"type":"light"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","on":{"on":false},"owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":0.0},"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"id":"ba365fdb-f055-410c-9021-561b725cdc22","id_v1":"/groups/1","on":{"on":false},"owner":{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},"type":"grouped_light"},{"dimming":{"brightness":0.0},"id":"ba365fdb-f055-410c-9021-561b725cdc22","id_v1":"/groups/1","owner":{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},"type":"grouped_light"}],"id":"c290e81a-99ca-437f-a4ae-e9f292f2854c","type":"update"}]
15:13:50.800 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Hue_color_spot_1_Power' changed from ON to OFF
15:13:50.801 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'Hue_color_spot_1_Last_Updated' changed from 2023-03-28T15:13:41.188049500+0200 to 2023-03-28T15:13:50.800764+0200
15:13:50.801 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LoungeRoom_Switch' changed from ON to OFF
15:13:50.802 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LoungeRoom_Brightness' changed from 85 to 0
15:13:53.347 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_MemoryUsed' changed from 68.4 to 67.9
15:13:53.353 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 3.5 % to 2.8 %
15:13:58.360 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 2.8 % to 1.1 %
15:14:01.278 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:14:01Z","data":[{"id":"6d1f0ce1-acfb-410c-866e-9c2a94a3c01b","id_v1":"/lights/18","on":{"on":true},"owner":{"rid":"cf8dbe0f-fc9a-4ac3-a5c8-743e5beed749","rtype":"device"},"type":"light"},{"id":"06236f4d-3175-4609-8cd5-fdf5764ad615","id_v1":"/lights/12","on":{"on":true},"owner":{"rid":"9ca6fe80-e5f2-4ea9-bcbe-f2c5ff565d53","rtype":"device"},"type":"light"},{"id":"2e657fe9-fd81-43b4-b4ec-c057ff00fbe1","id_v1":"/lights/11","on":{"on":true},"owner":{"rid":"3f922aa6-2647-483c-bb3f-c32ec8d7cce6","rtype":"device"},"type":"light"},{"id":"d9871d5d-02a0-4158-8b47-596f917b6340","id_v1":"/lights/10","on":{"on":true},"owner":{"rid":"42328b03-94e3-441c-a1e1-a174efff6f73","rtype":"device"},"type":"light"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","on":{"on":true},"owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":75.2},"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"id":"f1b79c17-908f-4d06-8450-46b6c4761b33","id_v1":"/groups/4","on":{"on":true},"owner":{"rid":"a781070d-57b2-433a-815f-2059eb63dacc","rtype":"room"},"type":"grouped_light"},{"dimming":{"brightness":75.2},"id":"f1b79c17-908f-4d06-8450-46b6c4761b33","id_v1":"/groups/4","owner":{"rid":"a781070d-57b2-433a-815f-2059eb63dacc","rtype":"room"},"type":"grouped_light"}],"id":"724831a1-3d86-40d7-bd4a-f2e7523861ad","type":"update"}]
15:14:01.280 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'RileyRoom_Switch' changed from OFF to ON
15:14:01.280 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'RileyRoom_Brightness' changed from 0 to 75
15:14:03.108 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:14:02Z","data":[{"id":"6d1f0ce1-acfb-410c-866e-9c2a94a3c01b","id_v1":"/lights/18","on":{"on":false},"owner":{"rid":"cf8dbe0f-fc9a-4ac3-a5c8-743e5beed749","rtype":"device"},"type":"light"},{"id":"06236f4d-3175-4609-8cd5-fdf5764ad615","id_v1":"/lights/12","on":{"on":false},"owner":{"rid":"9ca6fe80-e5f2-4ea9-bcbe-f2c5ff565d53","rtype":"device"},"type":"light"},{"id":"2e657fe9-fd81-43b4-b4ec-c057ff00fbe1","id_v1":"/lights/11","on":{"on":false},"owner":{"rid":"3f922aa6-2647-483c-bb3f-c32ec8d7cce6","rtype":"device"},"type":"light"},{"id":"d9871d5d-02a0-4158-8b47-596f917b6340","id_v1":"/lights/10","on":{"on":false},"owner":{"rid":"42328b03-94e3-441c-a1e1-a174efff6f73","rtype":"device"},"type":"light"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","on":{"on":false},"owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":0.0},"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"id":"f1b79c17-908f-4d06-8450-46b6c4761b33","id_v1":"/groups/4","on":{"on":false},"owner":{"rid":"a781070d-57b2-433a-815f-2059eb63dacc","rtype":"room"},"type":"grouped_light"},{"dimming":{"brightness":0.0},"id":"f1b79c17-908f-4d06-8450-46b6c4761b33","id_v1":"/groups/4","owner":{"rid":"a781070d-57b2-433a-815f-2059eb63dacc","rtype":"room"},"type":"grouped_light"}],"id":"46c22722-481c-4d79-aa44-dbd15f169d96","type":"update"}]
15:14:03.109 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'RileyRoom_Switch' changed from ON to OFF
15:14:03.109 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'RileyRoom_Brightness' changed from 75 to 0
15:14:03.368 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 1.1 % to 4.1 %
15:14:05.711 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LocalTime_String' changed from 2023-03-28 15:13:05 SAST to 2023-03-28 15:14:05 SAST
15:14:05.712 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LocalTime_Date_String' changed from 2023-03-28 15:13:05 SAST to 2023-03-28 15:14:05 SAST
15:14:05.768 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:14:05Z","data":[{"id":"b5b0089f-01cc-405e-9301-b9abe27ad3e9","id_v1":"/lights/14","on":{"on":true},"owner":{"rid":"45dd7454-2ae9-4a9b-90ca-b89e39023cbf","rtype":"device"},"type":"light"},{"id":"32d0c787-5bd2-40dc-b4d6-f229493a12e3","id_v1":"/lights/15","on":{"on":true},"owner":{"rid":"5d89d53f-165b-49ef-a2e5-34590fbe6fc4","rtype":"device"},"type":"light"},{"id":"1aaafabd-dc30-4f56-b2d4-9ec90b982383","id_v1":"/lights/16","on":{"on":true},"owner":{"rid":"6865d13e-18a1-4511-8fa3-c8251ce5cc3e","rtype":"device"},"type":"light"},{"id":"9b925046-9253-4a70-af58-9cfc8af88fa5","id_v1":"/lights/17","on":{"on":true},"owner":{"rid":"1a76d0a1-8dfb-404b-b6ba-3f5565405a85","rtype":"device"},"type":"light"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","on":{"on":true},"owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":100.0},"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"id":"f5f2fa98-94f2-4f60-977b-a8a4f454e6aa","id_v1":"/groups/5","on":{"on":true},"owner":{"rid":"0c3872fc-9c14-4d02-8ebc-bb3a8c142aea","rtype":"room"},"type":"grouped_light"},{"dimming":{"brightness":100.0},"id":"f5f2fa98-94f2-4f60-977b-a8a4f454e6aa","id_v1":"/groups/5","owner":{"rid":"0c3872fc-9c14-4d02-8ebc-bb3a8c142aea","rtype":"room"},"type":"grouped_light"}],"id":"93c24d84-2733-4d6d-8648-8eebad0bca36","type":"update"}]
15:14:05.770 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'EthanRoom_Switch' changed from OFF to ON
15:14:05.770 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'EthanRoom_Brightness' changed from 0 to 100
15:14:08.242 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_UsedHeapPercent' changed from 33 % to 41 %
15:14:08.377 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 4.1 % to 0.8 %
15:14:09.094 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNIshellyuni98cdac2c6bf210163199230_Temperature' changed from -17.5 °C to -16.5 °C
15:14:09.127 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC' changed from 27.69 V to 27.72 V
15:14:09.148 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNI_Battery_Charging_Count' changed from 28572.0 to 28573.0
15:14:09.206 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNI_Battery_Updated' changed from 2023-03-28T15:13:08.961911800+0200 to 2023-03-28T15:14:09.127308300+0200
15:14:09.207 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNI_Voltage_Update_Diff' changed from 58 to 60
15:14:09.208 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC_1min_AVG' changed from 27.63 V to 27.69 V
15:14:09.208 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC_1min_AVG_Diff' changed from -0.04 V to 0.01 V
15:14:09.210 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC_1min_Delta' changed from 0.01 V to -0.05 V
15:14:09.210 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyUNIshellyuni98cdac2c6bf210163199230_VoltageADC_1min_Delta_1m_AVG' changed from 0 V to 0.01 V
15:14:09.402 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_UPS_Watt' changed from 397.7 W to 416.97 W
15:14:09.403 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_UPS_TotalEnergy' changed from 6822.742 kWh to 6822.749 kWh
15:14:09.404 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_UPS_ReactiveWatt' changed from -297.69 W to -315.39 W
15:14:09.405 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_UPS_LastUpdate' changed from 2023-03-28T15:13:09.000+0200 to 2023-03-28T15:14:09.000+0200
15:14:09.406 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_MAINS_Watt' changed from 1199.01 W to 1201.45 W
15:14:09.407 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_MAINS_TotalEnergy' changed from 29854.766 kWh to 29854.786 kWh
15:14:09.407 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_MAINS_ReactiveWatt' changed from 424.16 W to 438.73 W
15:14:09.408 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_MAINS_LastUpdate' changed from 2023-03-28T15:13:09.000+0200 to 2023-03-28T15:14:09.000+0200
15:14:09.408 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'ShellyEM_UPS_VA' changed from -497.125 VA to -521.2125 VA
15:14:12.346 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:14:12Z","data":[{"id":"b5b0089f-01cc-405e-9301-b9abe27ad3e9","id_v1":"/lights/14","on":{"on":false},"owner":{"rid":"45dd7454-2ae9-4a9b-90ca-b89e39023cbf","rtype":"device"},"type":"light"},{"id":"32d0c787-5bd2-40dc-b4d6-f229493a12e3","id_v1":"/lights/15","on":{"on":false},"owner":{"rid":"5d89d53f-165b-49ef-a2e5-34590fbe6fc4","rtype":"device"},"type":"light"},{"id":"1aaafabd-dc30-4f56-b2d4-9ec90b982383","id_v1":"/lights/16","on":{"on":false},"owner":{"rid":"6865d13e-18a1-4511-8fa3-c8251ce5cc3e","rtype":"device"},"type":"light"},{"id":"9b925046-9253-4a70-af58-9cfc8af88fa5","id_v1":"/lights/17","on":{"on":false},"owner":{"rid":"1a76d0a1-8dfb-404b-b6ba-3f5565405a85","rtype":"device"},"type":"light"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","on":{"on":false},"owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":0.0},"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"id":"f5f2fa98-94f2-4f60-977b-a8a4f454e6aa","id_v1":"/groups/5","on":{"on":false},"owner":{"rid":"0c3872fc-9c14-4d02-8ebc-bb3a8c142aea","rtype":"room"},"type":"grouped_light"},{"dimming":{"brightness":0.0},"id":"f5f2fa98-94f2-4f60-977b-a8a4f454e6aa","id_v1":"/groups/5","owner":{"rid":"0c3872fc-9c14-4d02-8ebc-bb3a8c142aea","rtype":"room"},"type":"grouped_light"}],"id":"6398de32-a1ac-4f69-afed-5a7e34e22fa0","type":"update"}]
15:14:12.348 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'EthanRoom_Switch' changed from ON to OFF
15:14:12.348 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'EthanRoom_Brightness' changed from 100 to 0
15:14:13.385 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 0.8 % to 3.4 %
15:14:18.391 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 3.4 % to 2.7 %

A Bit later:

15:17:22.586 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:17:22Z","data":[{"id":"ffc936d4-978d-402a-854c-a5da60ca3ad7","id_v1":"/lights/2","owner":{"rid":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","rtype":"device"},"status":"connected","type":"zigbee_connectivity"}],"id":"5806f958-e87a-4d42-9ee1-3a3c4d3e481a","type":"update"}]
15:17:22.587 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'hue:device:dcbe834f77:9bb57c71-2a47-4eaf-a915-e55c7ac78d5b' changed from OFFLINE (COMMUNICATION_ERROR): Zigbee connectivity issue. to ONLINE
15:17:23.725 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_MemoryUsed' changed from 67.7 to 67.2
15:17:23.728 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 2.3 % to 2.7 %
15:17:25.588 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/light/c00eff47-e666-4ff7-86c2-51f11fe8e713 HTTP/2
15:17:25.602 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"c00eff47-e666-4ff7-86c2-51f11fe8e713","id_v1":"/lights/2","owner":{"rid":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","rtype":"device"},"metadata":{"name":"Hue color spot 2","archetype":"ceiling_round"},"on":{"on":false},"dimming":{"brightness":84.65,"min_dim_level":5.0},"dimming_delta":null,"color_temperature":{"mirek":410,"mirek_valid":true,"mirek_schema":{"mirek_minimum":153,"mirek_maximum":500}},"color_temperature_delta":null,"color":{"xy":{"x":0.4825,"y":0.4143},"gamut":{"red":{"x":0.675,"y":0.322},"green":{"x":0.409,"y":0.518},"blue":{"x":0.167,"y":0.04}},"gamut_type":"B"},"dynamics":{"status":"none","status_values":["none","dynamic_palette"],"speed":0.0,"speed_valid":false},"alert":{"action_values":["breathe"]},"signaling":{"signal_values":["no_signal","on_off"]},"mode":"normal","powerup":{"preset":"powerfail","configured":true,"on":{"mode":"previous"},"dimming":{"mode":"previous"},"color":{"mode":"previous"}},"type":"light"}]}
15:17:25.690 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/zigbee_connectivity/ffc936d4-978d-402a-854c-a5da60ca3ad7 HTTP/2
15:17:25.704 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"ffc936d4-978d-402a-854c-a5da60ca3ad7","id_v1":"/lights/2","owner":{"rid":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","rtype":"device"},"status":"connected","mac_address":"00:17:88:01:04:31:12:fe","type":"zigbee_connectivity"}]}
15:17:25.793 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/entertainment/f1b0189d-a5db-438a-8f15-4d0c4f30904c HTTP/2
15:17:25.809 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"f1b0189d-a5db-438a-8f15-4d0c4f30904c","id_v1":"/lights/2","owner":{"rid":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","rtype":"device"},"renderer":true,"proxy":true,"equalizer":true,"segments":{"configurable":false,"max_segments":1,"segments":[{"start":0,"length":1}]},"type":"entertainment"}]}
15:17:28.736 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_MemoryUsed' changed from 67.2 to 67.5
15:17:28.740 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_CPULoad' changed from 2.7 % to 6.3 %
15:17:33.747 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'openHABServer_MemoryUsed' changed from 67.5 to 67.2

Also saw this stream past:

15:21:05.576 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/device HTTP/2
15:21:05.624 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"45dd7454-2ae9-4a9b-90ca-b89e39023cbf","id_v1":"/lights/14","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Ethan Light 1","archetype":"classic_bulb"},"identify":null,"services":[{"rid":"b5b0089f-01cc-405e-9301-b9abe27ad3e9","rtype":"light"},{"rid":"37e50047-bff8-4f1e-b087-fd38fee4baaf","rtype":"zigbee_connectivity"}],"type":"device"},{"id":"fb032c0c-4187-4f93-9bab-3ae1c3dc5567","id_v1":"/lights/7","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 7","archetype":"ceiling_round"},"identify":null,"services":[{"rid":"a7967b2a-bdb2-4b7c-955d-b54d363efabc","rtype":"light"},{"rid":"97a64528-2dc7-425e-b2b8-7f72f6dbefed","rtype":"zigbee_connectivity"},{"rid":"eb56af30-4886-4e2c-8f34-08094d2abff8","rtype":"entertainment"}],"type":"device"},{"id":"cf8dbe0f-fc9a-4ac3-a5c8-743e5beed749","id_v1":"/lights/18","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Riley Light 1","archetype":"classic_bulb"},"identify":{},"services":[{"rid":"6d1f0ce1-acfb-410c-866e-9c2a94a3c01b","rtype":"light"},{"rid":"86d6eebd-0e47-4321-ac28-719b97cbbcec","rtype":"zigbee_connectivity"}],"type":"device"},{"id":"1a76d0a1-8dfb-404b-b6ba-3f5565405a85","id_v1":"/lights/17","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Ethan Light 4","archetype":"classic_bulb"},"identify":{},"services":[{"rid":"9b925046-9253-4a70-af58-9cfc8af88fa5","rtype":"light"},{"rid":"a48c9eed-e507-4c28-ad06-415031300aec","rtype":"zigbee_connectivity"}],"type":"device"},{"id":"9ca6fe80-e5f2-4ea9-bcbe-f2c5ff565d53","id_v1":"/lights/12","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Riley Light 4","archetype":"classic_bulb"},"identify":{},"services":[{"rid":"06236f4d-3175-4609-8cd5-fdf5764ad615","rtype":"light"},{"rid":"5d0c5385-37cb-4a18-a1c5-180aed0a7c38","rtype":"zigbee_connectivity"}],"type":"device"},{"id":"18d47ab1-36fd-4c0f-8206-a95969f6b8b9","id_v1":"/lights/5","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 5","archetype":"ceiling_round"},"identify":{},"services":[{"rid":"164226b9-c8b2-485a-b8d8-269ca60019e1","rtype":"light"},{"rid":"b091836b-3d15-469c-b708-8e2c24da3997","rtype":"zigbee_connectivity"},{"rid":"258b4219-5502-4ed1-ac2d-bb5cef292196","rtype":"entertainment"}],"type":"device"},{"id":"0c18b50b-572f-4f50-ad3e-476293accd7b","id_v1":"/lights/8","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 8","archetype":"ceiling_round"},"identify":{},"services":[{"rid":"58a9dd84-310a-44f8-b641-e555807e6bf4","rtype":"light"},{"rid":"4a30a959-6dbb-40e4-9025-002ae82d0b53","rtype":"zigbee_connectivity"},{"rid":"fe7f4fb7-9340-4133-bdda-e4bf786bd187","rtype":"entertainment"}],"type":"device"},{"id":"805f6b62-aa16-4be4-9342-c6f1932110a7","product_data":{"model_id":"BSB002","manufacturer_name":"Signify Netherlands B.V.","product_name":"Philips hue","product_archetype":"bridge_v2","certified":true,"software_version":"1.56.1956178040"},"metadata":{"name":"Philips hue","archetype":"bridge_v2"},"identify":{},"services":[{"rid":"a9d28cc5-ff01-40d0-afe7-f7c9e5205571","rtype":"bridge"},{"rid":"5fa5b437-8bb2-4a44-9807-89b1968673cf","rtype":"zigbee_connectivity"},{"rid":"30aef9de-ff7b-4cc3-b7f3-8549449fe4fd","rtype":"entertainment"},{"rid":"132d8d68-ad52-4175-8f92-f69aa1e4e584","rtype":"zigbee_device_discovery"}],"type":"device"},{"id":"4a1f8a73-3543-41f4-b4d9-173dc03747f5","id_v1":"/lights/3","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 3","archetype":"ceiling_round"},"identify":{},"services":[{"rid":"8b0ca755-f39a-40cb-b46b-b538aec29091","rtype":"light"},{"rid":"6cec8768-bb8d-4c9e-8370-865eeb413312","rtype":"zigbee_connectivity"},{"rid":"3bef0fff-efb9-46db-ba83-6f4ea04ce9a8","rtype":"entertainment"}],"type":"device"},{"id":"ee1aa624-91b6-41f9-9921-e3ae2bae291d","id_v1":"/lights/4","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 4","archetype":"ceiling_round"},"identify":{},"services":[{"rid":"3f746425-6c0f-4192-9540-9a85b7dd04db","rtype":"light"},{"rid":"06c12063-18bd-423d-b6d7-6a1b1d53ebc3","rtype":"zigbee_connectivity"},{"rid":"bba7de72-9cda-40d6-820e-6d6da529539f","rtype":"entertainment"}],"type":"device"},{"id":"6865d13e-18a1-4511-8fa3-c8251ce5cc3e","id_v1":"/lights/16","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Ethan Light 3","archetype":"classic_bulb"},"identify":{},"services":[{"rid":"1aaafabd-dc30-4f56-b2d4-9ec90b982383","rtype":"light"},{"rid":"a995e64d-a6c5-4e8f-98f8-25a70027563a","rtype":"zigbee_connectivity"}],"type":"device"},{"id":"3f922aa6-2647-483c-bb3f-c32ec8d7cce6","id_v1":"/lights/11","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Riley Light 3","archetype":"classic_bulb"},"identify":{},"services":[{"rid":"2e657fe9-fd81-43b4-b4ec-c057ff00fbe1","rtype":"light"},{"rid":"12e799cd-216f-454d-8075-705da92445a1","rtype":"zigbee_connectivity"}],"type":"device"},{"id":"42328b03-94e3-441c-a1e1-a174efff6f73","id_v1":"/lights/10","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Riley Light 2","archetype":"classic_bulb"},"identify":{},"services":[{"rid":"d9871d5d-02a0-4158-8b47-596f917b6340","rtype":"light"},{"rid":"98a1b4ef-43e0-4a43-9229-64e9e69dec12","rtype":"zigbee_connectivity"}],"type":"device"},{"id":"6485b533-3d67-429c-89ff-e7ba813513f6","id_v1":"/lights/1","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 1","archetype":"ceiling_round"},"identify":{},"services":[{"rid":"224d33d8-ceb7-4a8d-a3c9-3c71c9996a59","rtype":"light"},{"rid":"33278fd3-2358-42af-9383-2fe19a5e4ce0","rtype":"zigbee_connectivity"},{"rid":"5c2f5a73-f01d-4319-90b1-fa2adf16543a","rtype":"entertainment"}],"type":"device"},{"id":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","id_v1":"/lights/2","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 2","archetype":"ceiling_round"},"identify":{},"services":[{"rid":"c00eff47-e666-4ff7-86c2-51f11fe8e713","rtype":"light"},{"rid":"ffc936d4-978d-402a-854c-a5da60ca3ad7","rtype":"zigbee_connectivity"},{"rid":"f1b0189d-a5db-438a-8f15-4d0c4f30904c","rtype":"entertainment"}],"type":"device"},{"id":"d7aa1d72-009f-4b8d-a28f-798da9d7b33f","id_v1":"/lights/6","product_data":{"model_id":"LCT003","manufacturer_name":"Signify Netherlands B.V.","product_name":"Hue color spot","product_archetype":"spot_bulb","certified":true,"software_version":"67.101.2","hardware_platform_type":"100b-104"},"metadata":{"name":"Hue color spot 6","archetype":"ceiling_round"},"identify":{},"services":[{"rid":"5666c6f5-71ab-478a-bd59-1308142cd999","rtype":"light"},{"rid":"82e0f4b2-ea5f-4442-bc3f-a0e2bbc1886d","rtype":"zigbee_connectivity"},{"rid":"911bf558-1307-4978-a7cd-16f008d11691","rtype":"entertainment"}],"type":"device"},{"id":"5d89d53f-165b-49ef-a2e5-34590fbe6fc4","id_v1":"/lights/15","product_data":{"model_id":"ZB-RGBCW","manufacturer_name":"JunYu","product_name":"Extended color light","product_archetype":"classic_bulb","certified":false,"software_version":"2.0.1"},"metadata":{"name":"Ethan Light 2","archetype":"classic_bulb"},"identify":{},"services":[{"rid":"32d0c787-5bd2-40dc-b4d6-f229493a12e3","rtype":"light"},{"rid":"c183b49c-2800-4169-8416-3c523af95532","rtype":"zigbee_connectivity"}],"type":"device"}]}
15:21:05.677 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/grouped_light HTTP/2
15:21:05.699 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"f5f2fa98-94f2-4f60-977b-a8a4f454e6aa","id_v1":"/groups/5","owner":{"rid":"0c3872fc-9c14-4d02-8ebc-bb3a8c142aea","rtype":"room"},"on":{"on":false},"dimming":{"brightness":0.0},"dimming_delta":null,"color_temperature":null,"color_temperature_delta":{},"color":{},"alert":{"action_values":["breathe"]},"signaling":{"signal_values":["no_signal","on_off"]},"dynamics":{},"type":"grouped_light"},{"id":"ba365fdb-f055-410c-9021-561b725cdc22","id_v1":"/groups/1","owner":{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},"on":{"on":false},"dimming":{"brightness":0.0},"dimming_delta":{},"color_temperature":{},"color_temperature_delta":{},"color":{},"alert":{"action_values":["breathe"]},"signaling":{"signal_values":["no_signal","on_off"]},"dynamics":{},"type":"grouped_light"},{"id":"f1b79c17-908f-4d06-8450-46b6c4761b33","id_v1":"/groups/4","owner":{"rid":"a781070d-57b2-433a-815f-2059eb63dacc","rtype":"room"},"on":{"on":false},"dimming":{"brightness":0.0},"dimming_delta":{},"color_temperature":{},"color_temperature_delta":{},"color":{},"alert":{"action_values":["breathe"]},"signaling":{"signal_values":["no_signal","on_off"]},"dynamics":{},"type":"grouped_light"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"on":{"on":false},"dimming":{"brightness":0.0},"dimming_delta":{},"color_temperature":{},"color_temperature_delta":{},"color":{},"alert":{"action_values":["breathe"]},"signaling":{"signal_values":["no_signal","on_off"]},"dynamics":{},"type":"grouped_light"}]}
15:21:05.719 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LocalTime_String' changed from 2023-03-28 15:20:05 SAST to 2023-03-28 15:21:05 SAST
15:21:05.719 [INFO ] [openhab.event.ItemStateChangedEvent  ] - Item 'LocalTime_Date_String' changed from 2023-03-28 15:20:05 SAST to 2023-03-28 15:21:05 SAST
15:21:05.778 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/room/0c3872fc-9c14-4d02-8ebc-bb3a8c142aea HTTP/2
15:21:05.792 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"0c3872fc-9c14-4d02-8ebc-bb3a8c142aea","id_v1":"/groups/5","children":[{"rid":"45dd7454-2ae9-4a9b-90ca-b89e39023cbf","rtype":"device"},{"rid":"1a76d0a1-8dfb-404b-b6ba-3f5565405a85","rtype":"device"},{"rid":"6865d13e-18a1-4511-8fa3-c8251ce5cc3e","rtype":"device"},{"rid":"5d89d53f-165b-49ef-a2e5-34590fbe6fc4","rtype":"device"}],"services":[{"rid":"f5f2fa98-94f2-4f60-977b-a8a4f454e6aa","rtype":"grouped_light"}],"metadata":{"name":"Ethan","archetype":"bedroom"},"type":"room"}]}
15:21:05.879 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/room/dc30bab1-66e9-4b8e-9d9d-8725a770c515 HTTP/2
15:21:05.893 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","id_v1":"/groups/1","children":[{"rid":"fb032c0c-4187-4f93-9bab-3ae1c3dc5567","rtype":"device"},{"rid":"18d47ab1-36fd-4c0f-8206-a95969f6b8b9","rtype":"device"},{"rid":"0c18b50b-572f-4f50-ad3e-476293accd7b","rtype":"device"},{"rid":"4a1f8a73-3543-41f4-b4d9-173dc03747f5","rtype":"device"},{"rid":"ee1aa624-91b6-41f9-9921-e3ae2bae291d","rtype":"device"},{"rid":"6485b533-3d67-429c-89ff-e7ba813513f6","rtype":"device"},{"rid":"9bb57c71-2a47-4eaf-a915-e55c7ac78d5b","rtype":"device"},{"rid":"d7aa1d72-009f-4b8d-a28f-798da9d7b33f","rtype":"device"}],"services":[{"rid":"ba365fdb-f055-410c-9021-561b725cdc22","rtype":"grouped_light"}],"metadata":{"name":"Lounge","archetype":"living_room"},"type":"room"}]}
15:21:05.980 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/room/a781070d-57b2-433a-815f-2059eb63dacc HTTP/2
15:21:05.994 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"a781070d-57b2-433a-815f-2059eb63dacc","id_v1":"/groups/4","children":[{"rid":"cf8dbe0f-fc9a-4ac3-a5c8-743e5beed749","rtype":"device"},{"rid":"9ca6fe80-e5f2-4ea9-bcbe-f2c5ff565d53","rtype":"device"},{"rid":"3f922aa6-2647-483c-bb3f-c32ec8d7cce6","rtype":"device"},{"rid":"42328b03-94e3-441c-a1e1-a174efff6f73","rtype":"device"}],"services":[{"rid":"f1b79c17-908f-4d06-8450-46b6c4761b33","rtype":"grouped_light"}],"metadata":{"name":"Riley","archetype":"bedroom"},"type":"room"}]}
15:21:06.082 [TRACE] [g.hue.internal.connection.Clip2Bridge] - GET https://10.163.199.253/clip/v2/resource/bridge_home/bd9983ea-ce23-447e-95a8-cfd02bd037d7 HTTP/2
15:21:06.097 [TRACE] [g.hue.internal.connection.Clip2Bridge] - HTTP/2 200 OK (Content-Type: application/json) << {"errors":[],"data":[{"id":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","id_v1":"/groups/0","children":[{"rid":"0c3872fc-9c14-4d02-8ebc-bb3a8c142aea","rtype":"room"},{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},{"rid":"a781070d-57b2-433a-815f-2059eb63dacc","rtype":"room"}],"services":[{"rid":"c766b174-536e-4a2d-bc62-e3365c5229ae","rtype":"grouped_light"}],"type":"bridge_home"}]}
15:21:06.114 [DEBUG] [g.hue.internal.connection.Clip2Bridge] - checkAlive()
15:21:06.116 [DEBUG] [g.hue.internal.connection.Clip2Bridge] - checkAliveOk()

EDIT: 15h29 - I also just noticed that the device has updated:


But delayed by >15 munutes?

Tried turning one lamp on and got the following error, but has not happened again:

15:30:51.446 [TRACE] [g.hue.internal.connection.Clip2Bridge] - onEventData() << [{"creationtime":"2023-03-28T13:30:51Z","data":[{"id":"224d33d8-ceb7-4a8d-a3c9-3c71c9996a59","id_v1":"/lights/1","on":{"on":true},"owner":{"rid":"6485b533-3d67-429c-89ff-e7ba813513f6","rtype":"device"},"type":"light"},{"id":"fc344d9a-4c63-4e38-8082-d23b48b2152c","id_v1":"/scenes/zqEj6fQ8nSN8AUO","status":{"active":"inactive"},"type":"scene"},{"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","on":{"on":true},"owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"dimming":{"brightness":84.65},"id":"c766b174-536e-4a2d-bc62-e3365c5229ae","id_v1":"/groups/0","owner":{"rid":"bd9983ea-ce23-447e-95a8-cfd02bd037d7","rtype":"bridge_home"},"type":"grouped_light"},{"id":"ba365fdb-f055-410c-9021-561b725cdc22","id_v1":"/groups/1","on":{"on":true},"owner":{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},"type":"grouped_light"},{"dimming":{"brightness":84.65},"id":"ba365fdb-f055-410c-9021-561b725cdc22","id_v1":"/groups/1","owner":{"rid":"dc30bab1-66e9-4b8e-9d9d-8725a770c515","rtype":"room"},"type":"grouped_light"}],"id":"441f1e29-f02f-4936-bbfa-c6c08ff1ea12","type":"update"}]
15:30:51.447 [DEBUG] [g.hue.internal.connection.Clip2Bridge] - onEventData() java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $[0].data[1].status
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $[0].data[1].status
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:270) ~[?:?]
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[?:?]
        at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82) ~[?:?]
        at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[?:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:161) ~[?:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:266) ~[?:?]
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[?:?]
        at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82) ~[?:?]
        at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:1058) ~[?:?]
        at com.google.gson.Gson.fromJson(Gson.java:1129) ~[?:?]
        at org.openhab.binding.hue.internal.connection.Clip2Bridge.onEventData(Clip2Bridge.java:685) ~[?:?]
        at org.openhab.binding.hue.internal.connection.Clip2Bridge$EventAdapter.onData(Clip2Bridge.java:275) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Stream.notifyData(HTTP2Stream.java:658) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Stream.onData(HTTP2Stream.java:394) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Stream.process(HTTP2Stream.java:315) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Session.onData(HTTP2Session.java:260) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Connection$ParserListener.onData(HTTP2Connection.java:390) ~[?:?]
        at org.eclipse.jetty.http2.parser.BodyParser.notifyData(BodyParser.java:108) ~[?:?]
        at org.eclipse.jetty.http2.parser.DataBodyParser.onData(DataBodyParser.java:150) ~[?:?]
        at org.eclipse.jetty.http2.parser.DataBodyParser.onData(DataBodyParser.java:145) ~[?:?]
        at org.eclipse.jetty.http2.parser.DataBodyParser.parse(DataBodyParser.java:111) ~[?:?]
        at org.eclipse.jetty.http2.parser.Parser.parseBody(Parser.java:198) ~[?:?]
        at org.eclipse.jetty.http2.parser.Parser.parse(Parser.java:127) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Connection$HTTP2Producer.produce(HTTP2Connection.java:261) ~[?:?]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:362) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:186) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:183) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Connection.onFillable(HTTP2Connection.java:138) ~[?:?]
        at org.eclipse.jetty.http2.HTTP2Connection$FillableCallback.succeeded(HTTP2Connection.java:361) ~[?:?]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[?:?]
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555) ~[?:?]
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410) ~[?:?]
        at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164) ~[?:?]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[?:?]
        at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[?:?]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[bundleFile:9.4.50.v20221201]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[bundleFile:9.4.50.v20221201]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.IllegalStateException: Expected STRING but was BEGIN_OBJECT at path $[0].data[1].status
        at com.google.gson.internal.bind.JsonTreeReader.nextString(JsonTreeReader.java:181) ~[?:?]
        at com.google.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:394) ~[?:?]
        at com.google.gson.internal.bind.TypeAdapters$15.read(TypeAdapters.java:382) ~[?:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:161) ~[?:?]
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:266) ~[?:?]
        ... 45 more

@Mark_VG many thanks for the logs. This is just what I need for testing! Brilliant!

A few remarks…

  • Your bridge is on the same latest firmware version as mine, and it is definitely ‘talking’ the CLIP 2 API language.
  • The onEventData() messages are positive evidence that SSE eventing is working properly. You should see one (or possibly more than one) such onEventData() messages, immediately, any time that a light, group, or switch is operated.
  • As a fall-back to the onEventData() messages (which should cause an immediate state update in OH), the binding also does a regular HTTP GET for all devices at an interval of 10 minutes. This is just in case any onEventData() messages might have been lost.
  • The data in your logs is very interesting, and I will need to analyse it more closely. For example it is interesting to see that you have an entertainment system, which I do not have, and which so far I have not implemented. And perhaps based on your log, I can add an implementation for it too.
  • Also your logs obviously don’t show the full picture of what was happening from the moment the bridge was initially connected (because you turned on logging after the bridge thing was enabled). So perhaps you can disable the bridge thing, wait a minute (say), and then let me see the full log from when you enable it again?

This could be the link to SPOTIFY? I don’t think my entertainment system links to Hue, though it does to Harmony.

Will set this up to log to a different file and share when done.

hue.log (82.6 KB)

Please see attached. The updates seem to be a bit quicker now? I do see lamps going into a RED Communication state ERROR:COMM

Let me know if you need more?

Coukd this be linked to still having the V1 bridge on a different openHAB instance?