Timer schedule on week number Topic is solved
Moderators: leecollings, remb0
Timer schedule on week number
Hi,
How can I create a timer schedule that is working on week numbers.
even weeks:
switch 1
monday 10:00 - 12:00
tuesday 14:00 - 16:00
friday 20:00 - 21:00
switch 2
wednesday 6:00 - 10:00
sunday 10:00 - 12:00
uneven weeks
switch 1
wednesday 6:00 - 10:00
sunday 10:00 - 12:00
switch 2
monday 10:00 - 12:00
tuesday 14:00 - 16:00
friday 20:00 - 21:00
switch 3
tuesday 10:00 - 11:00
friday 2:00 - 3:00
Can't figure out how to work in blocky events to manage this.
How can I create a timer schedule that is working on week numbers.
even weeks:
switch 1
monday 10:00 - 12:00
tuesday 14:00 - 16:00
friday 20:00 - 21:00
switch 2
wednesday 6:00 - 10:00
sunday 10:00 - 12:00
uneven weeks
switch 1
wednesday 6:00 - 10:00
sunday 10:00 - 12:00
switch 2
monday 10:00 - 12:00
tuesday 14:00 - 16:00
friday 20:00 - 21:00
switch 3
tuesday 10:00 - 11:00
friday 2:00 - 3:00
Can't figure out how to work in blocky events to manage this.
Re: Timer schedule on week number
I can't use google calendar. The raspberry pi is not connected to the world-wide-web. 

-
- Posts: 107
- Joined: Tuesday 31 January 2017 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Timer schedule on week number
you can do that with timers on the switches
-
- Posts: 531
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: Timer schedule on week number
Code: Select all
on = {
timer = { 'every odd week',
'every even week'}
}
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Re: Timer schedule on week number
Your code is in LUA? Is there any code for blocky? Or can I add this someway in the blocky script.hoeby wrote: ↑Saturday 25 May 2019 20:14This would work.Code: Select all
on = { timer = { 'every odd week', 'every even week'} }
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Timer schedule on week number
No this is dzVents. I would not know a way to do this using Blockly
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Re: Timer schedule on week number
Okey one step more...
Weeknumber only on Monday and Tuesday. Then between 19:00-23:00 hour.
Weeknumber only on Monday and Tuesday. Then between 19:00-23:00 hour.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Timer schedule on week number
can you elaborate on what you mean with 19:00- 23:00 ? Is that once at a random moment in that timeframe or once at a fixed moment or every minute in that window or something else ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Re: Timer schedule on week number
Yes, that's what I'am looking for.
Great tool, thanks for the tip.
Great tool, thanks for the tip.
Who is online
Users browsing this forum: No registered users and 1 guest