michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
411 stars 114 forks source link

Adding bridgeId to Remote Registration #243

Closed isaacrlevin closed 3 years ago

isaacrlevin commented 3 years ago

Going through setting up Remote Api support for PresenceLight, it seems that calling RegisterAsync(string bridgeId, string appId), the apiBase is not updated to have the registered bridge, so you have to make an unnecessary call to Initialize() afterwards. Adding bridgeId to RegisterAsync() should resolve this

michielpost commented 3 years ago

Thanks! This is included in version 3.16.1, which is now on NuGet. I also added your project to the list of projects using Q42.HueApi.