I have a very basic PLEG where I pull in a Ping Sensor device, Triggers and Device properties. But no matter what I try, it never sees the Ping device as tripped - even though the Ping Device itself shows tripped. I’ve even tried to use ‘Invert’ on the Ping device.
But I verified when the Ping is Tripped, the value is 1… and my Ping device shows a value of 1 but PLEG does not. I have tried chaging the Ping device to switch from 0/1 several times… the PLEG never works.
Is there some secret I’m missing?
thx for the help
Device ID: 1272013-11-10 21:56:31.165 PLC Version: 5.2
Triggers
Name Description Last Trigger State
Night Day or Night indicates Night time. 2013-11-10 17:28:06.167 true
Device Properties
Name Device Name Device Variable Last Change Value
Tripped Ping Robyn's Phone Tripped 2013-11-10 21:54:33.154 0
Conditions
Name Expression Last True State
AtHome Tripped==1 2013-11-10 21:36:10.941 false
Actions
Actions for Condition: AtHome
Immediate
Device Action Arguments
Occupancy variables SetVariable3 newVariable3=home
I’m looking at the Tripped variable (see screen shot).
PLEG status report shows correct value but seems like it is not updating my Variable Container?
Seems like there are problems with PLEG updating Variable Container. This is the 3rd different PLEG device (v5.2 & 5.3) with an issue… using different Variable Containers.
I have a very basic PLEG where I pull in a Ping Sensor device, Triggers and Device properties. But no matter what I try, it never sees the Ping device as tripped - even though the Ping Device itself shows tripped. I've even tried to use 'Invert' on the Ping device.
But I verified when the Ping is Tripped, the value is 1… and my Ping device shows a value of 1 but PLEG does not.
Is PLEG seeing the right value ? … or is there a problem setting the values to your variable container ?
I can only help if I know what the real problem is.
At first, due to browser refresh issue, I thought PLEG was not seeing the correct value - but it is.
After 2 hours of testing, PLEG correctly sees the value from the Ping Sensor… but the Variable Container is not getting set. This is consistent with the last 2 PLEG devices I’ve been having issues with.
Attached is my PLEG status report and display of the Variable Container.
I have two actions … one sets all of the Names the other sets all of the values.
Richard,
I’m 99% positive I found another bug. I spent a few hours trying different things and have a reproducible test. I’d love for you to log into to my system and test it.
Test:
Results… 2 separate PLEG devices with Actions writing the same text to 2 separate Variable Containers - both exhibit the same problem. They will never SetVariable values for 3,4,5 but 1, 2 always work fine.
What version is your VC plugin? There was an issue with an early version where the actions for variables 3-5 did not work. I’m running VC 1.7 and the actions all work.