Feature Request: ZWave Watcher Triggers/Actions

Posted on
Fri Dec 11, 2020 12:19 pm
whmoorejr offline
User avatar
Posts: 762
Joined: Jan 15, 2013
Location: Houston, TX

Feature Request: ZWave Watcher Triggers/Actions

[MOD]This thread was posted in ZWave Watcher plugin but i've moved it into ZWave Lock Manager forum as that's where this functionality has been added[/MOD]

For an unsupported z-wave device, I'm trying to figure out how to capture a raw zwave packet using match raw with some * and ? but then have an action to save that same packet (either whole or stripped) in a variable.

Case use.... a keypad that can store a 0-9 digit code that gets transmitted in one packet when you press ✔️. I can run a match raw trigger off the ✔️... (12th digit).
Code: Select all
? ? ? ? ? ? ? ? ? ? ? 0x02
The 13th digit is the number of digits entered, I want to capture the 14th digit through 0xFF. So, if I enter 1 2 3 4 ✔️, the 12th through 0xFF would look like:
Code: Select all
0x02 0x04 0x31 0x32 0x33 0x34 0xFF
, a new fancy trigger would fire, and my variable would be "1234".

But I would be happy if I could just capture the whole packet that the match raw fired the trigger with.... then eventually I'll figure out with a strip() function or something.

Bill
My Plugin: My People

Posted on
Fri Dec 11, 2020 12:32 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature Request: ZWave Watcher Triggers/Actions

Would this be for the Ring?

I’m looking at building a plugin around all the codes that Jay and others have posted.


Sent from my iPhone using Tapatalk Pro

Posted on
Fri Dec 11, 2020 1:03 pm
whmoorejr offline
User avatar
Posts: 762
Joined: Jan 15, 2013
Location: Houston, TX

Re: Feature Request: ZWave Watcher Triggers/Actions

howartp wrote:
Would this be for the Ring?

I’m looking at building a plugin around all the codes that Jay and others have posted.


Sent from my iPhone using Tapatalk Pro
Exactly. Jay just helped me with a script so I can manage all user data in an external CSV file that I will use for comparing against an inputted PIN number. I was just stuck trying to figure out how to get the input out.


Sent from my iPhone using Tapatalk

Bill
My Plugin: My People

Posted on
Fri Dec 11, 2020 3:49 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Feature Request: ZWave Watcher Triggers/Actions

howartp wrote:
Would this be for the Ring?

I’m looking at building a plugin around all the codes that Jay and others have posted.


Was hoping you might... :D

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Dec 11, 2020 3:58 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature Request: ZWave Watcher Triggers/Actions

jay (support) wrote:
howartp wrote:
Would this be for the Ring?

I’m looking at building a plugin around all the codes that Jay and others have posted.


Was hoping you might... :D

Challenge accepted!

(It’s screaming out for it and falls right into the style of my other plugins - won’t take much tweaking)


Sent from my iPad using Tapatalk Pro

Posted on
Fri Dec 11, 2020 4:24 pm
whmoorejr offline
User avatar
Posts: 762
Joined: Jan 15, 2013
Location: Houston, TX

Re: Feature Request: ZWave Watcher Triggers/Actions

jay (support) wrote:
Was hoping you might... :D
Attachments
Screen Shot 2020-12-11 at 4.21.59 PM.png
Screen Shot 2020-12-11 at 4.21.59 PM.png (40.55 KiB) Viewed 4263 times

Bill
My Plugin: My People

Posted on
Fri Dec 11, 2020 6:47 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Feature Request: ZWave Watcher Triggers/Actions

Screenshot 2020-12-11 at 6.43.55 PM.png
Screenshot 2020-12-11 at 6.43.55 PM.png (672.08 KiB) Viewed 4230 times

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Dec 11, 2020 10:18 pm
whmoorejr offline
User avatar
Posts: 762
Joined: Jan 15, 2013
Location: Houston, TX

Re: Feature Request: ZWave Watcher Triggers/Actions

Wow. I can't believe I never noticed that before. Thank you Jay for pointing that out and thank you Peter for always helping me out whenever I've asked.... even though I haven't shown any monetary appreciation... yet.

Bill
My Plugin: My People

Posted on
Sun Dec 13, 2020 10:34 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature Request: ZWave Watcher Triggers/Actions

Bill / Jay

Can you check out https://github.com/howartp84/ZWaveLockM ... tag/1.0.58

Create a Keypad, put the plugin in debug, then enter a code on your keypad.

It will log the code and the type (Check/Enter, Home, Away, Cancel etc) to the log.

There is also a trigger event defined ("Code entered:") but the code will never fire the trigger yet.

Peter

Posted on
Sun Dec 13, 2020 10:39 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature Request: ZWave Watcher Triggers/Actions

Erm...

I've just tried to install my own plugin from the link, to get my copy properly up-to-date, but it's giving me an error I've never seen before.

(I typically copy my plugin files live over the top of the existing ones whilst i'm editing, so I don't often do an over-the-top plugin install)

"Plugin install error

There is a problem with this plugin. If this error persists, contact the plugin developer
"

There's nothing wrong with the files in the plugin because they're all working when copied manually?

Peter

Posted on
Sun Dec 13, 2020 10:51 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature Request: ZWave Watcher Triggers/Actions

howartp wrote:
Erm...

I've just tried to install my own plugin from the link, to get my copy properly up-to-date, but it's giving me an error I've never seen before.

Ignore me.

Indigo doesn't like my new naming convention of "Lock & Code Manager!"

Sorted and updated.

Peter

Posted on
Sun Dec 13, 2020 11:31 am
whmoorejr offline
User avatar
Posts: 762
Joined: Jan 15, 2013
Location: Houston, TX

Re: Feature Request: ZWave Watcher Triggers/Actions

Upgraded the plugin, put in debug and added the ring keypad as a keypad with the plugin.... It's not seeing the Ring Gen1 keypad (Node 49), but it is seeing the Ring Gen2 contact switch (Node 44) which I added previously as a door lock.
Disarm - away - home
Code: Select all
 Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 DA 81 4B E0 96 31 A7 E3 25 29 C1 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 03 02 03 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 4B 15 68 3A 93 1D 36 95 7A E0 12 C8 9F 02 4A DA B3 67 0E F1 00 1C 13 94 35
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 DA 81 4B E0 96 31 A7 E3 25 2A C2 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 04 02 05 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 12 E7 2C 53 03 EE A1 AB 6F 6D CA C7 F5 25 77 DA 12 E1 3D A5 A2 28 31 95 B3
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 DA 81 4B E0 96 31 A7 E3 25 2B C3 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 05 02 06 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 9E D8 21 E7 6A 5B 81 E4 16 7A 35 BA 57 97 D6 DA 93 0A C4 D7 04 0B EA 46 3B

123456 - check
Code: Select all
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 F2 78 60 FE 17 D3 BA D3 25 F1 B3 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 06 02 00 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 8B 43 E1 D6 E2 B7 EE F7 1F 4E 14 C1 C3 0C 4B F2 24 4F 04 ED E4 DC 72 9A FA
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 F2 78 60 FE 17 D3 BA D3 25 F2 B0 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 12 00 04 00 31 0C 6F 01 07 02 02 06 31 32 33 34 35 36 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 26 00 04 00 31 20 98 81 2F 43 99 65 7F 4B 14 F3 73 60 74 C9 0F 53 51 0A 99 85 FF BC 04 F2 97 04 53 AD 10 9B B9 1A D3


Open/Close Ring Contact Sensor
Code: Select all
   Trigger                         Bill's Gun Safe Open
   Z-Wave Lock and Code Manager Debug Node ID 44 (Hex 44) found in lockIDs
   Z-Wave Watcher Debug            Raw command received (Node 44): 01 0F 00 04 00 2C 09 71 05 00 00 00 FF 07 02 00 5F
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Lock Status Report received:
   Z-Wave Lock and Code Manager Debug Raw:   01 0F 00 04 00 2C 09 71 05 00 00 00 FF 07 02 00 5F
   Z-Wave Lock and Code Manager Debug Node:  44
   Z-Wave Lock and Code Manager Debug Type:  7
   Z-Wave Lock and Code Manager Debug Event: 2
   Z-Wave Lock and Code Manager    Status: Intrusion alert [Node: 44]
   Trigger                         Bill's Gun Safe Close
   Z-Wave Lock and Code Manager Debug Node ID 44 (Hex 44) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Watcher Debug            Raw command received (Node 44): 01 10 00 04 00 2C 0A 71 05 00 00 00 FF 07 00 01 02 42
   Z-Wave Lock and Code Manager Debug Lock Status Report received:
   Z-Wave Lock and Code Manager Debug Raw:   01 10 00 04 00 2C 0A 71 05 00 00 00 FF 07 00 01 02 42
   Z-Wave Lock and Code Manager Debug Node:  44
   Z-Wave Lock and Code Manager Debug Type:  7
   Z-Wave Lock and Code Manager Debug Event: 0


EDIT: Not sure if this helps or not... device definition for the Ring...
Code: Select all
Indigo Z-Wave Version: 7.4.1
Node ID: 49
Model: Keypad (4AK1S70EN0)
Model ID: 01010201
Manufacturer: Ring
Manufacturer ID: 0346
Protocol Version: 6.03
Application Version: 2.14
Model Definition Version: 0
Library Type: 3
Class Name: Entry Control
Class Hierarchy: 04 : 40 : 0B
Command Class Base: 00
Command Versions: 80v1 85v1 86v1 87v1 55v1 98v1 59v1 5Av1 5Ev1 9Fv1 20v1 6Cv1 6Fv1 70v1 71v1 72v1 73v1 7Av1
Encryption Status: Enabled for Commands 80 85 86 87 6C 6F 70 71 72 73 59 5A 7A
Multi-Endpoint Types: - none -
Multi-Endpoint Classes: - none -
Multi-Instance Counts: - none -
Features: routing, battery, beaming, security, frequentWaking
Neighbors: 3, 4, 6, 7, 8, 9, 10, 13, 19, 21, 22, 23, 24, 25, 28, 29, 36
Associations: 1:[1]
Config Values: - none -

Bill
My Plugin: My People

Posted on
Mon Dec 14, 2020 7:51 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature Request: ZWave Watcher Triggers/Actions

Ah, I know what I did.

Try (not sure about this) making a door lock instead of a keypad then trying - my code might prevent that as well but it’s a try till I get back to my desk.

Peter


Sent from my iPhone using Tapatalk Pro

Posted on
Mon Dec 14, 2020 9:07 am
whmoorejr offline
User avatar
Posts: 762
Joined: Jan 15, 2013
Location: Houston, TX

Re: Feature Request: ZWave Watcher Triggers/Actions

As a Doorlock, it did stuff in the log.... but I'm not seeing where it passed the code to Lock and Code Manager.
1234 ✔️
Code: Select all
Dec 14, 2020 at 8:52:47 AM
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 D9 E1 F1 9E C2 42 CA 14 25 F9 0B (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 10 02 00 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 93 4A B7 2F E5 15 2A E4 5F 47 81 10 DF 19 22 D9 B4 17 4B F1 E0 D7 80 97 1B
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 0C 00 04 00 31 06 6F 01 10 02 00 00 FF
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 00
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 D9 E1 F1 9E C2 42 CA 14 25 FA 08 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 10 00 04 00 31 0A 6F 01 11 02 02 04 31 32 33 34 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 24 00 04 00 31 1E 98 81 C4 87 4D C8 4A ED 3D F6 2B 49 B6 2B 79 85 58 33 49 4D ED D9 B8 90 7E 6E 9C 41 18 2C CA
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 10 00 04 00 31 0A 6F 01 11 02 02 04 31 32 33 34 FF
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 02
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs

X
Code: Select all
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 55 D1 43 62 73 07 63 A5 25 FB 17 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 12 02 19 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 05 75 E9 8D DF EF 51 4A AB B5 27 58 65 17 D7 55 EA AF EE 87 FD 66 E9 5A 43
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 0C 00 04 00 31 06 6F 01 12 02 19 00 FF
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 19
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs

Disarm
Code: Select all
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 14 74 D3 FC 51 8A 36 33 25 FC 96 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 13 02 03 00 FF
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 0C 00 04 00 31 06 6F 01 13 02 03 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 66 E9 A9 CF 5A 17 EE 89 8A C7 3D 3D AF FF 71 14 2D C9 00 93 3B 1E 58 61 39
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 03
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs

Home
Code: Select all
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 9C 4E 8F F1 06 6E A1 26 25 FD 45 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 14 02 05 00 FF
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 68 B2 EC CB A1 EE B5 DE 5D 23 24 D3 1B E1 7C 9C A5 ED 30 00 95 D9 8B 5D 41
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 0C 00 04 00 31 06 6F 01 14 02 05 00 FF
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 05
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs

Away
Code: Select all
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 37 C7 07 C4 08 12 B0 61 25 FE FD (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 15 02 06 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 DE 08 4A 71 21 6E B6 9B 63 07 5A 20 73 32 26 37 C0 CC BA E2 F4 00 68 CA 2A
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 0C 00 04 00 31 06 6F 01 15 02 06 00 FF
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 06
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs

1234 Timeout
Code: Select all
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 B0 25 A6 BD 1E DE 6C 37 25 FF 11 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 0C 00 04 00 31 06 6F 01 16 02 00 00 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 20 00 04 00 31 1A 98 81 AA 43 13 4D 66 9F C0 22 51 39 9D E9 4F 2D B1 B0 61 65 FF E0 BC 18 D8 04 59
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 0C 00 04 00 31 06 6F 01 16 02 00 00 FF
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 00
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command sent (Node 49): 01 11 00 13 31 0A 98 80 4E 15 F9 74 92 FD 2A CB 25 01 A2 (True)
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 08 00 04 00 31 02 98 40 18
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 10 00 04 00 31 0A 6F 01 17 02 01 04 31 32 33 34 FF
   Z-Wave Watcher Debug            Raw command received (Node 49): 01 24 00 04 00 31 1E 98 81 12 CF A6 2E 69 E5 DD 72 4C 89 C1 C8 94 F4 6D FA E3 16 48 4E 35 A6 FA FD 6D 23 12 4F D0
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs
   Z-Wave Lock and Code Manager Debug -----
   Z-Wave Lock and Code Manager Debug Keypad entry code received:
   Z-Wave Lock and Code Manager Debug Raw command: 01 10 00 04 00 31 0A 6F 01 17 02 01 04 31 32 33 34 FF
   Z-Wave Lock and Code Manager Debug Node:  49
   Z-Wave Lock and Code Manager Debug Code entered: 
   Z-Wave Lock and Code Manager Debug Event type: 01
   Z-Wave Lock and Code Manager Debug Node ID 49 (Hex 49) found in lockIDs


Side Note: I'm working on my first ever plugin. I'm already on version 0.0.7 and it still throws errors as soon as it enables.... so don't expect to much from me anytime soon.... but I'm trying.

Bill
My Plugin: My People

Posted on
Wed Dec 16, 2020 3:40 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Feature Request: ZWave Watcher Triggers/Actions

Ok, grab https://github.com/howartp84/ZWaveLockM ... tag/1.0.60

whmoorejr wrote:
As a Doorlock, it did stuff in the log.... but I'm not seeing where it passed the code to Lock and Code Manager.

It passed it correctly but didn't display it for some reason; not entirely sure why but i was using someone elses pythonic code that I wouldn't have written. It's now re-written in my style.

whmoorejr wrote:
I'm working on my first ever plugin. I'm already on version 0.0.7 and it still throws errors as soon as it enables.... so don't expect to much from me anytime soon.... but I'm trying.

FYI you don't need to make new versions when you're testing yourself - just edit live, or copy-over, the files on your Mac instead of re-installing new incremented versions every time and reload your plugin. I see in another thread your on version .150 or something!

I do my main editing on my Windows PC then copy the files over \\macmini\1TB_SSD\Library\Application Support\Perceptive Automation\Indigo 7.4\Plugins\....

When i'm debugging errors (because i'm on Windows, not Mac, I don't have debuggers installed) I edit the live version directly from my windows text editor for speed, then copy back to my windows dev storage to zip and upload to github.

Once you're ready to try or share a proper release, that's the point you increment your version and do a proper install to make sure you've not missed anything. (This is a step i'm guilty of missing out, and accounts for several of my buggy versions)

Peter

Who is online

Users browsing this forum: No registered users and 3 guests