You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the Wait Timeout for the Card Removal Trigger a Configurable Property
What functionality would you like to see in your phoniebox?
I need this Property because I had some issues with some cheaper Stickers loosing connection
How do you envision the feature to work from a users perspective?
Make it a Configuration similar to the Second Swipe Delay
Further information that might help
As a workaround I just change it in jukebox/components/rfid/reader/init.py
def run(self):
self._logger.debug("CardRemovalTimerClass watchdog started")
has_timed_out = True
while True:
# Prevent max CPU by forced loop slow down when self.trigger.is_set() is permanently high
time.sleep(0.2)
# This is the actual timer:
# self.trigger.wait() aborts immediately when trigger.is_set becomes True
**self.trigger.wait(2) <- Here I change the value**
if self.trigger.is_set():
I never did anything with python before so I am to lazy to do a pull request and learn it enough to get it working. When I tried a ran into multiple problems. I still think other users will benifit from such a property.
The text was updated successfully, but these errors were encountered:
Feature Description
Make the Wait Timeout for the Card Removal Trigger a Configurable Property
What functionality would you like to see in your phoniebox?
I need this Property because I had some issues with some cheaper Stickers loosing connection
How do you envision the feature to work from a users perspective?
Make it a Configuration similar to the Second Swipe Delay
Further information that might help
As a workaround I just change it in jukebox/components/rfid/reader/init.py
I never did anything with python before so I am to lazy to do a pull request and learn it enough to get it working. When I tried a ran into multiple problems. I still think other users will benifit from such a property.
The text was updated successfully, but these errors were encountered: