Hi - It’s been probably 6 or 7 years, so I have completely forgotten how to do this.
Basically years ago I had a motion sensor outside that I wanted to trigger a scene (which would in turn activate a switch) for 30 minutes each time it detected motion. So basically it would reset the ‘30 minute’ activated timer for 30 min each time, meaning as long as it detected motion once every 30 min, it would remain on all the time.
In the end i used PLEG with a basic few lines of code, but now I can’t for the life of me remember how to get to it.
looks like i’m using CMH_UI6 (this is ‘advanced mode’). the ‘simple ui’ is a lot simpler.
In the ‘devices’ tab, i see ‘Pleg’ (and it’s “Armed”), but when I hop over to scenes, I see all the scenes I have created for various things, but not sure where the PLEG code i used goes?
When i open the “pleg” plugin, and click ‘edit’, it just freezes on “Opening plegInit…”. Would that be where the code is?
Same ‘freeze’ issue when i try to go to ‘scenes’ tab in pleg. “Opening devices_scenes…” stays indefinitely