Skip to content

Monthly timer #21369

Answered by Likemike24
Likemike24 asked this question in Q&A
May 6, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Solved it:
I´m using a NOUS A1T. Since this device seems to not support the TimedPower parameter I had to use PulseTime for turning off the plug after 1 Minute.

For 60 seconds timed power off enter in console (Offset 100 + 60 seconds = 60 seconds):
PulseTime 160

The set a repeating timer for every saturday via GUI and set Action RULE (in this case I´m using Timer1.
Then execute the following code after Timer1 expires to check current date and power on if date fits the first 7 days of the week:
Rule1 on clock#Timer=1 do backlog event checkdate=%timestamp% endon on event#checkdate$|-01T do Power1 1 endon on event#checkdate$|-02T do Power1 1 endon on event#checkdate$|-03T do Power1 1 endon o…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Likemike24
Comment options

@sfromis
Comment options

@Likemike24
Comment options

@Likemike24
Comment options

Answer selected by Likemike24
@sfromis
Comment options

@Likemike24
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants