Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFID Reader funktioniert nicht #231

Closed
flo2305 opened this issue Oct 1, 2018 · 117 comments
Closed

RFID Reader funktioniert nicht #231

flo2305 opened this issue Oct 1, 2018 · 117 comments

Comments

@flo2305
Copy link

flo2305 commented Oct 1, 2018

Hi,

super Projekt von dir, bin begeistert.

Habe jedoch das Problem, dass der USB RFID Reader bei mir keine ID's an die Webapp weitergibt.
Im Terminal zeigt er beim Scannen die zugehörige Nummer an, die WebApp reagiert allerdings nicht.

Beim Registrieren mit RegisterDevice.py zeigt er mir den Reader auch immer doppelt an.

Choose the reader from list
0 kpd
1 kpd
2 Logitech Keyboard
3 Logitech USB-PS/2 Optical Mouse

Viele Grüße
Florian

@MiczFlor
Copy link
Owner

MiczFlor commented Oct 1, 2018

HI @flo2305
so gerne ich könnte, leider kann ich dir nicht wirklich helfen, was die Hardware angeht.
Eine Sache solltest du aber nachschauen: in der web app unter "Settings" kann man unten auf der Seite den RFID Reader an bzw. ausschalten (genauer gesagt den systemd dazu). Ist da der Reader "ON"?

@mensch-meier
Copy link

Hi, ich hab das gleiche Problem. Der RFID Reader ist in der Webapp eingeschaltet und wenn ich eine Karte registrieren will, wird die Nummer nur im Terminal angezeigt aber nicht in der Webapp.

@flo2305
Copy link
Author

flo2305 commented Oct 1, 2018

Eingeschaltet ist er in der WebApp.

Wenn ich den Befehl
./rfid_trigger_play.sh -i=
eingebe und dann die Karte scanne funktioniert alles.

Aber das ganze sollte ja von allein funktionieren sobald ich einfach nur die Karte scanne.

@MiczFlor
Copy link
Owner

MiczFlor commented Oct 1, 2018

Hi @flo2305 @mensch-meier
kann sein, dass sich mit dem letzten merge ein Fehler eingeschlichen hat. Deshalb habe ich meinen develop branch mit master gemerged. Versucht bitte mal, ob ein git pull das Problem behebt.
#233

@flo2305
Copy link
Author

flo2305 commented Oct 2, 2018

Hi @MiczFlor,

ok, dass versuche ich.
Bin leider noch nicht so tief im Thema, wie würde der git pull Befehl komplett aussehen?

@MiczFlor
Copy link
Owner

MiczFlor commented Oct 2, 2018

Geh ins Terminal und gib das auf der Kommandozeile ein.

cd /home/pi/RPi-Jukebox-RFID
git checkout master
git fetch origin
git reset --hard origin/master
git pull
sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/shared
sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/shared
sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/htdocs
sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/htdocs
sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/settings
sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/settings

@kris711
Copy link

kris711 commented Oct 2, 2018

Hallo bei mir dasselbe Problem, der pull hat nichts gebracht (Bereits aktuell).
ls -la /dev/input/by-id/
grafik
es ist nur der Reader angeschlossen (welcher auch fleissig piept wenn ein chip in die nähe kommt)

python2 RegisterDevice.py
grafik

Egal ob 0 oder 1 steht in deviceName.txt
HID 413d:2107

passt das hier?

@MiczFlor
Copy link
Owner

MiczFlor commented Oct 2, 2018

Was passiert, wenn man manuell kpd in das File deviceName.txt schreibt?
(Was ist das denn für ein Reader, habt ihr dafür einen Link?)

@kris711
Copy link

kris711 commented Oct 2, 2018

Den Reader habe ich von einer Einkaufsliste bei Amazon bestellt (https://www.amazon.de/gp/product/B011XI2DE8)

kpd scheint keine Änderung zu bewirken. Ich finde unter /dev/ auch kein ttyUSB sondern nur ein uhid.
grafik

lsusb sagt auch nichts:
grafik

und dmesg gibt mir nur das:
grafik

Gibt es eine Möglichkeit die Eingabe des Readers direkt ins Terminal zu schreiben?
mit ./rfid_trigger_play.sh -i= erhalte ich einen Fehler ( Zeile 277: [: Zu viele Argumente.)

Bisher konnte ich den Reader nur unter Windows testen da geht er.

@flo2305
Copy link
Author

flo2305 commented Oct 2, 2018

Also ich habe den verlinkten RFID Reader von Amazon erworben, damit kein Erfolg.
Pull war bei mir auch erfolglos.

Allerdings funktioniert es bei mir jetzt mit einem anderen Reader, einer mit 13,56 MHz.
Somit aber leider auch die bereits erworbenen 125 kHz Karten nutzlos...

@mensch-meier
Copy link

Ich hatte für die Phoniebox jeweils bereits die Schritt für Schritt-Installation gemacht und später das automatische Skript gestartet. Bei der manuellen Installation hat der Reader noch IDs der Karten im Terminal angezegit, bei der automatischen Installation werden nun nicht mehr die IDs angezegit, wenn ich die Karte an den Reader halte.

@JoeNess667
Copy link

Hi. Super Projekt!
Habe hier leider ein ähnliches Problem. Installation und Setup alles i.o. Weboberfläche läuft ebenfalls und Musik ist zu hören :) Es hapert an der Übernahme der RFID-Eingabe. Im Terminal sehe ich die Nummer des RFID-Tags. Wie bei kris711 macht auch die Wahl des Eingabegeräts keinen Unterschied. Vielleicht hilft es noch zu erwähnen das die Datei "latestID.txt", bzw. "settings/Latest_RFID" nicht geschrieben wird.

@MiczFlor
Copy link
Owner

MiczFlor commented Oct 3, 2018

Ich habe gerade von @keinkurt einen pull request in den develop branch gemerged:
#235
wer sich mit git genug auskennt, das mal durchzutesten, den/die würde ich gerne dazu einladen das zu tun.

Und wegen der Hardware, habt ihr alle den Reader gekauft, der von der README.md Seite verlinkt ist? KKmoon IC Kartenlesegerät Berührungslose 14443A Kartenleser Card Reader mit USB Schnittstelle 5pcs Karten + 5pcs Schlüsselanhänger 13.56MHZ RFID Energieklasse A. Vielleicht hat sich da die Hardware geändert, seit ich das verlinkt habe. Hat jemand einen anderen Link zu einem Reader der geht?

@Alarius
Copy link

Alarius commented Oct 3, 2018

Ich benutze diesen Reader ohne Probleme
https://www.amazon.de/gp/product/B018OYOR3E/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

MfG
Alarius

@flo2305
Copy link
Author

flo2305 commented Oct 3, 2018

Ich hatte zuerst auch den aus der README.md, hat bekanntlich nicht funktionieren.
Dieser hier läuft problemlos:
Neuftech USB RFID Reader ID Kartenlesegerät Kartenleser Kontaktlos Card Reader für EM4100 https://www.amazon.de/dp/B018OYOR3E/ref=cm_sw_r_cp_api_G3qTBb7JRYHMV

@JoeNess667
Copy link

OK dann versuchen wir es nochmal mit einem anderen Reader! Falls das Problem damit behoben wird könnte man ja den link vielleicht in den Manuals ändern :)

@MiczFlor
Copy link
Owner

MiczFlor commented Oct 4, 2018

Ich habe den Link im README file geändert. Denkt ihr das ist ok so?

RFID Card Reader (USB): Neuftech USB RFID Reader ID Kartenlesegerät Important notice: the hardware of the reader that I had linked here for a long times seems to have changed and suddenly created problems with the Phoniebox installation. The reader listed now has worked and was recommended by two Phoniebox makers (2018 Oct 4). I can not guarantee that this will not change and invite you to give RFID Reader feedback in this thread.

@flo2305
Copy link
Author

flo2305 commented Oct 4, 2018

Ich würde eventuell noch auf die genutzte Frequenz von 125 kHz hinweisen.
Karten vom anderen Reader (13,56 Mhz) sind nicht kompatibel.
Ich hatte im Vorfeld bereits 100 Karten bestellt... Leider jetzt nicht mehr nutzbar.

@mariposastern
Copy link

mariposastern commented Oct 4, 2018

Halluuu,

das mit den CArdreadern scheint ja shcon ein Thema für sich..

ich habe mir den https://www.amazon.de/gp/product/B011XI2DE8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1638&creative=6742&creativeASIN=B011XI2DE8&linkCode=as2&tag=diebarnfeld-21 gekauft und habe den selben fehler wie alle hier im Board.

Habe aber auf den Fotos bei amazon gesehen, dass man hinten auf der Platine etwas umstellen kann, ich berichte wenn ich hier erfolge erziele....

wenn jemand hier mehr plan hat :), höre ich auch gerne zu ^^
+Update: reader beept, also erkennt er die karte, nur überträgt er wohl nicht....

grützi
Christian

@kris711
Copy link

kris711 commented Oct 5, 2018

@flo2305 Als was wird das Gerät bei Dir erkannt? Ich habe mir das Ding auch mal bestellt. leider ähnlich schlechtes Ergebnis:

grafik

In der deviceName.txt steht nun das (gibt nur nuch 0 als Auswahl):
grafik

@MiczFlor Ja bin auf #235 - kein Unterschied

@flo2305
Copy link
Author

flo2305 commented Oct 5, 2018

Bei mir wird das neue Gerät erkannt und es hat sofort funktioniert.

@kris711
Copy link

kris711 commented Oct 5, 2018

Bei mir leider nicht -.-

@flo2305 Kannst Du mir den Inhalt der deviceName.txt nennen?
Du findest die Datei hier: /home/pi/RPi-Jukebox-RFID/scripts/

@flo2305
Copy link
Author

flo2305 commented Oct 5, 2018

File: deviceName.txt
HXGCoLtd HIDKeys

@ploegy
Copy link

ploegy commented Oct 5, 2018

Hab auch den https://www.amazon.de/gp/product/B011XI2DE8/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1638&creative=6742&creativeASIN=B011XI2DE8&linkCode=as2&tag=diebarnfeld-21 gekauft.bei mir funktioniert es aber nur sporadisch ohne das ich nachvollziehen kann wieso, meist nach mehrmaligem Umstecken.
Hab den Reader auseinander genommen und auf der Platine steht eine Anleitung geschrieben.man soll am PC ein schreibprogramm öffnen und dann das Lesegerät 2mal für ne Sekunde anstecken.beim 3ten Mal Pieps 3mal und im schreibprogramm läuft die Sequenz mit verschiedenen Einstellungen...hilft aber auch nicht...

@MiczFlor
Copy link
Owner

MiczFlor commented Oct 6, 2018

Hi all, Hallo an alle hier im Thread,

I merged the following stuff to master: #240
There is a new way now loading the RFID reader device if and when a card is used. I could only test it on my USB reader(s) and it works. Please update to the latest version, see here for details: upgrade
AND PLEASE: check in the web app under "Settings" at the bottom of the page, if you reader is switched on.
(ich übersetze das jetzt nicht, wir können aber gerne weiter auch in Deutsch hier posten)

Please tell me if this works for you and then also post

  • what raspberry pi you are using
  • and also your device name by executing this command:
cat /home/pi/RPi-Jukebox-RFID/scripts/deviceName.txt

and pasting the outcome alongside your post.

@kris711
Copy link

kris711 commented Oct 7, 2018

Hi @MiczFlor,
leider kein Erfolg. Zunächst Deine Fragen:

  1. 3B+
  2. HXGCoLtd HIDKeys (selber Reader der mit diesen Einstellungen bei @flo2305 funktionier)

Was mir bei der #240 auffällt:

  1. RegisterDevice.py kann nicht mehr ausgeführt werden:

grafik

  1. RFID Reader unter Setting Einstellung in der WebApp kann nicht aktiviert werden, bzw. ist nach einem Refresh der Seite immer wieder auf disabled.

Um Probleme auszschliessen habe ich meinen Pi frisch aufgesetzt - diesmal die full Version.
Ausser RPi-Jukebox-RFID habe ich nichts weiter installiert.
In der grafischen Oberfläche funktionieren die Reader:

grafik

Kann ich irgendwas tun, um dir beim debuggen zu helfen?

@kris711
Copy link

kris711 commented Oct 7, 2018

Vielleicht hilfreich.... error.log vom Webserver:
grafik

Die Dateien Latest_Folder_Played und latestID.txt waren auch ewig oft drin, da sie nicht vorhanden waren. Habe Sie nun manuell angelegt und damit zumindest weniger Fehler im Log.

@black-dahila
Copy link

Ich habe seit heute das gleiche Problem. Das System wurde ebenfalls komplett neu aufgesetzt.
fehler
pb

@gizmo21
Copy link
Contributor

gizmo21 commented Oct 7, 2018

So I updated (git pull with additional commands seen in README.md) my test-SD from 1.0.0 where everything worked great to 1.1.4 and now the RFID-reader always seems to unregister (to be seen in settings - it switches to OFF after some seconds) and it really doesn't work anymore.

So it seems it's not the hardware, so I would suggest not just to buy new readers, but perhaps revert to and older master version on git. Perhaps Micz could guide to a git command to a perhaps working version. I'll just put in my kids SD on 1.0.0 to verify the reader is not the problem, will report back.

[Update] Also was zu erwarten war, die 1.0.0. geht wunderbar mit dem Neuftech Reader (siehe den von @black-dahila oder @kris711 und anderen hier) . Dies nur als Hinweis für alle die einen git rollback hinbekommen.

@cgnmause
Copy link
Contributor

cgnmause commented Dec 21, 2018 via email

@aeskimo
Copy link

aeskimo commented Dec 22, 2018

@Zapatito
Copy link

@cgnmause
Copy link
Contributor

cgnmause commented Dec 22, 2018 via email

@Ghostsl84
Copy link

Ghostsl84 commented Dec 28, 2018

Hallo Liebe Freunde

ich habe mich ebenfalls dazu entschlossen eine Phoniebox für meine Kinder zu bauen und damit komme ich zu folgenen Problemen:

Ich habe eine Raspberry Pi 3 B+

USB Reader EM4100 sowie die richtigen Karten

Ich besitze den USB EM4100 Card Reader dieser wird im Terminal von Raspbian 100 % erkannt und die Nummer auf dem Terminal wiedergegeben jedoch nicht auf der Webapp der Phoniebox.

Dort ist der Reader immer "Disable" und wenn ich Ihn aktiviere ist er nur bis zum nächsten Laden "Enable"

Ich finde den Fehler einfach nicht.

auch kann auch die hochgeladene Musik nicht über meine die Bluetooth Box hören.

Vielleicht kann mir jemand weiterhelfen?

Beste Grüße

Update bei der Installation mit dieser Fehlermeldung:

If you are using an USB RFID reader, connect it to your RPi.

(In case your RFID reader required soldering, consult the manual.)

Have you connected your USB Reader? [Y/n] Y

Traceback (most recent call last):

File "RegisterDevice.py", line 4, in

from Reader import get_devices

File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 32

def init(self):

^

IndentationError: unexpected indent

chown: Zugriff auf '/home/pi/RPi-Jukebox-RFID/scripts/deviceName.txt' nicht möglich: Datei oder Verzeichnis nicht gefunden

chmod: Zugriff auf '/home/pi/RPi-Jukebox-RFID/scripts/deviceName.txt' nicht möglich: Datei oder Verzeichnis nicht gefunden

Update:

nachdem ich jetzt händisch die deviceName.txtx angelegt hatte bei der Installation habe ich diesen Fehler:

File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 32

def init(self):

ich weiß wirklich nicht mehr weiter. Es wird kein USB Reader eingetragen.

@MiczFlor
Copy link
Owner

Hi @Ghostsl84
Probiere bitte noch mal die aktuellste Version des "one line install" scripts. (Machst du mit oder ohne Spotify?). In der letzten Version mit einigen Änderungen hatte sich ein Fehler eingeschlichen, den ich erst gestern behoben habe (so weit ich das testen konnte):
#412

@Ghostsl84
Copy link

Ghostsl84 commented Dec 29, 2018

Guten Abend,

Vielen vielen vielen Dank.
Jetzt klappt alles wunderbar und es wird alles erkannt.
Habe jetzt nur noch das Problem, dass ich die Musik über Bluetooth nicht abspielen kann und ich ebenfalls nicht weiß warum.

Besten Dank
Ghostsl84

@aschindler82
Copy link

@cgnmause
Sorry for the late reply. I didn't have my laptop with me over christmas.
Indeed, it's working now!
My problem was that I installed the phoniebox software manually without using the installer script. This way I somehow missed the step of installing the phoniebox service daemons.
After having taken care of that it runs like a charm!

Thanks for your help!

Best

Andreas

@JoschJoschenson
Copy link

Hallo,
wirklich ein tolles Projekt und genau das, nach dem ich gesucht habe!
Leider habe ich immer noch Probleme meinen RFID-Reader zu verbinden.

Installiere ich die aktuelle Version (29.12) des Online Installers mit Spotify habe ich auch das Problem, dass mir der Reader zwei mal als "HID 413d:2107" angezeigt wird. In der Web App wird der Reader als aktiv angezeigt.

Ersetze ich jetzt die Datei Reader.py mit Reader.py.kkmoonRFIDreader ändert sich nichts bis darauf, dass der Reader in der Web App immer als nicht aktiv angezeigt wird. Eingetragen wird der Reader immer als "HID 413d:2107".
Das ist mein erstes Projekt mit dem Raspberry Pi und daher kenne ich mich noch nicht besonders gut aus. Hoffe hier gibt es auch noch eine Lösung.

Auf der Internetseite

https://www.iphone-ticker.de/wochenend-projekt-kontaktlose-musikbox-fuer-kinder-123063/

ist auch immer noch der KKmoon RFID-Reader verlinkt. Vielleicht könnte man hier einen Hinweis geben, um den Link zu ändern.

Grüße,
Serjoscha

@c-m0s
Copy link

c-m0s commented Jan 1, 2019

Hi @Ghostsl84
Probiere bitte noch mal die aktuellste Version des "one line install" scripts. (Machst du mit oder ohne Spotify?). In der letzten Version mit einigen Änderungen hatte sich ein Fehler eingeschlichen, den ich erst gestern behoben habe (so weit ich das testen konnte):
#412

Hi all,
hi @MiczFlor

I had the same issues like @cgnmause, @aschindler82, @Ghostsl84, etc.

The KKmoon IC Kartenlesegerät with the double entry

2 HID 413d:2107
3 HID 413d:2107

My system infos:

**System**
OS Distribution   Raspbian
Description   Raspbian GNU/Linux 9.6 (stretch)
Release   9.6
Codename   stretch
**Phoniebox Setup**
Version   1.1.9-rc4
Edition   Classic edition (barebones)

Just before Christmas I had a working system with the reader and through the workaround of commenting out the "break" in the Reader.py-file.
Then suddenly I could not get any reader input in the app/web interface any more.

I tried updating the jukebox and now also reinstalling (via "one line install" script) the whole system, but I can't get the readers input into the Jukebox-WebUI any more. It beeps and I do get the input on the local terminal though.

Does anyone have any input/idea? Or do I really have to switch to the Neuftech-Reader?

@mmfill
Copy link

mmfill commented Jan 12, 2019

Re-installing Phoniebox with the bash install script "bash install script" solved the problem for me. Before I had the same problem as described by many here. My RFID reader is https://www.amazon.it/gp/product/B018OYOR3E/ref=ppx_yo_dt_b_asin_title_o00__o00_s00?ie=UTF8&psc=1

@Beder85
Copy link

Beder85 commented Jan 23, 2019

Hello,
I recently bought the NEUFTECH RFID USB Reader over Amazon https://www.amazon.de/gp/product/B018OYOR3E/

Using RegisterDevice.py and checking the deviceNames.txt I can see the device called "HXGCoLtd" and not "HXGCoLtd HIDKeys".
This difference was also mentioned by @aschindler82 bevore. Don't know if this difference is important.

I installed the phoniebox on a RPi 2 using the one line install script without spotify and Raspbian 2018-03-13-raspbian-stretch.
The reader does work when I want to teach a new card using the web interface - but if I swipe the card over the reader, then the reader makes a sound but the phoniebox does not start to play. I can see the correct id of the card in the terminal window when I swipe the card.

I already checked the phoniebox-rfid-reader.service. It is installed, loaded and active.

Does anybody have an idea how to get the rfid reader working?

I also checked the state of the rfid read in the web app - it is enabled. And (like i said bevore) I was able to teach new rfid cards


I reinstalled the phoniebox from scratch yesterday. Now the reader works perfectls.
I did not find out the root cause....

@c-m0s
Copy link

c-m0s commented Jan 26, 2019

I tried updating the jukebox and now also reinstalling (via "one line install" script) the whole system, but I can't get the readers input into the Jukebox-WebUI any more. It beeps and I do get the input on the local terminal though.

Does anyone have any input/idea? Or do I really have to switch to the Neuftech-Reader?

I switched to the Neuftech-Reader.

@TomBourine
Copy link

Thank you c-m0s! I have the KKMoon, too. And it started working through the WebApp after I commented out "break" in /home/pi/RPi-Jukebox-RFID/scripts/Reader.py, re-registered with "python2 RegisterDevice.py" and rebooted. The device name in deviceName.txt remained the same: "HID 413d:2107"
Anyway - I will give a fresh install a try soon with "one line install".

Thanks MiczFlor, this is a great project!

@batidsoce
Copy link

batidsoce commented Mar 14, 2019

@TomBourine , can i ask for your help. i'm struggling with a kkmoon Reader.

when i use Reader.kkmoon.py ( rename as Reader.py) and reboot, the RFID reader service do not start...

Mar 14 15:08:33 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Mar 14 15:08:33 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service hold-off time over, scheduling restart.
Mar 14 15:08:33 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Mar 14 15:08:33 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Start request repeated too quickly.
Mar 14 15:08:33 raspberrypi systemd[1]: Failed to start Phoniebox RFID-Reader Service.
Mar 14 15:08:33 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Unit entered failed state.
Mar 14 15:08:33 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.

python daemon_rfid_reader.py
/home/pi/RPi-Jukebox-RFID/scripts
Traceback (most recent call last):
File "daemon_rfid_reader.py", line 16, in
cardid = reader.reader.readCard()
AttributeError: Reader instance has no attribute 'reader'

@batidsoce
Copy link

Super, Danke!!!
jetzt hat er unter shortcuts eine Datei mit der KartenID angelegt. Audiofolders ist zwar noch ohne Ordner, aber da versuch ich jetzt erstmal weiter :)

did you get it working with kkmoon reader ?

@batidsoce
Copy link

batidsoce commented Mar 15, 2019

i got it working modifying the original Reader.py

i have a kkmoon REader. the one that show 2 devices with the same VID/PID when you launch RegisterDevice.py

using the Reader.kkmoon.py gave me an error and the Rfid service does not launch.
i modified the original Reader.py
devices = get_devices()
for device in devices:
#if device.name == deviceName:
#i only have one usb device connecter ( the reader )
device=InputDevice("/dev/input/event0")
self.dev = device
# break
try:
self.dev

@desevent7
Copy link

Hallo
Ich benutze ebenfalls den Kartenleser der 2 Devices ausgibt.
https://www.amazon.de/dp/B011XI2DE8
Gibt es hierzu bereits eine Lösung?
Ich habe schon diverses getestet aber leider war alles erfolglos.
Umsteigen würde ich nur ungern, da ich die Karten noch an einem Arduino weiterhin nutzen möchte.

@batidsoce
Copy link

batidsoce commented Apr 20, 2019 via email

@desevent7
Copy link

Hi
Thanks for your help, but i dont know which part i excactly must write
Can you sent/attach the hole Reader.py.
my device ist device0

@batidsoce
Copy link

batidsoce commented Apr 24, 2019 via email

@desevent7
Copy link

Thank you. It seems to work.
Now the Card ID is visible in the web browser.

@batidsoce
Copy link

batidsoce commented Apr 28, 2019 via email

@RomainHermenier
Copy link
Contributor

Hello everyone,

I've started created my Jukebox and I faced the same issue as described in the thread: no card RFID ID displayed in the web app (even though the HW card reader is correctly configured and Card ID is correctly displayed in the terminal).

I managed to fix this bug on my own. Here is the steps I've done.

  • I monitored /var/log/syslog ("tail -f /var/log/syslog") when passing RFID card on my reader and saw permission error to write latestID.txt
    image

  • i checked the permissions / owner of the folder "shared" and realized it wasn't correctly set:
    image

  • I fixed it by executing: "sudo chown pi:www-data shared/":
    image

  • after this, the latestID.txt file was created in the shared/ folder and I could see the RFID ID in the web app.

Hope that helps anyone having similar issue.

@Leo-cybr
Copy link

Leo-cybr commented Jun 29, 2021

Hallo zusammen,

ich bin auf dieses tolle Projekt gestoßen und dachte, dass es eine tolle Gelegenheit ist, um sich auch einmal in die Welt des Raspberry Pi einzuarbeiten. Bisher hat auch alles wunderbar geklappt, nur leider taucht auch bei mir das bereits bekannte Problem mit dem Nichterkennen der RFID Karten in der Webanwendung der Phoniebox auf. Allerdings wird die Karte im LXTerminal beim Auflegen angezeigt.

Nachfolgend ein Rahmenangaben:

  • Raspberry Pi 3
  • Neuftech USB RFID EM4100
  • Phoniebox Version 2.2 - 305325d - master

Scheinbar konnten hier bereits anderen Anwendern mit deren Problem geholfen werden, allerdings bin ich aus dem Schriftverkehr nicht besonders schlau geworden. Wie gesagt bin ich echt noch ein Neuling in der Raspberry-Welt und wäre für eure Hilfe daher sehr dankbar!
Lieben Gruß,

Leo

@Sascha4546
Copy link

Moin, mir ist aufgefallen das es für den Neuftech EM 4100, zwei unterschiedliche versionen gibt
https://bilderupload.org/bild/69cb34982-old-works-fine <--- funktioniert anstandslos

https://bilderupload.org/bild/a58635030-new-causing-problems <--- zickt rum

@hqxt2014
Copy link

Neuftech USB RFID Reader ID

had update to new software. you can download from:
http://neuftech.net/downloads

@hqxt2014
Copy link

Den Reader habe ich von einer Einkaufsliste bei Amazon bestellt (https://www.amazon.de/gp/product/B011XI2DE8)

kpd scheint keine Änderung zu bewirken. Ich finde unter /dev/ auch kein ttyUSB sondern nur ein uhid. grafik

lsusb sagt auch nichts: grafik

und dmesg gibt mir nur das: grafik

Gibt es eine Möglichkeit die Eingabe des Readers direkt ins Terminal zu schreiben? mit ./rfid_trigger_play.sh -i= erhalte ich einen Fehler ( Zeile 277: [: Zu viele Argumente.)

Bisher konnte ich den Reader nur unter Windows testen da geht er.

https://www.amazon.de/Neuftech-Reader-Kartenleseger%C3%A4t-Kartenleser-Kontaktlos/dp/B018OYOR3E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests