📝 migrate to git.tjdev.de
This commit is contained in:
parent
1e331ec053
commit
6c22bf0441
32
README.md
32
README.md
|
@ -1,6 +1,6 @@
|
||||||
# olaDMXctl
|
# olaDMXctl
|
||||||
[![GitHub release](https://img.shields.io/badge/release-v1.0.2-orange)](https://github.com/DrMaxNix/oladmxctl/releases/tag/v1.0.2)
|
[![Release](https://img.shields.io/badge/release-v1.0.2-orange)](https://git.tjdev.de/DrMaxNix/oladmxctl/releases/tag/v1.0.2)
|
||||||
[![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/DrMaxNix/oladmxctl/blob/main/LICENSE)
|
[![License](https://img.shields.io/badge/license-MIT-green)](https://git.tjdev.de/DrMaxNix/oladmxctl/src/branch/main/LICENSE)
|
||||||
[![Maintaner](https://img.shields.io/badge/maintainer-DrMaxNix-blue)](https://www.drmaxnix.de)
|
[![Maintaner](https://img.shields.io/badge/maintainer-DrMaxNix-blue)](https://www.drmaxnix.de)
|
||||||
|
|
||||||
Command-line tool for controlling individual dmx channels with olad
|
Command-line tool for controlling individual dmx channels with olad
|
||||||
|
@ -13,29 +13,29 @@ Command-line tool for controlling individual dmx channels with olad
|
||||||
### php and curl
|
### php and curl
|
||||||
This tool is coded in php and uses curl for http-requests so you need to have that installed
|
This tool is coded in php and uses curl for http-requests so you need to have that installed
|
||||||
|
|
||||||
```bash
|
```console
|
||||||
sudo apt update
|
# apt update
|
||||||
sudo apt install php curl
|
# apt install php curl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### download
|
### download
|
||||||
Download the script from github
|
Download the script from git.tjdev.de
|
||||||
```bash
|
```console
|
||||||
wget https://github.com/DrMaxNix/oladmxctl/releases/download/v1.0.2/oladmxctl
|
$ wget -O oladmxctl https://git.tjdev.de/attachments/fc075f16-2923-4856-a4bf-621c5162bee4
|
||||||
```
|
```
|
||||||
|
|
||||||
Make it executable
|
Make it executable
|
||||||
```bash
|
```console
|
||||||
chmod +x oladmxctl
|
$ chmod +x oladmxctl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### move into /usr/bin (optional)
|
### move into /usr/bin (optional)
|
||||||
You can skip this step. This will only make it so you can call the script from everywhere using `oladmxctl`. If you skip this step you will have to use `./oladmxctl` or `/path/to/oladmxctl` to run the script.
|
You can skip this step. This will only make it so you can call the script from everywhere using `oladmxctl`. If you skip this step you will have to use `./oladmxctl` or `/path/to/oladmxctl` to run the script.
|
||||||
|
|
||||||
```bash
|
```console
|
||||||
sudo mv oladmxctl /usr/bin
|
# mv oladmxctl /usr/local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -70,14 +70,14 @@ oladmxctl --universe <universe> [--write <json>] [--read <json>]
|
||||||
|
|
||||||
## examples
|
## examples
|
||||||
### Set channel 13 and 14 to 255 in universe 1
|
### Set channel 13 and 14 to 255 in universe 1
|
||||||
```bash
|
```console
|
||||||
oladmxctl --universe 1 --write '{"13":255, "14":255}'
|
$ oladmxctl --universe 1 --write '{"13":255, "14":255}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Read channels 13 and 14 in universe 1
|
### Read channels 13 and 14 in universe 1
|
||||||
```bash
|
```console
|
||||||
oladmxctl --universe 1 --read '[13, 14]'
|
$ oladmxctl --universe 1 --read '[13, 14]'
|
||||||
```
|
```
|
||||||
Returns `{"13":255, "14":255}`
|
Returns `{"13":255, "14":255}`
|
||||||
|
|
Loading…
Reference in New Issue