Simple Christmas lights ON at 17:00 OFF at 23:00

I’m having trouble wrapping my head around how PLEG works and haven’t been able to find an example as simple as I’m looking for…

I want Outdoor Module #1 to turn ON at 17:00 and OFF at 23:00

Can I beg your patience and help figuring this out, please?

Thanks!

You can accomplish that with a simple schedule.

If you want some more validation, to make true that you are home, you can add some more conditions. I have this running right now:

christmas_on = is_night AND (fusam_on OR fudan_on) AND bedroom_open AND (NOT(23:00:00;bedroom_open;23:59:59)) AND (NOT(00:00:00;bedroom_open;06:30:00)) christmas_off !christmas_on

Inputs, Schedules
Evening Start Type: Weekly, check Monday to Sunday, Time: 17:00, Stop Type: Weekly, check Monday to Sunday, Time: 23:00

Conditions
XmasLightsOn Evening
XmasLightsOff Not Evening

Actions
XmasLightsOn Outdoor Module 1 On
XmasLightsOff Outdoor Module 1 Off

Thanks so very much – Rex, you put it so clearly!