Automation to display different photos depending on weather conditions

Some advice: add this in case things don’t work and you ask for help.

I thought it might have been an issue, but I’m able to view images using 192.168.1.107:8123…but I agree…I should have started with that.

I am able to pull up fog.jpg using 192.168.1.107:8123/local/weather/fog.jpg and when I ssh into weather folder, the other pictures are all listed and I can pull them up as well but the pictures are not coming up in the picture card.

ITS WORKING!! Huge thank you to Moderator tom_I, I am incredibly thankful for your support and patience.

What was the issue?

It didn’t seem to work with the met.io weather service, once I switched to AccuWeather it started working. Only problem now is it pulls too many Api calls and stops working. I’ve read up on it and it possibly had to do with the countless restarts I performed trying to get it working.

I’m going to see if it works the whole day tomorrow and go from there! Thanks again Tom!

That can’t have been it. The template does not care where the state comes from. And met.io had a valid state:

More likely is that the image template state was unknown (we forgot to look at this) because it had never triggered as the weather forecast had never changed.

Yep, that makes more sense! Guess tomorrow will be a long day waiting for the weather to change :grin:

That definitely appears to be the issue, how would one to force it to get the state every hour? I’ve tried this in the Template editor but I’m not sure it works
triggers:

  • trigger:
    • time_pattern
      minutes: 5
  • trigger:
    • platform: state
      entity_id: weather.chestermere

You don’t need to force it to update. It will update every time the weather state changes.

It is working, have seen 2 changes this AM. Can you help with making this full screen? Early in the post you mentioned Panel Mode, I can’t seem to find that option.

1 Like

So simple…crazy that I missed that! Thanks Tom!

1 Like

Wow, very strange…
Your post is not the solution to any of your (original) questions, yet you tag that one as the solution!?! :thinking:

So anyone who searches for a similar thing, opens this thread, clicks on the “Solved by Ryan Coke 74 in post #34” link to find… 'nothing"

okay, while it seems most people on here are helpful and patient with new users who might be unfamiliar with forum etiquette. I can see that marking the last comment as solved would redirect to the last post, requiring them to scroll past all the mistakes and guidance in the previous 33 posts. I have corrected the “solved” status to a post further up. Thank you for pointing that out.

1 Like

Thanks for adjusting and sorry to say so: this has nothing to do with forum etiquette.
I guess/hope you understand now what that solution tag is for.