Skip to content

chevalvert/rythmus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rythmus-app

Rythmus main app


Rythmus ecosystem

Installation

curl https://raw.githubusercontent.com/chevalvert/rythmus/master/scripts/install.sh | bash

Usage

rythmus

Usage:
  rythmus --config=<path>
  rythmus --help
  rythmus --version

Options:
  -h, --help              Show this screen.
  -v, --version           Print the current version.
  --config=<path>         Override the default config with a given json file.
  --force-animation=<player-animation>
                          Force <player-animation> as both players animations.
  --hot                   Enable hot reloading of all configuration files
                          (including .rythmusrc, but excluding env and cli args)
                          and hot module replacement of all animations.
  --log-level=<level>     Set the log level (default is 'info').
  --viewer=<path>         Open rythmus-viewer as a previewer.

Log level:
  0, emergency            System is unusable.
  1, alert                Action must be taken immediately.
  2, critical             The system is in critical condition.
  3, error                Error condition.
  4, warning              Warning condition.
  5, notice               A normal but significant condition.
  6, info (default)       A purely informational message.
  7, debug                Messages to debug an application.

See .apprc and the rc package for advanced options.

Connection

To connect to Rythmus via UDP, use the following IPV4 config:

IP Address  : 192.168.0.200
Subnet Mask : 255.255.255.0
Router      : 192.168.0.1

Tests

npm run test:sensors
npm run test:hearts
npm run test:players
npm run test:rythmus
npm run test:performances
Plotting values using gnuplot and feedgnuplot
npm run graph:sensors
npm run graph:hearts
npm run graph:players
npm run graph:performances

Development

Installation

git clone https://github.com/chevalvert/rythmus.git rythmus-assistant
cd rythmus-assistant
npm run install

Usage

node . --hot --config=config/config.ENV.json

See config/ for more examples.

License

MIT.