Unable to select user 251

Posted on
Wed Aug 23, 2017 12:39 pm
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Unable to select user 251

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

Posted on
Wed Aug 23, 2017 1:33 pm
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Unable to select user 251

OK "fixed" in events.xml

Could you please update the file to avoid manual correction every update? :)

Posted on
Wed Aug 23, 2017 2:52 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Unable to select user 251

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

Posted on
Wed Aug 23, 2017 3:58 pm
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Unable to select user 251

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:)

Posted on
Thu Aug 24, 2017 2:12 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

I bet your wife would have been even more shocked if it’d said “Welcome home, Sarah!”

Computer says no.

Posted on
Tue Oct 24, 2017 5:09 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

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.

Posted on
Thu Oct 26, 2017 1:18 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Unable to select user 251

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

Posted on
Thu Oct 26, 2017 1:40 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

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

I’ll have a look shortly!

Computer says no.

Posted on
Thu Oct 26, 2017 2:21 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

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.

Posted on
Thu Oct 26, 2017 2:55 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Unable to select user 251

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

Posted on
Thu Oct 26, 2017 4:55 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

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.

Posted on
Fri Oct 27, 2017 12:10 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Unable to select user 251

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

Posted on
Fri Oct 27, 2017 12:58 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

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.

Posted on
Fri Oct 27, 2017 5:58 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Unable to select user 251

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.

Posted on
Mon Oct 30, 2017 6:41 pm
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: Unable to select user 251

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 4184 times

Who is online

Users browsing this forum: No registered users and 1 guest