I’m so sorry for not being able to update you until now. It’s been a few hectic days at work.
First, I haven’t deleted pleg and started over. I have not looked into how the backup/restore work. And since I can’t get a file to save or upload to restore I’m feeling just a bit unconfident about it. But…
I have played around with a lot combinations of gc_keyword, gc_triggerNoKeyword, Event matches keyword, has a specific event and start or end. Most of the combinations trigger PLEGs Last False 4 times. First time is 10 seconds into the event, second time is 25 seconds into the event, third time 5 seconds after event ends and fourth and last time 20 seconds after event ends. Last True does not update at all. A week later, It’s still at Feb 25.
I’ve attached a screenshot of the PLEG status page just after a 3 minute test event.
I’m not sure if the above explanation can shed some light on the issue?
So for my application, starting a block heater in my partners car based on when she starts working that particular day and the outside temperature, I basically only need the start of the event to trigger my logics. And I found 2 ways to workaround the issue.
Used a repeating condition (as I only see the false part of the event) to trigger on !tGCal3SarasArbetstider with an action to start 3 timers. Then use the timers as triggers in my conditions to start the block heater based on temperature outside. To prevent the block heater to start when the event ends, I just added a schedule in the start block heater conditions. (I know I’ve seen smarter ways to calculate the start time based on outside temp, but I’m still learning how to use all the logics that can be used in the conditions. I’m still within my first month with the Vera, so I’m a noob )
Created a Virtual Switch. Then used two Vera scenes to set the VS on or off at event start and end. Then the VS can be used in PLEG as the GCal plugin was intended to do (but not on my system, for some reason).
If someone are in my shoes and want a jump start, here’s my logics for the start conditions below. But please, do not comment on them in the thread.
!tGCal3SarasArbetstider and s0330_0800_m_f and pTemp_UteNorr <= -15
!sTimer30min and s0330_0800_m_f and (pTemp_UteNorr >= -14.9) and (pTemp_UteNorr <= -5)
!sTimer60min and s0330_0800_m_f and (pTemp_UteNorr >= -4.9) and (pTemp_UteNorr <= 5)