Weatherbit.io - Current Weather and Forecast data

I just did some extensive monitoring on my site, and I cannot replicate this. My instance only polls with the frequency set in the Integration, so 2 calls immediately after startup, and the 1 call every 5 minutes for current data and 1 call every 30 minutes for the forecast. That makes a total of 336 calls per day, plus the 2 at startup. Way below the threshold of 500 on the Free Tier. Are you absolutely sure you only have 1 location setup? If you setup a second location you MUST lower the frequency of the updates.

Iā€™ve had the exact same issue, but in Aug 2022. HACS shows as a working integration, all files are in the right directory, have restarted several times, but the integration wonā€™t reveal itself in the HA Add Integration section. Iā€™ll look again tomorrow, and try restarting again.

Clear your cache.

not sure if that was it or not - came back the next morning and the integration was present. ĀÆ_(惄)_/ĀÆ
works great - thanks for this!

I only have one WeatherBit integration. I use 3 different weather services to get the data I want with WeatherBit providing all of the current and forcast data. I also use OpenWeatherMap and National Weather Service. Neither of the other 2 use the same WeatherBit API key. I am still continuing to monitor the number of API calls and nothing has changed.

BREAKING

@digitalw0lf made me aware that Weatherbit has now reduced the number of calls from 500 per day, all the way down to only 50 calls per day. This makes their API more or less useless on the Free Tier - at least per my definition.

I have released V1.0.14 which now set the minimum update frequency to 60 min for sensors and 60 minutes for forecasts. For 1 location this makes 48 calls per day, just within the limit. If you upgrade to this version or run an older version, make sure you adjust your frequency so that it fits with only 50 calls per day.

I am considering if I will continue any developments on this Integration - if someone wants to take over, PM me.

wow, really sad to hear about this drastic reduction of free calls/day. Agreed, this makes it Ā±useless.

I did implant an alternative on my side and gave negative feedback to weatherbit.io. From now to sudden reducing 90% is really bad, far away from anything Iā€™ve come along so far.

This really stinks, as I was using quite a bit of the data from WeatherBit. I have managed to utilize a couple others to get what I needed, but WeatherBit had quite a bit more data that I planned on using. Iā€™ve dropped my polling to 2 and 3 hours just to keep getting some of the data I need. I was considering the $8 a month plan, but even that had less API calls then the free one originally did. It is really sad all these companies trying to nickel and dime people with $5 here, $10 there, another $8 over here where it just adds up to be too much after awhile.

that is a bumper reducing calls down to nothing. does anyone experience the integration not polling after restart of HA every time?

image

Briis, seems 2022.11 brought another breaking changeā€¦ Now no data is available through the integration and there is an error message in the log:

Logger: homeassistant.setup
Source: setup.py:320
First occurred: 06:30:37 (1 occurrences)
Last logged: 06:30:37

Unable to prepare setup for platform weatherbit.sensor: Platform not found (cannot import name 'LENGTH_MILLIMETERS' from 'homeassistant.util.unit_conversion' (/usr/src/homeassistant/homeassistant/util/unit_conversion.py)).

Any chance to get this fixed yet? I think despite reduction of service calls, still lots of people depends on this integrationā€¦

EDIT: after restart seems that only individual sensors are not available, main weather.weatherbit entity is still showing properlyā€¦

1.0.16 is just released, which should make it work with HA 2022.11. This has also been set to the min required version, as some of the changes I needed to do, only will work on this release and forward. If you are NOT on HA 2022.11, then donā€™t upgrade - there are no changes for you.

3 Likes

Thanks a lot Briis!

1 Like

Hi,

I just started using this weather integration and I canā€™t change language. I set ā€œitā€ in the config page but I still read states in english of weather.weatherbit. Thereā€™s a way to add a ā€œweather_textā€ attribute to it as well?

Is it just me or did HA 2023.4.0 break Weatherbit?

I donā€™t thing that the update broke it. I restarted my home assistant on Wednesday with 2023.3.x. And I updated ha on Thursday.
So I think something changed on Wednesday!

The weather data start showing after an hour or so after a reboot?? Mine does that ever since weatherbit reduced the number of queries a few months back.

I ended up having to delete and re-install, then it started working again.

Anyone experiencing issues with Weatherbit integration recently? Since 2 days Iā€™m not getting any dataā€¦
In HA I can see that integration failed to setup and when I try to make direct API call, indeed I see:
API call:

https://api.weatherbit.io/v2.0/forecast/daily?lat=52.31115340273245&lon=21.16118870150636&lang=en&units=M&key=xxxxxxxxxxxxxxxxx

Response:

{"error":"API key not valid, or not yet activated. If you recently signed up for an account or created this key, please allow up to 30 minutes for key to activate."}

On the other hand, when I log into Weatherbit dashboard, everything seems to be OK:


Same API key as I use in integration, no error or warning messagesā€¦

EDIT: I created new account on Weatherbit and obtained new API key - same result :frowning:

Apparently there was something wrong with Weatherbit.io itselfā€¦ Suddenly, after 3 days break, everything started to work as expected againā€¦

Is anyone else having problems with Weatherbit not working?

Failed To Setup