Page 1 of 7

ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 6:26 am
by Bollar
Thanks again for this.

With just these initial functions, I quickly created Action Groups to add users to my new locks and I added a schedule to allow a contractor access during the day.

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 6:35 am
by durosity
Awesome! Sorry I wasn't able to finish testing with you, it's been a horrible week :(

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 7:02 am
by jalves
Thanks for creating this plugin! I'm about to buy a couple of z-wave locks and this looks to be very helpful in managing them.

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 8:33 am
by FlyingDiver
Working fine with my Kwikset 910, so far.

Suggestion - change the deviceFilter in your Devices.xml (3 places) to:

Code: Select all
   <Action id="setUserPin" deviceFilter="indigo.relay,indigo.zwave">


No need to list relay devices that aren't Z-wave. Have to ask M&J whether there's a filter for just lock subtypes.

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 8:36 am
by howartp
FlyingDiver wrote:
Working fine with my Kwikset 910, so far.

Suggestion - change the deviceFilter in your Devices.xml

Ah, thanks - didn't realise I could combine filters.

I've already asked about filter for just locks - not available yet :)

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 11:27 am
by matt (support)
howartp wrote:
FlyingDiver wrote:
Working fine with my Kwikset 910, so far.

Suggestion - change the deviceFilter in your Devices.xml

Ah, thanks - didn't realise I could combine filters.

I've already asked about filter for just locks - not available yet :)

I actually got it snuck into 7.0 but forgot to tell anyone :-) :

Code: Select all
for dev in indigo.devices.iter("indigo.relay, props.IsLockSubType"):
  print dev.name

# Or:

   <Action id="setUserPin" deviceFilter="indigo.relay,props.IsLockSubType">

Now that I think about it, technically you could leave off the indigo.relay specifier and just use props.IsLockSubType although I think I prefer that one specifies the main class type (relay in this case) too.

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 11:29 am
by FlyingDiver
Would

Code: Select all
 <Action id="setUserPin"  deviceFilter="indigo.relay,indigo.zwave,props.IsLockSubType">
Work?

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 11:34 am
by FlyingDiver
FlyingDiver wrote:
Would

Code: Select all
 <Action id="setUserPin"  deviceFilter="indigo.relay,indigo.zwave,props.IsLockSubType">
Work?


Just tested it. It works. With all three terms, I ONLY get the Z-wave door lock. Without the Z-wave term, I get the Z-Wave lock and my MyQ devices. Without the lock subtype, I get the Z-wave door lock and my water valves (my only other Z-wave relay type devices).

:)

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 11:36 am
by matt (support)
Yes, that would and you are correct that is what we want here since the functionality is Z-Wave specific. Note that logically the search is performed by AND'ing the categories (protocol, class, and props) and OR'ing the items within each category. For example, using a filter string of:

Code: Select all
indigo.insteon, indigo.x10, indigo.relay, indigo.dimmer, props.SupportsColor, props.SupportsWhiteTemperature

logically performs a search using:

Code: Select all
(insteon OR x10) AND (relay OR dimmer) AND (props["SupportsColor"] OR props["SupportsWhiteTemperature"])

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 11:37 am
by FlyingDiver
matt (support) wrote:
Yes, that would and you are correct that is what we want here since the functionality is Z-Wave specific. Note that logically the search is performed by AND'ing the categories (protocol, class, and props) and OR'ing the property items within a category. For example, using a filter string of:

Code: Select all
indigo.insteon, indigo.x10, indigo.relay, indigo.dimmer, props.SupportsColor, props.SupportsWhiteTemperature

logically performs a search using:

Code: Select all
(insteon OR x10) AND (relay OR dimmer) AND (props["SupportsColor"] OR props["SupportsWhiteTemperature"])


And if you need more than that, create the list dynamically. ;)

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 11:38 am
by howartp
matt (support) wrote:
I actually got it snuck into 7.0 but forgot to tell anyone :-)

Don't suppose device.scenecontrollers exists yet...? ;-)

Can you do my subforum for lock manager?


Sent from my iPhone using Tapatalk

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 11:54 am
by matt (support)
howartp wrote:
Don't suppose device.scenecontrollers exists yet...? ;-)

Not yet. :(

howartp wrote:
Can you do my subforum for lock manager?

I had made it before your last post. Apparently I like making changes and not telling anymore. :twisted:

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 12:06 pm
by howartp
:-)

Doesn't help that Tapatalk doesn't show empty subforums!


Sent from my iPhone using Tapatalk

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 12:24 pm
by howartp
FYI I just split this topic into 2, so my update announcements are in an Announcement thread that's locked.

You can reply here or in new threads depending what it relates to.

Peter

Re: ZWave Lock Manager

PostPosted: Sat Nov 19, 2016 1:22 pm
by durosity
howartp wrote:
:-)

Doesn't help that Tapatalk doesn't show empty subforums!


Sent from my iPhone using Tapatalk


Does actually :) there's a add a motor subforum for c4w which shows that's empty!