Author Topic: Zipato Miny Keypad/RFiD  (Read 28342 times)

Offline mrhex

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +2/-0
Zipato Miny Keypad/RFiD
« on: August 06, 2014, 06:07:21 am »
Zipato Miny Keypad/RFiD
Is it supported in vera lite?

http://www.smarthomesd.com/products/zipato-mini-keypad-rfid-z-wave

Looking for a @the door controller for a alarm scene, and this one looks sweet, w a visual representation of armed/not armed etc. and it wont ruin my aither.

FW: 1.5.672

edit: i read on the net that it had certain issues with fibaro hc2, but have no idea about Vera lite.
It would be excellent if it worked.
« Last Edit: August 06, 2014, 07:04:51 am by mrhex »

Offline intveltr

  • Hero Member
  • *****
  • Posts: 1668
  • Karma: +92/-5
Re: Zipato Miny Keypad/RFiD
« Reply #1 on: August 06, 2014, 01:15:18 pm »
I have one if these (same unit, different brand). It can be included by Vera and shows up as a lock, which can be locked and unlocked from the keypad. However I have been unable to send it the command to associate with the RFID tag.
HomeWave is available in the App Store!  Turn your iPhone/iPad into an easy-to-use remote control for Vera.

Offline mrhex

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +2/-0
Re: Zipato Miny Keypad/RFiD
« Reply #2 on: August 06, 2014, 08:10:46 pm »
I have one if these (same unit, different brand). It can be included by Vera and shows up as a lock, which can be locked and unlocked from the keypad. However I have been unable to send it the command to associate with the RFID tag.

So home and away will show up as a locked and unlocked state, what about the LED will it depend on that or can you set status of the LED yourself? ie a delayed arming scene etc.
I found a manual after long search. Would be excellent if i could get my hands on one to try it out, and see if i can see the different device status values. Such as USER_CODE and ALARM_REPORT and if it possible to send commands such as USER_CODE_SET.

See that Manufacturer are Wintop or http://www.benext.eu/en/products/

Efter all all i want is a slightly more secure scene controllet anyhow :)

Going to see if local retailer can allow me to try one out.
« Last Edit: August 06, 2014, 08:31:20 pm by mrhex »

Offline mrhex

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +2/-0
Re: Zipato Miny Keypad/RFiD
« Reply #3 on: August 13, 2014, 04:12:56 pm »
Got my hands on one, but cant figure out how to match program in a tag in the reader. how to set the different classes.

ie CLASS: 0X63 COMMAND_CLASS_USER_CODE

I managed to set a pin code 4-8 adigits via VERA interface. But cannot figure out howto add a RFiD tag.
It works basically as i want it to work, however the reason i got it is RFiD, not to input a keycode, just simply holding up the tag to arm/disarm.

It seems Zipato can learn put the device in learn mode. and u can set a UID for the tag. ie "mrhex", meaning you could output the UID value via ie PLEG to a sonos system. for example.

Anyone fiddled with it any?

Offline kielclaas

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Zipato Miny Keypad/RFiD
« Reply #4 on: August 13, 2014, 04:23:48 pm »
Did you try the manual postet in reply #5 her: http://forum.micasaverde.com/index.php?topic=15309.0

Claas

Offline mrhex

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +2/-0
Re: Zipato Miny Keypad/RFiD
« Reply #5 on: August 14, 2014, 08:22:44 am »
Excellent pointer there, thanks a bunch. Guess what i even looked at the RFiD plugin in the apps section butn ever realised.

Thank skielclaas i looked for zipato mini keypad never tried to search for benext on forums.

EDIT: Apparently that guide is nowday incorrect, the correct app is TAG READER in APP STORE.
And you can only add one tag to the device, becuase any tag you add will be #1 Code 1 ().

Meaning if you add one tag, then add another, tag2 will overwrite tag 1. attaching the guide i found to this post. which is a real dissapointment. afaik you can add a UID to your codes according to the manuals of the wintop/benext/zipato.
« Last Edit: August 14, 2014, 10:38:48 am by mrhex »

Offline LG

  • Sr. Newbie
  • *
  • Posts: 42
  • Karma: +2/-0
Re: Zipato Miny Keypad/RFiD
« Reply #6 on: August 14, 2014, 12:31:55 pm »
Once the iRFiD plugin installed and the first RFiD tag associated, What's happen if you try to create a new plugin instance and try to associate it with a second RFiD tag? (I've a Benext keypad but no RFiD tag to make this test)

Offline mrhex

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +2/-0
Re: Zipato Miny Keypad/RFiD
« Reply #7 on: August 14, 2014, 03:54:53 pm »
Once the iRFiD plugin installed and the first RFiD tag associated, What's happen if you try to create a new plugin instance and try to associate it with a second RFiD tag? (I've a Benext keypad but no RFiD tag to make this test)

I dont think it will work, unless it is possible to change the plugin itself. Because i am guessing it is the plugin itself that sets the UID + the RFiD tag code it read.

This is what i read in the BENEXT manual for the keypad.

Quote
After sending a User Code Set, including a unique User Identifier (UID), the in-use state (0x01) and the Tag code or keypad sequence using ASCII codes, the Tag Reader will accept the codes and notify any other device using the Alarm command class.
This other device can be configured using the Association command class and is typically the same controller or Gateway. When a tag or code is not known to the Tag Reader, it will send an unsolicited report to the devices in its association group with the UID 0x00. The value in this message can be used to configure new tags.

So if i understand what happens is, is that the TAG READER plugin, listens to the KEYPAD device  instance in vera. as you point the plugin to that device #nr.
When you press "HOME" on the keypad and swipe the tag, the keypad dont recognise the tag, sends the code to the device in vera with the UID 0x00, the TAG READER plugin trigger the device to program in code slot #1 with UID "Code 1 ()" and the TAG?s unique code.

So i am guessing basically the plugin itself has to be rewritten to send another UID and code slot. OR even better if the plugin were proper it would query the device for the next empty code slot. As the diagram in the attached PDF shows on page 10 diagram of the manual here.
http://www.benext.eu/en/products/tag-reader/
(pdf is to large and i cant compress it to attach)

The _iRFiD device can input codes and will fill codes from 1 and upwards infact all the way up to 255 basically. Shouldnt the same work with RFiD tags?

I dont have the vera luup skills myself to make a proper plugin unfortunately.

Zipato fully support this device, there you can add as many tags as you wish basically, just as i mention above you can send a UID + code with the command. So i think it is first veras support for the device. secondly the plugin which is kind of a "fix" for lack of support for the RFID part of the device. Which isnt quite doing what it could do.

I am looking at the luup script of I_iRFiD.xml atm but i dont quite understand how it takes code slot #1 and sends UID "Code 1 ()".

I ill put some time into it this weekend again, getting jelly brain atm :) Been at it for 8 hours with short dinner break.
« Last Edit: August 14, 2014, 05:57:18 pm by mrhex »

Offline kielclaas

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Zipato Miny Keypad/RFiD
« Reply #8 on: August 19, 2014, 06:22:03 pm »
In UI7 it seems that the ActiveRFID-App did not work.

There is no "learn" Button.

Claas

PS: I will be back on UI6. Who will give me an URL?
« Last Edit: August 19, 2014, 06:24:20 pm by kielclaas »

Offline stef3569

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Zipato Miny Keypad/RFiD
« Reply #9 on: August 27, 2014, 09:56:17 am »
Hello,

I will have my reader tomorrow but I already had a look on the plugin lua code and I think this is quite easy to understand (if you know some basics on ZWave protocol and lua of course  :) ) :

1.
Code: [Select]
local fh = io.popen("tail -n 1000 /var/log/cmh/LuaUPnP.log | grep '^42'", "r")Means reading the log file and looking for lines beginning with "42"

2.
Code: [Select]
line:find("0x63 0x3 0x0 0x0", 1, true)Means looking for sequence 0x63 0x3 0x0 0x0 in the found lines. Having a look on Zipato/Benext doc, we see that this is a Zwave User Code report (the keyboard/tag reader send a report for each codes or tags). This report contains the unknown tag of course.

3.
Code: [Select]
sdata = "0x63 0x1 0x1 0x1 "..table.concat(tdata, " ")
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", { ["Node"] = luup.devices[device].id, ["Data"] = sdata }, 1)
The ZWave sequence 0x63 0x1 0x1 0x1 with the previously received tag is send to the device. This sequence is a ZWave User Code set. The exact meaning is command class User Code (0x63), command Set (0x01), User Identifier or UID, this is the value we have to change for several tags (0x01) and code status (0x01 means occupied).

So, in summary, we can probably do the job !

I think I will first test the functionality "manually" (the plugin modification will come later) :
1. tag on the reader => new line in the log with the tag code value
2. Creating lua code to send : 0x63 0x1 <uid> 0x1 xxx xxx xxx xxx ... with <uid> the code number we want and xxx the tag value copied from the log file

I hope this will work but I think it's not so hard :-)

Regards

Offline mrhex

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +2/-0
Re: Zipato Miny Keypad/RFiD
« Reply #10 on: August 27, 2014, 03:10:11 pm »
Sounds very exiting, that would indeed unlock what this little device can do.

Holding my thumngs, gj ^^

Offline stef3569

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Zipato Miny Keypad/RFiD
« Reply #11 on: August 30, 2014, 04:08:47 am »
Hello,

Some news from my Zipato mini keypad investigations :

1 - From LUA code, now I can read all registered codes and free indexes in the keypad :
- command to send is : 0x63 0x2 <index> where <index> is the index in 0x1-0xff (ex : 0x63 0x2 0x4 to request the 4th code)
- if index is free, received answer is 0x63 0x3 <index> 0x0 (ex : 0x63 0x3 0x4 0x0 means the 4th place is free)
- else received answer is 0x63 0x3 <index> 0x1 <code in ASCII> (ex : 0x63 0x3 0x4 0x1 0x31 0x32 0x33 0x34 0x0 0x0 0x0 0x0 0x0 0x0 means the 4th code is '1234')

2 - From LUA code, now I can set what code I want, at the index I want in the keypad :
- command to send is : 0x63 0x1 <index> 0x1 <code in ASCII> where <index> is the index in 0x1-0xff (ex : 0x63 0x1 0x5 0x1 0x31 0x31 0x31 0x31 to set the 5th code to '1111')
- of course, it also works for tag codes. ex : 0x63 0x1 0x6 0x1 0x8f 0x8d 0x47 0xca 0x0c 0x0 0x3 0x5 0x0 0x0 to set the 6th code with the rfid tag "0x8f 0x8d 0x47 0xca 0x0c 0x0 0x3 0x5 0x0 0x0"
- to verify : read the pin code using the previous method, or type the code on the keypad, it should lock/unlock the device on Vera UI

Remark : remember that the commands sent to the keypad are taken into account by the keypad only at wake up time ! The simpliest way is to type a code on the keypad just after sending the command, the keypad wakes up and takes the commands.

So, I think we have all what we need to make a good plugin !  My idea is to : we should be able to read all index/codes and present the result, then we can change "manually" one code or add one at a free place or launch a "learn" session (like in the current plugin) and type the code or put the rfid tag on the keypad.
I will work on that asap but I don't have so much free time.

Regards
Stef3569


Offline lemrock

  • Full Member
  • ***
  • Posts: 177
  • Karma: +6/-1
Re: Zipato Miny Keypad/RFiD
« Reply #12 on: September 04, 2014, 10:01:21 pm »
I just bought one of these Zipato RFID devices. It shows the  manufacturer as Wintop. My question is about the actual number of user codes that can be used. My device has 4 buttons (1 thru 4) available for user code numbers. But if you look at the attachment there are some versions I guess that have 1 thru 9 available using these 4 buttons. Which is correct?

Offline stef3569

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Zipato Miny Keypad/RFiD
« Reply #13 on: September 09, 2014, 05:45:36 am »
When I bought mine, I also see this in the documentation but I was not able to generate 5,6,7,8,9 or 0 with the keypad...
To answer your first question, when requesting the keypad via ZWave, it answers there are 255 places inside to store codes.
("Codes" means tags + user codes of course.)

Offline lemrock

  • Full Member
  • ***
  • Posts: 177
  • Karma: +6/-1
Re: Zipato Miny Keypad/RFiD
« Reply #14 on: September 09, 2014, 05:07:05 pm »
Thanks.

I didn't see anything about the 256 in any of the documentation. But it  is just a math problem. If a number can be used  several times in a sequence (4144, 2132, 1111, etc), then it will become 4 x 4 x 4 x 4 = 256 combinations. But if the number only can used once, than the answer is 4 x 3 x 2 x 1 = 24 four digit number.