Closed Ace0510 closed 9 months ago
Hey there @bachya, mind taking a look at this issue as it has been labeled with an integration (ambient_station
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
ambient_station documentation ambient_station source (message by IssueLinks)
Please include a diagnostics payload.
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2023.7.1",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.11.4",
"docker": true,
"arch": "aarch64",
"timezone": "America/Curacao",
"os_name": "Linux",
"os_version": "6.1.21-v8",
"supervisor": "2023.08.1",
"host_os": "Home Assistant OS 10.3",
"docker_version": "23.0.6",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"senseme": {
"version": "2.2.5",
"requirements": [
"aiosenseme>=0.5.5,<0.6.0"
]
},
"localtuya": {
"version": "5.2.1",
"requirements": []
},
"spotcast": {
"version": "v3.6.30",
"requirements": []
},
"bhyve": {
"version": "3.2.0",
"requirements": []
},
"hacs": {
"version": "1.32.1",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"sp108e_ws2815": {
"version": "0.2.0",
"requirements": []
},
"smartthinq_sensors": {
"version": "0.31.8",
"requirements": [
"pycountry>=20.7.3",
"xmltodict>=0.12.0",
"charset_normalizer>=2.0.0"
]
},
"wyzeapi": {
"version": "0.1.19",
"requirements": [
"wyzeapy==0.5.19"
]
},
"browser_mod": {
"version": "2.2.2",
"requirements": []
},
"nodered": {
"version": "1.4.0",
"requirements": []
},
"meross_lan": {
"version": "4.2.0",
"requirements": []
}
},
"integration_manifest": {
"domain": "ambient_station",
"name": "Ambient Weather Station",
"codeowners": [
"@bachya"
],
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/ambient_station",
"integration_type": "hub",
"iot_class": "cloud_push",
"loggers": [
"aioambient"
],
"requirements": [
"aioambient==2023.04.0"
],
"is_built_in": true
},
"data": {
"entry": {
"entry_id": "e555333f3b0d23593e0c8e67c8532125",
"version": 2,
"domain": "ambient_station",
"title": "**REDACTED**",
"data": {
"app_key": "**REDACTED**",
"api_key": "**REDACTED**"
},
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"unique_id": "**REDACTED**",
"disabled_by": null
},
"stations": {
"F4:CF:A2:7A:07:BF": {
"last_data": {
"dateutc": 1691928780000,
"tempinf": 85.5,
"humidityin": 73,
"baromrelin": 29.912,
"baromabsin": 29.841,
"tempf": 72.9,
"battout": 1,
"humidity": 47,
"winddir": 76,
"windspeedmph": 0,
"windgustmph": 0,
"maxdailygust": 8.1,
"hourlyrainin": 0,
"eventrainin": 0.13,
"dailyrainin": 0,
"weeklyrainin": 0,
"monthlyrainin": 0.13,
"totalrainin": 92.35,
"solarradiation": 310.61,
"uv": 3,
"batt_co2": 1,
"feelsLike": 72.1,
"dewPoint": 51.47,
"feelsLikein": 95.1,
"dewPointin": 75.8,
"lastRain": "2023-08-12T17:40:00.000Z",
"tz": "**REDACTED**",
"date": "2023-08-13T12:13:00.000Z",
"macAddress": "**REDACTED**",
"solarradiation_lx": 39318
},
"location": null,
"name": "El_Encanto"
}
}
}
}
Your diagnostics payload does, indeed, contain the uv
and solarradiation
keys. Does this error keep reoccurring, or did it only occur once?
Hi Aaron,This is the complete log which includes Wyze cameras. As you can see since it reboot after a power failure over 2k times. Just let me know any suggestions that I can do remotely since I am not home. Thanks in advance. Alberto Logger: homeassistant.util.loggingSource: util/logging.py:168 First occurred: August 12, 2023 at 10:12:23 PM (2318 occurrences) Last logged: 11:20:06 AMException in handle_camera_update when dispatching 'wyzeapi.camera_updated-GW_GC2_D03F2777F7D7': (<Device: DeviceTypes.CAMERA, GW_GC2_D03F2777F7D7>,) Traceback (most recent call last): File "/config/custom_components/wyzeapi/switch.py", line 455, in handle_camera_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 742, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 810, in _async_write_ha_state state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1233, in state if (is_on := self.is_on) is None: ^^^^^^^^^^ File "/config/custom_components/wyzeapi/switch.py", line 444, in is_on return self._device.motion ^^^^^^^^^^^^^^^^^^^ AttributeError: 'Camera' object has no attribute 'motion'Exception in update when dispatching 'ambient_station_data_update_F4:CF:A2:7A:07:BF': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/ambient_station/init.py", line 246, in update self._ambient.stations[self._mac_address][ATTR_LAST_DATA][ KeyError: 'solarradiation'Exception in update when dispatching 'ambient_station_data_update_F4:CF:A2:7A:07:BF': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/ambient_station/init.py", line 239, in update self._ambient.stations[self._mac_address][ATTR_LAST_DATA][ KeyError: 'solarradiation'Exception in update when dispatching 'ambient_station_data_update_F4:CF:A2:7A:07:BF': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/ambient_station/init.py", line 246, in update self._ambient.stations[self._mac_address][ATTR_LAST_DATA][ KeyError: 'uv'Alberto A CorreaOn Aug 14, 2023, at 12:48 AM, Aaron Bach @.***> wrote: Your diagnostics payload does, indeed, contain the uv and solarradiation keys. Does this error keep reoccurring, or did it only occur once?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Please enable debug logging for your Ambient station, restart Home Assistant, and if the issue happens again, post the logs. Thanks!
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
What version of Home Assistant Core has the issue?
Home Assistant 2023.7.1 Supervisor 2023.08.1 Operating System 10.3 Frontend 20230705.1 - latest
What was the last working version of Home Assistant Core?
Home Assistant 2023.7.1 Supervisor 2023.08.1 Operating System 10.3 Frontend 20230705.1 - latest
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Ambient Weather Station
Link to integration documentation on our website
No response
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