Block a user
ERROR in printer: [Errno 16] Resource busy
Add timer before the picture is taken
Restructure the code to properly provide an API, and give proper responses on the web page
For example :
else:
app.logger.error("Method not allowed")
# flash("Method not allowed")
# return redirect(url_for("index"))
return "Method not…
Restructure the code to properly provide an API, and give proper responses on the web page
Add udev and permission information in the README
Make the requirement for a signature optionnal, add configuration to this effect
Add timer before the picture is taken
When in photomaton mode, it's not useful, but when the picture is taken from the web interface, it would be a simple timer, for example 3 seconds. That can be done with Javascript.
Add a sleep mode when not in use
After a bit of thought :
- The raspberry pi has no sleep mode really,
- The printer doesn't either,
- We only have 2 LEDs always on
So not sure how all of this would work, or even be useful.