FollyEngine / 1819

track all the parts we need to build
1 stars 0 forks source link

rfid-mifare has timeout that causes missed reads #8

Closed SvenDowideit closed 5 years ago

SvenDowideit commented 5 years ago

start it up, and wait for 10mins - then scan - you get the beep and green led, but no message, scan again, and you get the mqtt message.

iirc, the python code's output tells you there was a timeout and resets, but we need to avoid needing to double tap.

SvenDowideit commented 5 years ago

I just redid the mqtt loop to use a background thread, and added a wait_for_publish() that removed this issue :)

SvenDowideit commented 5 years ago

I just redid the mqtt loop to use a background thread, and added a wait_for_publish() that removed this issue :)