3rd Party light control issue

Hi folks,

I’m currently writting a plugin to control HA from a Q-SYS system (it’s like a Crestron, but better!)

My issue is : Everything’s good, but when I dim light, the light goes crazy.

It’s like if i send too many informations quickly… what do you’ll do for that ?

thanks,

Hey, can you share some more details about the way you’re implementing this? Are you writing a plugin for Q-SYS to communicate with the Home Assistant Websocket API?

Hi Timothy,
Exactly, i’ve wrote a plugin in Lua, my issue is when i’m dimming a light, the eventhandler of the knob send too many request to hassio.
I’m not sure how to resolve this.

thanks,

Hi Paul,

I’ve actually got a Core 110f on hand I can test with. If you’re willing to send me a copy of your q-sys design, I can load it up and take a look at it.

Hi Timothy,

Can I ask what are you doing with a Core 110f ?
Are you an integrator ? AV specialist ?

Yeah, I work in systems integration, control systems, and show control systems in my day job. We’re QSC dealers and use them extensively for theater audio and touchscreen UI interfaces to interact with our in-house control software. My secret desire is to be able to justify buying a core for my house, but I don’t see that becoming a reality anytime soon :rofl:
Are you doing this integration for a professional project or for your personal system?

Professional QSC programmer, based in Quebec Canada.
French Canadian, that’s why my english aren’t perfect…
I’m the owner of a small company, basically DSP programation, but 80% of my business are Q-SYS !

And I had to buy a 110f to have the support of QSC to be on their website.

My plugin are available on the QSYS sharing group on Facebook, you’ll want to follow this group, a lot of goods stuffs here.

Oh, great! Don’t worry about your english - I’m American so mine’s not great either :wink:
I haven’t used Facebook much for a past few years, but just joined the QSC QSYS Programming Sharing Group. I’ll check it out from there, though.

Sorry to resurrect an old thread, but where did this leave off in terms of QSYS and HA integration?

Hello

Hope everyone is still around as this is an old post.

Did anyone ever have luck with this integration?

We are currently looking at implementing HA into a school project for Lighting, Air Con Control and Energy Management.

There was a question if they could integrate HA into Q-SYS or vice Verca. Would be really good to know if someone has achieved this as this is a bit above my scope as I have never used QSYS before

Thank you

Hi Robot,

I just did something like this for my work. used ArtNet to get DMX lighting working with HA.

A “Pknight ArtNet bi-directional DMX Ethernet Lighting Controller Interface”, for the interface.

for Air Con i used ESPhome to create my own controller. it cost about $15 in parts.

and you can place “Dallas Temperature Sensor” all over the place with wifi. (note HA thinks in *C).

on a side note i linked HA with “bitfocus companion” to integrate more theater hardware.

Hope this helps.

Hi SquirrelRange - I see this just has one port on it for the dmx, did you have to put a terminator on the end of the dmx chain?

No, DMX don’t need a closed loop. it can even be split with a y cable.

1 Like

Thanks! I’m having a bit of trouble with my config, any chance you could share a snippet of your light section from configuration yaml?

I put it on the main page but here is what i modited from my setup with your data.

note you will need to change your pknight to transmite, ( Artnet → DMX)

also note my light only run in “8bit” mode but yours might be ok with 16bit.

light:
- platform: artnet_led
  host: 192.168.0.100 # IP of PKnight node
  max_fps: 25                           # Max 40 per second
  refresh_every: 0                      # Resend values if no fades are running every x seconds, 0 disables automatic refresh
  node_type: artnet-direct              # Which protocol to use
  universes:                            # Support for multiple universes
    0:                                  # Nr of Universe (see configuration of your Art-Net Node)
      send_partial_universe: True       # Only send the universe which contains data
      output_correction: quadratic      # optional: output correction for the whole universe, will be used as default if nothing is set for the channel
      devices:
        # Dimmer
        - channel: 1
          name: my_rgb_lamp
          type: rgb
          transition: 1
          channel_size: 16bit
          output_correction: quadratic
          channel_setup: rgb            # Auto-calculated white channel

thanks - I had changed the artnet->dmx thing, but I’ll try changing to 8bit

hmm. nothing yet.

This is the light I’ve got, it currently refuses to listen to me but I continue poking at it

is it anything like the one you havE?

Hi Niffers,

The light you linked are a 4 channel RGBW light so you are going to want to change it to

type: rgbw
channel_setup: rgbw            # Auto-calculated white channel

it also says the light used 0-255 which is 8 bit.

channel_size: 8bit

for the light you are going to want to set the DMX address to “d001” to use channel 1 in 4ch mode. not R001 for 8 channel mode.

the github page has more about the channel_setup codes if you need to change the order of how it is sent to the light.

if you want to use the light in 8 channel mode you can but you will need to turn it into 3 or 5 lights to run all the funtions.

well! I think it was a stupid thing in that the light seemed to need to have been set to d001 then turned off and on again while left on that setting‽ I think I’d set it to that then cycled through other things, but not restarted it…

I can now turn it on and off - but it’s currently ignoring requests to change colour, it’s just on max all the time. I’ll play with the channel setup.

Progress!

edit: Some of the channel setup things in the readme of the repo definitely aren’t right

aa, it works! It just didn’t work with the colour buttons on the card - if I click on the lightbulb and go to the hue picker, it works. Just need to work out how to do it all programmatically and we’re in gravy. Thanks @SquirrelRange

Final config:

          # Dimmer
          - channel: 1
            name: my_rgb_lamp
            type: rgbw
            transition: 1
            channel_size: 8bit
            output_correction: quadratic
            channel_setup:
              - r
              - g
              - b
              - W