yeego

command module
v0.0.0-...-4e597f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2019 License: MIT Imports: 12 Imported by: 0

README

Yeego

Go Report Card

Yeego is a light backend server to control Xiaomi Yeelight lights. It presents a simple REST API for easy frontend integration.

Install

Native

go get -u github.com/pulento/yeego
cd $GOPATH/src/github.com/pulento/yeego
go build
./yeego

Docker

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 :)

Test

Point your prefered browser:

http://localhost:8080/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL