koolego@gmail.com
Newbie
Newbie
Posts: 1
Joined: Wed Dec 31, 1969 7:00 pm
Contact: Send private message

Time events

Thu May 14, 2020 10:25 pm

Looking for recommendations
I have electricity at home with Peak, Off Peak, shoulder rates.

I am looking to create text to show its in off peak or peat ect.

In other automation systems, I would create a rule that if TIME is > 2 am, THEN set AFTERNOON FLAG to TRUE.
At the frontend, I could then use the button if AFTERNOON FLAG = TRUE, it would show the image on the screen.

Does anyone know how I can do this in myDesigner?

I can see a server value of current time but not sure how to use this in a command string to set a flag or something else?

Any help would be great.

Thanks
Mark

User avatar
DavidL
Founder
Founder
Posts: 11803
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan
Contact: Send private message

Re: Time events

Fri May 15, 2020 10:52 am

I would use an automation rule to change a variable "afternoon_flag" to a value depending on the value of a variable is time based. The afternoon _flag is the var that would be displayed on the UI.

Return to “myDesigner”

Who is online

Users browsing this forum: No registered users and 3 guests