Skip to content
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

question: Using photOS offline #105

Open
Notonegoro opened this issue Jul 5, 2023 · 4 comments
Open

question: Using photOS offline #105

Notonegoro opened this issue Jul 5, 2023 · 4 comments

Comments

@Notonegoro
Copy link

Hi,
is there an option, that i could run photOS offline, because on the location i want to use it, there is no wifi.
As a workaround i could think of trying to run the WebDav server local on the same raspberry. (I guess that's to experimental)
So is it maybe possible to just use a folder on the SD-card or on a mounted external storrage?

@jinks113
Copy link

jinks113 commented Jul 8, 2023

My workaround was to use an old router (TPlink WR710) after setup (connected to the internet). Then the pictures are downloaded. This may also be done manually to this folder: /data/photoframe/images_local/
photOS receives an IP address from the router and is satisfied to start.

@Notonegoro
Copy link
Author

That sounds like a solution, but unfortunately i would prefer to run it without a additional device (since i would have to purchase it).
Would i be possible to add a flag in the config for offline use?

@Surfer2010
Copy link

Surfer2010 commented Sep 4, 2023

Would be a better solution in my eyes to start up no matter if there is a wifi signal or not, show the saved pictures and check (using a cronjob) ever x min/hours if a signal is available.
Once connected trigger the sync process.

What do you think?
How could this be done

@Mathes75
Copy link

Mathes75 commented Aug 21, 2024

I stumbled upon the same issue and in the WiKi I found a hint that helped me.

My scenario: Pi Zero W boots up using my mobile phone hotspot to sync and to prevent Panic reboots. Shutting down the hotspot or moving away from Pi keeps it alive, cycling the stored pictures.
For updating, I need to cut power and reboot with my hotspot available.

Solutions for your request @Notonegoro:

Create file os.conf by using SSH, enabling PhotOS to boot without network:

ssh root@photos-xxxxxxxx
echo "OS_NETWORKLESS=true" >> /data/etc/os.conf
sync
reboot

In that case, PhotOS will boot without network, no update, no remote control.

To use same setup as described above, please use following SSH commands:

ssh root@photos-xxxxxxxx
echo "LINK_WATCH=false" >> /data/etc/watch.conf
sync
reboot

The instructions given at the end of the FAQ are not working as they are creating a file netwatch.conf that is not used by OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants