Last active
July 19, 2019 15:43
-
-
Save andreas-nesheim/7711e518b2085d59111bd9482c312a35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private async void Button_Clicked(object sender, EventArgs e) | |
{ | |
var bridgeIP = "XXX.XXX.XX.XX"; | |
var appKey = "abcdefghijklmnopqrstuvwxyz1234567890"; | |
ILocalHueClient client = new LocalHueClient(bridgeIP); | |
client.Initialize(appKey); | |
var command = new LightCommand { Brightness = 120 }; | |
await client.SendCommandAsync(command); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment