lighthouse 0.2.1

Command line tool and Philips Hue light control framework wrapping up the Hue API
Documentation
1
2
3
4
5
6
7
8
9
10
// Example showing how to register a new bridge.
fn main() {
    use lighthouse::*;

    // Create bridge by registering with the Philips Hue Bridge
    let mut b = bridge::Bridge::try_register(true);

    // Print out the whole bridge
    println!("Created bridge: {:#?}", b);
}