PennazSoftware / homebridge-dmxlight-plugin

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

"An unsupported color order was found." error, sACN single-channel fixtures do not work #12

Open jlg89 opened 8 months ago

jlg89 commented 8 months ago

Describe The Bug: Single-channel sACN fixtures do not function; each one has a log error entry:

An unsupported color order was found. Now using default of "rgb".

To Reproduce: Install the plugin, configure sACN single-channel fixture, restart the bridge.

Expected behavior: The "colorOrder=w" directive should be recognized and functional, but platform.ts is not configured to recognize it as valid.

Logs:

12/3/2023, 4:32:04 PMDMX Lighting Bridge starting
12/3/2023, 4:32:07 PMDMX Lighting BridgeLoaded plugin 'homebridge-dmxlight-plugin'
12/3/2023, 4:32:07 PMDMX Lighting BridgeLoading 1 platforms...
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightFinished initializing platform: DMX Light
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Left Spots 1
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Left Spots 2
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Pulpit Spots
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Baptistery Spots
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Right Spots 1
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Right Spots 2
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Cross Backlight
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: House C1
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House C2
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House C3
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House C4
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House Rear
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House Windows
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: Stage Accent
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: Baptistery Ceiling
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeBridge is running on port 51866.

Plugin Config:

{
    "platform": "DMXLightHomebridgePlugin",
    "name": "DMX Light",
    "accessories": [
        {
            "name": "Left Spots 1",
            "id": "009",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 9,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Left Spots 2",
            "id": "010",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 10,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Pulpit Spots",
            "id": "011",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 11,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Baptistery Spots",
            "id": "012",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 12,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Right Spots 1",
            "id": "013",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 13,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Right Spots 2",
            "id": "014",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 14,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Cross Backlight",
            "id": "015",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 15,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C1",
            "id": "017",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 17,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C2",
            "id": "018",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 18,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C3",
            "id": "019",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 19,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C4",
            "id": "020",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 20,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House Rear",
            "id": "021",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 21,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House Windows",
            "id": "022",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 22,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Stage Accent",
            "id": "023",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 23,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Baptistery Ceiling",
            "id": "024",
            "driverName": "sacn",
            "ipAddress": "192.168.3.35",
            "dmxStartChannel": 24,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        }
    ]
}

Environment:

jlg89 commented 8 months ago

https://github.com/PennazSoftware/homebridge-dmxlight-plugin/pull/11/commits/925725cd4056c9d34fde3017e9d682ed17f1ee33

Should fix it.