Comments (9)
This integration used to work, but then started giving an error message. I've removed the integration and tried to re-install it. I currently get three errors in the log, one is similar to the one from craigwitter. Another error is "Unexpected error fetching weatherflow_cloud data". Log details are below:
Logger: homeassistant.components.weatherflow_cloud
Source: helpers/update_coordinator.py:312
integration: WeatherflowCloud (documentation, issues)
First occurred: 2:45:20 PM (12 occurrences)
Last logged: 2:56:12 PM
Unexpected error fetching weatherflow_cloud data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/weatherflow_cloud/coordinator.py", line 36, in _async_update_data
return await self.weather_api.get_all_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/weatherflow4py/api.py", line 169, in get_all_data
observation=await self.async_get_observation(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/weatherflow4py/api.py", line 134, in async_get_observation
return await self._make_request(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/weatherflow4py/api.py", line 61, in _make_request
raise e
File "/usr/local/lib/python3.12/site-packages/weatherflow4py/api.py", line 56, in _make_request
return response_model.from_json(data) if response_model else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/api.py", line 63, in from_json
return cls.from_dict(kvs, infer_missing=infer_missing)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/api.py", line 70, in from_dict
return _decode_dataclass(cls, kvs, infer_missing)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/core.py", line 233, in _decode_dataclass
init_kwargs[field.name] = _decode_generic(field_type,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/core.py", line 315, in _decode_generic
xs = _decode_items(get_type_arg_param(type, 0), value, infer_missing)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/core.py", line 410, in _decode_items
return list(_decode_type(type_args, x, infer_missing) for x in xs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/core.py", line 410, in
return list(_decode_type(type_args, x, infer_missing) for x in xs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/core.py", line 247, in _decode_type
return decode_generic(type, value, infer_missing)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/core.py", line 321, in _decode_generic
res = _decode_dataclass(origin, value, infer_missing)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dataclasses_json/core.py", line 185, in _decode_dataclass
field_value = kvs[field.name]
~~~^^^^^^^^^^^^
KeyError: 'air_density'
from core.
Hey there @jeeftor, mind taking a look at this issue as it has been labeled with an integration (weatherflow_cloud
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of weatherflow_cloud
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign weatherflow_cloud
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
weatherflow_cloud documentation
weatherflow_cloud source
(message by IssueLinks)
from core.
Does this work with your token?
https://weatherflow.github.io/Tempest/api/swagger/
from core.
Like do any of the endpoints work with your token?
from core.
from core.
I am having the same problem. Trying to set up a new home assistant instance. When integrating to the Tempest weather station, I get the same error as the original poster. I tried https://weatherflow.github.io/Tempest/api/swagger/ as @jeeftor posted above. That works fine with my personal api token. I am able to utilize the API to view my station. But no luck with home assistant
from core.
I get this error in the log when trying to add my api key>
Unable to convert data || {"stations":[{"created_epoch":1594068237,"devices":[{"device_id":76102,"device_meta":{"agl":0.0,"environment":"indoor","name":"HB-00018767","wifi_network_name":""},"device_type":"HB","firmware_revision":"194","hardware_revision":"0","location_id":22993,"serial_number":"HB-00018767"},{"device_id":76143,"device_meta":{"agl":1.8288000226020813,"environment":"outdoor","name":"ST-00007277","wifi_network_name":""},"device_settings":{"show_precip_final":true},"device_type":"ST","firmware_revision":"176","hardware_revision":"1","location_id":22993,"serial_number":"ST-00007277"}],"is_local_mode":false,"last_modified_epoch":1694717198,"latitude":42.29748,"location_id":22993,"longitude":-83.45264,"name":"TrentCt ","public_name":"Trent Ct","station_id":22993,"station_items":[{"device_id":76143,"item":"air_temperature_humidity","location_id":22993,"location_item_id":189499,"sort":0,"station_id":22993,"station_item_id":189499},{"device_id":76143,"item":"barometric_pressure","location_id":22993,"location_item_id":189501,"sort":1,"station_id":22993,"station_item_id":189501},{"device_id":76102,"item":"diagnostics","location_id":22993,"location_item_id":194623,"station_id":22993,"station_item_id":194623},{"device_id":76143,"item":"diagnostics","location_id":22993,"location_item_id":194624,"station_id":22993,"station_item_id":194624},{"item":"forecast","location_id":22993,"location_item_id":194622,"station_id":22993,"station_item_id":194622},{"device_id":76143,"item":"light","location_id":22993,"location_item_id":189503,"sort":4,"station_id":22993,"station_item_id":189503},{"device_id":76143,"item":"lightning","location_id":22993,"location_item_id":189500,"sort":2,"station_id":22993,"station_item_id":189500},{"device_id":76143,"item":"rain","location_id":22993,"location_item_id":189502,"sort":5,"station_id":22993,"station_item_id":189502},{"device_id":76143,"item":"wind","location_id":22993,"location_item_id":189504,"sort":3,"station_id":22993,"station_item_id":189504}],"station_meta":{"elevation":204.6601867675781,"share_with_wf":true,"share_with_wu":true},"timezone":"America/Detroit","timezone_offset_minutes":-240}],"status":{"status_code":0,"status_message":"SUCCESS"}} || to || <class 'weatherflow4py.models.rest.stations.StationsResponseREST'> -- 'device_id'
from core.
For my error, swagger seems fine>
{
"stations": [
{
"created_epoch": 1594068237,
"devices": [
{
"device_id": 76102,
"device_meta": {
"agl": 0,
"environment": "indoor",
"name": "HB-00018767",
"wifi_network_name": ""
},
"device_type": "HB",
"firmware_revision": "194",
"hardware_revision": "0",
"location_id": 22993,
"serial_number": "HB-00018767"
},
{
"device_id": 76143,
"device_meta": {
"agl": 1.8288000226020813,
"environment": "outdoor",
"name": "ST-00007277",
"wifi_network_name": ""
},
"device_settings": {
"show_precip_final": true
},
"device_type": "ST",
"firmware_revision": "176",
"hardware_revision": "1",
"location_id": 22993,
"serial_number": "ST-00007277"
}
],
"is_local_mode": false,
"last_modified_epoch": 1694717198,
"latitude": 42.29748,
"location_id": 22993,
"longitude": -83.45264,
"name": "TrentCt ",
"public_name": "Trent Ct",
"station_id": 22993,
"station_items": [
{
"device_id": 76143,
"item": "air_temperature_humidity",
"location_id": 22993,
"location_item_id": 189499,
"sort": 0,
"station_id": 22993,
"station_item_id": 189499
},
{
"device_id": 76143,
"item": "barometric_pressure",
"location_id": 22993,
"location_item_id": 189501,
"sort": 1,
"station_id": 22993,
"station_item_id": 189501
},
{
"device_id": 76102,
"item": "diagnostics",
"location_id": 22993,
"location_item_id": 194623,
"station_id": 22993,
"station_item_id": 194623
},
{
"device_id": 76143,
"item": "diagnostics",
"location_id": 22993,
"location_item_id": 194624,
"station_id": 22993,
"station_item_id": 194624
},
{
"item": "forecast",
"location_id": 22993,
"location_item_id": 194622,
"station_id": 22993,
"station_item_id": 194622
},
{
"device_id": 76143,
"item": "light",
"location_id": 22993,
"location_item_id": 189503,
"sort": 4,
"station_id": 22993,
"station_item_id": 189503
},
{
"device_id": 76143,
"item": "lightning",
"location_id": 22993,
"location_item_id": 189500,
"sort": 2,
"station_id": 22993,
"station_item_id": 189500
},
{
"device_id": 76143,
"item": "rain",
"location_id": 22993,
"location_item_id": 189502,
"sort": 5,
"station_id": 22993,
"station_item_id": 189502
},
{
"device_id": 76143,
"item": "wind",
"location_id": 22993,
"location_item_id": 189504,
"sort": 3,
"station_id": 22993,
"station_item_id": 189504
}
],
"station_meta": {
"elevation": 204.6601867675781,
"share_with_wf": true,
"share_with_wu": true
},
"timezone": "America/Detroit",
"timezone_offset_minutes": -240
}
],
"status": {
"status_code": 0,
"status_message": "SUCCESS"
}
}
from core.
Still seeing> Unable to convert data || {"stations":[{"created_epoch":1594068237,"devices":[{"device_id":76102,"device_meta":{"agl":0.0,"environment":"indoor","name":"HB-00018767","wifi_network_name":""},"device_type":"HB","firmware_revision":"194","hardware_revision":"0","location_id":22993,"serial_number":"HB-00018767"},{"device_id":76143,"device_meta":{"agl":1.8288000226020813,"environment":"outdoor","name":"ST-00007277","wifi_network_name":""},"device_settings":{"show_precip_final":true},"device_type":"ST","firmware_revision":"176","hardware_revision":"1","location_id":22993,"serial_number":"ST-00007277"}],"is_local_mode":false,"last_modified_epoch":1694717198,"latitude":42.29748,"location_id":22993,"longitude":-83.45264,"name":"TrentCt ","public_name":"Trent Ct","station_id":22993,"station_items":[{"device_id":76143,"item":"air_temperature_humidity","location_id":22993,"location_item_id":189499,"sort":0,"station_id":22993,"station_item_id":189499},{"device_id":76143,"item":"barometric_pressure","location_id":22993,"location_item_id":189501,"sort":1,"station_id":22993,"station_item_id":189501},{"device_id":76102,"item":"diagnostics","location_id":22993,"location_item_id":194623,"station_id":22993,"station_item_id":194623},{"device_id":76143,"item":"diagnostics","location_id":22993,"location_item_id":194624,"station_id":22993,"station_item_id":194624},{"item":"forecast","location_id":22993,"location_item_id":194622,"station_id":22993,"station_item_id":194622},{"device_id":76143,"item":"light","location_id":22993,"location_item_id":189503,"sort":4,"station_id":22993,"station_item_id":189503},{"device_id":76143,"item":"lightning","location_id":22993,"location_item_id":189500,"sort":2,"station_id":22993,"station_item_id":189500},{"device_id":76143,"item":"rain","location_id":22993,"location_item_id":189502,"sort":5,"station_id":22993,"station_item_id":189502},{"device_id":76143,"item":"wind","location_id":22993,"location_item_id":189504,"sort":3,"station_id":22993,"station_item_id":189504}],"station_meta":{"elevation":204.6601867675781,"share_with_wf":true,"share_with_wu":true},"timezone":"America/Detroit","timezone_offset_minutes":-240}],"status":{"status_code":0,"status_message":"SUCCESS"}} || to || <class 'weatherflow4py.models.rest.stations.StationsResponseREST'> -- 'device_id'
Though
from core.
Related Issues (20)
- Any updates fail: Failed to call service update/install. Error updating Home Assistant Core 'HomeAssistantCore.update' blocked from execution, no host internet connection HOT 2
- fulljid property deprecated. Use boundjid.resource HOT 1
- Alarm Decoder doesn't work with Core update 2024.6.4 HOT 3
- Error in Unifi Network Integration HOT 2
- Opower not working for Seattle City Light HOT 7
- Insteon integration failing to start after several minutes trying (was working) HOT 1
- ecovacs - DEEBOT N10 MAX+ (clojes) - No response received for command "getMapSet_V2" (6 occurrences) HOT 1
- MQTT integration unable to use MQTT SSL HOT 1
- WolfLink with CWL2 "Fehler beim Einrichten: Überprüfe die Protokolle" HOT 4
- Error setting up entry Wemo for wemo HOT 4
- EzViz: translation missing HOT 1
- WiFi will disconnect and be unable to connect again when Home Assistant Core start
- Dallas Temperature Sensor no longer recognized HOT 1
- Squid Web Proxy Domain Filter HOT 3
- Some HomeKit Bridges duplicate devices and entities HOT 1
- Service `automation.trigger` not working as described re: `trigger` variable
- Incorrect firmware update notification for La Marzocco HOT 2
- ping is inconsistent/ambiguous for matter devices HOT 1
- missing fan_mode icons on daikin tile card
- Opower "Unknown Error" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.