Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/spacebro/dmx-web-bro
- Owner: spacebro
- Created: 2019-08-07T13:27:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T11:47:13.000Z (over 1 year ago)
- Last Synced: 2024-11-21T04:11:40.589Z (2 months ago)
- Language: JavaScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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
}
}
]
}
```