Turn on Space heater multiple times a day, PLEG or PLTS?

Hello,

I have a space heater plugged into a Smart Plug that I would like to turn on a couple of times a day:

Weeekdays: turn on at 6:30AM until 8:00AM
Weeknights: turn on at 9:30PM until 11:00PM

Would PLEG or PLTS be better to to use for this scenario, and how do I go about setting this up? (Anyone have any examples?)

Thanks in advance!

PLEG would be the choice for this. Try something like this:

Inputs, Schedules
WeekdayAM Start Type: Day of Week, Check Days Monday to Friday, Time: 06:30, Stop Type: Day of Week, Check Days Monday to Friday, Time: 08:00
WeekdayPM Start Type: Day of Week, Check Days Monday to Friday, Time: 21:30, Stop Type: Day of Week, Check Days Monday to Friday, Time: 23:00

Conditions
HeaterOn WeekdayAM or WeekdayPM
HeaterOff Not HeaterOn

Actions
HeaterOn Turn on Heater
HeaterOff Turn off Heater

any basic scene can do this for you. set the scene to come on at your rime and off at your time. PLEG is powerful, but your vera was designed to do what you want to do without a plugin.

However, think about adding a condition that makes sure someone is home when it is on. Space Heaters should never be left unattended due to their inherent higher risk of fire.

http://www.nfpa.org/press-room/news-releases/2010/space-heaters-involved-in-79-percent-of-fatal-home-heating-fires

[quote=“RexBeckett, post:2, topic:178375”]PLEG would be the choice for this. Try something like this:

Inputs, Schedules
WeekdayAM Start Type: Day of Week, Check Days Monday to Friday, Time: 06:30, Stop Type: Day of Week, Check Days Monday to Friday, Time: 08:00
WeekdayPM Start Type: Day of Week, Check Days Monday to Friday, Time: 21:30, Stop Type: Day of Week, Check Days Monday to Friday, Time: 23:00

Conditions
HeaterOn WeekdayAM or WeekdayPM
HeaterOff Not HeaterOn

Actions
HeaterOn Turn on Heater
HeaterOff Turn off Heater[/quote]

@RexBeckett: Thank you for your assistance, tried this code last night and it worked great! Much appreciated!

[quote=“Bulldoglowell, post:3, topic:178375”]any basic scene can do this for you. set the scene to come on at your rime and off at your time. PLEG is powerful, but your vera was designed to do what you want to do without a plugin.

However, think about adding a condition that makes sure someone is home when it is on. Space Heaters should never be left unattended due to their inherent higher risk of fire.

http://www.nfpa.org/press-room/news-releases/2010/space-heaters-involved-in-79-percent-of-fatal-home-heating-fires[/quote]

@Bulldoglowell: Thanks for your input as well, I have setup a virtual switch with a Home/Away status to eliminate this PLEG from running if we are not home.