Closed joao-mambelli closed 1 year ago
I understood the problem, the EntertainmentConfigurationType
is missing monitor
.
FYI, monitor
is defined when I edit the Entertainment Area and select Gaming
as the area type in the Philips Hue App on android.
For now I changed from Gaming
to TV
so I could keep going with my development.
Thanks, I added the monitor
value. A new release will be on NuGet shortly.
Nice!
Hey, I'm getting trouble trying to locate bridges using only the new HueApi because only HttpBridgeLocator is available and after some few times hitting it, it gives me HTTP ERROR 429.
On Q42.HueApi, LocalNetworkScanBridgeLocator was working great... Could you also add the safer options to the new HueApi?
The Http Error 429 is caused by rate limiting on the HTTP endpoint.
I migrated the other Network bridge locators to the new HueApi. It's in version 0.9.4 on NuGet
I was trying to get the Entertainment groups but I was getting a JSON exception. Decided to download your project to debug it and come here with more information on that, so:
In
ProcessResponseAsync
inBaseHueApi.cs
it was throwing when trying to doawait response.Content.ReadFromJsonAsync<T>()
, with the following exception:The JSON value could not be converted to HueApi.Models.EntertainmentConfigurationType
.This is the JSON it got from
Formatted:
await client.GetAsync(url)
(I masked part of the Ids because I don't know if they are sensible data): Raw: