Giter VIP home page Giter VIP logo

lifx's Introduction

lifx

lifx is a GUI, commandline tool, and library for Lifx devices.

Deps

Golang 1.13+

GUI with Screensaver

GUI Screensaver

Running with gui at the commandline will start a fullscreen opengl program. It's purpose is to manage a list of TARGET lifx devices passed in via commandline args.

Example: go run lifx.go gui d1234567891100 d1234567891200 d1234567891300.

Commandline

At the commandline there exists several commands based on the LIFX API.

Examples:

gu run lifx.go broadcast
go run lifx.go broadcast --label
go run lifx.go light get d1234567891100
go run lifx.go light getpower d1234567891100 
go run lifx.go light setpower d1234567891100 --duration 5000 --on
go run lifx.go light setcolor d1234567891100 --ip 192.168.0.100 --port 56700 --saturation 39 --hue 82

Note: In order to determine the TARGETs use broadcast first to get a list.

Library

If the GUI and commandline features aren't useful it can also be used as a library. The more agnostic pieces can be found under the core directory.

Notes

The library was built to support the GUI, so there are gaps in the implemented messages it can send. If other messages are needed put in an issue or put in a PR ;-).

lifx's People

Contributors

nathanhack avatar

Watchers

 avatar

Forkers

treg csmu-cenr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.