Skip to content

mystycs/magiclight-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magiclight-web

A Ruby on Rails app to control your magiclights (http://a.co/hQlBTQg) (Flux lights work too)

Has the ability to turn on and off individually, as well as all together. Also has the ability to change to any HEX RGB Color. ie: #00ff00 (green)

Running Locally

git clone [email protected]:mystycs/magiclight-web.git
cd magiclight-web
bundle install
rake db:migrate

You can find the IP of the lights by checking in the app, and add it to the app.

How it Works

The lights communicate by TCP packets over port 5577.

To turn on it's 71230fa3 To turn off it's 71240fa4

To change a color its 31 + (HEX Color Code) + 00F00F + checksum(sum of all bytes % 256) ei: 3100FF0000F00F2F

Contribute

All and any kinds of contributions are always welcome!

License

MIT. See LICENSE.md for details.

About

A rails app to control your WiFi MagicLIghts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published