-
Notifications
You must be signed in to change notification settings - Fork 401
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 Neuftech EM4100 #747
Comments
I had issues with my rfid reader, too. What worked, though, was using the
Give it a test-run - if it won't work either, please report back. Ich hatte auch Probleme mit meinem RFID Reader. Die Lösung war bei mir, die
Probier es mal aus. Wenn es nicht funktioniert gib wieder Bescheid. @GMZ87 - probier das bitte auch mal aus wegen deines Problems in #739 |
Danke @ZyanKLee für die schnelle Antwort! Im Web Interface kann ich nach wie vor den RFID Reader nicht von disabled auf enabled setzen. Thanks for your quick response! It is still the same problem including the same error messages. On the web interfaces it‘s still not possible to switch the RFID Reader from disabled to enabled. |
did you reboot? forgot to mention that step |
yes I did. No changes |
I've the same Problem. On my first install on sunday last Week everything was fine with stretch Master Brand. Now everytime the rfid Reader is disabled. |
Can you post the result of I suspect that currently the installscript doesn't install evdev for Python 3. |
result of
result of you are right, @s-martin there is no evedev for Python 3 |
Please execute |
And also
|
I did so. No changes on that problem. |
You still have the traceback error from |
give this as a feedback: |
Start the service with |
After authentication I got this:
and the result of |
So, after I did all these tries with @s-martin (thanks a lot dude) I did a reboot. This is the result:
These are the known details: |
Did you try
according to configure? |
can you please paste the content of and what does |
the content of `[Unit] [Service] [Install] result of: is just: for minutes ... if I am pressing strg+c to startover, the result is: how does it sound for you? |
sounds great - the daemon script is indeed not meant to end its execution on its own - afaict. Now everything works as it should? |
nope. sadly not. But RFID does not work and shown as disabled either. I have took a photo of the 2 lines of code which are shown while booting:
still status of |
The issue is probably the ExecStart command |
If you want to try this with python2 - and let us know, if it makes a difference, you don't need to reinstall. You need to change two lines in two scripts. the one line that @s-martin posted above The line in the file
to
and the first line in the file
to
and then REBOOT! |
thanks @s-martin and @MiczFlor for your answers.
You guys think it is more a software issue than a hardware issue? Because I just bought 3 different RFID Reader models to test them. |
I suspect it's a software issue, because Python version was recently harmonized and I didn't really test it on stretch. |
I just crashed the whoole system. I flashed the SD card again. |
After installing stretch and phoniebox via one-line again I had exactly the same iusses. Other idea: Could upload somebody a kind of mirrored-stretch OS with enabled rfid in webappliation to wetransfer or something? may this is the easiest way? 🤔 |
@githubtee can you enable the reader through the webinterface? |
yes - i can turn it off and on inside the web interface and it works |
Hi @Alwiz79, just found an issue. The installer was using always develop, so this wouldn't work. If the quickfix from #747 (comment) doesn't work you should wait for #767 to be merged, then the regular installer should work. Sorry for the mess... |
@s-martin is there any way to install an older working version of the software..? |
If you use If you use If you use |
I would like to use Line 394 is currently: seems not right (?) And then this is just referencing the master...should I be looking for "older" master? Like 1.1.7 or older? |
That's not the installer file from master, that's the one from develop. |
omg...i give it up for tonight.. :-( |
That's the wrong one. Try Then change the content as described in #747 (comment) Or Maybe tomorrow #767 is already merged. |
@s-martin: ok, did all the above, still not working |
What's the result from |
`pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ /usr/bin/python2 /home/pi/RPi-Jukebo x-RFID/scripts/daemon_rfid_reader.py File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 21 |
I'm not sure whats happening, but that's still code from Did you remove the directory Did you do then #747 (comment) and #747 (comment) |
wait a minute - restarting everything again Big Thanks @s-martin ! This is now working again. |
Glad it works! Happy birthday tomorrow!! |
Fix in #767 was merged. Could everyone still having this issue, check if a installation described in https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/INSTALL-stretch works now again? |
Does the fix only apply for stretch or also for buster? Keep up the awesome Work !!! |
Should apply also to buster, the wiki has just an old file name. |
PERFECT!! |
Hi @hlgrbmbm : to complete this info for others: which one-line-install did you use?
|
Sorry, I am new to this :) |
Hi @hlgrbmbm : no worries. Giving feedback at all is the most help :) often people forget to post such feedback if something works. |
Hello, |
Looks like the issue is fixed for master. We could close this issue. |
@s-martin I installed buster master on Friday and found the described issue is still seen there. status output gives me:
|
@domu83 this issue here was about the Neuftech USB reader. If you experience issues with the RC522 reader, it makes sense to open a new issue. When doing so, please add also the output of |
Issue persists for me with a clean reinstall using A) one-line installer Both with edit to daemon_rfid_reader.py to accommodate kkmoon (reader.readCard) and without. |
Hallo zusammen,
ein wahnsinnig gutes Projekt wurde hier auf die Beine gestellt. Dafür erst mal Hut ab! Richtig gut!
Leider habe ich ein Problem:
Trotz mehrmaliger Neuinstallation per One-Line-Installation (egal ob mit Spotify oder ohne) wird mein RFID Reader von Neuftech EM4100 nicht erkannt. Bzw. das System erkennt ihn. In der WebApp steht der RFID Reader allerdings als "disabled" und er wird bei klick auf "Switch ON" auch nicht aktivert.
Habe schon einiges Ausprobiert, was hier im Forum steht. Auch der MDP Server läuft nicht. Ich kann also auch via WebApp keine Dateien abspielen.
Mein Setup:
Raspberry 3 B+
Neuftech EM4100
Raspbian GNU/Linux 9.3 (stretch)
Ich freue mich über jede Hilfe!
Update: MPD Server wird nicht beim booten aktiviert, sondern muss händisch übers Terminal aktiviert werden. Was mich noch mehr ins Grübeln bringt. Hab gerade noch mal neuinstalliert, allerdings ändert das nicht an der Problematik
Update 2
Failed to start phoniebox-rfid-reader.service: Unit phoniebox-rfid-reader.service is not loaded properly: Invalid argument. See system logs and 'systemctl status phoniebox-rfid-reader.service' for details
Bekomme ich sowohl beim booten des raspeberry, als auch, wenn . ich den service via
sudo systemctl start phoniebox-rfid-reader
aktivieren möchte
und
Failed to start phoniebox-rfid-reader.service: Unit phoniebox-rfid-reader.service is not loaded properly: Invalid argument. See system logs and 'systemctl status phoniebox-rfid-reader.service' for details
hier die details:
Jan 22 17:38:39 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read Jan 22 17:38:39 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l Jan 22 17:38:48 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read Jan 22 17:38:48 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l Jan 22 17:38:48 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read Jan 22 17:38:48 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l Jan 22 17:38:49 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read Jan 22 17:38:49 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l Jan 22 17:39:05 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read Jan 22 17:39:05 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l lines 1-14/14 (END)
evtl. gibt es ein Problem mit der deamon_rfid_reader.py ?
Traceback (most recent call last): File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 5, in <module> from Reader import Reader File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 23, in <module> from evdev import InputDevice, ecodes, list_devices ImportError: No module named 'evdev'
`sudo systemctl status phoniebox-rfid-reader
● phoniebox-rfid-reader.service - Phoniebox RFID-Reader Service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Jan 22 17:38:39 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read
Jan 22 17:38:39 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l
Jan 22 17:38:48 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read
Jan 22 17:38:48 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l
Jan 22 17:38:48 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read
Jan 22 17:38:48 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l
Jan 22 17:38:49 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read
Jan 22 17:38:49 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l
Jan 22 17:39:05 raspberrypi systemd[1]: [/etc/systemd/system/phoniebox-rfid-read
Jan 22 17:39:05 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service l
lines 1-14/14 (END)
`
The text was updated successfully, but these errors were encountered: