Breina / ha-artnet-led

DMX lighting Integration for Home Assistant. Using the HA Color Mode update and Pyartnet library to control lights in multiple DMX universes over ethernet with the Art-Net protocol.
MIT License
124 stars 10 forks source link

Switch on DMX channel ? #30

Open vincegre opened 1 year ago

vincegre commented 1 year ago

Hi

I use the integration to control some fiber light boxes (UFO) and they use one DMX channel for dim and one channel to switch on/off the box. For the on/off if level transmitted is below 250 box is on, if level above 250 box is off. Isn't there a way to setup that as a switch or a specific type that works well for that ?

Thanks

Vincèn

Breina commented 1 year ago

Currently, as-is, this behaviour isn't supported in the integration.

It's quite exotic, which makes it a good case for generalizing the channel_set in the future. I'll keep this issue to keep track of that.

As for a solution for you now; can you set up a Switch or Dimmer and use an automation that remaps the brightness values to your light?

Breina commented 1 year ago

This one sent me down a rabbit hole. :D

I think I found a good architecture for it though. Slowly working on it still.