-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
[REQ] Other forcast services than OWM #401
Comments
Great idea, thanks. The issue here is that normal integrations in HA ignore the forecast as they are only interested in current weather. So that would mean we would be integration with the others one by one, like OWM. Alternatively you can set limits in OWM set up to make sure you never pay, or use a fake credit card number (I did that). |
I think some of the alternatives offer forecasting. So considering a dropdown list of compatible services could also be an option. Just some thought as I generally do not appreciate some stunts like they did with OWM and suddenly require payment data for services which were free in the beginning. |
yeah, but that would mean implementing quite a few things:
all in all, interesting idea, but not as easy as it might look |
Instead of calling an API from within the integration how about calling an 3rd party weather integration for the forcast values? I was more thinking about that. So calling the weather.get_forecast service and just entering the weather entity from another integration should be revealing the required data and values, wouldn't it? I mean in the end this just needs to be triggered before calculation happening if I am not mistaken. Anyhow it's just an idea how to ease the complexity and not having to deal with that in the integration itself but rather get the required data from other integrations. How about something like that? |
I thought about that as well, but that means taking a dependency on setting up other integrations and they actually performing their job correctly. I tried that using the OWM integration, and let me say... that failed. |
for example, the OWM integration does not allow you to get to a forecast for tomorrow or the days after. Useless for our purposes. This issue will compound if we start relying on other weather services integrations. To make some progress here - can you make a list of services including links to their integrations that you'd like to see? |
I'm currently using DWD (German Weather Service), Open-Meteo (both seem not to require an API) and Pirate Weather. I found some more here in the discussion https://community.home-assistant.io/t/definitive-guide-to-weather-integrations/736419 but for me personally these are the ones that serve my purpose. |
Looks like pirate weather is the only one that would work for all we need from the forecast. |
It would already be awesome to have one true free alternative to OWM and the doubtful path they chose (although cheating out of it works) 😉 Thanks a bunch for considering, I know there are a bunch of people that moved to pirate weather due to the OWN 2.5 API deprecation. So chances are high others will make use of it as well. |
here you go - first version with PW support is now in beta. Keep in mind that it's not very smart to install this in production yet, but please try it if you have a test environment! |
So I checked out version v2024.6.13 and got the following error:
Also the following warning popped up (which might not be related but still it shows):
|
Thanks, I have seen both. Interestingly it looked like the first one was a PW issue. Can you try calling that same URL with Postman to see what it does? I have had multiple runs where this happened and the URL didn't work in Postman either. Second: I have seen this as well, but resolved it by making sure all sensor groups on my zones exist. Can you post your config? |
Don't have postman on my work laptop so that will take a little while. As for the config, can it be extracted somehow or do you want me to post the screenshots of how it's configured? Checked the URL in the browser and it seems to be fine... |
Since downloading diag files seems to be broken best bet if to paste the contents of the smart_irrigation file in `. Storage' |
OK, here is what I have configured. I did remove all data though since it would exceed the message length:
|
Interesting because you do have a mapping with ID 0. That sa bug then. Thanks for reporting. |
You're welcome. Also I re-triggered the automation to get the forecast (after a restart) and it seems that the error from pirate weather disappeared. Eventually this was just on their end. Maybe there would be a way to make the call more resilient in case of this and maybe retry the call again if the first one failed? For now it seems working with the forecast data. |
should be better now, please try. v2024.7.0 and confirm |
I updated to v2024.7.2 just now. Will observe things a couple of days. Thanks for the implementation. |
So since the first cycle did run, I do not see any issues. Calculation was done as it seems and sprinklers were running. I would presume things are working fine. Shall I close here? |
Is your feature request related to a problem? Please describe.
The "problem" is more personal nature. With the OWM API change to 3.0 it is required to provide some credit card information to them even if nothing will be purchased. However the chances exist that if something is configured wrong you end up paying for it. So it would be handy if alternative forecasting services would be working with this service as well.
Describe the solution you'd like
I would love to have services like eg. pirate weather, DWD or any other service which offers a "truly" free forecast service would be working with HA Smart Irrigation so there would be a greater choice to what to use.
Describe alternatives you've considered
The only alternative would be not using any forecasting at all which would be a pity since it was quite handy considering next day rain forecast to be respected in the calculation.
Additional context
Maybe allowing a forecast service in general might be helpful? I checked for my set up services DWD and pirate weather and both offer forecasting so it could be up to any user to choose the forecast weather service which suits best for them.
The text was updated successfully, but these errors were encountered: