WebCoRE Routine to disable “Entry Code On” for RBoy on ST


#1

I have Iris v2 Zigbee keypad and with that I use device handler and SmartApp from RBoy.
Everything works fine. But I would like the iris Keypad V2 to disable the keypad after 3 invalid/bad pin.

I have beeen in touch with RBoy, and they said the only way to do that now is to create a WebCoRE routine. I have never done that so I’m not sure how to do it.

There is one button called “Code Entry On”, I would like after 3 invalid pin codes to set it to “Code Off”. So I wonder if anyone could help me?

I have attached a picture of the “Code Entry On” button


#2

can you see the device in Webcore?
If yes, what are the device commands?


#3

Yes I can see the device.

Not sure what device commands is in this case, but I can see this…

“Commands available to all devices - custom, disablekeypad(…)”

Is that what you asked for?


#4

Yes,
Device commands may or may not work for all devices.
can you test if webcore command disablekeypad works?


#5

I tried this (see below) and it worked fine.
Do you know how to do if wrong PIN is entered 3 times to execute the command disableKeypad?

There seem to be something “invalidCode” so is that the thing I should look for to make a trigger of? If 3 times invalidCode then execute disableKeypad? And how do I do that?

execute
with
Iris Keypad
do
disableKeypad();
end with;
end execute;
Edit


#6

You can create a counter that starts counting INVALIDCODE. Once that variable reaches 3, then disablekeypad part gets triggered.

But i’m so sorry i have never created in piston counter BUT have seen some examples of it.
You can research that and meanwhile I’ll tag @WCmore

I’m sure either him or someone else will jump in on it.


#7

I am a bit short on freetime the next few days, so hopefully someone else can jump in on this one…


Doesn’t RBoy sell that Device Handler?!?

I cannot imagine anyone selling a product, and then refusing to assist you in getting it working


#8

Yes I bought the handler from them, I asked them for this option and they awnserd

“I will pass your feedback to our team. Meanwhile you can need to setup a custom rule in WebCoRE to achieve this.”