A Node.js server and TypeScript web client allowing you to colour in your Christmas tree lights
- WS2811 and similar (https://www.espruino.com/WS2811)
- No-light testing mode using a console-based tree!
- You'll need a device running Node.js 8+, I've tested using a Raspberry Pi 3
- Some basic wiring will be required to connect up your lights to your device
First! Clone this repo down to your device
cd
into thepackages/server
directory- Install the dependencies using
$ npm install
- Start the server by running
$ npm run start
This will run the server on your device on port 2811
. You can then use the
client app to connect to this server.
Note! While you can run your own client app, it is pre-deployed at https://chrishutchinson.github.io/christmas-tree-painter
cd
into thepackages/client
directory- Install the dependencies using
$ npm install
or$ yarn
- Run the app with
$ yarn start
- The web UI should open in your browser, enter the IP address or hostname of
the device running the Node.js server, with the port number
2811
, e.g.192.168.0.10:2811