Skip to content

johnpeterharvey/hueio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hueio

=====

A C# DLL for communicating and altering the state of (sets of) Philips Hue LED bulbs

Information needed to use:


Import into your project

Instantiate an instance of the class, telling it where your bridge is, and the user key to connect with

Hueio hueio = new Hueio(IPAddress.Parse("192.168.0.50"), "f60234ee15619cad163eb5ceb688");

Getting the set of connected lamps

List<Lamp> lamps = hueio.GetLampList();

Changing one lamp state involves calling ChangeLampState

hueio.ChangeLampState(lamp, new Hueio.LampStateChange((Lamp l) => l.brightness = 100));

To alter all lamp states simultaneously, call ChangeAllLampStates on the instance

hueio.ChangeAllLampStates(new Hueio.LampStateChange((Lamp l) => l.state = true));

Still being worked on, improving over time. If you've got any suggestions, let me know.


See http://developers.meethue.com/ for the Philips documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages