Closed nano9g closed 2 years ago
I'm sorry, I won't be implementing any Hue API v2 features in Homebridge Hue (other than the already implemented event stream).
You can still create schedules using the v1 API, just not with the Hue app, apparently. And the Hue app for the gen-1 bridge crashes when trying to connect to a gen-2 bridge.
I totally understand. Thanks for the quick response!
Issue
After the v2 Hue API became available, I happened to delete and recreate all my Wake Up bridge automations through the Hue app. This had the unfortunate effect of moving them from the v1 schedules API to the v2 behaviors API, so they're no longer made available to HomeKit when I set schedules=true for Homebridge Hue. (Unlike in #1028, I'm not using Hue Labs, so the CLIPGenericStatus sensor solution doesn't apply.)
I know that the long term plan is to create a new version of Homebridge Hue for the v2 API, but I was wondering if it would be feasible to get support for toggling behaviors sooner.
I've provided API responses from my bridge for both schedules and behaviors below and, as you can see, schedules returns nothing. In terms of toggling behaviors, the
enabled
boolean field is used, unlike the stringstatus
from v1.Please let me know if you need any more information or if I can help in any way. Thanks very much!
GET https://<bridge>/api/<user>/schedules
Response:
GET https://<bridge>/clip/v2/resource/behavior_instance
Response (edited down a bit as it's pretty long):