Huemanity
A bare-bones package to control Phillips Hue lights written in Rust.
Currently it is incredibly bare bones, I am using it as a stepping stone for a future projects and might eventually just move my projects to a more developed crate.
That said, if you know your HUE bridge IP on your local network, you can use the
Bridge
, register you application and use the struct to send a json!
created
state (json!
is a serde_json
macro).
I stream the development of this on twitch.tv And it is currently used to create this project which links an electric drumkit to my HUE lights.
For more info:
This follows closely (basically wraps) the interactions described in the hue API get-started post up to the point of sending state to the lights.
In development
- CLI wrapper binary for the tool to turn this into something people can use
- currently it can ship json state strings from the CLI and thats about it
Limitations and non-developments
- Currently it does not discover your bridge on the network and you need to know your IP.
- This doesn't have fancy state serialisation or such as of this point. Wether or not this is in scope is debatable in my head.