dmx-web-bro
is a spacebro tool that aims to forward spacebro events to a dmx-web server.
$ npm install -g dmx-web
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>]
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
}
}
]
}