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

Synching several Picture Frames #418

Open
sapnho opened this issue Nov 24, 2024 · 2 comments
Open

Synching several Picture Frames #418

sapnho opened this issue Nov 24, 2024 · 2 comments

Comments

@sapnho
Copy link

sapnho commented Nov 24, 2024

It's Sunday morning, a bit rainy outside.. time for some new ideas around PictureFrame!

I wonder how it could be achieved that two or three frames, running in the same house/network, all running Pi3D PictureFrame, would show the same pictures at the same time?

All the photos can be synched across the different Pis but it would take a Master Pi3D PictureFrame Pi telling the Slave installations which picture to show.

Is that even possible with our architecture?

@paddywwoof
Copy link
Collaborator

At the moment the random list uses an sqlite function but if it was done using python then the seed could be stored and accessed by other RPis. I thought about this as a way to allow picframe to pick up from where it stopped but it could work for your Idea too. There would also need to be a sequence number and synchronisation time passed, possibly using v simple socket communication

@helgeerbe
Copy link
Owner

I think picframe has nearly everything on board. I would use the mqqt home assistant interface.
Übersicht_–_Home_Assistant

  1. Picframe slaves should subscribe to the master picframe image update message.
  2. on message trigger next.
  3. on image load, if slave read image from url
from PIL import Image
import requests

im = Image.open(requests.get(url, stream=True).raw)
  1. on metadata read, if slave, take data from mqtt message.

Advantage is, that you don't have to deal with synchronize your image pool. What's on master picframe will be displayed on slaves.

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

3 participants