-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local IP to download the picture #22
Comments
Ok, I found something that works for me:
where 192.168.0.1 is your ip address (*)
TO DO:
|
I added a new variabele {ip} which stands for yout local IP address by changing the code in pibooth_qrcode.py from: def state_processing_exit(cfg, app): and adding: The IP address is automaticaly found and strored in de config.cfg file. Now you are able to download the resultpicture via the QR code to your phone IF you are on the same netwerk Maybe the code itself can be written in a better way, feel free to help me out on this :-) |
I did not tested this on Bookworm. But when I look at your error, you have a permission error for
|
Can this plug-in be used local? I mean: if you dan't want to upload the pictures to google photos. The pictures are stored for instance in the folder
/home/pi/Desktop/Pictures/pibooth
If you are connected with your phone to the same network, is it possible that the QR-code contains192.168.1.204/home/pi/Desktop/Pictures/pibooth/2024-04-08-19-08-33_pibooth.jpg
to donwload this to your phone?When I type this URL (
192.168.1.204/home/pi/Desktop/Pictures/pibooth/2024-04-08-19-08-33_pibooth.jpg
) on my phone, I got the "Page not found"-error so maybe you have to set something on the RPI to access this photo?The text was updated successfully, but these errors were encountered: