MQTT: sensor.picframe_image_date missing? #223
Answered
by
helgeerbe
clintiepoo
asked this question in
Q&A
-
I set up MQTT and home assistant. Everything works ok, but I'm not seeing the picframe_image_date sensor. Is this a bug, or how can I enable this sensor? |
Beta Was this translation helpful? Give feedback.
Answered by
helgeerbe
Jan 14, 2022
Replies: 2 comments 6 replies
-
I guess you forgot to edit your configuration.yaml file https://github.com/helgeerbe/picframe/wiki/Homeassistant#configurationyaml |
Beta Was this translation helpful? Give feedback.
4 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
clintiepoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please check in developers tool for the entity id sensor.picframe_image. Does it has an attribute
Exif DateTimeOriginal
?This number is an linux timestamp.
In configuration.yaml you create a template sensor which creates a human readable time format.
In developer tools->template you can copy this in the template editor:
{{ state_attr('sensor.picframe_image', 'EXIF DateTimeOriginal') | int | timestamp_custom('%d. %b. %Y %H:%M') }}
Does it show the correct time?