leosac / access-control

Leosac Access Control - Open Source Physical Access Control System
https://leosac.com
GNU Affero General Public License v3.0
242 stars 40 forks source link

Without PiFace #84

Closed sercanbektas closed 2 years ago

sercanbektas commented 7 years ago

Hi, I already install leosac and try to run it on Raspberry Pi 3. I have a Wiegand reader. Is it possible to read 26 bit wiegand data without PiFace module? If yes can you share an example config file

xaqq commented 7 years ago

Hello,

Yes it is possible to do so. You'll have to use the SYSFS_GPIO module.

Have a look at http://www.leosac.com/doc_output/develop/html/d2/d1b/mod_sysfsgpio_main.html for the documentation of SYSFS_GPIO.

You can have a look at https://github.com/leosac/leosac/blob/develop/cfg/dev-test/rpi-sysfs.xml too or the wiegand + piface tutorial and just use SYSFS_GPIO instead of PIFACEDIGITAL_GPIO.

xaqq commented 7 years ago

Hello, Did you manage to configure how you like? Can I close this?

sercanbektas commented 7 years ago

Hello, Thank you very much.Sorry for my late reply.Yes i can start program but i cant see wiegand code which i swap to reader. Can you help me to show mu wiegand data on console. I want to learn my cards wiegand data and give permission to that card. I have 37 bit card and nothing happens when i swap card. Best Regards 29 Haz 2017 Per, saat 11:37 tarihinde KAPP Arnaud notifications@github.com şunu yazdı:

Hello, Did you manage to configure how you like? Can I close this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leosac/leosac/issues/84#issuecomment-311900709, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM8jQYfx9LoPyrfsdnyUIUYwEE_oNzFks5sI2JRgaJpZM4N9497 .

xaqq commented 7 years ago

Hello,

Can you show your config file? Are you confident in your wiring of the pi and the reader?

sercanbektas commented 7 years ago

Hello, Config file is what you sent me before and wiring photos is in attachments. Thanks for your interest.That will be very helpfull for me. If i see that card is read successfuly that is enough for me. Best Regards

29 Haz 2017 Per, saat 21:41 tarihinde KAPP Arnaud notifications@github.com şunu yazdı:

Hello,

Can you show your config file? Are you confident in your wiring of the pi and the reader?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leosac/leosac/issues/84#issuecomment-312061970, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM8jSWTkvSE_twZ8Z2IUkHxNve2GBU9ks5sI-_ugaJpZM4N9497 .

xaqq commented 7 years ago

Hello,

Attachment do not work :(

sercanbektas commented 7 years ago

Hello, I attached again...sorry:(

1 Tem 2017 Cmt, saat 22:03 tarihinde KAPP Arnaud notifications@github.com şunu yazdı:

Hello,

Attachment do not work :(

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leosac/leosac/issues/84#issuecomment-312449952, or mute the thread https://github.com/notifications/unsubscribe-auth/ARM8jWmNRToZuTRtxhQ7YHuTikDZbN_qks5sJpfxgaJpZM4N9497 .

xaqq commented 7 years ago

Hello, What I meant was that sending attachment by email doesn't work at all on github. They aren't attached to the issue. You have to upload them yourself and provide a link to them.

sercanbektas commented 7 years ago

6d44f997-341b-46bb-bd14-5cd9cc17aa46 47be631b-fca5-4232-bb1a-e231056bfe97 79776610-c2c5-49ce-a5af-a432ca62e8b8 d192d2dd-83e2-4f70-b642-23880e79f6b8

xaqq commented 7 years ago

Hello,

So I'm not sure I understand correctly, but as far as I can tell your reader isnt powered, is it? It seems you wired data0/data1 and the ground, but the reader seems to receive no power.

What is the reference of your reader?

Rokia88 commented 4 years ago

I am facing the same issue , have you managed to make it work without piface ?

Maxhy commented 2 years ago

I have updated the documentation on https://leosac.github.io/leosac-doc/doc_output/develop/ see https://leosac.github.io/leosac-doc/doc_output/develop/d2/d23/page_module_wiegand.html#mod_wiegand_wiring

For the record, Wiegand format decoding and advanced RFID features will be part of another Leosac update.

Closing this ticket then, feel free to comment for additional questions on that matter. Thanks.