Installation

Kienan Knight-Boehm edited this page Apr 29, 2016 · 4 revisions

Hardware

Coming soon, but for now, see this blog post.

Software

Requirements:

  • Node.js
  • Arturo (to program Arduino)

Installation:

  1. cd LuxBase/arduino/
  2. ano build && ano upload
  3. cd ..
  4. npm install (sudo npm install if necessary)
  5. Modify the config values at the head of index.js
  6. node index.js

Configuration values (server must be restarted to take effect)

int port: which port the server runs on.
string name: the name of the server as displayed to clients.
stringdevice: the path to the Arduino board device. Usually stored in /dev/.
array preset: a nested array of the form: [[string, [int, int, int]], [string, [int, int, int]], ...] where each string is a preset name and the following triplet values are RGB values (ranging from 0 to 255).
bool authrequired: indicates whether a username and password are required to control the server.
string username: if authentication is required, checks against this username.
string password: if authentication is required, checks against this password.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.