Crates.io | huehue |
lib.rs | huehue |
version | 0.4.1 |
source | src |
created_at | 2021-12-31 00:04:58.695331 |
updated_at | 2022-02-15 22:50:20.68866 |
description | Rust wrapper for Hue v2 API. |
homepage | https://github.com/vgobbo/huehue#huehue |
repository | https://github.com/vgobbo/huehue |
max_upload_size | |
id | 505559 |
size | 77,071 |
A Rust wrapper for Hue API v2.
Note that the Hue API v2 is in early access at the time of writing, so an upgrade to it could break applications in unpredictable way.
The examples folder has fully functional sample applications to demonstrate some implemented features. The examples aim to be trivial to understand by focusing on specific functionality, and should be easy to copy and build your own application.
Simply use cargo
to run the desired example:
$ cargo run --example scan
Scanning for bridges for 5 seconds.
1 bridges found.
> Bridge #1:
Identifier: 1231231231231234
Model: BSB002
Version: 1948086000
Address: 192.168.2.124
Supported: true