Web interface project auto starting

All the topics related to QLC+ on the Raspberry Pi
Post Reply
tusher
Posts: 2
Joined: Fri May 10, 2024 12:41 pm
Real Name: Usher

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.
tusher
Posts: 2
Joined: Fri May 10, 2024 12:41 pm
Real Name: Usher

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
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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
Attachments
Screenshot_20240512_095251.png
Post Reply