PLEG and electrical bicycle charger

Hi,

What would be the smartest way to program PLEG so that it turns off my electric bicycle charger when the charger is using 0 watts for 15 minutes? I have an Aeon switch with energy measurement to switch on/off the electric bicycle charger. I click on the button of the Aeon switch to start the charging, and when the charging is finished I would like the Aeon switch to turn off.

Kind regards,
Rene.

Maybe something like this:

Device Properties
pBikeChg Aeon switch Watts

Schedules
s15M OnType: SelfReTrigger, OffType: Interval, 15:00

Conditions
cBikeChgd pBikeChg < 1
cBikeChOff cBikeChgd and !s15M and (cBikeChgd; !s15M)

Actions
cBikeChgd PLEG StartTimer timerName=s15M
cBikeChOff Aeon switch turn off

You may need to experiment with the comparison value in cBikeChgd to determine a realistic value for when charging is completed.

Hi,

Thank you for helping and replying so quickly!
I have created this scenario, please check the attached report.

What is the trigger in this case?
Is this scenario triggered by a reading of 0 watts energy usage?

I ask this because when the charging is finished and the Aeon switch is off, then the energy usage reading still gives 0 watt.
Isn’t that causing this scenario to be re-triggerd over and over without really needing it?

Should the manual action of powering-on the Aeon switch (starting the charge sequence) be a trigger too?

Kind regards,
Rene.

Hi Rene,

Your report looks good.

The Condition Charge_Finished will fire when Watts becomes zero. It will not fire again unless Watts becomes non-zero and then zero again. So as long as the reported power stays at zero, the timer will not be restarted.

@RMB

FYI:
If the “Repeats” button was turned on for the condition… then the action would fire everytime the AEON device updated it’s power setting to 0.
That device might be smart enough to not update the value unless the value actually changes.

With the “Repeats” turned off … it does not matter … As Rex said the value has to change to NON Zero than back to Zero to cause the Condition to be triggered and the actions fired.

Allright, thanks for the explanation!
I am going to try this setup.

Kind regards,
Rene.