briis / hass-weatherflow

Home Assistant Integration for WeatherFlow Stations
MIT License
67 stars 11 forks source link

Version 1.0.16 Breaking #84

Open thoward1234 opened 1 year ago

thoward1234 commented 1 year ago

I had the documented issue with version 1.0.14 and upgraded to 1.0.16. After install (using HACS) I still cannot get the integration to load. Below is the error from the log:

This error originated from a custom integration.

Logger: homeassistant.config_entries Source: custom_components/weatherflow/init.py:82 Integration: WeatherFlow Weather (documentation, issues) First occurred: 9:49:15 AM (2 occurrences) Last logged: 9:49:32 AM

Error setting up entry Home Station for weatherflow Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/weatherflow/init.py", line 82, in async_setup_entry weatherflowapi = WeatherFlowApiClient( ^^^^^^^^^^^^^^^^^^^^^ TypeError: WeatherFlowApiClient.init() got an unexpected keyword argument 'ignore_fetch_errors'

PYehl73 commented 1 year ago

I have completely uninstalled it from HACS, deleted the files in data studio, rebooted, reinstalled it, restarted - and I'm still not getting all my data... only loading 45 entities:

image image
JohnHof1275 commented 1 year ago

mine also not working Screenshot 2023-09-07 221429

JtwoA commented 1 year ago

@briis I think Weatherflow AND Home Assistant are making breaking changes lately.

briis commented 1 year ago

It is working fine here.

The error indicates that there are some old stuff around. Try and delete the integration from HA Devices & services and HACS. Then open a file browser and in your config directory go to custom_components and make sure that the weatherflow directory is completely deleted (If not, delete it).

Then restart HA. Install again from HACS, and restart again. The go to Devices & services again and install again, and see if that helps.

JtwoA commented 1 year ago

@briis This integration is working fine for me - the Weatherflow2MQTT you've written is having an issue wherein it doesn't stay running. My comment above was on a more global level as both Weatherflow and HA have been making some changes.

KCXLT commented 1 year ago

I'm only getting 45 entities also. I'm new to this and had the HACS integration and the MQTT installed with the Weather station under a different name. I had all the entities. Today I deleted the MQTT and uninstalled the HACS integration and rebooted. Reinstalled the HACS integration and only have the 45 entities. Missing a lot of the wind and Feel Like to name a few.

briis commented 1 year ago

global level as both Weatherflow and HA have been making some changes.

With the exception of the new Forecast structure introduced in 2023.9 all changes should have been implemented. I am working on a new separate Forecast Integration, as it seems someone is creating a Core WeatherFlow integration, using the same Domain name as this integration, but without the forecast piece, as he is using the UDP API to get the data. At the point of that arriving, I will discontinue this Integration.

I'm only getting 45 entities also

The WeatherFlow2MQTT integration has more calculated sensors than this integration, so there will be a difference.

KCXLT commented 1 year ago

Ok. Thanks for answering that for me.

Kevin


From: Bjarne Riis @.> Sent: Monday, September 11, 2023 1:44:48 AM To: briis/hass-weatherflow @.> Cc: KCXLT @.>; Comment @.> Subject: Re: [briis/hass-weatherflow] Version 1.0.16 Breaking (Issue #84)

global level as both Weatherflow and HA have been making some changes.

With the exception of the new Forecast structure introduced in 2023.9 all changes should have been implemented. I am working on a new separate Forecast Integration, as it seems someone is creating a Core WeatherFlow integration, using the same Domain name as this integration, but without the forecast piece, as he is using the UDP API to get the data. At the point of that arriving, I will discontinue this Integration.

I'm only getting 45 entities also

The WeatherFlow2MQTT integration has more calculated sensors than this integration, so there will be a difference.

— Reply to this email directly, view it on GitHubhttps://github.com/briis/hass-weatherflow/issues/84#issuecomment-1713204999, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7XEPSJDBQSTLUZOSMYWFY3XZ2QNBANCNFSM6AAAAAA4JK24EM. You are receiving this because you commented.Message ID: @.***>

longunmin commented 1 year ago

I am having a similar issue. I am getting all sensor entities except for the weather. entity. Here is my warning

Logger: homeassistant.setup Source: setup.py:340 First occurred: 2:14:18 PM (1 occurrences) Last logged: 2:14:18 PM

Unable to prepare setup for platform weatherflow.weather: Platform not found (cannot import name 'ATTR_FORECAST_HUMIDITY' from 'homeassistant.components.weather' (/usr/src/homeassistant/homeassistant/components/weather/init.py)).

KCXLT commented 1 year ago

Just an update. Yesterday I re-installed the Integration 3 times I think, and only got 45 entities. On the 3rd try and the Integration wouldn't even connect, just the keep trying message. I just needed a break at that point so walked away. About a minute later I got a notification that my station was off-line. We haven't had much sun here for a while and the battery had run out.

This morning we had sun and after a bit the Integration connected. Later this afternoon I checked and I now have 58 entities. Just guessing, I know the Tempest goes into battery saving mode when the battery gets low and slows or stops reporting some values. Maybe this is the problem others are having.

PYehl73 commented 1 year ago

battery level isn't the issue mine is having. Still only 45 entities showing. I'll try to delete everything yet again and reinstall. What a pain this integration has become.

JtwoA commented 1 year ago

battery level isn't the issue mine is having. Still only 45 entities showing. I'll try to delete everything yet again and reinstall. What a pain this integration has become.

Someone took the time to write, for free, a plugin between two services that they do not own, manage, or otherwise control. One or both of those services has made a change - but you rant at the person who made you a free thing?

You should probably uninstall this plugin - it's not for you.

scstraus commented 10 months ago

I am also missing all of the wind entities. Everything else seems to work.