Author Topic: PLEG Basics - An Introduction to the Program Logic Event Generator  (Read 141779 times)

Offline vikram.m

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: PLEG Basics - An Introduction to the Program Logic Event Generator
« Reply #495 on: January 04, 2018, 02:15:15 am »
Hi,

I have successfully installed PLEG plugin. I went through basics pdf. But unable to create simple basics.
I have setup 6 in 1 multisensor using vera controller, trying to get simple notification when motion is detected. I am missing something , please help me out here.
Steps that i performed:
1. Configured Device trigger
2. Conditions
3. Logic actions
4. set Notification

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: PLEG Basics - An Introduction to the Program Logic Event Generator
« Reply #496 on: January 04, 2018, 03:19:36 am »
5) Reload LUA
6) Test
7) Check Status Report

Offline vikram.m

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: PLEG Basics - An Introduction to the Program Logic Event Generator
« Reply #497 on: January 06, 2018, 01:45:29 am »
Thanks for the reply Richard.
Can you please help me for below scenarios as well.
1. I have 2 motion sensor, where both will be idle/no motion detection happens at same time i.e. 30mins in onecase and 1hr idle in another case and then need to send notifications using AND operations. I tried where device is armed and no motion detects in vera but didn't work.
2. I have 1 motion sensor , where it will be idle/no motion detection occurs for 30mins in onecase and 1hr idle in another case and then need to send notifications. I tried where device is armed and no motion detects in vera but didn't work.
3. How get notification when no motion detection occurs between the time range for example: 5 AM to 9 AM
4. Is there way to get notification so that  i can identify a person fall detection using motion sensors.
5.  Can you please share link or documents which provides details and example of using expression like when use sequence expression, multi trigger expression and general expression .
This details will really help for my project.

With regards,
Vikram

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: PLEG Basics - An Introduction to the Program Logic Event Generator
« Reply #498 on: January 06, 2018, 07:49:36 am »
You really should start a new thread for your question.

Strategy:
Input Timer:  Named Morning  Starts at 5AM every day ... ends at 9AM every day.
Inputs   Motion1 ... MotionN

Conditions:
AnyMotion                  Motion1 or Motion2 or ... MotionN
MorningMotion            Morning; AnyMotion; !Morning
NoMorningMotion        !MorningMotion and (!MorningMotion;!Morning)


Attach your alert to NoMorningMotion