Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Control DMX devices via Art-Net by MQTT. Includes a simple sequencer. 💡🎬

License

NotificationsYou must be signed in to change notification settings

hobbyquaker/mqtt-dmx-sequencer

Repository files navigation

mqtt-smarthomeNPM versionDependency StatusBuild StatusXO code styleLicense

Control DMX devices via Art-Net by MQTT.

This is the headless counterpart to theMQTT DMX Controller. Usesscenes and sequences created with - and exported from - the MQTT DMX Controller that can be controlled via MQTT.

Installation

Node.js >= 6 needed.

sudo npm install -g mqtt-dmx-sequencermqtt-dmx-sequencer --help

Usage

Usage: mqtt-dmx-sequencer [options]Options:  -v, --verbosity  possible values: "error", "warn", "info", "debug"                                                               [default: "info"]  -a, --address    artnet host address              [default: "255.255.255.255"]  -p, --port       artnet host port                              [default: 6454]  -n, --name       instance name. used as mqtt client id and as prefix for                   connected topic                              [default: "dmx"]  -j, --scenes     json file containing scene definitions              [default:         "/Users/basti/WebstormProjects/mqtt-dmx-sequencer/example-scenes.json"]  -s, --sequences  json file containing sequence definitions           [default:      "/Users/basti/WebstormProjects/mqtt-dmx-sequencer/example-sequences.json"]  -u, --url        mqtt broker url. See                   https://github.com/mqttjs/MQTT.js#connect-using-a-url                                                   [default: "mqtt://127.0.0.1"]  -h, --help       Show help                                           [boolean]  --version        Show version number                                 [boolean]

MQTT Topics

Topic structure followsmqtt-smarthomearchitecture.

dmx/set/channel/<channel>

set a channels value

payload: integer number. channel value, min 0, max 255

dmx/set/scene/<scene>

call a scene

payload (optional): float number. transition time in seconds.

dmx/set/sequence/<sequence>

start a sequence or change options of a running sequence

payload (optional): json object with following attributes:

  • repeat (boolean)
  • shuffle (boolean)
  • speed (float number)

dmx/set/sequence/<sequence>/stop

stop a running sequence

dmx/set/sequence/all/stop

stop all running sequences

License

MIT ©Sebastian Raff

About

Control DMX devices via Art-Net by MQTT. Includes a simple sequencer. 💡🎬

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp