chunkysteveo / OpenEPaperLink-HA-Weatherman

Wetherman EPaper display using OpenEPaperLink and the HA Integration
37 stars 4 forks source link

Can't get it working #13

Closed gcormier closed 11 months ago

gcormier commented 11 months ago

Did not succeed much in getting this going. I'm taking a step back to just start from scratch and looking at things - have fixed a few on the way, but here's what I think the next hurdle is.

I am calling this service manually in HA using Developer tools

service: weather.get_forecasts
target:
  entity_id: weather.home
data:
  type: hourly
response_variable: weather_home_hourly

This is the answer : Failed to call service weather.get_forecasts. Weather entity 'weather.home' does not support 'hourly' forecast

I am seeing this in my startup logs, but I don't think this matters much until the above could be resolved? image

Note that type: daily works fine.

chunkysteveo commented 11 months ago

What version of HA do you have? get_forecats (with an S) only appaeared in 2023.12. Does get_forecast work in the services test call?

gcormier commented 11 months ago

Just updated -

Core
2023.12.1
Frontend
20231208.2

Without the S, same thing.

image

Daily is OK without S as well image

gcormier commented 11 months ago

Looks like some incoming breaking changes in 3 months as well?

https://community.home-assistant.io/t/how-to-migrate-from-weather-integration-approach-to-new-weather-get-forecast-service/619481/15

chunkysteveo commented 11 months ago

Looks like some incoming breaking changes in 3 months as well?

https://community.home-assistant.io/t/how-to-migrate-from-weather-integration-approach-to-new-weather-get-forecast-service/619481/15

This is already resolved and in place with the new forecast service.

I'm not sure what to suggest for your weather not getting an hourly forecast? You are using Met.no weather service, right?

gcormier commented 11 months ago

Yup, met.no.

image

chunkysteveo commented 11 months ago

I'm not 100% sure what's going on then - it's working for a lot of users without issue?

The "get_forecasts" is a totally different service call to the epaper tags, so should work whether you are setting up my weatherman sensor or not?

gcormier commented 11 months ago

Yes, this should work in HA regardless of the epaper tags so I'll close it for now. I might just rewrite it for environment canada.

chunkysteveo commented 11 months ago

Yes, this should work in HA regardless of the epaper tags so I'll close it for now. I might just rewrite it for environment canada.

Let me know how you get on, and what you did to solve it!