Search code examples
python-3.xkeyraspberry-pi3evdev

Can someone explain to me this keys variable does


I am developing a door lock using USB RFID and raspberry. I searched and almost all the python scripts I found with familiar code have the following variable keys. So can someone explain to me why they use it or why I have to use it too. Thank you in advance. python code image


Solution

  • On a quick research from the official documentation of Raspberry pi

    It is a default authentication key which you were looking at those forums. These keys are used for testing purposes but in the live products they use different ways to authenticate by scanning the RFID. Here is one example that is good for starters to understand how RFID scanning works.