SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#1 Post by tozett » 02 Jun 2016, 22:40

I need help.
i have a brandnew x660 fingerprint from aliexpress (https://www.google.de/search?q=x660+fingerprint)

i assumed, that the wiegand protocoll would give me the ID of my fingers from the fingerprint.
i learned through the wiki, to use GPIO 0 and GPIO2.
i configured this in the ESPEASY, but i dont see any event.

my question (to the devs?):
is the wiegand26 input _only_ for the specific-reader from the wiki with rfid-tags? (http://www.esp8266.nu/index.php/RFID)
or could the ESPeasy read 'generic'?-wiegand with my fingers from the fingerprint-reader?

i am a little unsure, how to proof, that wiegand is coming out of the (chinese) fingerprint ,
i tested the level-shifter, (this one: http://electronics.stackexchange.com/qu ... conversion),
with putting 5V in on chan1 and chan2 and connected this with two GPIOS on the ESPeasy and led an LED flash. that was working.
what is a good/easy method to see/test (what) wiegand26 protocol coming out of the fingerprint reader.

any help greatly appreciated...
thanks a lot..
Last edited by tozett on 13 Jul 2016, 19:15, edited 3 times in total.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#2 Post by tozett » 02 Jun 2016, 22:50

i thought over it, and i found i have no clue if how i need to connec tx/rx for Wiegand D0/D1 through the level shifter...
i have actually only on the 5V side coming D0 (wiegand) in on RXi, and coming out on the 3.3 to the esp-easy.
the same with D1 (wiegand).
that gives me only input from 5V to 3.3V on Chan1 (D0) and Chan2 (D1)

do i need a back-channel somehow?

maybe like D0 on RXi (5V)->RXo(3.3) and D1 on TXi(3.3V) -> TXo (5V) ?


heeelpp, please... i am a noob...

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#3 Post by tozett » 02 Jun 2016, 22:56

ok, google. thanks for that:
In Wiegand 26 / Wiegand 34 / Wiegand 36 and all other Wiegand protocols used 2 wires (D0 and D1) to connect reader to MCU.

In standby D0 and D1 connected to VCC(+5V). All data from reader goes in binary format - If reader transmitting 0, it connecting D0 wire to ground for 20-50mks then connecting back to VCC and waits for 2ms before sending next bit. If goes '1' - D1 will be connected to ground fo 20-50mks and so on.
If no change in lines for more than 2ms - transfer complete.
http://zps-electronics.com/eng/docs/wie ... eader_avr/

so my wiring seems like it should....i will try to measure 5v in standby...
and the site says, the wiegand-protocol is a standard format 8bit(facility)+16bit(card-id)+2bit(parity)=26bit

------edit:
my voltmeter showed 2.6v on D0 coming out of the fingerprint-reader
and 1.9V on D1, coming from the fingerprint-reader.

may i dont need the level-shifter?
or is my voltmeter to slow? do i need an oszi? hhhhmmmmm

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#4 Post by tozett » 03 Jun 2016, 17:18

another day later...
i have blown two of my wemos with 12v per incident,
my volmeter slipped and made a short...

i checked the level-converter: the diagram fooled me.
i measured 5V in on RXi, but on the Low-Volt-Side i measured 3.3 on TXi
so it must be RX-TX from High-Volt to Low-Volt.
i fooled myself: ? but this stated, that everythin is correct, flowin 5V to 3.3V vom TXi to TXo
https://learn.sparkfun.com/tutorials/us ... -converter

that means, there are 5V on the wiegand D0 and D1 port,
like the protocol says, when there is no activity. this is correct.

if i measure the voltage on the D0 and D1 pins, i measure 3.3 and 1.6V as before,
BUT, if i press the wires to the volmeter-tips:
the black to ground with the left hand,
and the red to D0 with the right hand, ---> traraahhh
the voltmeter shows 5V....
What am i doing wrong? all?
or the reader is crap?
Help needed...

there is no activity on finger or rfid-key on the espeay...
may i need an oszi?

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#5 Post by tozett » 03 Jun 2016, 18:04

anybody here?...ok diary... :lol:

i have another fingerprint-reader from china...to check against...
i wired 12v+gnd, and measured D0 and D1 with 3.3V....

shouldnt it be 5V for wiegand?
or my voltmeter is broken?
or is the reader output on D0/D1 logic-level?

hmmmm, google, may you help me?

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#6 Post by tozett » 03 Jun 2016, 19:07

i searched and think:
if the fingerprint wiegand d1/d0 had logic-level of 3.3v,
my setting with the mosfet level-shifter may distroyed the 3.3 side?

because the level-shifter needs 5V on the high-volt side, which had maybe be gone into the 3.3 logic of the fingerprint-reader on wiegand d0/d1?

dont know, but found, that wiegand really could be also 3.3v...
http://www.rhydolabz.com/wiki/?p=9134
Attachments
wiegand.png
wiegand.png (51.39 KiB) Viewed 43824 times

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#7 Post by tozett » 04 Jun 2016, 11:40

another day, another idea...

i ordered a simple oszilloscope, DS201, to see if i can see something more,
and meanwhile i think about logic-level, and if i use a voltage divider instead a level-shifter...

https://learn.sparkfun.com/tutorials/logic-levels
http://electronics.stackexchange.com/qu ... 7892#97892
Attachments
logi.png
logi.png (55.51 KiB) Viewed 43796 times

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#8 Post by tozett » 04 Jun 2016, 17:24

my soul could not sleep...

and i succeeded: i searched the web, put the fingerprint on an saintsmart uno (5v tolerant inputs, i guess),
tried one failure sketch, a second failure and than: a third sketch from 2011 with sucess!!!
:mrgreen: :mrgreen: :mrgreen: :mrgreen:

now i have to dig, why ESPeasy wont do this...

:arrow: :arrow: :?: :?:
Attachments
success.png
success.png (74.01 KiB) Viewed 43786 times

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#9 Post by tozett » 04 Jun 2016, 19:16

i am happy, another sketch working.
i found the arduino-wiegand-library _not_working
but this sketch working succesfull. great
now (as i am no developer) i have to check, if the code has some hints for the espeasy firmware,
or if i have to stuck with an arduino (+espeasy)...?
Attachments
wiegand.stack.png
wiegand.stack.png (46.05 KiB) Viewed 43778 times

the cosmic gate
Normal user
Posts: 102
Joined: 14 Nov 2015, 20:17

Re: Wiegand26 input from Fingerprint - not RFID Tag

#10 Post by the cosmic gate » 06 Jun 2016, 21:17

Interesting project !

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#11 Post by tozett » 07 Jun 2016, 08:45

thanks,
now that i prooved to myself it is working,
i google for easy and foolproof level-shifting from weigand 5v to espeasy 3.3 volt.
it seems that the 74xxxCMOS logic ICs could do...i will report.

i checked the wiegand code in espeasy and it seems to work like on the arduino/nano with falling edges on interrupt.
so i think i must work with levelshifting and espeasy... we will see..

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#12 Post by tozett » 13 Jul 2016, 19:00

an adventure ended here:
the 74HC4050 are only uni-directional level-shifter. it could have worked, but i failed with these ics again.
than i went back to my nano and the wiegand-sketch. this worked.
i could send to UDP, after tryout of different libraries for the ENC28j60 Ethernet ship.
one had CC on pin 10, the other on pin 8. i sorted this, tried different sketches, added a UDP.header and could send via UDP.
ok. than i tried to send also via MQTT, but the libs for the ENC28J60 are 5 years old. the nanode-lib has mqtt, but no udp-send.

i went back to my espeasy and had the idea of using the nano as a extender to the esp8266.
the nano has 5v, the esp8266 has3.3v, so i needed a level-shifter again for i2c communication for the extender.
i looked again at my level-shifter, found a new hint about bi-directional transfer 5v-3.3V on TXI-TXO (both outer pins on my pcb).
i gave it another try to use the fingerprint with the wiegand-out (5V) and the bi-directional level-shifter pins to the esp8266 on my gizwit-board.
(i put in addtion to the mqtt some rules for udp-send in the espeasy, hoping i could terminate the udp-send string with special characters in future firmware...;-))

BINGO! it works!
Last edited by tozett on 13 Jul 2016, 19:10, edited 2 times in total.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Wiegand26 input from Fingerprint - not RFID Tag

#13 Post by tozett » 13 Jul 2016, 19:07

level.png
level.png (236.09 KiB) Viewed 42520 times

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#14 Post by rtenklooster » 17 Jul 2016, 18:41

@tozett
Nice item :D
Can you tell me how it's preforming? Is the fingerprint scan preforming well?
How does the fingerprint part works? Does it hashes a scan and returns a x digit unique code on the wiegand interface, or does it returns a 1 on the lock port when a valid fingerprint has been scanned?

I'd like to replace my simple wiegand rfid reader by this reader, but i want to control when the lock is open and when it's closed.
Of course i can still use my old RFID tags, but i would love to combine it with fingerprint, and my doorbell is broken, so this seems a great upgrade of my perfectly working system to me. I don't expect i have to change my code, because it's using / working with wiegand already.

It is stable, and working for over 2 years now without failing even once :)
Richard - Groningen (NL) - Image

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#15 Post by tozett » 17 Jul 2016, 19:22

hi,
thanks for interest. all works well with the espeasy (wating for bugfix for different IDs from TAGs from MQTT/LOG and SendToUDP :oops: ), before i mount it on the door. i wanted to do this today, but i wait...

but the fingerprint reader is fast and (as far as i can tell) reliable. it reads 4001-chips SUPERfast, sends all allowed! tags and fingers out of the Wiegand-interface (maybe all unallowed? didnt noticed yet..)

i have another fingerprint for more than 2 years at our door at home. bought it as a "sebury f007", (manual,german) sold as differnt brand everywhere on the net ali-**. this old one reads only after two tries. the finger must be warm, and blowing air from my mouth on the finger helps all the time.

but the new one works instantanly correct and fast. i bought two different models with wiegand-output at random on aliexpress, i want the finger-code on my homeserver. i must try the other model, too. no time yet. on my homeserver i check, if a finger/tag has accesstime for a certain door.
maybe it is as with every fingerprint, you must put your finger correct on the reader-display. but the new one seems very good for around ..40EUR.. find it here on aliexpress, as long as it is sold. there is a wiring diagram and the one-sheet-manual. i dont had more in the package.

your other questions:
it returns (what seems normal, i am new to this) the usual wiegand-information for finger/tag. that is facilty-code/ID -> means finger-id/tag-id on the wiegand.i looked all up wiegand-format on the net, as it was not working with my level-shifting. especially here and here.

finger and Tag's (i think) must have been read-into the reader (up to 3000), than it sends them on a finger-tag access out on wiegand (and via espeasy on the wlan. means, that i must enable all finger/tags before on the reader, than i get them over wiegand/lan on my homeserver to unlock. works for me, because i manage access-times on my gira-homeserver (took some time to implement, i attach screenshot.. ;) )

maybe worth copying some ideas from my screenshot? i have timers with one-shot opening, group-access over single-access, 8hrs validity for ... :mrgreen:
Attachments
Zwischenablage02-keymatrix2.png
Zwischenablage02-keymatrix2.png (94.68 KiB) Viewed 42505 times

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#16 Post by rtenklooster » 17 Jul 2016, 20:10

Wow, thanks for your fast - and helpfull reply.
I think i understand how the reader is working now, first you "learn" new fingers, by pushing the buttons on the back.
After that, the fingers, once recognized send "some" - ID though the wiegand interface.

Nice :D

I'm gonna order one and see how it's preforming!

Thanks for your suggestion. I will look at your web interface later. For now i'm planning to keep it simple, just change it with my current reader :)
Richard - Groningen (NL) - Image

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#17 Post by tozett » 17 Jul 2016, 21:49

the manual is somehow...chinese...and as only one addition:
you can define a chip/tag or a special finger as a "learning"-Tag.
hold it to command the reader into learning a new tag/finger, it beeps, than present the new tag/finger. And the reader has learned it.
i would be difficult to push the buttons on the back if it is once mounted to the wall ... :|

one thing: i did not see, how one can delete a special tag, if you lost it.
a normal case, which can happen, i would think. but i have no clue how to delete a lost tag/finger from the reader. if you recognize something with your new toy, please keep me informed?! :arrow: :D

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#18 Post by rtenklooster » 17 Jul 2016, 22:29

The point is, i dont want the reader itself to control wether acces is allowed - or not.
If it's sending tag numbers, or finger id's to my esp module, that's fine by me.
The programmed white list inside the esp module is leading, so if that's rejecting the key, found valid by the reader, yes, you see a green led but the door won't open.

I don't trust the chinese stuff that much and like to be in controll myself.

Of course i will let you know if i found out some more details or nice use cases.

I have not tried it yet, but i am planning on getting rid of my modyfied ESP sketch and i want to use the latest, since the new versions allow conditions.
I'm thinking about: If key == 0011001 || key = 0030202 || etc. etc.
Then: pulseout x,x && notify domoticz / send push message or something else

Else:
Event xxx (Notify domoticz / send push message or something else)

I'm coming short on development time, but i have two weeks vacation and scool isn't starting before september so i'm planning on renewing my solution.
Have you tested a little bit with the conditions part?
Richard - Groningen (NL) - Image

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#19 Post by tozett » 17 Jul 2016, 23:44

Have you tested a little bit with the conditions part?
sorry, what do you mean? RULES in Espeasy? need some explanation?
i played with the RULES in espeasy .... :roll:

i like the same you like: to control a whitelist on my homeserver. i think, the cheap reader will only send IDs, if they are on the readers whitelist.
so you have to read in all possible fingers and tags, than you can block them (on time,group, ...) in a whitelist/server afterwards. otherwise the reader wont send, i guess (but i have to check twice..)

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#20 Post by tozett » 18 Jul 2016, 08:36

just if you meant the RULES=Conditions from the wiki,
these are my testing RULES at the moment. (missing an option to send special characters like "\x0F" or "\n" or "\cr\lf")
for a NFC/finger/tag-solution it is missing a web-gui. i am afraid one has to code a plugin for this... :mrgreen:

Rules:

Code: Select all

//on a reading-event do ..
On rfid#tag do
  // ** send direct to homeserver-key-check **
  //SendToUDP,192.168.14.204,8899,Haustuer Key:[rfid#tag]%
  //SendToUDP,192.168.14.253,4747,Haustuer [rfid#Tag]%
  SendToUDP,192.168.14.253,4751,[rfid#Tag]
 
  // ** MQTT use additional topic for node-red **
  //publish ESP/01/Haustuer/Key/[rfid#tag]
 
   // ** specific tag, specific action...test-case **
   if [rfid#tag]=25323
    SendToUDP,192.168.14.204,8899,Haustuer [rfid#tag]%
   endif

endon

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#21 Post by rtenklooster » 30 Jul 2016, 14:07

Ok :)
I Received the reader yesterday.
The RFID reader is more sensitive then the one i was using before.
- I just swapped the old raid reader with the new one, without modifications it's just working.
- After that, i replaced the esp module with a new 12F one, uploaded the latest version of espeasy, made some basic rules and i can confirm that's working out of the box also. My door opens after reading a valid key.
- Next thing is to get fingerprints working, did some testing. The readings are fast and accurate. Once a finger is added, it sends u unique id over the wiegand interface. The ID is just some id, every new finger is just the baseID + 1.
- There is no ID send when the finger is not "programmed" into the device, so you need to keep the two RFID Tags.

So the summary:
The RFID reader is working out of the box with espeasy + level shifter.
The fingerprint reader is working also, it's sending finger id's to the esp module / domoticz.
The doorbell is connecting two pin's when the button is pushed, i tried putting one pin to GND, the other to a GPIO input port, but then the reader won't boot. For now i attached my classic doorbel to the pins.

Problem:
I might have a defective item, or i'm doing something wrong. The reader starts beeping after two / three minutes. After those beeps, it stops reading fingers. The RFID reader remains working, the lights remain on. I have tried without the wiegand / doorbell wires connected, but it's not helping.

Do you have the same experience? And do you know what the button below the reader is doing?
Richard - Groningen (NL) - Image

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#22 Post by tozett » 30 Jul 2016, 18:31

had the reader running for testings around 30 minutes. i heard no beepes.
mine reader appeard to me as without any malfunction.

i also wanted to use the bell-button, but had to time to check this,

which button on the button of the reader do you mean? you have a picture?

(sorry, but i am on the road for a round 14 days..so updates from me are may less frequent here...)

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#23 Post by rtenklooster » 30 Jul 2016, 21:10

tozett wrote:had the reader running for testings around 30 minutes. i heard no beepes.
mine reader appeard to me as without any malfunction.

i also wanted to use the bell-button, but had to time to check this,

which button on the button of the reader do you mean? you have a picture?

(sorry, but i am on the road for a round 14 days..so updates from me are may less frequent here...)
Thanx for your reply.
After some further investigation i think i found and solved the problem.
There was one tanta condensor inside the reader not well soldered. I applied some more tin, reconnected the reader and the problem appears to be solved :)

So everything is working as expected. I made a factory reset. After this reset new learned fingers get id 2001 2002 2003 etc.

The button i meant was the status led button, it has red / blue led and a switch. Haven't figured out what that's good for.

Thanks for the suggestion, i really like this device, although i have my doubts about the weather, i don't think its gonna last very long outside. For some reason i thought it was water resistant, but as far as i can see, it's not.
Richard - Groningen (NL) - Image

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#24 Post by rtenklooster » 30 Jul 2016, 21:18

This are the rules i use to trigger my lock:

Code: Select all

on RFID#Tag=1003 do
		Pulse,5,1,5000
	endon
	on RFID#Tag=1001 do
		Pulse,5,1,5000
	endon
	on RFID#Tag=1002 do
		Pulse,5,1,5000
	endon
	on RFID#Tag=1003 do
		Pulse,5,1,5000
	endon
	on RFID#Tag=1004 do
		Pulse,5,1,5000
	endon
	on RFID#Tag=1005 do
		Pulse,5,1,5000
	endon
on RFID#Tag=12345 do
		Pulse,5,1,5000
	endon
This way, your problem with lost tags is resolved, just remove the item from the rules list.
Richard - Groningen (NL) - Image

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#25 Post by tozett » 31 Jul 2016, 19:32

yeah, cool idea with rules.
in my personal stetting, i send the ID allways from the reader direct to my homeserver. either way if finger or key.
on the homeserver, i check if the ID has a valid timeslot for opening.
so i limit the parcel-and-post-service-keys to workdays from 09:00-18:00 as valid time for openings.
feels only more secure...

if you take the id from the list, surely no key-open anymore.
but i was wondering, how the chinese inventor thought to solve the problem, to remove a key which is lost and therefore cannot be presented to the reader anymore for removal..

timeslots could be done with rules also, thats a good direction to go...
maybe a plugin with web-input-forms would be the best option for any future-plans with key-system...
;-))

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#26 Post by tozett » 22 Aug 2016, 16:53

simplified my setup,
as i found that one can risk to give 5V on the GPIO of the ESP module,
i left out the level-shifter. It is working!

i addtitionally hooked up a modern NFC-Reader-Breakoutboard (ISO/IEC 14443)

http://www.elechouse.com/elechouse/inde ... ts_id=2242

to have both frequencies on NFC/RFID.

i mounted it outside, see what the winter brings to (me and) the reader :)

ps: i found the blue button in the lower half, underneath the finger-area.
if you hold him, the color gets red... hmmmm :roll:
Attachments
wiegand3.png
wiegand3.png (60.97 KiB) Viewed 42405 times

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#27 Post by tozett » 22 Aug 2016, 21:53

the fingerprint-area is constantly glowin in green.
on my other fingerprint, this was only happen, if one approaches the reader, or the finger went to the area.
now i have a green-glow on my frontdoor.

did someone recognized, if one can turn this off?
maybe the security-level (whats this?) can change it?

glad, if someone can give me a hint, and its easy (no soldering)... :lol:

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#28 Post by tozett » 23 Aug 2016, 14:57

the button underneath the green-glowing fingerprint-area,
which has blue-/red-light for normal-mode/programming-mode,
can be pressed. my small doku-sheet has a picture, which calls this button
"Activation-Key".

What is is good for? if i press it, the light goes RED..hhhmmm


-------
for deletion of lost keys/fingers: one can save all IDs to an SD-Card,
edit/delete some Keys, and Upload it again .. ;)
Attachments
HTB1HXFwKVXXXXbCXpXXq6xXFXXXb.jpg
HTB1HXFwKVXXXXbCXpXXq6xXFXXXb.jpg (28.49 KiB) Viewed 42375 times

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#29 Post by tozett » 24 Aug 2016, 17:24

ACTIVATION key...
i am now using the fingerprint.
and sometimes it does not sense a finger lying onto the reader-area.
if i then press this Activation-buttion, the reader starts reading.
maybe thats what it is meant for ... :|

rtenklooster
Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#30 Post by rtenklooster » 12 Nov 2016, 10:50

tozett wrote:the fingerprint-area is constantly glowin in green.
on my other fingerprint, this was only happen, if one approaches the reader, or the finger went to the area.
now i have a green-glow on my frontdoor.

did someone recognized, if one can turn this off?
maybe the security-level (whats this?) can change it?

glad, if someone can give me a hint, and its easy (no soldering)... :lol:
I have the same problem.
It's green all the time. It's not reading my finger however after a few minutes.
I'm thinking it might have something to do with the level shifting. I will try to disconnect the data wires and see of that's helping.

The button doesn't seem to work / do anything, but its switching according to my multimeter.
Richard - Groningen (NL) - Image

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#31 Post by tozett » 12 Nov 2016, 11:13

my reader is mounted on the frontdoor. outside.
now as it getting colder, it takes some minutes with the finger strongly pressed onto the reader, that after sometime the reading starts.
i here the beeps, if the reader has done its work.

seems somehow less with espeasy,
more with the reader itself.

i assume that the reader senses for the finger/body temperature, than starts reading.
now as it is colder outside, the finger has to warm up the reader-plate. after 1-2 minutes of warming up, the reader starts normal reading..

it my assumption is true, you could check with warming up the reader plate or warming up the finger with warm breathing against the finger (and strong pushing against the plate). than reading seems as in summer ...

maybe there can be found an electronic enhancement? you had it once open....

lucalg
New user
Posts: 2
Joined: 13 Apr 2017, 17:43

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#32 Post by lucalg » 13 Apr 2017, 17:46

Good afternoon,
i'm working on a similar project in which i'm considering 250 tags to allow to power on a switch to open a door.
Can you explain (please the easy way) what to do to allow a sort of "allowed list?" to use in events?

Thank you very much.
Luca

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#33 Post by tozett » 13 Apr 2017, 18:42

In this Reader you can allow Tags directly by the Reader.
But i did not wire the Reader with the Lock!!
I personally allow all Tags, than get the tag-id from the Reader to the espeasy, and from there forward it to my allow list in My Homeserver. I don't use Events for this.

Any other question?

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#34 Post by Shardan » 13 Apr 2017, 19:30

Hello,

for maybe 10 to 15 tags that might be possible with ESPEasy directly by using rules.

But 250 tags is far beyond the capacity of ESPEasy together with ESP8266 memory.
Second, it will be a hassle to keep that list up to date with ESPEasy.
You would have to edit the rules manually everytime a tag changes.

There are two ways to work around this:
Use an ESP with 4 MB Memory and write your own software for it. Might work.

Or use a small computer like a Raspberry and a software like FHEM, Domoticz, OpenHAB or similiar.
As even a Raspberry can handle a (small) database, it would be much more comfortable this way.
The ESP just reads the tag, sends data and receives the "Open" command when the tag is valid.

Regards
Shardan
Regards
Shardan

lucalg
New user
Posts: 2
Joined: 13 Apr 2017, 17:43

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#35 Post by lucalg » 14 Apr 2017, 00:02

Hello again and thanks. From your answer i understand how poor my post was.
Scenario is:
- domoticz on raspberry pi
- esp8266 sending to idx XX the tag when read.
I work in a tennis club with 250 users and i need to create zones allowed to a part of them and park for all. I've done a test making all up for 1 tag and using events (i'm not a programmer so i use skratch ;) ) and it works perfectly.
Problem is that i can't do it for 250 users. So what i need to do is to create a sort of user profiling (that is present in domoticz) and let this working with events (and this seems not possible in skretch unfortunetely).

The list should be editable (let me say a sort of csv somewhere to change in case of expiring for example).

Sorry again for the SMS i've sent before and I hope this new task is more clear.

Tnx to all.
Luca

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#36 Post by tozett » 14 Apr 2017, 10:44

You have the hardware you need in place. Working. Fine.
You only have to find a system on domoticz or rasperry (python/bash-script) to handle the 250 keys....

There are certain many ways to do this...hmmm


This is maybe at least not the best thread for this certain programming task on domoticz/raspberry/linux ...

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#37 Post by tozett » 14 Apr 2017, 10:52

Shardan wrote: 13 Apr 2017, 19:30
But 250 tags is far beyond the capacity of ESPEasy together with ESP8266 memory.
Anyway every tag/id is only around 15 characters, so 250 could be handled. Maybe takes longer to search through a list of 250tags, until door finally opens.

No impossible, but domoticz/raspberry is a cheap and powerful enough plattform to build up a control system for this 250 tags. But...it has to be build up somehow, i guess..😋

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#38 Post by Shardan » 14 Apr 2017, 14:22

The ESP has only some KB of RAM.
Most of it is taken by ESPEasy already, so even if you flash a list of 250 tags to keep it out of memory, working off the list will be difficult with the left RAM.
Remember, at the actual state there is not enough ram for compiling all modules so the developer had to take off some modules already.
A rule set will work for some tags. with 250 tags the rule list is too long for memory and it might be too slow.

Regards
Shardan
Regards
Shardan

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#39 Post by tozett » 14 Apr 2017, 17:39

Shardan wrote: 14 Apr 2017, 14:22 ... with 250 tags the rule list is too long for memory and it might be too slow.
Yeap. I use spiff (Filesystem) to store static htm files. If i call them with Browser, it (sometimes) takes a bit, but it is always working. So 250 tags could go onto spiffs-filesystem in a text-file. This could easy be edited in Browser. There a some examples for this here in the forum. And example code parts on github for a Solutions like this.
But the full Solutions still needs to be sort of coded from this snippets...
But at least still doable on the espeasy, i believe..
😋
For more Speed i would consider going on the rasperry/linux track...and still code there something...

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#40 Post by Shardan » 14 Apr 2017, 20:23

From the "ESPEasy MEGA Forum Thread:
it wasn't actually a bug. with the new IR library we just hit our IRAM limit it seems. (and there is only 2-3k of IRAM to start with)

I created an overview of the different plugin sizes: https://github.com/letscontrolit/ESPEas ... _sizes.txt

I'm currently trying to reduce memory usage of the various plugins, but we might have to disable some plugins by default in the next versions.
I assume that a quasi-database function will take more memory then availlable.
Surely it will be possible if you create a kind of "downgraded" or "naked" ESPEasy for a new plugin.
I agree it makes more sense to do that on a Raspberry-like device.

Regards and Happy Easter Ddays
Shardan
Regards
Shardan

sjp770
New user
Posts: 3
Joined: 24 Aug 2017, 03:49

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#41 Post by sjp770 » 26 May 2018, 12:40

I'm trying to connect a HID Miniprox to an esp8266-07 running esp easy mega. When I had it 'working' it wouldn't read everytime and would also return different values when it did.

Any tips?

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#42 Post by tozett » 27 May 2018, 17:46

hmmm, a HID-Device gives the Wiegand numbers or tag-ID as you would type it with a keyboard.
a HID-Device could also work as a mouse.

see: https://en.wikipedia.org/wiki/Human_interface_device

i think espeasy can control other device types, but not HID without modifications.
my you check again here: https://www.letscontrolit.com/wiki/index.php/Wiegand-26

William
New user
Posts: 1
Joined: 04 Nov 2019, 09:01

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#43 Post by William » 04 Nov 2019, 10:04

I'd like to replace my simple wiegand rfid reader by this reader, but i want to control when the lock is open and when it's closed.
Of course i can still use my old RFID tags, but i would love to combine it with fingerprint, and my doorbell is broken, so this seems a great upgrade of my perfectly working system to me. I don't expect i have to change my code, because it's using / working with wiegand already.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

My stepper motor website:skysmotor.com/- Machinery Design ? - ? Stepper Moter Development

"Necessity is the mother of invention." - Author unknown.

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#44 Post by tozett » 04 Nov 2019, 11:37

which reader? link?
what is your question?

Rocky
New user
Posts: 1
Joined: 13 Dec 2019, 19:24

Re: SOLVED/Working: Wiegand26 input from Fingerprint - and RFID Tag

#45 Post by Rocky » 13 Dec 2019, 19:30

Hello, I'd like to return to this reader (x660) but I've lost instructions with pinholes combination ( I remember something like 1881 etc.) Could I ask a picture of the manual? I couldn't find it anywhere.

Edit:
I think I got it, found this video: https://youtu.be/Dg_3PBV6ZOE

Thank you,
Piotr

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 27 guests