KevinVR / milights-bridge

An application for controlling your Milight lights using any device. Provides GUI and API.
Other
20 stars 3 forks source link

milights-bridge

:warning: This application is deprecated and is not supported anymore. Feel free to take a look at milights-rest: a fork from this project, which has been updated and provides a great REST interface.

Milights-bridge is a remote control application for your Milight lights. The layout works well on both computers and mobile devices. It provides a GUI as well as an API for third-party applications.

Features

Recommendations

It is recommended to run the milights-bridge application on a device similar to the Raspberry Pi. We are not affiliated, however, the Raspberry Pi is advantageous for its low consumption power while still having a CPU powerful enough to run this.

Google Home

An extensive tutorial of how to use this software to allow your Google Home to control your Milight lights can be found here.

Security

While milights-bridge isn't particularly unsecure, allowing internet traffic to it is not a good idea, since anybody would have control over your lights. Securing it with a password is not an option either, as that would make the API less accessible for 3rd party applications.

Use the application at your own risk. I am not responsible for anything that happens from using this application.

Requirements

Installation

Running milights-bridge as a service

Update

Troubleshooting

If any of the commands fail, try running them with sudo <cmd_here>, as it might be a permissions problem. If this does not solve it, open a new issue.

The milights-bridge server returns some quite interesting debug data to the console, when run using sudo node server.js. However, this output is not shown when using forever or sudo node server.js &.

Contributing

Contributing is possible, contact me if you are interested, or have made some code yourself that might be interesting to include. Your name (and link) will then be added to the contributor's list on the about page of the application.

Do you like this project? If so please star this project on GitHub! Let other people find out about this application.

Credits

The milights-bridge application makes use of a few libraries and tools, listed below.

Javascript libraries

Templates

Please create an issue would it appear that a library was forgotten to be updated into this list.

Also note that this is a project that I've quickly set up in my free time. Due to time limitations, I have purposely chosen for a simple (less scalable) architecture.

License

© Kevin Van Ryckegem 2017. All Rights Reserved. Software License: Creative Commons Non-Commercial ShareAlike 3.0 unported For more information, visit: CC BY-NC-SA 3.0