https://github.com/hhromic/e131-adalight-bridge
E1.31 (sACN) to AdaLight Bridging Server written in C
https://github.com/hhromic/e131-adalight-bridge
adalight bridge c cpp e131 light-controller sacn server
Last synced: about 1 month ago
JSON representation
E1.31 (sACN) to AdaLight Bridging Server written in C
- Host: GitHub
- URL: https://github.com/hhromic/e131-adalight-bridge
- Owner: hhromic
- License: apache-2.0
- Created: 2016-04-10T11:22:32.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-13T19:57:46.000Z (almost 10 years ago)
- Last Synced: 2025-02-16T00:43:30.290Z (over 1 year ago)
- Topics: adalight, bridge, c, cpp, e131, light-controller, sacn, server
- Language: C
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# E1.31 (sACN) to AdaLight Bridge Server
## Compiling
To compile the bridging server, simply use the `make` utility:
$ make clean
$ make
You must have the `libe131` ([get it here][libe131]) development library installed on your system. Once compiled, you can install the output binary file wherever you want.
[libe131]: https://github.com/hhromic/libe131/releases/latest
## Running
To run the program, you must supply at least a serial device and baud rate to use:
Usage: e131-adalight-bridge [-h] [-u universe] -d device -b baud_rate
Forward E1.31 (sACN) network data to an AdaLight serial device.
Options:
-h show this help screen
-u universe DMX universe number for Multicast (default: 1)
-d device serial device for communicating with AdaLight
-b baud_rate baud rate for the serial device
**Note:** because each DMX universe has a maximum of 512 channels and each RGB LED takes 3 channels (one per color), the maximum number of controllable AdaLight LEDs is **170**.
Example invocation for AdaLight LEDs attached to `/dev/ttyACM0` at `115200` baud using DMX universe `2`:
$ ./e131-adalight-bridge -d /dev/ttyACM0 -b 115200 -u 2
## License
This software is under the **Apache License 2.0**.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.