PLEG and Insteon Keypadlinc or Possibly other Scene Controllers

Just wanted to describe some issues I was having with PLEG and my Insteon keypadlincs. I am running the Altsteon developmental build which controls my insteon devices. I have 2 Keypadlincs, one in the kitchen and one in the theater. Seen buttons B, C and D on both control Theatre components. Pushing the buttons on either keypad will perform the same operations. Therefore, initially I was using or logic in PLEG. I continually had erratic behavior in which pushing other buttons on the keypads which were associated with other functions for my Pool were causing the Theater functions to trigger. At first, I thought it was a problem with PLEG, but the actual issue seems to be the way PLEG and/or Vera and/or Altsteon obtain the status of the Keypadlinc scene controllers or the way that the Keypadlincs store. The way I figured this out was by putting the Scene controller device properties as a trigger just to review their status. It seems that Vera “stores” the last scene activated and last scene deactivated properties somewhere. Therefore because I have OR logic between two scene controllers for the same functions, whenever a Scene on one of the Keypads is activated it causes PLEG to evaluate all PLEG conditions and even though I did not activate or deactivate a Theater scene because it is the last stored scene the PLEG condition is evaluated as true and it triggers my Theater scenes. Therefore I had to use Vera scenes in conjunction with PLEG to get the desired results. This just a FYI post in case others hare having similiar issues.

Just an FYI, it is frowned upon to double post on the forum. Please do not post the same post in the different forum sections.

  • Garrett

I double posted purposely because I felt it applies to both forum sections, so that if someone was searching one and not the other they would still find the information that might be helpful to them. I will try not to do it again.