-
Notifications
You must be signed in to change notification settings - Fork 402
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
Pause/Stop playback if card is removed #684
Comments
related #572, similar idea, but didn't render any result (stalled) |
I'd love working on this, solving #683 first would help :) |
I would also like to participate on this issue. Similar to @joshwapohlmann I am not sure how to contribute. As far as I understood the problem is that Reader.py is only called when a RFID-chip is present. So implementing this issue probably requires some kind of watchdog, which regularly (every second or so) checks if a RFID-card is no longer present and than pauses? |
@Erechtheus I'm working on #683 right now and link to the result so we both might get to a mutual understanding what and how to do. :) |
just leaving my two cents, the Phidgets 1024 RFID reader supports reporting of card presence both in in their APIs (it's USB) and via hardware, via a block terminal:
This property is true if a compatibile RFID tag is being read by the reader.
Occurs when an RFID tag that was being read is removed from the read range. ping @MiczFlor |
Thats a great function - but comes with a huge price tag... 60 $ for a RFID reader is quite a lot to ask for... |
true, but maybe it's just a software feature in libphidget that could be implemented? |
a cheap solution for that problem is to use a reed switch that you place close to the rfid reader... |
Is already implemented. For V3 see e.g. here https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/future3/main/documentation/developers/rfid/basics.md#place_not_swipe-true--false |
I found that it can be more intuitive to a child, to place the card and let it rest on the box as long as it wishes to listen to the story/song. The expectation is, that the playback stops when the card is removed.
Therefore I would like to have the option to enable this behavior (maybe selectable in the web apps settings page).
The text was updated successfully, but these errors were encountered: