Bluelights is a web app for controlling bluetooth lightbulbs. It is meant to be run on a local network only. It uses the excellent noble javascript library for bluetooth. The goal is to have a nice UI on mobile and desktop, offer features like scheduling and groups, support for many different bluetooth lightbulbs out of the box. It is developed primarily with the Raspberry pi in mind.
- NodeJS > 4.0
- npm
- Bluetooth adapter
Only tested on ubuntu/raspbian.
npm install
Before you start the server you might need to follow the instructions on the noble github page to make sure the library works and you can run the app without sudo.
node index.js
Some help would be great. Right now this is really a prototype thrown together. Code quality is currently a little low. I am not really set on a specific technology other than NodeJS.
Any help with the following tasks would be appreciated.
- refactor a lot of the cruft
- consider using React or another front end library
- design a better UI and implement it.
- tests
- refactor device.js (right now my bulb is hardcoded. should support multiple bulbs)
- investigate feasability of making an app for adding new devices ( detecting the right services/characteristics to use)
For small changes just submit a pull request. For large changes it would be better to start an issue to discuss changes before starting.
MIT