Duplication of Actions in PLEG

Hi,

Am having a problem with v2.[89] where actions defined in one instance of the PLEG plugin are cross-executed (and reported) in other instances.

For instance, I have one instance (HeatManagement) which has a number of triggers, conditions and actions related to managing, based on presence activity from a 2nd plugin instance, the heat in my house. I also have 3 other instances responsible for tracking light on/off throughout the house.

When I click Report on one of those 3 (light tracking) plugin instances, the report contains actions from the Heat Management plugin instance. I discovered this because actions keep changing switch/heat conditions in spite of what the “owner” plugin has been configured to do.

And in the other 2, there’s no “Actions” variable, at all, in the “Advanced Tab”, and the “Report” button doesn’t work.

Error in Developers Console (Chrome) when clicking “Report” button: '2013-04-18 13:44:24: deviceButtonClicked ended with error (js_button clicked): TypeError: undefined is not a function ’

I have very limited time to troubleshoot this as I’m currently way overtaxing the “wife unhappiness with Vera” quota.

I have 11 Instances of PLEG and PLTS on my system. All of my PL devices report properly.

What do you mean by:

in spite of what the "owner" plugin has been configured to do.

The “owner plugin” was where the actions were originally created & saved.

The other plugin instances had the Action variable containing the exact same json that the “owner plugin” had, but I know I never copied the actions there.

This could have been some sort of side-effect of the usual JSON/UI5 behavior where the IDs, etc get “saved” and reused.

But, I bit the bullet and started from scratch, so at this point I’m unable to troubleshoot any further, sorry.