Yeego is a light backend server to control Xiaomi Yeelight lights. It presents a simple REST API for easy frontend integration.
go get -u github.com/pulento/yeego
cd $GOPATH/src/github.com/pulento/yeego
go build
./yeego
Build a Docker image with:
docker build -t pulento/yeego https://raw.githubusercontent.com/pulento/yeego/master/Dockerfile
Then run it:
docker run -it --rm --name yeego --net=host pulento/yeego
Note the --net=host
since Yeego needs multicast to discover lights, and
do note that this network mode doesn't play nice on Docker for Mac since
its Docker inside a VM inside MacOS X :)
Point your prefered browser:
http://localhost:8080/