Group Trigger Plugin

Various odd hacks to make Indigo more useful.
ckeyes888
Posts: 2431
Joined: Thu Nov 26, 2009 2:41 pm
Location: Kalispell, MT

Re: Group Trigger Plugin

Post by ckeyes888 »

Hey,

The app being Indigo, guess it's better referred to as the client.
I have quite a few variables, temps in this case, that I trigger form any change
so it would definitely be very useful to me anyway if there was such a function
in the Group Trigger that accommodated that feature.

Thanks,

Carl
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Group Trigger Plugin

Post by berkinet »

ckeyes888 wrote:?..The app being Indigo, guess it's better referred to as the client.
I have quite a few variables, temps in this case, that I trigger form any change
so it would definitely be very useful to me...
Ahh. Actually, the Indigo client presents you the configuration screen for Indigo Triggers and the Indigo Server app is what does the actual work. In respect to changes in device or variable state, the Group Trigger gets the same information on state changes as Indigo, it just doesn't do anything with that information, unless the change is On/off or True/False.

What process is it that changes your variables? If this is software you can modify, then you can, quite simply, have it execute some Indigo Action each time it changes a temperature. As I noted earlier, that is really a better way to go. The hange could be as simple as a single line of code, or a URL call.
User avatar
Korey
Posts: 824
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: Group Trigger Plugin

Post by Korey »

Great Plugin,

Is there any chance of adding a trigger option for a received ON or received off command, as opposed to just knowing if the device has been changed from on to off.

Just like the trigger options in Indigo's built in triggers.

I'm looking to execute an action if any number of devices send an ON command.

Thanks!
--
Korey
ckeyes888
Posts: 2431
Joined: Thu Nov 26, 2009 2:41 pm
Location: Kalispell, MT

Re: Group Trigger Plugin

Post by ckeyes888 »

+1

Carl
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Group Trigger Plugin

Post by berkinet »

Korey wrote:...Is there any chance of adding a trigger option for a received ON or received off command, as opposed to just knowing if the device has been changed from on to off...

Yes,there is a chance ;-) The Indigo IOM provides a plugin with the ability to listen for Insteon and X-10 commands. I do not think Z-Wave is supported (the Z-Wave itself is actually a plugin).

But: This will have to wait a couple of weeks until I am back in the US where I have insteon devices and can test this out.
User avatar
Korey
Posts: 824
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: Group Trigger Plugin

Post by Korey »

berkinet wrote:
Korey wrote:...Is there any chance of adding a trigger option for a received ON or received off command, as opposed to just knowing if the device has been changed from on to off...

Yes,there is a chance ;-) The Indigo IOM provides a plugin with the ability to listen for Insteon and X-10 commands. I do not think Z-Wave is supported (the Z-Wave itself is actually a plugin).

But: This will have to wait a couple of weeks until I am back in the US where I have insteon devices and can test this out.

Are you back yet? :P
--
Korey
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Group Trigger Plugin

Post by berkinet »

Korey wrote:...Are you back yet? :P

Yes. Just back last weekend. Once my mind arrives, it usually follows my body by a few days, I'll take a look at the plugin.
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Group Trigger Plugin

Post by berkinet »

Korey wrote:Great Plugin,

Is there any chance of adding a trigger option for a received ON or received off command, as opposed to just knowing if the device has been changed from on to off.

Just like the trigger options in Indigo's built in triggers.

Done. Take a look at this Announcement for beta 0.9.20
User avatar
Korey
Posts: 824
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: Group Trigger Plugin

Post by Korey »

berkinet wrote:
Korey wrote:Great Plugin,

Is there any chance of adding a trigger option for a received ON or received off command, as opposed to just knowing if the device has been changed from on to off.

Just like the trigger options in Indigo's built in triggers.

Done. Take a look at this Announcement for beta 0.9.20

:D :D :D :D :D

Fantastic!

Just updated it, I'll let you know how it works out!


Love the Indigo community!
--
Korey
JohnS
Posts: 25
Joined: Wed Mar 26, 2014 9:54 am

Re: Group Trigger Plugin

Post by JohnS »

Hi!
This is my first use of the Group Trigger Plugin. I am using 0.9.20. Functionally it is working but I am getting a number of errors.

Upon reloading the plugin I get:
Indigo Cocoa client disconnected
Indigo Cocoa client connected
Reloading plugin "Group Trigger 0.9.20"
Stopping plugin "Group Trigger 0.9.20" (pid 1496)
Stopped plugin "Group Trigger 0.9.20"
Starting plugin "Group Trigger 0.9.20" (pid 1523)
Group Trigger Log level preferences are set to "Normal".
Group Trigger Log level preferences are set to "Normal".
Started plugin "Group Trigger 0.9.20"
Group Trigger Error exception in triggerStartProcessing(tr Grp Misc Lights Off): 'key metaCmdOn not found in dict'
Group Trigger Error exception in triggerStartProcessing(tr Grp Misc Lights On): 'key metaCmdOn not found in dict'


When the trigger is executed I get:
Received INSTEON "H1b2-K-Ceiling Light" on
Trigger tr Grp Misc Lights On
Group Trigger Error Error in plugin execution ServerSentBroadcast:

Traceback (most recent call last):
File "plugin.py", line 505, in insteonCommandReceived
<type 'exceptions.KeyError'>: (1962827403,)

Group Trigger Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
File "plugin.py", line 415, in variableUpdated
<type 'exceptions.KeyError'>: (1962827403,)


Any help would be appreciated.
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Group Trigger Plugin

Post by berkinet »

Try redefining the trigger and saving. Then restart the plug in.
JohnS wrote:Hi!
This is my first use of the Group Trigger Plugin. I am using 0.9.20. Functionally it is working but I am getting a number of errors.

Upon reloading the plugin I get:
Indigo Cocoa client disconnected
Indigo Cocoa client connected
Reloading plugin "Group Trigger 0.9.20"
Stopping plugin "Group Trigger 0.9.20" (pid 1496)
Stopped plugin "Group Trigger 0.9.20"
Starting plugin "Group Trigger 0.9.20" (pid 1523)
Group Trigger Log level preferences are set to "Normal".
Group Trigger Log level preferences are set to "Normal".
Started plugin "Group Trigger 0.9.20"
Group Trigger Error exception in triggerStartProcessing(tr Grp Misc Lights Off): 'key metaCmdOn not found in dict'
Group Trigger Error exception in triggerStartProcessing(tr Grp Misc Lights On): 'key metaCmdOn not found in dict'


When the trigger is executed I get:
Received INSTEON "H1b2-K-Ceiling Light" on
Trigger tr Grp Misc Lights On
Group Trigger Error Error in plugin execution ServerSentBroadcast:

Traceback (most recent call last):
File "plugin.py", line 505, in insteonCommandReceived
<type 'exceptions.KeyError'>: (1962827403,)

Group Trigger Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
File "plugin.py", line 415, in variableUpdated
<type 'exceptions.KeyError'>: (1962827403,)


Any help would be appreciated.
JohnS
Posts: 25
Joined: Wed Mar 26, 2014 9:54 am

Re: Group Trigger Plugin

Post by JohnS »

That did it. Thank you for your help and thanks for a great plugin.
User avatar
Korey
Posts: 824
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: Group Trigger Plugin

Post by Korey »

Getting this error, redefined the trigger and restarted plugin, error still persists:

Thanks,

Code: Select all

Feb 18, 2015 3:33:15 PM
  Reloading plugin "Group Trigger 0.9.20"
  Stopping plugin "Group Trigger 0.9.20" (pid 21125)
  Stopped plugin "Group Trigger 0.9.20"
  Starting plugin "Group Trigger 0.9.20" (pid 25694)
  Group Trigger                   Log level preferences are set to "Normal".
  Group Trigger                   Log level preferences are set to "Normal".
  Started plugin "Group Trigger 0.9.20"
  Group Trigger Error             exception in triggerStartProcessing(Arrive home - Multiple Triggers): local variable 'devId' referenced before assignment
  Trigger                         Rack Temp Update Variable
  Group Trigger Error             Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "plugin.py", line 415, in variableUpdated
<type 'exceptions.KeyError'>: (16608979,)
--
Korey
User avatar
berkinet
Posts: 3306
Joined: Tue Nov 18, 2008 2:08 pm
Location: Berkeley, CA, USA & Mougins, France

Re: Group Trigger Plugin

Post by berkinet »

Korey wrote:Getting this error, ...

Could you set the plugin to max debug level and send me the output.
User avatar
Korey
Posts: 824
Joined: Wed Jun 04, 2008 11:47 am
Location: Henderson, NV
Contact:

Re: Group Trigger Plugin

Post by Korey »

berkinet wrote:
Korey wrote:Getting this error, ...

Could you set the plugin to max debug level and send me the output.
Here you go:

Code: Select all

  Reloading plugin "Group Trigger 0.9.20"
  Stopping plugin "Group Trigger 0.9.20" (pid 25718)
  Group Triggers                  Plugin processing disabled for group trigger Arrive home - Multiple Triggers
  Stopped plugin "Group Trigger 0.9.20"
  Starting plugin "Group Trigger 0.9.20" (pid 26449)
  Group Trigger                   Log level preferences are set to "Intense Debug".
  Group Trigger                   Log level preferences are set to "Intense Debug".
  Group Trigger                   __init__ Called
  Group Trigger                   __init__: Group Trigger Plugin Initialized
  Started plugin "Group Trigger 0.9.20"
  Group Trigger                   startup Called
  Group Trigger                   getInsteonNameDict Called
  Group Trigger                   getInsteonNameDict: found Insteon device name:BBQ Light address:14.4B.BB
  Group Trigger                   getInsteonNameDict: found Insteon device name:Christmas Kitchen Overhead address:2E.5E.76
  Group Trigger                   getInsteonNameDict: found Insteon device name:Christmas Tree - Living room address:2E.93.38
  Group Trigger                   getInsteonNameDict: found Insteon device name:Christmas Tree Shaye address:2E.9E.36
  Group Trigger                   getInsteonNameDict: found Insteon device name:Christmas Window lights address:0F.71.16
  Group Trigger                   getInsteonNameDict: found Insteon device name:EZUIRT address:01.7E.6B
  Group Trigger                   getInsteonNameDict: found Insteon device name:Garage - Motion address:14.6A.5C
  Group Trigger                   getInsteonNameDict: found Insteon device name:Garage CAR Door address:17.79.B0
  Group Trigger                   getInsteonNameDict: found Insteon device name:Garage Inside Light  address:1D.17.2C
  Group Trigger                   getInsteonNameDict: found Insteon device name:Guest Bathroom address:10.EF.F7
  Group Trigger                   getInsteonNameDict: found Insteon device name:Guest Bathroom Fan address:17.3F.5D
  Group Trigger                   getInsteonNameDict: found Insteon device name:Hallway by Bedroom address:13.4E.11
  Group Trigger                   getInsteonNameDict: found Insteon device name:Hallway by Kitchen address:13.4D.A6
  Group Trigger                   getInsteonNameDict: found Insteon device name:Hallway Laundry by Bedroom address:13.4E.4B
  Group Trigger                   getInsteonNameDict: found Insteon device name:Halway Garage Entry address:13.4D.D1
  Group Trigger                   getInsteonNameDict: found Insteon device name:HVAC address:14.94.5A
  Group Trigger                   getInsteonNameDict: found Insteon device name:Kitchen Ceiling Rope Light address:18.C0.C0
  Group Trigger                   getInsteonNameDict: found Insteon device name:Kitchen Counter address:2E.9E.F1
  Group Trigger                   getInsteonNameDict: found Insteon device name:Kitchen Espresso address:1C.03.2A
  Group Trigger                   getInsteonNameDict: found Insteon device name:Kitchen Keypad address:2F.BC.75
  Group Trigger                   getInsteonNameDict: found Insteon device name:Kitchen Salt Rock Lamp address:11.34.9B
  Group Trigger                   getInsteonNameDict: found Insteon device name:Kitchen Sink address:13.5E.91
  Group Trigger                   getInsteonNameDict: found Insteon device name:Kitchen Table address:1A.48.AF
  Group Trigger                   getInsteonNameDict: found Insteon device name:Laundry Light address:17.4C.68
  Group Trigger                   getInsteonNameDict: found Insteon device name:Laundry Motion address:14.51.0E
  Group Trigger                   getInsteonNameDict: found Insteon device name:Living Room Ikea address:11.31.D3
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bathroom Mirror Lights address:1D.3E.3F
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bathroom Shower address:13.A0.89
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Ceiling Rope Light address:12.AA.A7
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Closet address:13.4D.F7
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Closet Motion address:14.4F.0F
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Dresser Lamp address:12.A8.DC
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Keypad address:2A.07.DE
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Keypad - B address:22.76.A4
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Keypad - K address:2A.94.5D
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Tall Lamp address:12.B5.70
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Under Bed address:0F.70.DB
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Under Dresser address:15.EA.74
  Group Trigger                   getInsteonNameDict: found Insteon device name:Master Bedroom Under Dresser Small address:0F.69.20
  Group Trigger                   getInsteonNameDict: found Insteon device name:Nevo Late night Trigger address:1D.A7.4F
  Group Trigger                   getInsteonNameDict: found Insteon device name:Office Desk Lamps address:12.AA.AB
  Group Trigger                   getInsteonNameDict: found Insteon device name:Outside Christmas Garage Wreath address:0F.6C.3F
  Group Trigger                   getInsteonNameDict: found Insteon device name:Outside Front Door  address:13.4C.CC
  Group Trigger                   getInsteonNameDict: found Insteon device name:Outside Garage address:13.4D.88
  Group Trigger                   getInsteonNameDict: found Insteon device name:Outside Yard Lights address:14.00.25
  Group Trigger                   getInsteonNameDict: found Insteon device name:Patio Fence lights address:27.C6.31
  Group Trigger                   getInsteonNameDict: found Insteon device name:Patio Star Light address:14.4D.53
  Group Trigger                   getInsteonNameDict: found Insteon device name:Pool Control address:21.2C.97
  Group Trigger                   getInsteonNameDict: found Insteon device name:Spa Pump address:19.5E.8D
  Group Trigger                   getInsteonNameDict: found Insteon device name:Theatre Ikea address:0F.69.40
  Group Trigger                   getInsteonNameDict: found Insteon device name:Theatre Keypad address:0F.C6.F9
  Group Trigger                   getInsteonNameDict: found Insteon device name:Theatre Lava Lamp address:0F.6E.74
  Group Trigger                   getInsteonNameDict: found Insteon device name:Theatre Retro Lamp address:0F.70.BA
  Group Trigger                   getInsteonNameDict: Finished creating Insteon Address dict:
	{'27.C6.31': 'Patio Fence lights', '13.4E.11': 'Hallway by Bedroom', '17.3F.5D': 'Guest Bathroom Fan', '11.31.D3': 'Living Room Ikea', '14.94.5A': 'HVAC', '13.4D.88': 'Outside Garage', '2A.07.DE': 'Master Bedroom Keypad', '0F.6C.3F': 'Outside Christmas Garage Wreath', '13.4C.CC': 'Outside Front Door ', '14.4D.53': 'Patio Star Light', '13.5E.91': 'Kitchen Sink', '10.EF.F7': 'Guest Bathroom', '14.51.0E': 'Laundry Motion', '2A.94.5D': 'Master Bedroom Keypad - K', '14.4B.BB': 'BBQ Light', '1D.17.2C': 'Garage Inside Light ', '12.AA.AB': 'Office Desk Lamps', '0F.71.16': 'Christmas Window lights', '13.4D.A6': 'Hallway by Kitchen', '0F.6E.74': 'Theatre Lava Lamp', '1D.3E.3F': 'Master Bathroom Mirror Lights', '2E.9E.36': 'Christmas Tree Shaye', '1D.A7.4F': 'Nevo Late night Trigger', '2F.BC.75': 'Kitchen Keypad', '19.5E.8D': 'Spa Pump', '15.EA.74': 'Master Bedroom Under Dresser', '2E.93.38': 'Christmas Tree - Living room', '12.A8.DC': 'Master Bedroom Dresser Lamp', '22.76.A4': 'Master Bedroom Keypad - B', '17.4C.68': 'Laundry Light', '13.4D.F7': 'Master Bedroom Closet', '0F.C6.F9': 'Theatre Keypad', '13.4E.4B': 'Hallway Laundry by Bedroom', '2E.5E.76': 'Christmas Kitchen Overhead', '1A.48.AF': 'Kitchen Table', '14.00.25': 'Outside Yard Lights', '13.A0.89': 'Master Bathroom Shower', '14.6A.5C': 'Garage - Motion', '14.4F.0F': 'Master Bedroom Closet Motion', '21.2C.97': 'Pool Control', '01.7E.6B': 'EZUIRT', '18.C0.C0': 'Kitchen Ceiling Rope Light', '0F.69.20': 'Master Bedroom Under Dresser Small', '2E.9E.F1': 'Kitchen Counter', '17.79.B0': 'Garage CAR Door', '0F.69.40': 'Theatre Ikea', '13.4D.D1': 'Halway Garage Entry', '1C.03.2A': 'Kitchen Espresso', '12.AA.A7': 'Master Bedroom Ceiling Rope Light', '11.34.9B': 'Kitchen Salt Rock Lamp', '0F.70.DB': 'Master Bedroom Under Bed', '12.B5.70': 'Master Bedroom Tall Lamp', '0F.70.BA': 'Theatre Retro Lamp'}
  Group Trigger                   startup: Complete
  Group Trigger                   triggerStartProcessing Called
  Group Trigger                   triggerStartProcessing: Plugin processing enabled for group trigger:Arrive home - Multiple Triggers
  Group Trigger                   triggerStartProcessing: Received trigger:configured : True
description : from multiple devices
enabled : True
folderId : 1009982173
globalProps : MetaProps : (dict)
     com.berkinet.grouptrigger : (dict)
          metaCmdOff : (list)
               Item : 684898254 (string)
               Item : 313744140 (string)
               Item : 763509552 (string)
               Item : 513673865 (string)
               Item : 973178421 (string)
               Item : 1813087375 (string)
               Item : 1179322073 (string)
               Item : 1850707466 (string)
               Item : 1609118702 (string)
               Item : 1909309234 (string)
               Item : 184793945 (string)
               Item : 1381780147 (string)
               Item : 252858186 (string)
               Item : 117947082 (string)
               Item : 1854445732 (string)
               Item : 85413848 (string)
               Item : 135332310 (string)
               Item : 18005806 (string)
               Item : 117657707 (string)
               Item : 1367942755 (string)
               Item : 28736398 (string)
               Item : 440236319 (string)
               Item : 347860978 (string)
               Item : 583583476 (string)
               Item : 1099146787 (string)
          metaCmdOn : (list)
               Item : 684898254 (string)
               Item : 313744140 (string)
               Item : 763509552 (string)
               Item : 513673865 (string)
               Item : 973178421 (string)
               Item : 1813087375 (string)
               Item : 1179322073 (string)
               Item : 1850707466 (string)
               Item : 1609118702 (string)
               Item : 1909309234 (string)
               Item : 184793945 (string)
               Item : 1381780147 (string)
               Item : 252858186 (string)
               Item : 117947082 (string)
               Item : 1854445732 (string)
               Item : 85413848 (string)
               Item : 135332310 (string)
               Item : 18005806 (string)
               Item : 117657707 (string)
               Item : 1367942755 (string)
               Item : 28736398 (string)
               Item : 440236319 (string)
               Item : 347860978 (string)
               Item : 583583476 (string)
               Item : 1099146787 (string)
          metaDevOff : (list)
          metaDevOffAction :  (string)
          metaDevOffResponse : 0 (string)
          metaDevOffSource : 0 (string)
          metaDevOffTrigger : 192521180 (string)
          metaDevOffTriggerConditions : false (bool)
          metaDevOn : (list)
          metaDevOnAction :  (string)
          metaDevOnResponse : 2 (string)
          metaDevOnTrigger : 192521180 (string)
          metaDevOnTriggerConditions : false (bool)
          metaDevTimeOut :  (string)
          metaVarOff : (list)
          metaVarOn : (list)
          saveToVarOFF : true (bool)
          saveToVarON : true (bool)
          varNameOFF : triggered_home_mode (string)
          varNameON : triggered_home_mode (string)
id : 16608979
name : Arrive home - Multiple Triggers
pluginId : com.berkinet.grouptrigger
pluginProps : com.berkinet.grouptrigger : (dict)
     metaCmdOff : (list)
          Item : 684898254 (string)
          Item : 313744140 (string)
          Item : 763509552 (string)
          Item : 513673865 (string)
          Item : 973178421 (string)
          Item : 1813087375 (string)
          Item : 1179322073 (string)
          Item : 1850707466 (string)
          Item : 1609118702 (string)
          Item : 1909309234 (string)
          Item : 184793945 (string)
          Item : 1381780147 (string)
          Item : 252858186 (string)
          Item : 117947082 (string)
          Item : 1854445732 (string)
          Item : 85413848 (string)
          Item : 135332310 (string)
          Item : 18005806 (string)
          Item : 117657707 (string)
          Item : 1367942755 (string)
          Item : 28736398 (string)
          Item : 440236319 (string)
          Item : 347860978 (string)
          Item : 583583476 (string)
          Item : 1099146787 (string)
     metaCmdOn : (list)
          Item : 684898254 (string)
          Item : 313744140 (string)
          Item : 763509552 (string)
          Item : 513673865 (string)
          Item : 973178421 (string)
          Item : 1813087375 (string)
          Item : 1179322073 (string)
          Item : 1850707466 (string)
          Item : 1609118702 (string)
          Item : 1909309234 (string)
          Item : 184793945 (string)
          Item : 1381780147 (string)
          Item : 252858186 (string)
          Item : 117947082 (string)
          Item : 1854445732 (string)
          Item : 85413848 (string)
          Item : 135332310 (string)
          Item : 18005806 (string)
          Item : 117657707 (string)
          Item : 1367942755 (string)
          Item : 28736398 (string)
          Item : 440236319 (string)
          Item : 347860978 (string)
          Item : 583583476 (string)
          Item : 1099146787 (string)
     metaDevOff : (list)
     metaDevOffAction :  (string)
     metaDevOffResponse : 0 (string)
     metaDevOffSource : 0 (string)
     metaDevOffTrigger : 192521180 (string)
     metaDevOffTriggerConditions : false (bool)
     metaDevOn : (list)
     metaDevOnAction :  (string)
     metaDevOnResponse : 2 (string)
     metaDevOnTrigger : 192521180 (string)
     metaDevOnTriggerConditions : false (bool)
     metaDevTimeOut :  (string)
     metaVarOff : (list)
     metaVarOn : (list)
     saveToVarOFF : true (bool)
     saveToVarON : true (bool)
     varNameOFF : triggered_home_mode (string)
     varNameON : triggered_home_mode (string)
pluginTypeId : metaDevice
remoteDisplay : True
suppressLogging : False
upload : True
  Group Trigger                   triggerStartProcessing: Finished device processing:
	On dict is: {16608979: []}
	Off dict is: {16608979: []}
	Triggers are: {16608979: {'actionOff': '', 'process': True, 'saveVarOFF': u'triggered_home_mode', 'saveVarON': u'triggered_home_mode', 'responseOff': '', 'condOff': False, 'responseOn': 'trigger', 'condOn': False, 'timeOut': u'', 'actionOn': u'192521180', 'selfOff': 'No'}}
  Group Trigger Error             exception in triggerStartProcessing(Arrive home - Multiple Triggers): local variable 'devId' referenced before assignment
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Rain Gauge
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Rain Gauge
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Rain Gauge
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Rain Gauge
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Spa Temp
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Spa Temp
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: ‘key onOffState not found in dict’ for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Rack Temp
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Rack Temp
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Pool Temp
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:Pool Temp
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
 Received INSTEON                "Laundry Motion" off (button 1)
  Trigger                         Laundry Motion - Off
  Group Trigger                   deviceUpdated Called
  Group Trigger Debug             onState of Laundry Motion is False, and device is:True 

  Group Trigger Debug             Passed valid device test:Laundry Motion
  Group Trigger Debug             Found trigger:Laundry Motion
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   insteonCommandReceived Called
  Group Trigger Debug             Insteon command received from device:Laundry Motion-off
  Group Trigger Error             Error in plugin execution ServerSentBroadcast:

Traceback (most recent call last):
  File "plugin.py", line 505, in insteonCommandReceived
<type 'exceptions.KeyError’>: (16608979,)

  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Group Trigger                   deviceUpdated Called
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: newDev onState ERROR: 'key onOffState not found in dict' for device:iTunes
  Group Trigger                   deviceUpdated: Complete.
  Disabling plugin "Group Trigger 0.9.20"
  Stopping plugin "Group Trigger 0.9.20" (pid 26449)
  Group Trigger                   triggerStopProcessing Called
  Group Triggers                  Plugin processing disabled for group trigger Arrive home - Multiple Triggers
  Group Trigger                   shutdown Called
  Stopped plugin "Group Trigger 0.9.20"
--
Korey
Post Reply

Return to “Berkinet's Plugins”