PennazSoftware / homebridge-dmxlight-plugin

Homebridge plugin for controlling lights via DMX
Apache License 2.0
6 stars 2 forks source link

Homebridge DMX Light Plugin

This is a Homebridge platform plugin that controls DMX-based lighting control systems. The following lighting control systems have been confirmed to work but you should have luck with any sACN device:

Installation

Installation is done from within Homebridge. Search for "DMX Light" plugins within Homebridge

Configuring Accessories

In order to configure accessories (i.e., lights, light strands, etc.) you need to make changes in two places.

  1. Plugin Settings UI

    a. In Homebridge, click on the 'Plugins' tab at the top of the screen

    b. Locate the 'DMX Light' plugin and choose 'Settings'

  2. Config UI

    a. In Homebridge, click on the 'Config' tab at the top of the screen

    b. Locate the platform with a name of "DMX Light"

    c. Modify the JSON to include an "accessories" section similar to the following:

            {
            "name": "DMX Light",
            "platform": "DMXLightHomebridgePlugin",
            "accessories": [
                {
                    "name": "Garage Left Flood",
                    "id": "GLF",
                    "driverName": "enttec-usb-dmx-pro",
                    "serialPortName": "/dev/ttyUSB0",
                    "dmxStartChannel": 1,
                    "dmxChannelCount": 1,
                    "dmxUniverse": 1,
                    "colorOrder": "rgb"
                },
                {
                    "name": "House Outline",
                    "id": "HO",
                    "driverName": "sacn",
                    "ipAddress": "192.168.1.73",
                    "dmxStartChannel": 1,
                    "dmxChannelCount": 100,
                    "dmxUniverse": 130,
                    "colorOrder": "bgr",
                    "transitionEffect": "gradient",
                    "transitionDuration": 3000
                },
                {
                    "name": "Single White Lights",
                    "id": "SWL",
                    "driverName": "sacn",
                    "ipAddress": "192.168.1.101",
                    "dmxStartChannel": 1,
                    "dmxChannelCount": 100,
                    "dmxUniverse": 122,
                    "colorOrder": "w",
                    "transitionEffect": "",
                    "transitionDuration": 0
                }
            ]
        }

    d. See below for a detailed description on what each field means

    BREAKING CHANGE: Note that versions 1.1.16 and older used a global IP Address and Serial Port configuration. Newer versions now contain this information within the configuration for each accessory. You will need to move this information if you are upgrading from version 1.1.16 or prior.

Accessory Field Description

Revision History

1.1.16 (Jan 30, 2023)

1.2.1 (Feb 23, 2023)

1.2.4 (Jul 22, 2023)