-
Notifications
You must be signed in to change notification settings - Fork 28
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
Enhanced home assistant integration #148
Comments
I pulled #150 into dev. This is a breaking change for home assistant configuration. You have to uninstall the old integration.
To setup the new integration:
|
@helgeerbe I guess that means we should update your article: https://www.thedigitalpictureframe.com/integrate-raspberry-pi-picture-frame-home-assistant/ as well. |
Yes. Sorry for that. But this makes the setup much easier. Also if you would like to run more than one picframe in home assistant. |
I described how to setup home assistant integration or upgrade the integration in the wiki. |
Thanks, great! I will update your blog article as soon as I find a quiet moment. |
@sapnho Thanks. Please note that @paddywwoof is going to update pi3d first. So the new integration is valid only for the dev branch at the moment. |
Yes, I'll wait. Probably not much time in the coming weeks anyway. |
Hi @helgeerbe, I was working on the rewrite of the https://www.thedigitalpictureframe.com/integrate-raspberry-pi-picture-frame-home-assistant article today. With your new blueprint, the integration should be a lot easier indeed. My helpers are Any idea where I might have taken a wrong turn? Thanks! |
Hi @sapnho looks good for me. If I remember right, you will get the first controls, when picframe starts. But you have to wait at least for the second image. While changing image the attribute controls are send to picframe (you can speed this up, clicking on next image). |
@helgeerbe I only now got around to updating the blog article but I still have the same issue that I cannot enter any text in location, tags, date from, or date to. |
Hi @sapnho, what do you mean with: " I cannot enter any text....". On the home assistant webpage, you can't enter any text? Check helpers and Folder-Card. entities:
- entity: sensor.picframe_image_counter
name: Bilder
- entity: select.picframe_directory
name: Directory
- entity: input_text.picframe_tags_filter
name: Stichwortsuche
- entity: input_text.picframe_location_filter
name: Ortssuche
- entity: input_text.picframe_date_from
name: Bilder ab (TT.MM.JJJJ)
- entity: input_text.picframe_date_to
name: Bilder bis (TT.MM.JJJJ)
show_header_toggle: false
theme: Backend-selected
title: Filter
type: entities
state_color: true Entity Ids must be the same. |
Perfect, thanks @helgeerbe. |
With release 2021.7 home assistant mqtt device discovery offers (besides switches and sensors) two new types which could be used by picframe to avoid manual configuration.
I put the mqtt changes in a separate branch ha_mqtt_integration. No changes on topics for commands to picframe.
So only input text helpers remain for text based filters
To avoid further manual configurations in the automations. I created a blueprint.
The gist url can also directly used in home assistant.
So most of the time. Only the date format string has to be entered to reflect the local date format. For the other settings, the default values could be used and need only to be changed, if you are using more than one picframe. They are linking picframes mqtt sensors to the input text helper ui elements.
The text was updated successfully, but these errors were encountered: