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 Neuftech EM4100 #747

Closed
maltheluda opened this issue Jan 22, 2020 · 100 comments
Closed

RFID Reader funktioniert nicht Neuftech EM4100 #747

maltheluda opened this issue Jan 22, 2020 · 100 comments

Comments

@maltheluda
Copy link

maltheluda commented Jan 22, 2020

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!

image
image

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)
`

@ZyanKLee
Copy link
Collaborator

ZyanKLee commented Jan 22, 2020

I had issues with my rfid reader, too. What worked, though, was using the Reader.py.experimental instead:

cd /home/pi/RPi-Jukebox-RFID/scripts/
mv Reader.py Reader.py.original
mv Reader.py.experimental Reader.py

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 Reader.py.experimental zu nutzen:

cd /home/pi/RPi-Jukebox-RFID/scripts/
mv Reader.py Reader.py.original
mv Reader.py.experimental Reader.py

Probier es mal aus. Wenn es nicht funktioniert gib wieder Bescheid.

@GMZ87 - probier das bitte auch mal aus wegen deines Problems in #739

@maltheluda
Copy link
Author

Danke @ZyanKLee für die schnelle Antwort!
Allerdings hat sich weder an der Fehlermeldung noch an dem Problem etwas geändert.

Im Web Interface kann ich nach wie vor den RFID Reader nicht von disabled auf enabled setzen.


Thanks for your quick response!
But it did not work.

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.

@ZyanKLee
Copy link
Collaborator

did you reboot? forgot to mention that step

@maltheluda
Copy link
Author

yes I did. No changes

@Vanierica
Copy link

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.

@s-martin
Copy link
Collaborator

Can you post the result of sudo pip list or sudo pip3 list?

I suspect that currently the installscript doesn't install evdev for Python 3.

@maltheluda
Copy link
Author

result of sudo pip list

automationhat (0.0.4) blinker (1.3) blinkt (0.1.1) buttonshim (0.0.2) Cap1xxx (0.1.3) chardet (2.3.0) click (6.6) colorama (0.3.7) colorzero (1.1) cryptography (1.7.1) dnspython (1.15.0) drumhat (0.1.0) enum34 (1.1.6) envirophat (0.0.6) evdev (0.7.0) ExplorerHAT (0.4.2) Flask (0.12.1) fourletterphat (0.1.0) gpiozero (1.5.0) idna (2.2) ipaddress (1.0.17) itsdangerous (0.24) Jinja2 (2.8) keyring (10.1) keyrings.alt (1.3) lxkeymap (0.1) MarkupSafe (0.23) mcpi (0.1.1) microdotphat (0.1.3) mote (0.0.3) motephat (0.0.2) mutagen (1.36) numpy (1.12.1) oauthlib (2.0.1) pantilthat (0.0.5) phatbeat (0.1.0) pi-rc522 (2.2.1) pianohat (0.1.0) picamera (1.13) picraft (1.0) piglow (1.2.4) pigpio (1.38) Pillow (4.0.0) pip (9.0.1) pyasn1 (0.1.9) pycrypto (2.6.1) pygame (1.9.3) pygobject (3.22.0) pyinotify (0.9.6) PyJWT (1.4.2) pyOpenSSL (16.2.0) pyserial (3.2.1) pyxdg (0.25) rainbowhat (0.0.2) requests (2.12.4) requests-oauthlib (0.7.0) RPi.GPIO (0.6.3) RTIMULib (7.2.1) scrollphat (0.0.7) scrollphathd (1.2.0) SecretStorage (2.3.1) sense-emu (1.0) sense-hat (2.2.0) setuptools (33.1.1) simplejson (3.10.0) six (1.10.0) skywriter (0.0.7) sn3218 (1.2.7) SPI-Py (1.0) spidev (3.3) touchphat (0.0.1) twython (3.4.0) unicornhathd (0.0.3) urllib3 (1.19.1) Werkzeug (0.11.15) wheel (0.29.0)

result of sudo pip3 list
automationhat (0.0.4) blinker (1.3) blinkt (0.1.1) buttonshim (0.0.2) Cap1xxx (0.1.3) chardet (2.3.0) click (6.6) colorama (0.3.7) colorzero (1.1) cryptography (1.7.1) drumhat (0.1.0) envirophat (0.0.6) ExplorerHAT (0.4.2) Flask (0.12.1) fourletterphat (0.1.0) gpiozero (1.5.0) idna (2.2) itsdangerous (0.24) jedi (0.10.2) Jinja2 (2.8) keyring (10.1) keyrings.alt (1.3) MarkupSafe (0.23) mcpi (0.1.1) microdotphat (0.1.3) mote (0.0.3) motephat (0.0.2) numpy (1.12.1) oauthlib (2.0.1) pantilthat (0.0.5) pgzero (1.2) phatbeat (0.1.0) pianohat (0.1.0) picamera (1.13) picraft (1.0) piglow (1.2.4) pigpio (1.38) Pillow (4.0.0) pip (9.0.1) pyasn1 (0.1.9) pycrypto (2.6.1) pygame (1.9.3) pygobject (3.22.0) pyinotify (0.9.6) PyJWT (1.4.2) pyOpenSSL (16.2.0) pyserial (3.2.1) python-apt (1.1.0b5) pyxdg (0.25) rainbowhat (0.0.2) requests (2.12.4) requests-oauthlib (0.7.0) RPi.GPIO (0.6.3) RTIMULib (7.2.1) scrollphat (0.0.7) scrollphathd (1.2.0) SecretStorage (2.3.1) sense-emu (1.0) sense-hat (2.2.0) setuptools (33.1.1) simplejson (3.10.0) six (1.10.0) skywriter (0.0.7) sn3218 (1.2.7) spidev (3.3) thonny (2.1.16) touchphat (0.0.1) twython (3.4.0) unicornhathd (0.0.3) urllib3 (1.19.1) Werkzeug (0.11.15) wheel (0.29.0)

you are right, @s-martin there is no evedev for Python 3

@s-martin
Copy link
Collaborator

s-martin commented Jan 22, 2020

Please execute sudo pip3 install "evdev == 0.7.0" and try again.

@s-martin
Copy link
Collaborator

And also

sudo pip3 install git+git://github.com/lthiery/SPI-Py.git#egg=spi-py
sudo pip3 install pi-rc522

@maltheluda
Copy link
Author

I did so. No changes on that problem.

@s-martin
Copy link
Collaborator

You still have the traceback error from daemon_rfid_reader.py?

@maltheluda
Copy link
Author

systemctl status phoniebox-rfid-reader.service`

give this as a feedback:
● phoniebox-rfid-reader.service - Phoniebox RFID-Reader Service Loaded: error (Reason: Invalid argument) Active: inactive (dead)
No traceback error anymore, right? ;-)

@s-martin
Copy link
Collaborator

Start the service with systemctl start phoniebox-rfid-reader.service

@maltheluda
Copy link
Author

After authentication I got this:

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

and the result of systemctl status phoniebox-rfid-reader.service is again this:
● phoniebox-rfid-reader.service - Phoniebox RFID-Reader Service Loaded: error (Reason: Invalid argument) Active: inactive (dead)

@maltheluda
Copy link
Author

maltheluda commented Jan 22, 2020

So, after I did all these tries with @s-martin (thanks a lot dude) I did a reboot.
And tried to start the service manually by using systemctl start phoniebox-rfid-reader.service

This is the result:

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

These are the known details:
● phoniebox-rfid-reader.service - Phoniebox RFID-Reader Service Loaded: error (Reason: Invalid argument) Active: inactive (dead)

@s-martin
Copy link
Collaborator

Did you try

cd /home/pi/RPi-Jukebox-RFID/scripts/
python3 RegisterDevice.py

according to configure?

@maltheluda
Copy link
Author

maltheluda commented Jan 22, 2020

yes, I did. and HXGCoLtd is registered.

And the device works on OS. It beeps when it turns on, beeps when swiping card over it and writes the ID of the card into a textfile after swiping.

But RFID Reader is still disabled on webapp and does not work
image

Still:
systemctl status phoniebox-rfid-reader.service ● phoniebox-rfid-reader.service - Phoniebox RFID-Reader Service Loaded: error (Reason: Invalid argument) Active: inactive (dead)

@ZyanKLee
Copy link
Collaborator

ZyanKLee commented Jan 22, 2020

can you please paste the content of /etc/systemd/system/phoniebox-rfid-reader.service

and what does cd /home/pi/RPi-Jukebox-RFID && sudo -u pi -H python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py do?

@maltheluda
Copy link
Author

the content of /etc/systemd/system/phoniebox-rfid-reader.service:

`[Unit]
Description=Phoniebox RFID-Reader Service
After=network.target iptables.service firewalld.service

[Service]
User=pi
Group=pi
Restart=always
WorkingDirectory=/home/pi/RPi-Jukebox-RFID
ExecStart=python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py

[Install]
WantedBy=multi-user.target`

result of:
cd /home/pi/RPi-Jukebox-RFID && sudo -u pi -H python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py

is just:
/home/pi/RPi-Jukebox-RFID/scripts

for minutes ... if I am pressing strg+c to startover, the result is:
^CTraceback (most recent call last): File "/home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py", line 29, in <module> cardid = reader.reader.readCard() File "/home/pi/RPi-Jukebox-RFID/scripts/Reader.py", line 57, in readCard r, w, x = select([self.dev], [], []) KeyboardInterrupt

how does it sound for you?

@ZyanKLee
Copy link
Collaborator

ZyanKLee commented Jan 22, 2020

sounds great - the daemon script is indeed not meant to end its execution on its own - afaict. Now everything works as it should?

@maltheluda
Copy link
Author

maltheluda commented Jan 22, 2020

nope. sadly not.
MPD Server is working well.

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:

2.371148] systemd[1]: [/etc/systemd/system/phoniebox-rfid-reader.service:10] Executable path is not absolute, ignoring: python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py 2.389123 systemd[1]: phoniebox-rifd.reader.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

still status of systemctl status phoniebox-rfid-reader.service:
● phoniebox-rfid-reader.service - Phoniebox RFID-Reader Service Loaded: error (Reason: Invalid argument) Active: inactive (dead)

@s-martin
Copy link
Collaborator

The issue is probably the ExecStart command ExecStart=python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py (from develop).

@MiczFlor
Copy link
Owner

MiczFlor commented Jan 23, 2020

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 /etc/systemd/system/phoniebox-rfid-reader.service the line from

ExecStart=python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py

to

ExecStart=python2 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py

and the first line in the file /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py
from

#!/usr/bin/env python3

to

#!/usr/bin/env python2

and then REBOOT!

@maltheluda
Copy link
Author

maltheluda commented Jan 23, 2020

thanks @s-martin and @MiczFlor for your answers.
I just edited the files as you said, but no improvement anyway. It is the same error message, if I do start the service manually by using systemctl start phoniebox-rfid-reader.service

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

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.

@s-martin
Copy link
Collaborator

I suspect it's a software issue, because Python version was recently harmonized and I didn't really test it on stretch.

@maltheluda
Copy link
Author

I just crashed the whoole system. I flashed the SD card again.
Let‘s start at zero. - I will use the one-line-install to install phoniebox again and will report

@maltheluda
Copy link
Author

After installing stretch and phoniebox via one-line again I had exactly the same iusses.
Now I am installing buster to check if this could work.

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? 🤔

@Alwiz79
Copy link

Alwiz79 commented Jan 31, 2020

@githubtee can you enable the reader through the webinterface?

@githubtee
Copy link

yes - i can turn it off and on inside the web interface and it works

@s-martin
Copy link
Collaborator

s-martin commented Jan 31, 2020

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...

@Alwiz79
Copy link

Alwiz79 commented Jan 31, 2020

@s-martin is there any way to install an older working version of the software..?
by adapting the one-line-installer?
I know too less about all this...

@s-martin
Copy link
Collaborator

If you use buster-install-default.sh, replace line 514 with git clone --branch master https://github.com/MiczFlor/RPi-Jukebox-RFID.git.

If you use stretch-install-default.sh, replace line 394 with git clone --branch master https://github.com/MiczFlor/RPi-Jukebox-RFID.git.

If you use stretch-install-spotify.sh, replace line 489 with git clone --branch master https://github.com/MiczFlor/RPi-Jukebox-RFID.git.

@Alwiz79
Copy link

Alwiz79 commented Jan 31, 2020

I would like to use stretch-install-default.sh

Line 394 is currently:
# prepare for python2 and python3

seems not right (?)

And then this is just referencing the master...should I be looking for "older" master? Like 1.1.7 or older?

@s-martin
Copy link
Collaborator

I would like to use stretch-install-default.sh

Line 394 is currently:
# prepare for python2 and python3

seems not right (?)

That's not the installer file from master, that's the one from develop.

@Alwiz79
Copy link

Alwiz79 commented Jan 31, 2020

omg...i give it up for tonight.. :-(
thats the installer file from /home/pi/RPi-Jukebox-RFID/scripts/installscripts
thanks for your effort, but it seems this is a mess currenly, and nothing for people with no or minimal knowledge..

@s-martin
Copy link
Collaborator

s-martin commented Jan 31, 2020

omg...i give it up for tonight.. :-(
thats the installer file from /home/pi/RPi-Jukebox-RFID/scripts/installscripts
thanks for your effort, but it seems this is a mess currenly, and nothing for people with no or minimal knowledge..

That's the wrong one.

Try
wget https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/master/scripts/installscripts/stretch-install-default.sh

Then change the content as described in #747 (comment)
and then
chmod +x stretch-install-default.sh; ./stretch-install-default.sh

Or Maybe tomorrow #767 is already merged.

@Alwiz79
Copy link

Alwiz79 commented Feb 1, 2020

@s-martin: ok, did all the above, still not working

@s-martin
Copy link
Collaborator

s-martin commented Feb 1, 2020

What's the result from /usr/bin/python2 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py?

@Alwiz79
Copy link

Alwiz79 commented Feb 1, 2020

`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
logger.info(f'Dir_PATH: {dir_path}')
^
SyntaxError: invalid syntax`

@s-martin
Copy link
Collaborator

s-martin commented Feb 1, 2020

I'm not sure whats happening, but that's still code from develop, which currently does not work on stretch.

Did you remove the directory RPi-Jukebox-RFID and all scripts before?
ATTENTION: you will loose all your settings, when you remove that directory.

Did you do then #747 (comment) and #747 (comment)

@Alwiz79
Copy link

Alwiz79 commented Feb 1, 2020

wait a minute - restarting everything again

Big Thanks @s-martin ! This is now working again.
I can now finish the box for tomorrows birthday.

@s-martin
Copy link
Collaborator

s-martin commented Feb 1, 2020

wait a minute - restarting everything again

Big Thanks @s-martin ! This is now working again.
I can now finish the box for tomorrows birthday.

Glad it works! Happy birthday tomorrow!!

@s-martin
Copy link
Collaborator

s-martin commented Feb 1, 2020

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?

@hlgrbmbm
Copy link

hlgrbmbm commented Feb 2, 2020

Does the fix only apply for stretch or also for buster?

Keep up the awesome Work !!!

@s-martin
Copy link
Collaborator

s-martin commented Feb 2, 2020

Should apply also to buster, the wiki has just an old file name.

@hlgrbmbm
Copy link

hlgrbmbm commented Feb 3, 2020

PERFECT!!
Just reinstalled the system with the one line script!
Thanks.

@MiczFlor
Copy link
Owner

MiczFlor commented Feb 3, 2020

Hi @hlgrbmbm : to complete this info for others: which one-line-install did you use?

@hlgrbmbm
Copy link

hlgrbmbm commented Feb 3, 2020

Sorry, I am new to this :)
A: I used the default script

@MiczFlor
Copy link
Owner

MiczFlor commented Feb 3, 2020

Hi @hlgrbmbm : no worries. Giving feedback at all is the most help :) often people forget to post such feedback if something works.

@jacktbio2
Copy link

Hello,
I tested the one line install last week and my rfid reader didn't word.
I tested the new one line install (defaut install for buster) today and now my rfid reader work well. Thanks a lot for the fix👍👍👍

@s-martin
Copy link
Collaborator

s-martin commented Feb 4, 2020

Looks like the issue is fixed for master. We could close this issue.

@MiczFlor MiczFlor closed this as completed Feb 4, 2020
@domu83
Copy link

domu83 commented Mar 1, 2020

@s-martin I installed buster master on Friday and found the described issue is still seen there.
I've tried the manual steps to overcome, but this did not resolve it. I have now installed the develop branch, but issue is still seen. I use a RC522 wired reader.

status output gives me:

pi@raspberrypi:~ $ sudo systemctl status phoniebox-rfid-reader
● phoniebox-rfid-reader.service - Phoniebox RFID-Reader Service
   Loaded: loaded (/etc/systemd/system/phoniebox-rfid-reader.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-03-01 10:11:01 GMT; 14s ago
  Process: 9634 ExecStart=/usr/bin/python3 /home/pi/RPi-Jukebox-RFID/scripts/daemon_rfid_reader.py (code=exited, status=1/FAILURE)
 Main PID: 9634 (code=exited, status=1/FAILURE)

Mar 01 10:11:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Service RestartSec=100ms expired, scheduling restart.
Mar 01 10:11:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Scheduled restart job, restart counter is at 5.
Mar 01 10:11:01 raspberrypi systemd[1]: Stopped Phoniebox RFID-Reader Service.
Mar 01 10:11:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Start request repeated too quickly.
Mar 01 10:11:01 raspberrypi systemd[1]: phoniebox-rfid-reader.service: Failed with result 'exit-code'.
Mar 01 10:11:01 raspberrypi systemd[1]: Failed to start Phoniebox RFID-Reader Service.
pi@raspberrypi:~ $

@s-martin
Copy link
Collaborator

s-martin commented Mar 1, 2020

@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 tail -n 500 /var/log/syslog

@jochmann
Copy link

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.

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