Page 1 of 1

Timer in Web Interface

Posted: Wed Sep 30, 2020 7:56 am
by monolightpro
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)))

Re: Timer in Web Interface

Posted: Wed Sep 30, 2020 9:17 am
by mcallegari

Re: Timer in Web Interface

Posted: Wed Sep 30, 2020 12:39 pm
by monolightpro
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

Re: Timer in Web Interface

Posted: Tue Jun 29, 2021 8:07 pm
by spinne
Write a little shell script and call it by cron.
In the shell script, call the api functions by curl.

Re: Timer in Web Interface

Posted: Wed Jun 30, 2021 6:39 am
by mcallegari
With 4.12.4 Clock widget is now available via web

Re: Timer in Web Interface

Posted: Sat Dec 25, 2021 6:51 pm
by ambra
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.