Skip to content

Cross-platform ambilight for Yeelight (CLI).

License

Notifications You must be signed in to change notification settings

callmenoodles/ambeelight-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ambeelight

A cross-platform ambient lighting solution for Yeelight devices. The program will update Yeelight devices to display the color of your computer's display output creating an amazing atmosphere when watching videos or gaming.

Table of Contents

Platforms

  • Windows
  • Linux
  • macOS (captrs doesn't support macOS)

Installation

Build from source

In order to build on debian-based distros, make sure you have the build dependency libxrandr-dev package installed.

sudo apt install -y libxrandr-dev

Clone the repo with and install the binary through cargo. The binary will be installed at ~/.cargo/bin and can be unsinstalled with cargo uninstall

git clone [email protected]:callmenoodles/ambeelight.git
cargo install --path .

Download Binary

Download and install the binary for your platform from Releases.

Usage

CLI

USAGE:
    ambeelight [OPTIONS] --ip <IP> --host <HOST>

OPTIONS:
    -b, --brightness <BRIGHTNESS>    Yeelight brightness between 1-100
    -h, --help                       Print help information
        --host <HOST>                IP address of the host [env: AMBEELIGHT_HOST_IP=]
    -i, --interval <INTERVAL>        Time between screen reads in milliseconds [default: 250]
        --ip <IP>                    IP address of the Yeelight [env: AMBEELIGHT_YEELIGHT_IP=]
    -t, --transition <TRANSITION>    Transition duration in milliseconds [default: 250]
    -V, --version                    Print version information

IP

Find your Yeelight's IP address in the Yeelight app under -> Settings -> Device Info

Host

Usually your local network IP address.

Contribution

Feel free to contribute by sending pull requests, opening issues for bugs or feature requests or by fixing issues.

License

MIT