Page 1 of 1
Web interface project auto starting
Posted: Fri May 10, 2024 12:47 pm
by tusher
So I'm using raspberry pi 5. Using artnet. I have a project set to auto start and it appears to load, all of the buttons are there but the dmx lights don't come on. If I load the same project file through the web interface it starts working. Not sure if I did something wrong or if there is a big somewhere. This is also running with no monitor attached and I do have the script file set with the offscreen flag.
Re: Web interface project auto starting
Posted: Sat May 11, 2024 11:04 pm
by tusher
So I ended up having to put a delay into the service starting and then it would load correctly
/lib/systemd/system/qlcplus.service
added ExecStartPre=/bin/sleep 60 to the Service section Example below
[Unit]
Description=Q Light Controller Plus
Documentation=man:qlcplus(1)
After=network.target
[Service]
Type=simple
User=pi
Restart=always
ExecStartPre=/bin/sleep 60
RestartSec=3
ExecStart=/usr/sbin/qlcplus-start.sh
[Install]
WantedBy=multi-user.target
Re: Web interface project auto starting
Posted: Sun May 12, 2024 7:53 am
by mcallegari
This is probably because the network interface is not ready when QLC+ starts.
There's a parameter in the plugin configuration to set a wait time for an interface to be ready