Zipato Miny Keypad/RFiD

Hello. I also got this Zipato Keypad and it is working perfect with my Vera Edge running UI7.

Question: Is it possible to tell witch RFID-tag was used? Now I can only tell if someone changed the house mode to “Home” (0) or “Away” (1).

I’d like to create a scene where I receive a notification telling me who (me, my wife, my son ,the cleaner etc) change the mode.

Hello everybody,

I’m a new user with this mini keypad, and for now, it works like it should do; i added 4 users (with different PIN codes) and 4 tags.

Quite easy to do so (running on UI7), simply pressing “Home”, and facing the tag in front of it. Immediately recognized and added.

But now i’m facing some “customization” stuffs, and i’ve looked deeply with our google friend, but without any solution. Hope one of you’ll be able to help me:

I would like to run a luup code when i press “Home” or “Away”. I’ve tried creating a scene like this one, but not working:

EtatClavier is the ID of my keypad.
The command httpstatuscode sends a SMS message. (that command works perfectly elsewhere)

local EtatClavier = 81
local SV_Id = “urn:micasaverde-com:serviceId:DoorLock1”
local EtatSwitch = luup.variable_get(SV_Id,“Status”,EtatClavier)
if (EtatSwitch == “1”) then
local httpStatusCode, content=luup.inet.wget(‘https://smsapi.free-mobile.fr/sendmsg?user=XX&pass=XX&msg=Alarme+activee’)
local httpStatusCode, content=luup.inet.wget(‘https://smsapi.free-mobile.fr/sendmsg?user=XX&pass=XX&msg=Alarme+activee’)
elseif (EtatSwitch == “0”) then
local httpStatusCode, content=luup.inet.wget(‘https://smsapi.free-mobile.fr/sendmsg?user=XX&pass=XX&msg=Alarme+desactivee’)
local httpStatusCode, content=luup.inet.wget(‘https://smsapi.free-mobile.fr/sendmsg?user=XX&pass=XX&msg=Alarme+desactivee’)
end

Also, at this point of investigation, is it possible to REMOVE a sensor from the MODE panel list? Actually i have a motion sensor whis is only used for the lights, and i would like it not to be managed by this panel. And so the 1000? question, is it possible to ADD a virtual sensor in this panel? (i would like to add for example a virtual switch, which will be able to trigger a scene…)

Thanks a lot for your answers!

Fred. (If Pierre reads me, i’m french too, he can contact me!)

I’ll reply to my own post, as i’m investigating how to run luup code when changing Home to Away Mode.

I’ve tried this: (including this luup code in the startup lua code of the Vera, and restart the Vera)

– Set up variable-watch for “Root Device” Home/Away/Night/Vacation
luup.variable_watch(“TriggerScene”, “urn:micasaverde-com:serviceId:HomeAutomationGateway1”,“Mode”, 0)
– Process variable-watch callback for Root Device. Run scene XX
function TriggerScene()
luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “RunScene”, {SceneNum = xx}, 0)
end

And i create a scene XX in which i include my luup code.

I took this idea from here:

http://forum.micasaverde.com/index.php/topic,18679.msg217315.html#msg217315

The idea is to “monitor” the change mode position…

But it does not work…Any idea why?

Fred.

I’m going on, and it works (kind of)!

So unfortunately, it does not work with the information coming from the Vera itself, but coming from the MiniKeypad.

So what i did:

My MiniKeyPad has the ID:81.

I added this code to the startup lua code:

– Set up variable-watch for “KeyPad” Home/Away/Night/Vacation
luup.variable_watch(“TriggerScene”, “urn:micasaverde-com:serviceId:DoorLock1”,“Status”, 81)
– Process variable-watch callback for Root Device. Run scene XX
function TriggerScene()
luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “RunScene”, {SceneNum = XX}, 0)
end

To make it work, you need to restart the Vera, i did it with this (instead of unplug/plug it):

http://ip_address:3480/data_request?id=reload

In my scene XX i added my luup code.

I’m working on some if/then in this luup code to run different things:

As i want to receive a message when the Home button is pressed, and a different when the Away is pressed, i need to check the variable of the Status:

local EtatClavier = 81
local SV_Id = “urn:micasaverde-com:serviceId:DoorLock1”
local EtatSwitch = luup.variable_get(SV_Id,“Status”,EtatClavier)
if (EtatSwitch == “1”) then
local httpStatusCode, content=luup.inet.wget(‘https://smsapi.free-mobile.fr/sendmsg?user=XX&pass=XX=Alarme+activee’)
elseif (EtatSwitch == “0”) then
local httpStatusCode, content=luup.inet.wget(‘https://smsapi.free-mobile.fr/sendmsg?user=XX&pass=XX&msg=Alarme+desactivee’)
end

Hope it will help someone!

BUT: if you use the Vera Web interface, or the android application, this NOT works, as the Status of the KeyPad does NOT change.

Finally…

It’s quite simple to add some code luup to the Home/Away panel mode…

After thinking about my previous post, instead of monitoring the keypad, i decided to monitor one of my security sensors (in my case the main entrance sensor)

So when there is a change on the sensor variable (the startup lua code checks the armed variable), it runs my scene XX.

In my scene, i check if it’s 1 or 0, and send the appropriate message.

So finally, it’s really easy to “link” code luup to the Home/Away panel mode.

The only question i still have, is that is this code luup in the startup lua code uses a lot of ressources of the “CPU”.

But for now it works great, and i can now imagine a lot of other commands linked to this Panel Mode.

Now i’m investigating if it’s possible to set the buzzer of the minikeypad for different modes:

When i press Home or Away mode, i would like an “aknowledgement” of my command with a a dedicated sound.

Pressing Away: an intermittent buzzer (1 second on, 1 second off) during one minute.
Intrusion: intermittent buzzer, but just 5 seconds (to remind to desactivate alarm, and not attract the attention of the intruder)
Pressing Home: a long buzzer of 5 seconds.

If someone knows how to set that, it would be really appreciated!

But i think that i’ll reply to my own post again soon!

Fred.

[quote=“ilias, post:61, topic:182328”]Hello. I also got this Zipato Keypad and it is working perfect with my Vera Edge running UI7.

Question: Is it possible to tell witch RFID-tag was used? Now I can only tell if someone changed the house mode to “Home” (0) or “Away” (1).

I’d like to create a scene where I receive a notification telling me who (me, my wife, my son ,the cleaner etc) change the mode.[/quote]

Hi Ilias,

As i’m working on this, i found a solution for you to get who used the keypad (whatever code or tag used)

You need to get the information from the keypad variables. The one we need is “sl_UserCode”
In my example below, the ID of my keypad is 81.

local Clavier = 81
local SV_Id = “urn:micasaverde-com:serviceId:DoorLock1”
local User = luup.variable_get(SV_Id,“sl_UserCode”,Clavier)
local url = require(“socket.url”)
do
luup.inet.wget(“https://smsapi.free-mobile.fr/sendmsg?user=XX&pass=XX&msg=” …url.escape(User) )
end

With this code i receive a message with the last User who used the KeyPad.

As i’m a beginner, i don’t know how to “extract” the content of the User, as for now it looks like this in my sms message:

UserID=“3” UserName=“Bagde Frederic”

I think that with a little bit of code, “chain” or something like this, it’s possible to extract only “Badge Frederic” for example, as it’s more friendly.

But anyway, it works.

Hope it will help you!

Fred.

Hi guys, again me!!

Well, just to keep you informed that i was investigating on the Panel Mode (Home/Away…) and found an easy solution to “trigger” events, and start luup code, when switching from different modes.

The easy way, instead of monitoring the status of one of my door sensors, is to create a virtual sensor, who will APPEAR in the Panel Mode!!!

So what i did:

Create a device.

Device type = urn:schemas-micasaverde-com:device:DoorSensor:1
Description = Virtual_Sensor
Upnp Device Filename = D_DoorSensor1.xml
Upnp Implementation Filename = S_SecuritySensor1.xml

After that, your device will be created, and will appear in the Mode Panel like by magic!

You will need to add a variable (in device settings):
New service: Variables
New variable: Armed
New value: 0

And then you will be able to launch a scene from this value…

Hope it will help too!

Fred.

I don’t have the keypad yet but thinking about getting one.

Why do you need a virtual device? Won’t the keypad show up as a device of its own in Vera?

Hi Freddan101,

Yes, the keypad shows up as a device.

The virual device was a way to launch scenes when you move from a mode to another one (home to away for example) using the webinterface or mobile appli.

For now, it seems to be that it’s impossible to “read” the status of the “root” Vera.

For example, if you press “Home” mode on the webinterface (or your mobile application) that will not change the status of your keypad (if you prefer, the parameters of your keypad are not “linked” to the vera root process…)

So the way to interact with it is to create a virtual device, who will appear in the mode panel, and its status will follow the changing mode. Then you only need to “survey” his status via a watchvariable.

Hope it makes sense…

I’m still waiting for help to set different beeps on this keypad. Any howto??

Thanks,

Fred.

Can’t you use PLEG and “My Modes” to detect the change and trigger an action, like setting the keypad in Home/Away mode?

Hi Freddan101,

Actually, i’m not as good as you may think, and my question is…what is PLEG??

But anyway, if you find a way to detect the change in “my modes”, anything else is then possible, like changing the “armed” status of the keypad or whatever.

The main thing, is to detect that change. If you can explain me the PLEG thing…

And if you find (still wait!) a solution to set different bips on the keypad, i would appreciate!

Fred.

PLEG is a plug in. I think it is an acronym for Programmable Logic Event Generator. It is a powerful mechanism for creating complex triggers and actions. You can download it free for a while but I heartily recommend playing for it. You won’t regret it. Richard Schaeffer (sp?) is the developer and is very active on the boards.

[quote=“fepalmytho, post:71, topic:182328”]Hi Freddan101,

Actually, i’m not as good as you may think, and my question is…what is PLEG??

But anyway, if you find a way to detect the change in “my modes”, anything else is then possible, like changing the “armed” status of the keypad or whatever.

The main thing, is to detect that change. If you can explain me the PLEG thing…[/quote]
PLEG is a very powerful plugin. I use it for all “intelligence” in Vera and don’t just the standard “Scenes” at all.

Have a look here: http://forum.micasaverde.com/index.php/topic,12759.0.html

I just installed the Zipato Keypad on my Vera Plus. It included without issue as a generic z-wave device. Adding the key fob or pin codes is a simple matter using the device page.

In use, when you trigger the home scene it changes immediately. When you trigger the Away scene it institutes a 30 second delay. If you are on the Vera Plus dashboard web page you can see the delay starting and there is a button there to cancel the command if you wish.

I set the keypad up as a trigger in a scene to unlock my front door and it works like a charm.

I was hoping to use some HID brand keyfobs and prox cards that I have, but wasn’t able to add them. I assume they work on a different frequency or use some type of encryption. I will look around to see if I can find some cheap fobs. If anybody has a lead on some, please let me know.

Being battery powered, you have to press either the Home or Away buttons to wake up the device before entering a 4 digit pin code or using the fob. I would have liked to have the option of using an external power supply instead of the 2 AA batteries so that it would be awake all the time and I could just wave the fob in front of it, the way you do with the professional RFID entry systems. I may eventually upgrade to a proffessional rfid reader but this works and was very simple to implement. The batteries allow it to be installed wherever it is most convenient.

I was pleasantly surprised that even though this is a battery powered device, I didn’t get the dreaded “Can’t Detect Device” error during the overnight heal. I still have one of these errors on an Aeotec Recessed Door Sensor.

-bob

I ordered some cheap RFID key fobs from China to see if they will work. Then, while doing some spring cleaning I found a Cisco Connect Cloud “Simple Tap” RFID card that you use to automatically link your Cisco router wifi password to your NFC capable cell phone. On a whim I tried and was able to add it to my Zipatio keypad.

-bob

Can anyone please let me know if it’s possible to REMOVE a registered RFID tag from the Mini Keypad ?

Situation - kid/cleaner/wife has lost their keys with the tag on it, I’d want to disable that tag before re-issuing another.

Thanks in advance

Hi dmckenna,

Yes, you can delete a PIN code or an RF badge very easily by going to Devices>RFID>Pin Codes>. On that page you will see all of the badges and PIN codes in the system and by clicking on the trash can next to the one you want to remove.

-bob

So noobie question here - so sorry if this has been covered earlier. I’ve got one of these at my front door, and it works great to change from Home/Away mode. What I’m looking for now is to use the same device upstairs in the master bedroom. However, I want the “Away” button to activate the Night mode. I can’t figure out how to change the default activity of this device - can anyone help?

Alternatively - maybe there is a better way to do what I’m looking for. I need something easy for the wife to be able to activate night and home mode from upstairs. She has the app(s), but using a phone is just not working well. We have a minimote, but that keeps getting misplaced. I liked this because it didn’t require hardwiring power and I could mount it to the wall. But maybe I’m missing an easier solution? Thanks in advance!

So noobie question here - so sorry if this has been covered earlier. I've got one of these at my front door, and it works great to change from Home/Away mode. What I'm looking for now is to use the same device upstairs in the master bedroom. However, I want the "Away" button to activate the Night mode. I can't figure out how to change the default activity of this device - can anyone help?
+1 I would also like to know if it is possible.

My initial suggestion would be to:

  1. Install the house mode app on your vera.

  2. Create two scenes, one scene that uses the house mode app to change to night mode and one scene that changes the house mode to home.

  3. Have something else / some other device toggling that scene, i.e. if night mode is active and a button is pressed, then run the “change to home mode”-scene and vice versa.

What that other device is up to you. A light switch, that remote stuck on the wall etc.