A switch was added to the system to switch between normal operation and "add user" mode. When in add user mode, any QR codes are added to the trusted user list and will be able to open the door. Relevant commit here. Buildroot not updated for this issue.
DoD:
Button can be used to tell the Pi to add the next QR code to the safe list
Below is an image showing the switch in the "add user" mode. The second image is back in regular mode. The small two position on the breadboard controls the modes.
QR code can be used to open door once added to list
Below is the terminal output showing this in operation. The test process goes as follows: The code first denies access to the new user, the switch is switched to "add user" mode, the code is scanned again and added to trusted user list, the switch is put back into normal mode, the code is scanned again, the door is opened for the new user. I then tested one of the original codes just to verify it was still working.
ORIGINAL COMMENT
It may be necessary to add new authorized users while the code is running. The code should be able to accommodate this by allowing some scanned QR codes to be added to the trusted list.
DoD:
Button can be used to tell the Pi to add the next QR code to the safe list
QR code can be used to open door once added to list
A switch was added to the system to switch between normal operation and "add user" mode. When in add user mode, any QR codes are added to the trusted user list and will be able to open the door. Relevant commit here. Buildroot not updated for this issue.
DoD:
Below is an image showing the switch in the "add user" mode. The second image is back in regular mode. The small two position on the breadboard controls the modes.
Below is the terminal output showing this in operation. The test process goes as follows: The code first denies access to the new user, the switch is switched to "add user" mode, the code is scanned again and added to trusted user list, the switch is put back into normal mode, the code is scanned again, the door is opened for the new user. I then tested one of the original codes just to verify it was still working.
ORIGINAL COMMENT It may be necessary to add new authorized users while the code is running. The code should be able to accommodate this by allowing some scanned QR codes to be added to the trusted list.
DoD:
Blockers: None