Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1.03 KB

README.md

File metadata and controls

49 lines (41 loc) · 1.03 KB

dmx-web-bro

dmx-web-bro is a spacebro tool that aims to forward spacebro events to a dmx-web server.

$ npm install -g dmx-web

Troubleshoot

For the moment, the working version of dmx-web is not available on npm, so you have to manually clone the repository and use the source.

$ git clone https://github.com/node-dmx/dmx-web.git
$ cd dmx-web
$ npm i
$ ./dmx-web.js [-c <full-path to config file>]

configuration

each event item contains the event name and a datas property with channel index and associated values to be sent:

{
  "dmx-web-URL": "http://127.0.0.1:37300/state/default",
  "events": [
    {
      "name": "first",
      "datas": {
        "1": 0,
        "2": 255
      }
    }, {
      "name": "second",
      "datas": {
        "1": 255,
        "2": 120
      }
    }, {
      "name": "third",
      "datas": {
        "1": 120,
        "2": 0
      }
    }
  ]
}