MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.38k stars 397 forks source link

Reading RFID tags fails #38

Closed boxboo closed 6 years ago

boxboo commented 6 years ago

Hello!

I followed the installation guide which worked very well for me and I did not get a single error message during the whole installation and configuration process. So to begin with a big THANK YOU to MiczFlor. My kids can't wait using the Jukebox.

The webserver, external soundcard, samba etc. are working fine and also the connected devices seem to work properly. Music is also playing when using the webserver. IDs are recognized and files are created on the samba share...

The only (and essential) issue though is that the "translation" of RFID tags into music playback does not work. Like if there is something wrong in the listening process / the setup of the python script. When holding an RFID tag at the device it shows me the ID on the console and on top of that an error message "-bash : 0005347171: command not found" (In German: "-bash : 0005347171: Kommando nicht gefunden). However I have followed the setup carefully and can confirm the right device (rfid-reader) is being listened to.

Any idea what else I could check?

Many thanks for your help (would be much appreciated!)

Best Jan

MiczFlor commented 6 years ago

Hi @boxboo I reply in English, so that this might help others in other languages, too :) What I am not sure about: what does not work?

The command not found does not surprise me. When you have the reader plugged in and swipe a card, the reader will "type" the ID and "press enter" as if you would type it into a keyboard. And because the number is not a valid command, it returns this info.

boxboo commented 6 years ago

I solved my issue which was due to use of Windows WordPad when editing the shortcuts file. It has put a break which was the reason for not working,,, Now all works fine. Excellent! Maybe worth mentioning the trap in the documentation?

MiczFlor commented 6 years ago

You are right, and so I did: https://github.com/MiczFlor/RPi-Jukebox-RFID/commit/8c31dd8bc0f80f574edd93617365c3cbb689b6f1

axelslade commented 6 years ago

Hi all,

this is a really awesome project. I am so excited to build this Jukebox - but I cannot solve one issue. I have installed everything. The WebApp lets me play music and I can hear it. The RFID readers creates the shortcut, lists the latestID. the playout_controls.sh exists. But when I swipe the card, no sounds gets played.

In the webapp (after a reload) I see that the folder was selected and it shows the songs which should be playing, but the player does not start (no sound).

Any idea?

MiczFlor commented 6 years ago

Hi @axelslade good to have you on board, let's see if we can get this ship to leave the harbour. Always difficult to diagnose from a distance, but, hey let's try.

axelslade commented 6 years ago

Hi @MiczFlor - I could not wait and reinstalled the whole pack (also on stretch - before it was jessie). Now it is working perfectly fine...

Sorry that we cannot analyze, but on the other hand, you can close this thread again!

Thank you