Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Basic setup

  • Run ./admin_install.sh (in the scripts folder)
  • Local version:
    • Run the local server sudo ./startscript.sh in the repo root
    • Visit url http://localhost:1337/admin
  • Server version (assuming you've setup your own server):
    • Visit url https://your-domain-or-ip/admin

Admin console

Note, each Lumatron piece in code is called an "orb" (for legacy reasons related the former name, Super Orbitron).

"Orb" list (right side)

The right side features a list of all orbs connected to the relay (or local relay if using ?local). This list gets checked every 10 seconds.

Functions (left side)

Editing "orb" local files

There are 3 files that can be edited directly by clicking on the corresponding button and either typing ctrl-s or hitting the corresponding "Save [X]" button (which will restart the corresponding orb).

  • config: this is the most important one. It lets you change the fundamentals of the orb. Check config.js.template in the repo root for examples.
    • When in this view there are "Generate ORB_ID" and "Set ORB_KEY" buttons visible. These edit the scratch config.js in the center, but you still need to save for them to take any effect.
  • prefs: the prefs.json that controls the idle patterns, same as is manipulated by a controller.
  • timing: the timingprefs.json that saves all other pref values, including dim state.

Other commands

  • Issue commands: a cheap ssh-like capability I added to be able to handle edge cases
    • Unlock Orb: resets the pi's password to "lumatron"
  • All Backups: allows you to restore any orb from backup (saved by each orb at midnight), or force a manual save now with a custom name.
  • Power Calibration: used to figure out the max power of an orb; used when in sight of the orb being calibrated
  • Restart: self-explanatory
  • Controller: opens the controller for this orb in a new tab (even if not connected to the same wifi)