Define Unlock condition either by keypad or manual key

conditions
lock

#1

Hey there, this will be my very first attempt with webcore, trying to get some light switches to turn on when my back door is unlocked from the outside, either via keypad or by key.

Not really understanding how to setup the condition. For “what to compare” I’m not sure whether I should choose “codeunlock” or “lockstatus”, and don’t see an option to define a key unlock…

And then for “what kind of comparison”, if I chose “codeunlock”, what do I select? “Changed” maybe? “Is”?

Some guidance would be appreciated!

BTW:
-Schlage BE469
-Leviton DZ6HD-1BZ


#2

Open the ST IDE with 2 tabs. In one you will want live logging. In another go to My Devices and select one of the devices. You will be able to see current States. Take note of what those are when the door is closed. Then go open the door via different methods. Take note of what the states are changing to. You will also have all this logged in the Live Logs tab. With all that information you will be able to better know how to make comparisons. We will also be able to assist better with that info. Otherwise we are shooting arrows in the dark trying to hit an apple on your head. Give us some light!


#3

Hey, so here’s the live log of the lock locked, and then entering my code and it being unlocked…I’m not exactly sure what I’m looking for or how to translate that into a webcore condition.


#4

usedCode: 1, type: keypad


#5

Honestly I’m so new to this, I get that what you’ve given there is in some way what needs to be input into webcore but those terms aren’t matching up with the options I’m given when creating my condition.

There’s so many boxes to fill in here I have no clue which to choose.


#6

Give me a screenshot with the capabilties you have available. The drop down that says lock


#7


#8

usedCode is not an option?


#9

No. I believe usedcode is just specifying which code was used to enter, because I did in fact use code 1 to unlock it in those logs.

I think I have to select “lock” for that box, and it is in the following “comparison” fields that we have to identify the keypad or manual key operation.


#10

You should create a piston that when it executes log all those different values to the console. Then you can see what it is outputing


#11

How do I do that?


#12


Import this and then continue to add in more actions like I did. Any possible capability you can.


#13

ok stupid question, but webcore is telling me there is no way to import pistons?

I guess I can just copy what you did there, and then add the rest of the capabilities?


#14

It’s a bit of a confusing thing. Use restore from backup code.


#15

got it, do I add additional statements inside that bracket or make each one separate?


#16

Correct. Just continue to add them one after another right below the one I did


#17

where will this log info be?
and what do I even do with this page once I finish inputting the capabilitities! Ive never created one of these before


#18

Click on save. Then it will display in the logs section


#19

So I managed to get this to do what I want, but now I’m getting sporadic “lock jammed” notifications, and, the lights keep turning themselves back on seemingly because the door remains unlocked?

Hopefully I’ve simply left an important “ending” code out here?


#20

Use set level instead of adjust level. I am unaware of the jammed messages. Also without logs I can’t tell you about what is going on.