Unable to select user 251

shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Unable to select user 251

Post by shapa »

Based on the log, user 251 unlocked the door.

Z-Wave received "Entrance Door Main Lock" status update unlocked by user 251 (via keypad)
Z-Wave Lock Manager Status: User 251 unlocked door [Node: 200]

However, I could not select user 251 (latest in the list - 249) in the event settings / trigger
shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Re: Unable to select user 251

Post by shapa »

OK "fixed" in events.xml

Could you please update the file to avoid manual correction every update? :)
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Unable to select user 251

Post by howartp »

Hi Shapa.

User 251 is the Master user, which I intentionally left out of the list as I didn't expect anyone to be using the Master user for daily activity.

You're the second person to mention it - Durosity has the same issue - and what I said to him was I'll add separate functionality to trigger on the Master user having done something, as it's potentially more of a security risk if the Master code has been breached.

Peter
shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Re: Unable to select user 251

Post by shapa »

Please, Sir :)

You are 100% right - I'm trying to make "super loud alarm" in case of master code used.

Anyway. your plugin is brilliant.

My wife was really shocked today to hear "Welcome home, Elmira" from a Sonos speaker:)
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

Post by durosity »

I bet your wife would have been even more shocked if it’d said “Welcome home, Sarah!”
Computer says no.
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

Post by durosity »

howartp wrote:You're the second person to mention it - Durosity has the same issue - and what I said to him was I'll add separate functionality to trigger on the Master user having done something, as it's potentially more of a security risk if the Master code has been breached.

Peter
Dont suppose you happen to have A time you were planning on tackling this? just curious more than pushing. I'm in the middle of finally migrating to a gen5 z-stick and while I'm at it I'm getting various other loose ends tided up (just things really to keep me occupied.. I've been rather down lately after recent events)
Computer says no.
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Unable to select user 251

Post by howartp »

You're impatient you, aren't you?!

Give 1.0.46 a try.

(I've only done it cos I'm waiting for a 6GB download to complete before I can carry on with what I'm supposed to be doing!)

Peter
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

Post by durosity »

Ha! I explicitly said I wasn’t .. I was more just curious. :)

I’ll have a look shortly!
Computer says no.
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

Post by durosity »

Unfortunately no joy:

Code: Select all

   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
   Z-Wave                          received "Hall - Front Door Lock" status update unlocked by user 251 (via keypad)
   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
   Z-Wave Lock Manager Debug       Raw:  01 0A 00 04 00 26 04 71 05 13 FB FF
   Z-Wave Lock Manager             Status: User 251 unlocked door [Node: 38]
   Z-Wave Lock Manager Debug       triggerEvent called
   Z-Wave Lock Manager Debug       ---
   Z-Wave Lock Manager Debug       dNodeID:   #38#
   Z-Wave Lock Manager Debug       eventNode: #38#
   Z-Wave Lock Manager Debug       dUserNo:   #250#
   Z-Wave Lock Manager Debug       userNo:    #251#
   Z-Wave Lock Manager Debug       ---
   Z-Wave Lock Manager Debug       dNodeID:   #38#
   Z-Wave Lock Manager Debug       eventNode: #38#
   Z-Wave Lock Manager Debug       dUserNo:   #250#
   Z-Wave Lock Manager Debug       userNo:    #251#
   Z-Wave Lock Manager Debug       Updating state: lockState
   Z-Wave Lock Manager Debug       -----
   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
I setup a trigger to activate on the master user being used but it doesn't trigger.
Computer says no.
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Unable to select user 251

Post by howartp »

Did you setup a "Unlocked by user" trigger with a value of 250, or a "Unlocked by Master Code User" trigger?

It looks like you're triggering on 250 but the master user is actually 251, I think?

Peter
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

Post by durosity »

I used the new Unlocked by Master Code User option which i would have thought would just default to user 251 - i was looking at that in the log, i wasn't sure if there was some relationship between the two. What does dUserNo relate to?
Computer says no.
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Unable to select user 251

Post by howartp »

Hmmm.

Userno and duserno are the user received in the incoming Zwave command and the user stored in the trigger. It compares them and if they match or are “”, it executes the trigger.

Master trigger shouldn’t have any userno stored in it so it should be “”.

Did you create fresh new trigger manually for Master, or did you edit/duplicate the existing Code one?

Peter


Sent from my iPhone using Tapatalk Pro
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

Post by durosity »

New one as far as i can remember.. i'll try deleting it and re-creating it when i get home today from work.
Computer says no.
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

Post by durosity »

No joy, no longer referencing 250 so perhaps did duplicate it before but with a brand spanking new one:

Code: Select all

 Z-Wave                          received "Hall - Front Door Lock" status update unlocked by user 251 (via keypad)
   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
   Z-Wave Lock Manager Debug       Raw:  01 0A 00 04 00 26 04 71 05 13 FB FF
   Z-Wave Lock Manager             Status: User 251 unlocked door [Node: 38]
   Z-Wave Lock Manager Debug       triggerEvent called
   Z-Wave Lock Manager Error       Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
  File "plugin.py", line 312, in zwaveCommandReceived
  File "plugin.py", line 603, in triggerEvent
KeyError: key userNo not found in dict

   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
   Z-Wave                          sent "Heating - Upstairs" mode change to off
   Z-Wave                          sent "Heating - Downstairs" mode change to off
   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
   Z-Wave                          received "Hall - Front Door Lock" status update locked (via timer)
   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
   Z-Wave Lock Manager Debug       Raw:  01 0A 00 04 00 26 04 71 05 1B 01 FF
   Z-Wave Lock Manager             Status: Door re-locked automatically [Node: 38]
   Z-Wave Lock Manager Debug       triggerEvent called
   Z-Wave Lock Manager Debug       Updating state: lockState
   Z-Wave Lock Manager Debug       -----
   Z-Wave Lock Manager Debug       Node ID 38 (Hex 38) found in lockIDs
Computer says no.
Vig
Posts: 110
Joined: Tue Oct 06, 2015 8:09 am

Re: Unable to select user 251

Post by Vig »

I have similar issue, I can go as far as user id 250, so I have a trigger set to trigger in the event if "Lock is unlocked by Master User Code".

Z-Wave received "Front Door Lock" status update unlocked (via keypad)
Z-Wave Lock Manager Status: User 251 unlocked door [Node: 33]
Z-Wave Lock Manager Error Error in plugin execution ReceivedBroadcast:

Traceback (most recent call last):
File "plugin.py", line 312, in zwaveCommandReceived
File "plugin.py", line 603, in triggerEvent
KeyError: key userNo not found in dict
Attachments
Screen Shot 2017-10-30 at 7.33.42 PM.png
Screen Shot 2017-10-30 at 7.33.42 PM.png (132.17 KiB) Viewed 5599 times
Post Reply

Return to “ZWave Lock Manager”