Error when unlock trigger fires

Posted on
Thu Jun 15, 2017 9:25 pm
srkinard offline
Posts: 251
Joined: Apr 10, 2016
Location: Austin, Texas

Error when unlock trigger fires

I've had the Lock Manager pretty much since it was released, and one function was to send an email whenever a user unlocks the front door deadbolt.

I updated the plugin to 1.0.37 a few weeks ago, and created the Placeholder device for the lock as instructed. I made sure all the triggers pointed to the new device and all...so it looked fine.

I realized earlier that I had not seen any emails about the lock...so I took the laptop and watched Indigo while I triggered it myself...I saw this error in the logs:

Code: Select all
   Z-Wave Lock Manager             Status: Door locked manually [Node: 65]
   Z-Wave                          received "Lock - Front Door Deadbolt" status update unlocked by user 001 (via keypad)
   Trigger                         Front Door Unlocked
   Z-Wave Lock Manager             Status: User 1 unlocked door [Node: 65]
   Z-Wave Lock Manager Error       Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
  File "plugin.py", line 290, in zwaveCommandReceived
  File "plugin.py", line 526, in triggerEvent
KeyError: (94353879,)

   Z-Wave                          received "Lock - Front Door Deadbolt" status update locked (manually)
   Trigger                         Front Door Locked
   Z-Wave Lock Manager             Status: Door locked manually [Node: 65]


Did I miss another step in converting from the old version to the new?

Thanks
Ross

Posted on
Thu Jun 15, 2017 11:35 pm
howartp offline
Posts: 3663
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Error when unlock trigger fires

Hi Ross.

No, there's about 5 users waiting for me to fix this; it will be sorted this weekend.

Peter


Sent from my iPhone using Tapatalk Pro

Posted on
Thu Jun 15, 2017 11:43 pm
srkinard offline
Posts: 251
Joined: Apr 10, 2016
Location: Austin, Texas

Re: Error when unlock trigger fires

howartp wrote:
Hi Ross.

No, there's about 5 users waiting for me to fix this; it will be sorted this weekend.

Peter


Awesome...thanks Peter!

Posted on
Fri Jun 16, 2017 11:39 am
howartp offline
Posts: 3663
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Error when unlock trigger fires

Give 1.0.38 a try... (same link)

Peter

Posted on
Sun Jun 18, 2017 9:10 am
CliveS offline
Posts: 414
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Error when unlock trigger fires

Peter,

Updated to .39 and getting these errors

18 Jun 2017, 11:02:40
Z-Wave received "Front Door Keypad Lock" status update unlocked (manually)
Z-Wave Lock Manager Status: Door unlocked manually [Node: 55]
Z-Wave Lock Manager Error Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
File "plugin.py", line 300, in zwaveCommandReceived
File "plugin.py", line 534, in triggerEvent
KeyError: ('unlockedManually',)

Z-Wave received "Front Door Keypad Lock" status update locked (via timer)
Z-Wave Lock Manager Status: Door re-locked automatically [Node: 55]
Z-Wave Lock Manager Error Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
File "plugin.py", line 320, in zwaveCommandReceived
File "plugin.py", line 534, in triggerEvent
KeyError: ('relockedAuto',)


18 Jun 2017, 11:03:39
Z-Wave received "En Suite Floor Heating Thermostat" heat setpoint is 15.0 °C
Z-Wave received "Front Door Keypad Lock" status update locked (manually)
Z-Wave Lock Manager Status: Door locked manually [Node: 55]
Z-Wave Lock Manager Error Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
File "plugin.py", line 294, in zwaveCommandReceived
File "plugin.py", line 534, in triggerEvent
KeyError: ('lockedManually',)


18 Jun 2017, 11:04:45
Z-Wave received "En Suite Floor Heating Thermostat" mode is off
Z-Wave received "Front Door Keypad Lock" status update unlocked (manually)
Z-Wave Lock Manager Status: Door unlocked manually [Node: 55]
Z-Wave Lock Manager Error Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
File "plugin.py", line 300, in zwaveCommandReceived
File "plugin.py", line 534, in triggerEvent
KeyError: ('unlockedManually',)

Z-Wave received "Front Door Keypad Lock" status update locked (via timer)
Z-Wave Lock Manager Status: Door re-locked automatically [Node: 55]
Z-Wave Lock Manager Error Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
File "plugin.py", line 320, in zwaveCommandReceived
File "plugin.py", line 534, in triggerEvent
KeyError: ('relockedAuto',)


CliveS

CliveS

Indigo 7.4.0 : MacOS High Sierra 10.13.6 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sun Jun 18, 2017 2:35 pm
howartp offline
Posts: 3663
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Error when unlock trigger fires

Oops.

There's a line in my code that says:
self.events = dict() # {} Need to define here any new Trigger types or the key throws undefined errors

This is to remind me that whenever I define new triggers, I gotta initialise them here or else they throw errors.

I forgot....!

v1.0.40 now live.

Peter

Posted on
Sun Jun 18, 2017 3:30 pm
CliveS offline
Posts: 414
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Error when unlock trigger fires

That eradicated the critter :)

18 Jun 2017, 22:23:08
Z-Wave received "Front Door Keypad Lock" status update unlocked (manually)
Z-Wave Lock Manager Status: Door unlocked manually [Node: 55]
Z-Wave received "Front Door Keypad Lock" status update locked (manually)
Z-Wave Lock Manager Status: Door locked manually [Node: 55]

--------------------------------------

WebServer request to execute action group "Front Door Unlocked" from xx.166.158.xx
Action Group Front Door Unlocked
WebServer request to execute action group "Front Door Unlocked" from xx.166.158.xx
Action Group Front Door Unlocked
Z-Wave sent "Front Door Keypad Lock" unlock
Z-Wave sent "Front Door Keypad Lock" unlock
WebServer request to execute action group "Front Door Unlocked" from xx.166.158.xx
Action Group Front Door Unlocked
Z-Wave sent "Front Door Keypad Lock" unlock
Z-Wave received "Front Door Keypad Lock" status update unlocked (via controller)
Z-Wave Lock Manager Status: Door unlocked by Indigo [Node: 55]
WebServer request to execute action group "Front Door Locked" from xx.166.158.xx
Action Group Front Door Locked
WebServer request to execute action group "Front Door Locked" from xx.166.158.xx
Action Group Front Door Locked
Z-Wave sent "Front Door Keypad Lock" lock
Z-Wave sent "Front Door Keypad Lock" lock
WebServer request to execute action group "Front Door Locked" from xx.166.158.xx
Action Group Front Door Locked
Z-Wave sent "Front Door Keypad Lock" lock
Z-Wave received "Front Door Keypad Lock" status update locked (via controller)
Z-Wave Lock Manager Status: Door locked by Indigo [Node: 55]

Thanks

CliveS

CliveS

Indigo 7.4.0 : MacOS High Sierra 10.13.6 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Fri Jun 23, 2017 1:27 pm
roquej offline
User avatar
Posts: 322
Joined: Jan 04, 2015

Re: Error when unlock trigger fires

I am still getting the following error:

Z-Wave Lock Manager Status: User 1 unlocked door [Node: 127]
Z-Wave Lock Manager Error Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
File "plugin.py", line 299, in zwaveCommandReceived
File "plugin.py", line 548, in triggerEvent
KeyError: (845063353,)

Version is .40

Any suggestion?

JP

Posted on
Sat Jun 24, 2017 4:08 pm
howartp offline
Posts: 3663
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Error when unlock trigger fires

Off the top of my head, have you created dummy device(s) for the lock(s)?


Sent from my iPhone using Tapatalk Pro

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest