Hey,
Im able to retrive information about my lights and get a GUID for the light I would like to update.
When I create a request and makes the UpdateLightAsync I will get an result.error message saying ""device (light) has communication issues, command (.on.on) may not have effect""
Im using the code below
var remote = new RemoteHueApi("AppKey", "AccessToken");var lights = await remote.GetLightsAsync();var id = lights.Data.First().Id; //Pick a lightvar req = new UpdateLight().TurnOff();var result = await remote.UpdateLightAsync(id, req);
Hey, Im able to retrive information about my lights and get a GUID for the light I would like to update.
When I create a request and makes the UpdateLightAsync I will get an result.error message saying ""device (light) has communication issues, command (.on.on) may not have effect""
Im using the code below
var remote = new RemoteHueApi("AppKey", "AccessToken");
var lights = await remote.GetLightsAsync();
var id = lights.Data.First().Id; //Pick a light
var req = new UpdateLight().TurnOff();
var result = await remote.UpdateLightAsync(id, req);