Is it ok to shutdown my rpi using the ‘shutdown’ command while QLC+ is running, or is it important to press the exit icon in the main toolbar first?
(obviously unsaved changes will be lost)
correct shutdown procedure
- mcallegari
- Posts: 4932
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Debian/Raspbian includes systemd, so when you invoke 'shutdown' or 'halt', systemd will nicely stop all the running services in the proper order. QLC+ is one of them.
You can shutdown/reboot from the web interface too. No need to ssh or access the UI every time.
You can shutdown/reboot from the web interface too. No need to ssh or access the UI every time.
-
- Posts: 4
- Joined: Thu Nov 15, 2018 12:53 am
- Real Name: Peter Cannon
Hi,
I'm trying to set up an unattended lightig display, running on the Raspberry Pi, which I need to switch on and off at set times. I was planning to just use a time switch for the power for the Pi. Starting the display at power on is fine but if I just kill the power to the Pi then the fixtures remain on, following the last command they received.
I'd thought from this thread that if I schedule a shutdown, before killing power, QLC+ would stop the function and turn off the lights but this isn't the case.
I'd thought one solution could be to run a CRON job to kill the current QLC+ and then start another QLC+ Workspace with all fixtures off, but I can't figure out how to access that second workspace from a command line.
I wondered if anyone could suggest ideas as to how I can schedule a graceful shutdown to QLC+ and the running function?
Hope I'm not highjacking this thread, I think it's close enough to the original question but apologies if it should be a new topic.
(P.S. I'm a Linux novice and QLC+ newbie!)
(P.P.S. - I'v no means to just kill the power to the fixtures)
I'm trying to set up an unattended lightig display, running on the Raspberry Pi, which I need to switch on and off at set times. I was planning to just use a time switch for the power for the Pi. Starting the display at power on is fine but if I just kill the power to the Pi then the fixtures remain on, following the last command they received.
I'd thought from this thread that if I schedule a shutdown, before killing power, QLC+ would stop the function and turn off the lights but this isn't the case.
I'd thought one solution could be to run a CRON job to kill the current QLC+ and then start another QLC+ Workspace with all fixtures off, but I can't figure out how to access that second workspace from a command line.
I wondered if anyone could suggest ideas as to how I can schedule a graceful shutdown to QLC+ and the running function?
Hope I'm not highjacking this thread, I think it's close enough to the original question but apologies if it should be a new topic.
(P.S. I'm a Linux novice and QLC+ newbie!)
(P.P.S. - I'v no means to just kill the power to the fixtures)
- GGGss
- Posts: 3319
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
This behaviour is an option inside the fixtures itself also... (mostly you can choose between: refrain previous data, go black, go to automated mode, ...)
All electric machines work on smoke... when the smoke escapes... they don't work anymore
-
- Posts: 4
- Joined: Thu Nov 15, 2018 12:53 am
- Real Name: Peter Cannon
The DMX interface is a Xinfly http://amzn.eu/d/5X5nQY6 . It wasn't very expensive so I guess I might just get what I pay for! But you've got me thinking, if I keep the powered hub up supporting the DMX interface and just power down the Pi - that might make a difference. I'll test that tomorrow when I'm there.
-
- Posts: 4
- Joined: Thu Nov 15, 2018 12:53 am
- Real Name: Peter Cannon
I have Chauvet Tour fixtures which do have this option, but I also have MTC PAR64 and PAR144 fixtures which unfortunately don't (according to the data sheet I have).
-
- Posts: 4
- Joined: Thu Nov 15, 2018 12:53 am
- Real Name: Peter Cannon
Nope, this doens't work, I tried keeping power on the DMX adapter when the Pi powers off and still the fixtures remain at their last command with the adapter I have.
So, the only solution I can see is to schedule, via CRON, to launch a QLC file, not the default one, but one which will just reset all the fixture to black.
I'm using Massimo's excellently crafted image for the Pi but I'm not sure I can actually access workspaces, that I've downloaded via the web interface, to use on the CRON command. Any assistance here would be appreciated (or other solutions!).
-
- Posts: 11
- Joined: Wed Feb 13, 2019 7:31 am
- Real Name: JoelM
cannopa,
I used the script function in QLC+ to create a shutdown function:
systemcommand:/sbin/shutdown
Then I created a Scene that turns off all fixtures.
Then I created a chaser and added 1. The scene to turn off fixtures and 2. The shutdown function.
Works beautifully!
I used the script function in QLC+ to create a shutdown function:
systemcommand:/sbin/shutdown
Then I created a Scene that turns off all fixtures.
Then I created a chaser and added 1. The scene to turn off fixtures and 2. The shutdown function.
Works beautifully!
-
- Posts: 1
- Joined: Mon Jun 22, 2020 2:44 pm
- Real Name: Jamie
Sorry to bring this topic up again but I've had a look around the forum and found a few other related posts and been playing around and can't get it to work as you have.Stringfamily wrote: ↑Mon Aug 05, 2019 12:43 am cannopa,
I used the script function in QLC+ to create a shutdown function:
systemcommand:/sbin/shutdown
Then I created a Scene that turns off all fixtures.
Then I created a chaser and added 1. The scene to turn off fixtures and 2. The shutdown function.
Works beautifully!
When I try to run this as a system command script linked through a button on VC the lighting scene works, but the shutdown process doesn't do anything at all. Do you have any more info on how you have this set up?
Many thanks,