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

Problem attachment with node-red #8

Open
barto95100 opened this issue Aug 17, 2024 · 0 comments
Open

Problem attachment with node-red #8

barto95100 opened this issue Aug 17, 2024 · 0 comments

Comments

@barto95100
Copy link

Hi,

if i test with developper tool and this configuration don't work:

CleanShot 2024-08-17 at 18 09 12@2x

the template:

CleanShot 2024-08-17 at 18 09 59@2x

in the log of home assistant: (the url of the file exist, because if i test to open with my ha url is work)
CleanShot 2024-08-17 at 18 11 32@2x

I test with node-red to do the same with node to convert /local/ -> /config/www but the same resultat no attachement but the log HA is not the same:

CleanShot 2024-08-17 at 18 13 26@2x

the configuration of node-red:

node-change for /local/ -> /config/www/:

{"entity_id":"sensor.plex_recently_added_movies","old_state":{"entity_id":"sensor.plex_recently_added_movies","state":"Online","attributes":{"data":[{"title_default":"$title","line1_default":"$episode","line2_default":"$release","line3_default":"$number - $rating - $runtime","line4_default":"$genres","icon":"mdi:eye-off"},{"airdate":"2024-08-17T15:17:33Z","aired":"2024-04-04","release":"$day, $date $time","flag":true,"title":"Bre","episode":"","runtime":93,"studio":"Thunder Road","genres":"Action, Thriller","rating":"★ 1.8","poster":"/local/upcoming-media-card-images/plex/Plex_Recently_Added_Movies/p709.jpg","fanart":"/local/upcoming-media-card-images/plex/Plex_Recently_Added_Movies/f709.jpg"}],"friendly_name":"Plex Recently Added Movies"},"last_changed":"2024-08-17T16:07:36.179286+00:00","last_reported":"2024-08-17T17:12:59.587151+00:00","last_updated":"2024-08-17T17:12:59.587151+00:00","context":{"id":"01J5GN7YY3MAPSMX26M74Y4ECY","parent_id":null,"user_id":"c030b87449e9436baa31de5b375aa3fd"}},"new_state":{"entity_id":"sensor.plex_recently_added_movies","state":"Online","attributes":{"data":[{"title_default":"$title","line1_default":"$episode","line2_default":"$release","line3_default":"$number - $rating - $runtime","line4_default":"$genres","icon":"mdi:eye-off"},{"airdate":"2024-08-17T15:17:33Z","aired":"2024-04-04","release":"$day, $date $time","flag":true,"title":"Breathe","episode":"","runtime":93,"studio":"Thunder Road","genres":"Action, Thriller","rating":"★ 1.8","poster":"/config/www/upcoming-media-card-images/plex/Plex_Recently_Added_Movies/p709.jpg","fanart":"/local/upcoming-media-card-images/plex/Plex_Recently_Added_Movies/f709.jpg"}],"friendly_name":"Plex Recently Added Movies"},"last_changed":"2024-08-17T16:07:36.179286+00:00","last_reported":"2024-08-17T17:13:36.185422+00:00","last_updated":"2024-08-17T17:13:36.185422+00:00","context":{"id":"01J5GN92NSN9S7A1SMWBVXCC19","parent_id":null,"user_id":null},"timeSinceChangedMs":3960014}}

CleanShot 2024-08-17 at 18 16 25@2x

and the config node call-service:
CleanShot 2024-08-17 at 18 17 48@2x

CleanShot 2024-08-17 at 18 18 06@2x

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

1 participant