Box stoppt Wiedergabe wenn Karte weg.

Vielen Dank für deine Tipps. Aber das Problem tritt ja schon früher auf, da ich gar nicht überprüfen kann, ob eine Karte aufgelegt/entfernt wurde, da mfrc522.PICC_IsNewCardPresent() nach dem auflegen der modifier Karte nur noch false zurückgibt. Somit denkt der Handlecardreader es gibt keine Änderungen.

Das heist du hängst am Anfang von pollCard() fest
das ist echt schwer ohne Code bei eigenen Modifikationen zu helfen Sorry

Das verstehe ich. Dann konkreter gefragt, hatte jemand schon das Problem, dass mfrc522.PICC_IsNewCardPresent() immer false zurückgibt, obwohl neue Karten aufgelegt wurden?

Ich hatte endlich Zeit mich dem Problem zu widmen. In der ReadCard() Funktion werden die modifier gesetzt/zurückgesetzt. Wenn ich hier die Aufrufe PICC_HaltA() und PCD_StopCrypto() einfüge, funktionieren auch die modifier Karten.

1 „Gefällt mir“

Ich hab mir gestern das Skript, aus Deinem Github Repositiroy installiert. Ist das richtig, dass dies im Prinzip der letzte Stand der offiziellen Def ist, plus zwei Anpassungen Pause when card away und erweiterte Hörbuchmodus?

Das Skript und Stop when card away funktioniert bei mir soweit. Sehr cool finde ich, dass das erneute dranhalten der selben Karte den Titel da fortsetzt, wo er pausiert wurde.

Modifer habe ich noch nicht ausprobiert und auch die zwei Anpassungen dazu nicht nachgezogen.

Genau so ist es, es ist der letzte Stand der offiziellen DEV.

Ich habe zwei DEV branches, der eine (DEV) sollte so ziemlich nur die Änderungen haben die beim wegnehmen der Karte die Wiedergabe stoppt. Aktuell sollte es auch mit Modifier-Karten gehen.

Im Mcgreg-Mod ist eher meine Spielwiese. So habe ich da z.b. das Farbenmemory versuchsweise als Modifier Karte Implementiert, oder die Lautstärkenregelung über Potentiometer.

@mcgreg Darf ich Dich Fragen, ob Du beim aufspielen der angepassten Version auf den Tonuino irgendetwas besonderes gemacht hast, außer den Sketch auf den Arduino hochzuladen? Ich hatte gesehen, dass du auf Github eine aktualisierte Version eingestellt hast und wollte diese bei mir nachziehen. Mein tonuino hatte sich nämlich aufgehängt als ich mit der alten Version eine modifier Karte benutzt habe. Das Aufspielen hatte aber nicht den gewünschten Erfolg und beim Wegnehmen der Karte Stoppt die Musik leider nicht mehr. Vielleicht sehe ich etwas ganz grundlegendes?

Wenn du die aktuellste Version genommen hast, sollte es eigentlich gehen.
Wiedergabe stoppen wenn Karte entfernt wird, kann über das Admin Menü Ein/Ausgeschaltet werden.
Falls du einen Reset gemacht hast, werden initiale Einstellungen geladen, da stoppt die Wiedergabe nicht, wenn Karte weggenommen wird (das ändere ich gleich :wink:).
Lade dir (falls nicht schon geschehen) aus meinem Github die Dateien:

0913_stopWhenCardAway.mp3
0937_stopWhenCardAway_intro.mp3
0938_no.mp3
0939_yes.mp3

und kopiere sie ins mp3 Verzeichnis. Danach kannst du im Admin Menü, als letzte (13te) Option das Kartenverhalten festlegen: “Soll die Wiedergabe pausiert werden, wenn Karte entfernt wird?”, hier natürlich “Ja” wählen.

Danke für den Tip! Damit funktioniert das “Pause when Card Away” Feature wieder. Ich habe die Änderungen, die Du im Sketch gemacht hast, damit das Feature standardmäßig aktiviert ist, bei mir auch nachgezogen. Danke dafür!

Ich habe einen kleinen Bug entdeckt. Nach einem Kartenlesefehler nimmt der Tonuino keine weiteren Kartenbefehle mehr an.

Die Konsole gibt folgendes aus:

ReadCardSerial finishedCard UID: 56 27 50 42
PICC type: MIFARE 1KB
Authenticating Classic using key A…
Reading data from block 4 …
MIFARE_Read() failed: The CRC_A does not match.

Ich nutze die aktuelle McGreg Dev Version mit dem “Stop when Card Away” Feature. @Thorsten hatte einen ähnlichen(?) Bug bereits Ende Januar in seiner offiziellen Dev Version gefixt (siehe auf Github commit vom 31. Januar 2019 "Fix falls die Karte nicht gelesen wird). Ob der Bug mit dem Stop When Card Away Feature zusammenhängt oder allgemeiner Natur ist kann ich nur mutmaßen. Ich habe leider keine ausreichenden Programmierkenntnisse, um das Problem in der Software nachzuvollziehen. Falls sich jemand daran versuchen möchte, gerne. Es hat aber wohl nicht die höchste Prio, da sich (zumindest bei mir) Kartenlesefehler auch mutwillig nur mit viel Geduld herbeiführen lassen.

Dann muss es auch in dieser Version gefixt werden, falls dies überhaupt möglich ist (bin da nicht so tief drin, nutze das nicht). Diese Lesefehler können immer mal vorkommen, wenn man mit der Karten zu schnell/langsam oder in ungünstigem Winkel zum Leser kommt etc. Ich halte das bei „Funk“ für normal.
In Master/DEV/meiner Version ist das in der Regel kein Problem weil dann einfach nochmal gelesen wird. Der lockup muss also was mit @mcgreg‘s Mechanik zur Realisierung der „stop wenn Karte weg“ Funktion zu tun haben.

Hallo @Anton-V,

ich habe schon eine Vermutung woran es liegt. Bin aber z.Zt. nicht in der Lage den Fehler nachzuvollziehen & meinen Fix zu testen.

Ich habe mal “auf Verdacht” diese Änderungen soeben in meine DEV Version übernommen. Vielleicht magst du es testen und mir Feedback geben.

2 „Gefällt mir“

Da teste ich natürlich gerne!! Und kann auch schon Erfolg vermelden!!

Ich konnte zwei unterschiedliche Fehler erzeugen: MIFARE_Read() failed und PCD_Authenticate() failed. Beide führen nun nicht mehr zu Problemen. Hier ein Auszug aus der Konsole, bei dem beide Fehler unmittelbar nacheinander aufgetreten sind und die Karte anschließend trotzdem erkannt wurde:

Karte ist weg!
=== setstandbyTimer()
334979
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()

Vielen Dank an @mcgreg für das schnelle zur Verfügung stellen eines Fixes!!!

Der vollständigkeithalber hier noch die gesamte Konsole meines Tests:

TonUINO Version 2.1 + mods by McGreg
created by Thorsten Voß and licensed under GNU/GPL.
Information and contribution at https://tonuino.de.

=== loadSettingsFromFlash()
Version: 2
Maximal Volume: 25
Minimal Volume: 1
Initial Volume: 15
EQ: 1
Locked: 0
Sleep Timer: 1
Inverted Volume Buttons: 1
Admin Menu locked: 0
Admin Menu Pin: 1111
=== setstandbyTimer()
60039
Firmware Version: 0x91 = v1.0
=== playShortCut()
3
== playFolder()
=== disablestandby()
8 Dateien in Ordner 1
Einzel Modus -> eine Datei aus dem Odrdner abspielen
=== disablestandby()
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Neue Karte== playFolder()
=== disablestandby()
9 Dateien in Ordner 4
Einzel Modus -> eine Datei aus dem Odrdner abspielen
=== volumeUp()
16
=== volumeUp()
17
=== volumeUp()
18
=== volumeDown()
17
=== volumeDown()
16
=== volumeDown()
15
=== volumeDown()
14
=== volumeDown()
13
=== volumeDown()
12
=== volumeDown()
11
=== volumeDown()
10
=== volumeDown()
9
=== volumeDown()
8
=== volumeDown()
7
=== volumeDown()
6
=== volumeDown()
5
=== volumeDown()
4
=== volumeDown()
3
=== volumeDown()
2
=== volumeDown()
1
=== volumeDown()
1
Karte ist weg!
=== setstandbyTimer()
92547
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
99521
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
104776
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
106190
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
114679
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
124581
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
128321
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
130241
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
131150
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
132363
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
133171
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
136001
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
137618
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
139436
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
142873
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
153179
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
165913
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
168641
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
173390
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
174098
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
174501
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
177533
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
183698
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
187739
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
195621
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
196733
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
198755
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
200675
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
201887
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
211587
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
218056
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
227959
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
230787
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
380
=== nextTrack()
Einzel Modus aktiv -> Strom sparen
=== setstandbyTimer()
246449
380
Karte ist weg!
=== setstandbyTimer()
249691
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
258585
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
265859
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
266568
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
276673
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
280513
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
286576
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
291225
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
293245
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
297591
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
298499
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
302542
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
304765
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
305876
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
306483
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
307595
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
308302
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
309010
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
310121
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
311131
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
313355
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
314971
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
316588
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
317498
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
318711
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
321035
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
323056
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
324067
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
324571
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
325481
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
327805
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
328411
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
329321
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
330130
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
332050
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
332756
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
334979
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
MIFARE_Read() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
336899
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
PCD_Authenticate() failed: Error in communication.
Karte konnte nicht gelesen werdenReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
339528
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
339931
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
349633
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
350239
ReadCardSerial finishedCard UID: 36 E8 4C 42
PICC type: MIFARE 1KB
Authenticating Classic using key A...
Reading data from block 4 ...
Data on Card :
 13 37 B3 47 02 04 04 01 B6 00 00 00 00 00 00 00

4
4
Gleiche Karte=== disablestandby()
Karte ist weg!
=== setstandbyTimer()
353978
=== power off!

Freut mich, dass es geklappt hat und meine Version einen Tester hat

:wink:

1 „Gefällt mir“

Hallo Thorsten,
wo finde ich diesen Pull-Request? Hab in der Requestliste geschaut, aber nichts finden können (oder bin zu blöd dafür :wink: -> Pull Requests TonUINO).
Oder ist die Funktion schon im DEV? Wenn ja, wie aktiviere ich sie? Meine Zwei-Tasten-Box ist kurz vor der Fertigstellung und ich würde wenn möglich diese Variante nutzen wollen. Für die Adminfunktionen habe ich ein kleines Papa-Admin-Panel mit drei Tasten gebastelt. Stelle ich in den nächsten Tagen kurz vor.

Schon mal vielen Dank im Voraus für die Hilfe.

Ist aber nicht mergeable im Moment. Wenn du das nutzen willst musst du zur Zeit @mcgreg‘s Fork einsetzen.

1 „Gefällt mir“

Hallo @Gulpman, nimm lieber meine aktuelle DEV version, da sind noch diverse bugfixes drin und Unterstützung für die modifier karten.

Hallo zusammen, vielen Dank für die vielen Hinweise!
@mcgreg fusst Deine Version auf der aktuellen V2.1 (dev) oder V2.0 (master)?

Viele Grüße
Sascha

Sie basiert auf DEV.