Closed freddieleeman closed 1 month ago
Hey there @mjj4791, @ties, @robbie1221, mind taking a look at this issue as it has been labeled with an integration (buienradar
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
buienradar documentation buienradar source (message by IssueLinks)
+1 same situation here
Do you have the Minutes to look ahead for precipitation forecast configured correctly?
Does that affect the sensor.buienradar_(minimum_|maximum_|)rain_[1-5]
entities? If so, to what value should I adjust to find out the expected precipitation in mm for the rest of today and the upcoming days?
Not entirely sure actually, I just remembered I saw some setting that involved precipitation forecast. Thinking about it I guess a day forecast involves 24 hours.
Isn't the rain_1d
forecast for tomorrow and rain_2d
for the day after tomorrow?
No, the XML returns a 5-day forecast starting from today.
https://data.buienradar.nl/2.0/feed/json
The values within Home Assistant match the default XML data. Could it be that the five-day forecast isn't specific to the configured latitude and longitude?
EDIT: This might have been a fluke/coincidence, as the values changed and are now the same even without the lat/lon.
Including the latitude and longitude in the URL works and displays the correct values:
From what I've observed so far, it seems that the latitude and longitude are not being correctly added to the query, leading to inaccurate values.
Which version of HA are you using? There recently changed something in how forecasts work and on 2024.07 I can't reproduce your sensor.buienradar_rain_*
sensors. I think forecasts should now be requested using:
service: weather.get_forecasts
target:
entity_id: weather.buienradar
data:
type: daily
Sorry, found the entities
From what I've observed so far, it seems that the latitude and longitude are not being correctly added to the query, leading to inaccurate values.
That would explain a lot
Precipitation forecast is calculated from the gps coordinates based precipitation data from buienradar; see here: https://www.buienradar.nl/overbuienradar/gratis-weerdata Under Neerslagdata op basis van coördinaten If I remember correctly, the calculation uses the lookahead period configured in the buienradar component and uses the mm data to determine the total amount of mm in the period you specified and then average that to an amount per hourHope this clarifies it? not sure which data you refer to / compare with and if these values are available from the public api?Op 12 jul 2024 om 09:31 heeft rrooggiieerr @.***> het volgende geschreven: Not entirely sure actually, I just remembered I saw some setting that involved precipitation forecast. Thinking about it I guess a day forecast involves 24 hours. Isn't the rain_1d forecast for tomorrow and rain_2d for the day after tomorrow?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
I'm referring to the fivedayforecast
sensors for minimum and maximum values. I believe these values are not calculated, but directly taken from the JSON.
@home-assistant close
The problem
I've observed a significant discrepancy between the precipitation forecast on the website and within Home Assistant. I rely on this data to decide whether to activate the irrigation pump. Yesterday, the pump started because the forecast in Home Assistant showed only 3 mm of precipitation, while the Buienradar website indicated 18 mm. Now, on Friday, although the forecast in Home Assistant has increased, it is still significantly different from the website's values. I've confirmed that the latitude and longitude settings are accurate and identical in both sources.
Today is Friday. The current maximum precipitation value in Home Assistant is 10 mm, whereas the Buienradar website predicts nearly 20 mm. As seen in the latest screenshots, there is also a small discrepancy in the temperature forecast.
What version of Home Assistant Core has the issue?
core-2024.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
buienradar
Link to integration documentation on our website
https://www.home-assistant.io/integrations/buienradar/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response