huelib 0.13.2

Rust bindings for the Philips Hue API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Discovers Philips Hue bridges in the local network and prints out their IP addresses.

use huelib::bridge;

fn main() {
    // Get the ip addresses of all bridges that were discovered.
    let ip_addresses = bridge::discover_nupnp().unwrap();

    // Print every ip address.
    for i in ip_addresses {
        println!("{}", i);
    }
}