DMX-HUE on a Pi4 - service run order
Posted: Wed Oct 16, 2019 9:28 pm
I am trying to run qlcplus on a pi4b to control theatrical lighting and phillips hue bulbs with a single device. I've paid for and burned the image and succeeded at getting it to boot (after doing the hdmi forcehotplug fix from another thread) and it's functioning and reachable on the network but....
I need to be able to start up my dmx-hue bridge controller before the qlcplus.service starts up. I have created a dmx-hue service which starts up the dmx-hue software. But qlcplus is not successfully controlling the lights- there's a known error from the dev on github which states that the dmx-hue software needs to be started before qlcplus. I have confirmed this:- Qlcplus doesn't control my lights if I start up the pi with the qlcplus service enabled and my dmx-hue service enabled- QLCplus web interface does effect my lights if I disable the qlcplus service (sudo sysctl stop qlcplus.service), reboot, (leaving my dmx-hue service as enabled) and then ssh into the rebooted pi and startup the qlcplus service using sudo systemctl start qlcplus.service
So, how can I ensure that my dmx-hue service has started before the qlcplus service tries to start? The qlcplus.service file is auto generated from somewhere, so I've been unable to edit and have changes stick.
PS:
Firstly, much praise and gratitude for this excellent software! Secondly, I have to credit Sinedied with their build of Art-Net node to control Philips Hue lights with DMX, which I refer to here as Dmx-hue. Grab it on git-hub! Thirdly, I'm so excited to implement this build into our studio! It's going to be a magnificient combination of full color hues and color changing fixtures.
I need to be able to start up my dmx-hue bridge controller before the qlcplus.service starts up. I have created a dmx-hue service which starts up the dmx-hue software. But qlcplus is not successfully controlling the lights- there's a known error from the dev on github which states that the dmx-hue software needs to be started before qlcplus. I have confirmed this:- Qlcplus doesn't control my lights if I start up the pi with the qlcplus service enabled and my dmx-hue service enabled- QLCplus web interface does effect my lights if I disable the qlcplus service (sudo sysctl stop qlcplus.service), reboot, (leaving my dmx-hue service as enabled) and then ssh into the rebooted pi and startup the qlcplus service using sudo systemctl start qlcplus.service
So, how can I ensure that my dmx-hue service has started before the qlcplus service tries to start? The qlcplus.service file is auto generated from somewhere, so I've been unable to edit and have changes stick.
PS:
Firstly, much praise and gratitude for this excellent software! Secondly, I have to credit Sinedied with their build of Art-Net node to control Philips Hue lights with DMX, which I refer to here as Dmx-hue. Grab it on git-hub! Thirdly, I'm so excited to implement this build into our studio! It's going to be a magnificient combination of full color hues and color changing fixtures.