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

Feature request, PictureFrame2020 MQTT with host name in the topic #56

Open
fanlessfan opened this issue Jan 22, 2021 · 4 comments
Open

Comments

@fanlessfan
Copy link

Hello, I setup two PictureFrame2020 servers with MQTT control. since the MQTT topic only starts with frame/#, there is no way to control them differently. Is it possible to add hostname in the topic?

thx

@paddywwoof
Copy link
Member

Hi, I think that's already in the develop branch https://github.com/pi3d/pi3d_demos/blob/develop/PictureFrame2020config.py#L49 then https://github.com/pi3d/pi3d_demos/blob/develop/PictureFrame2020.py#L332

However I am in the process of trying to refactor the whole thing so that might be relevant. The refactoring will be based on https://github.com/helgeerbe/

Did you have to alter anything in PictureFrame2020 in order to get it running on your RPi zeros?

@fanlessfan
Copy link
Author

Great. Thank you @paddywwoof . I didn't change anything in PictureFrame2020. I optimized piCore extension to avoid all the unnecessary ones.

@paddywwoof
Copy link
Member

Excellent. If you have any references or links that explain what you did I could include that in the pi3d FAQ

@fanlessfan
Copy link
Author

I will prepare one and will post it here when it's ready.

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

2 participants