Rust library for Phillips hue
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LordMZTE 4209d77484
chore: update deps
3 months ago
src enumify light architype 2 years ago
.gitignore init 2 years ago
Cargo.toml chore: update deps 3 months ago
LICENSE init 2 years ago
README.md add some more features to the feature list 2 years ago
rustfmt.toml init 2 years ago

README.md

rhue

Phillips hue library for rust.

let bridge = Bridge::new("username", Url::parse("http://192.168.2.123"));

let lights = bridge.get_lights().await?;

for (id, _) in lights {
    bridge.update_light(
        id,
        StateUpdate { on: Some(true), ..Default::default() }
    ).await?;
}

features

  • registration
  • bridge discovery
  • light requesting & control
  • group requesting & control
  • async/await support
  • miette diagnostic support