jnimmo / hass-dmx

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

Led strip RBG (not RGB) #65

Closed PanBlaza closed 2 years ago

PanBlaza commented 2 years ago

Firstly thanks a lot Jnimmo for a great app:) Unfortunately, I have a little problem with it. I have dmx led strip which type is RBG (not RGB as you require) and when I want to choose some colour, it is never the one I needed

Breina commented 2 years ago

@PanBlaza I've implemented this feature over at my fork using an extra channel_setup configuration parameter.

PanBlaza commented 2 years ago

Still I don't know hot to:P Could you help me with that: this is my file im very basic in programming :P

platform: dmx host: 192.168.0.150 port: 6454 universe: 0 default_type: rgb default_level: 0 devices:

Breina commented 2 years ago

First you will need to uninstall jnimmo's plugin and install mine to have this feature.

Your setup will look something like this:

light:
- platform: artnet_led
  host: 192.168.0.150
  port: 6454
  max_fps: 25
  refresh_every: 0
  universes:
    0:
      devices:
        - channel: 1
          name: PIXEL1
          type: rgb
          channel_size: 16bit
          output_correction: quadratic
          channel_setup: rbg
        - channel: 4
          name: PIXEL2
          type: rgb
          channel_size: 16bit
          output_correction: quadratic
          channel_setup: rbg
          ...
PanBlaza commented 2 years ago

I tried your method today and good news is: led is receiving a signal. However I have met some problem: I tried it on first channel, i made just PIXEL 1 but it came not only on 1 pixel but also on the second one. It looks like these channels were connected. Moreover, the colour that appeared was different than the one I had chosen earlier (because they are connected now, I guess)

Breina commented 2 years ago

If it's okay with you, I've created an issue to follow up on this over at my repo, as this isn't really jnimmo's Issue any more.

https://github.com/Breina/ha-artnet-led/issues/5

Please close this issue and we'll follow it up over there.