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.
|
3 months ago | |
---|---|---|
src | 2 years ago | |
.gitignore | 2 years ago | |
Cargo.toml | 3 months ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
rustfmt.toml | 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