jnimmo / hass-dmx

Home Assistant DMX over IP Integration
MIT License
107 stars 46 forks source link

Home Assistant DMX over IP Light Platform (deprecated)

This component is no longer maintained and is unsupported in Home Assistant 2022.9.0. Please switch to Breina's fork Home Assistant component for Art-Net LED (DMX), which includes contributions from spacemanspiff2007 and corb3000.


The DMX integration for Home Assistant allows you to send DMX values to an Art-Net or KiNet capable DMX interface. This component is a one way integration which sends Art-Net or KiNet UDP packets to the DMX interface. This integration uses no external libraries and requires at least Python version 3.5.

Prerequisites

Installation

This can be easily installed with the Home Assistant Community Store (HACS) using the repository: jnimmo/hass-dmx

Alternatively, manual installation by downloading the custom_components/dmx directory to the custom_components/dmx directory on your Home Assistant instance (generally /config/custom_components/dmx).

Configuration

hass-dmx is a community supported Home Assistant integration, if you have any questions you can discuss with the Home Assistant DMX Community.

DMX lighting is configured in the configuration.yaml file under the light domain.

Simplest DMX lighting setup:

light:
  - platform: dmx
    host: <IP Address>
    default_type: rgbw
    devices:
      - channel: 1
        name: Dance floor center
      - channel: 2
        name: Dance floor sides

More complex DMX lighting configuration:

light:
  - platform: dmx
    host: <IP Address>
    port: 6454
    dmx_channels: 512 
    default_level: 255
    universe: 0
    devices:
      - channel: 1
        name: House lights
        type: dimmer
        transition: 3
      - channel: 2
        name: Hall lights
        type: dimmer
        default_level: 255
      - channel: 3
        name: Stair lights
        type: dimmer
        transition: 3
      - channel: 4
        type: rgb
        name: Entrance LED Strip
        default_rgb: [0,0,150]
      - channel: 7
        type: dimmer
        name: Smoke machine
      - channel: 8
        type: custom_white
        name: Intensity/Temperature Light
        channel_setup: dT

Configuration variables:

Device configuration variables:

Please use light_profiles.csv if you want to specify a default colour or brightness to be used when turning the light on in HA.

To enable debug logging for this component:

logger:
  logs:
    custom_components.dmx.light: debug

Features

Supported features

Limitations

Future improvements

Support for other hardware

See Also

Art-Net™ Designed by and Copyright Artistic Licence Holdings Ltd