Timer in Web Interface

All the topics related to QLC+ on the Raspberry Pi
Post Reply
monolightpro
Posts: 3
Joined: Sun Mar 08, 2020 5:43 pm
Real Name: Sergey Zavyalov

Good afternoon. Comrades.
I read the forum but unfortunately did not find an answer to my question.

Tell me please

the timer is running in the web interface or it is not available in the version in web interface Raspberry pi.

I'm talking about the timer that can be set in QLC+ to start a certain light scene at a certain time.

Or maybe I'm doing something wrong as always. But this is not a question)))
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

monolightpro
Posts: 3
Joined: Sun Mar 08, 2020 5:43 pm
Real Name: Sergey Zavyalov

Thanks a lot for your comment.
Tell me please. Does anyone have any practical advice?
How to start a light scene at a specific time.
Using Raspberry of course
spinne
Posts: 19
Joined: Tue Jun 29, 2021 3:10 pm
Real Name:

Write a little shell script and call it by cron.
In the shell script, call the api functions by curl.
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

With 4.12.4 Clock widget is now available via web
ambra
Posts: 7
Joined: Fri Oct 06, 2017 1:27 pm
Real Name: Branimir Amidžić

For some reason I couldn't put Clock Widget to work as intended. I tested it several times, and it seemed to work well, however for some reason it missed to fire the function at specific time. I tried many things - putting several timers to same clock widget (this definitely doesn't work), putting several clocks each with its own timer, tried 4.12.3 and 4.12.4... For some reason the function was not turned on when set. I don't have time at the moment to look into this more thoroughly, but reliable solution was to use websockets to communicate with QLC+ on remote Raspberry Pi device. so I put these two lines into my crontab:

Code: Select all

00 17 * * * echo "QLC+API|setFunctionStatus|13|1" | /usr/local/bin/websocat -v -t -E "ws://admin:password@localhost:9999/qlcplusWS"
00 00 * * * echo "QLC+API|setFunctionStatus|26|1" | /usr/local/bin/websocat -v -t -E "ws://admin:password@localhost:9999/qlcplusWS"
These fire specific functions at 5 p.m. and midnight.
Post Reply