Hi everyone - I'm new to the ISY, Z-Wave and the forum. I've had an ad-hoc Insteon setup for years and have been quite pleased with its functionality.
Though I recognize the endless possibilities of the ISY and HA in general, my initial goal in getting the ISY (994iZW) was very modest - to add functionality to a z-wave deadbolt without getting a Nexia controller and sub.
Relevant Equipment:
Schlage BE-369 (non-motorized deadbolt)
KPL - 6 Button
ISY (Obviously)
My goals are:
1. Notify upon unlock (via email or sms) with user id
2. User specific triggers upon unlock - Hall Lights on for User 1 (as an example)
3. Light specific KPL button upon unlock.
I could write a novel about what I've discovered and break this into at least 3 posts but I want to try and keep it concise for now - That is going to be a challenge.
The short story is - I have been unable to completely accomplish any of these.
First, discovery and config were a snap. Everything, both Insteon and Z-wave appear to have been properly discovered.
My first issue is the nature of the non-motorized deadbolt. The first thing I did was create a program that...
If unlocked via user code 1, send notification and turn on light. Here's the first issue.
Unlike what I've read in the forum previously, my state and control are backward. (for me, state is 'unlocked' and control is Access Code - that's okay, but different behavior than most have already experienced. Here's the issue.
Since I had a condition for both state is unlock and access code=1, it always failed and I couldn't figure out why. Turns out that since unlock isn't automatic, these can never fire together. When a user enters their code, that condition immediately triggers as true but the lock always shows as locked so that condition is always false. By the time the user turns the bolt and changes state to unlocked, the condition has completed so ultimately fails.
So, that's unfortunate - I removed the unlock state condition and it works but entering a code doesn't always equal unlocking. If a user enters a code (though not necessary) upon exit to lock the door after leaving, this also triggers the same condition. Not sure how to fix this as I am not aware of a conditional delay, only an action delay.
So, I decided to just send a notification if state=unlock with variable showing user id, but I am unable to do this either. The notification fires okay, but I cannot for the life of me figure out the variable.
In previous posts, it has been stated to use the variable ${sys.node.#.USRNUM} - Easy enough I thought so I simply used that as is with no success. I have since realized (I believe) that the # should be changed to my actual node which also didn't work. After looking through the event viewer, I noticed that my schlage doesn't report USRNUM but UAC so I used that with no luck. I have done every iteration I can think of with no success. I hope I'm simply formatting the variable incorrectly. Here are some examples of what I've used.
${sys.node.#.USRNUM} - ${sys.node.#.UAC} - ${sys.node.ZW003_1.USRNUM} - ${sys.node.ZW003_1.UAC} - They all show as blank in the email body.
So I abandoned that and decided to do something super simple - Light up a KPL button upon unlock. This has so far turned out to be the most frustrating attempt so far.
First, I simply added both to a scene hoping one would be a controller and the other a responder, but my first issue is that is appears that the lock cannot be a scene controller, only a responder so I created a program.
Then I found out that one cannot set a KPL button directly via program, that it must be done through a scene but I cannot for the life of me create a scene that uses the button as a responder that allows the scene to be chosen as an action in a program. I could go into more detail but I have gone on long enough.
So, after all of that, my questions are...
1. Can one set a wait statement in a condition? Am I missing a way to use both an unlock and user ID in my condition?
2. How does one add a User ID from a Schlage lock as a variable in an email?
3. How in the world does one light up a KPL button via z-wave device OR how does one include a KPL button in a scene that allows it to be actionable in a program.
Also, any additional thoughts on any of this would be helpful. It's both fun and frustrating to be a noob at something. I can't wait to become more experienced and begin contributing to the forum! Thanks-