Momentary switch suggestion

I have a gas fireplace that is operated by remote control. I have soldered leads to the Off button of a 2nd remote control and connected it to relay 1 on a GC-100. I can successfully turn off the fireplace thru the vera web interface by turning the relay on to activate the button and then off.

My use case is to automatically turn the fireplace off at midnight in case one of the kids(or wife) leaves it on after bedtime.

However, I want to make sure that the relay does not stay on, which would deplete the battery in the remote.

Question:
Would I be better off creating a “Turn Off Fireplace” scene that activates the relay, then one second later deactivates the relay, or would I be better off creating a PLEG for this?

Either way works. I have used regular Vera scenes for a similar application with a remote fan controller.

I think the Off scene will work fine.
I also want to do one strict automation for an ON scene to make my wife happy with the following criteria:

Time= 6am-7am
Thermostat Not = Cooling
Motion = Yes
Last time triggered >= 23 hours

The point is to have the fireplace turn on the 1st time each morning when motion is detected between 6am and 7am and the the thermostat is not in cooling mode.

I am thinking about trying a PLEG:

FireplaceLRTurnOn
-Tstat Not cooling
-Time between 6:00am and 7:00am
-LR Motion
-FireplaceLRTurnOn >=23:00:00

Looks good!

Last time triggered >= 23 hours

So if the Fireplace is used anytime yesterday, other than between 6-7 AM … you do not want it to start today ? That seems strange.

I actually want it to trigger only once each day, the first motion of the day between 6 & 7am. Is there a better way?

… and (06:00:00; motiontriggername; 07:00:00)

Set Repeat off.

I had this:

WakeUpTime AND FamilyMotion AND (NOT FamRmTstatCoolMode) AND (NOT FamilyAmbientTempAbove74) AND (06:00:00; FamilyMotion; 07:00:00)

But it kept triggering every time someone walked by the motion between 6 & 7am, so I am going to try this:

FamilyWakeUpMotion (06:00:00; FamilyMotion; 07:00:00)

FireplaceLRTurnOn
FamilyWakeUpMotion AND (FamilyWakeUpMotion > 23:00:00) AND (NOT FamRmTstatCoolMode) AND (NOT FamilyAmbientTempAbove74)

Two things:

  1. Remove
    and FamilyMotion
  2. Make sure Repeats is OFF

i.e.

WakeUpTime AND (NOT FamRmTstatCoolMode) AND (NOT FamilyAmbientTempAbove74) AND (06:00:00; FamilyMotion; 07:00:00)