Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spacebro/dmx-web-bro

dmx-web-bro is a spacebro tool that aims to forward spacebro events to a dmx-web server.
https://github.com/spacebro/dmx-web-bro

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# dmx-web-bro

`dmx-web-bro` is a [spacebro](https://github.com/spacebro) tool that aims to forward spacebro events to a [dmx-web](https://github.com/node-dmx/dmx-web) server.

```bash
$ npm install -g dmx-web
```

## Troubleshoot

For the moment, the working version of dmx-web is [not available on npm](https://github.com/node-dmx/dmx-web/issues/5), so you have to manually clone the repository and use the source.

```bash
$ git clone https://github.com/node-dmx/dmx-web.git
$ cd dmx-web
$ npm i
$ ./dmx-web.js [-c ]
```

## configuration

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

```json
{
"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
}
}
]
}
```