Cute Lights
Cute Lights is a simple library for controlling various types of smart lights threw a unified api. It is designed to be simple to use and easy to extend. It can be used as a rust crate or a c shared library. With bindings for dotnet and python.
Supported Lights
- Philips Hue
- Tp-Link Kasa
- Govee (Must have lan control enabled)
- OpenRgb
Usage
use ;
use sleep;
use Duration;
async
Configuration
The configuration file is located at ~/.config/cute_lights/lights.toml. It is used to store the ip addresses and api keys for lights. The file should look like this:
[]
= true
= [
"192.168.86.xx",
"192.168.86.xx",
]
[]
= true
= ["192.168.86.xx"]
[]
= true
= "192.168.86.xx"
= "<Your Hue Api Key>"
Language Bindings
- Rust