core: Ecowitt: Unhandled sensor type soilad1 value 208
The problem
I have a lot of warnings in the log stating the following:
2023-10-24 17:23:21.434 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:24:22.435 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:25:23.436 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:26:24.436 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:27:25.437 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:28:26.437 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:29:27.439 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:30:28.440 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:31:29.439 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:32:30.439 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:33:31.439 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 209
2023-10-24 17:34:32.441 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 208
2023-10-24 17:35:33.611 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 208
and so on…
What version of Home Assistant Core has the issue?
core-2023.10.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Ecowitt
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ecowitt
Diagnostics information
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2023.10.5",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.11.5",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Zurich",
"os_name": "Linux",
"os_version": "6.1.56",
"supervisor": "2023.10.0",
"host_os": "Home Assistant OS 11.0",
"docker_version": "24.0.6",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"meteoswiss": {
"version": "1.3.1",
"requirements": [
"hamsclientfork==0.2.8",
"geopy>=2.0"
]
},
"icloud3": {
"version": "3.0",
"requirements": []
},
"alarmo": {
"version": "v1.9.10",
"requirements": []
},
"hacs": {
"version": "1.33.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"energy_meter": {
"version": "1.0.1",
"requirements": []
},
"meteo-swiss": {
"version": "1.3",
"requirements": [
"hamsclient==0.2.3",
"geopy>=2.0"
]
},
"fellerwiser": {
"version": "1.0.1",
"requirements": [
"websockets"
]
},
"presence_simulation": {
"version": "3.1",
"requirements": []
}
},
"integration_manifest": {
"domain": "ecowitt",
"name": "Ecowitt",
"codeowners": [
"@pvizeli"
],
"config_flow": true,
"dependencies": [
"webhook"
],
"documentation": "https://www.home-assistant.io/integrations/ecowitt",
"iot_class": "local_push",
"requirements": [
"aioecowitt==2023.5.0"
],
"is_built_in": true
},
"data": {
"device": {
"name": "GW2000A_V3.0.8",
"model": "GW2000A",
"frequency": "868M",
"version": "132"
},
"raw": {
"__type": "<class 'multidict._multidict.MultiDict'>",
"repr": "<MultiDict('stationtype': 'GW2000A_V3.0.8', 'runtime': '513751', 'dateutc': '2023-10-24 21:16:08', 'tempinf': '71.24', 'humidityin': '62', 'baromrelin': '27.599', 'baromabsin': '27.599', 'tempf': '51.80', 'humidity': '99', 'winddir': '166', 'windspeedmph': '1.12', 'windgustmph': '1.57', 'maxdailygust': '3.80', 'solarradiation': '0.00', 'uv': '0', 'rainratein': '0.000', 'eventrainin': '1.453', 'hourlyrainin': '0.000', 'dailyrainin': '1.453', 'weeklyrainin': '1.472', 'monthlyrainin': '6.882', 'yearlyrainin': '12.079', 'totalrainin': '12.079', 'rrain_piezo': '0.000', 'erain_piezo': '1.252', 'hrain_piezo': '0.000', 'drain_piezo': '1.228', 'wrain_piezo': '1.276', 'mrain_piezo': '5.484', 'yrain_piezo': '28.256', 'ws90cap_volt': '2.5', 'ws90_ver': '132', 'soilmoisture1': '35', 'soilad1': '203', 'wh65batt': '0', 'soilbatt1': '1.6', 'wh90batt': '2.92', 'freq': '868M', 'model': 'GW2000A', 'interval': '60')>"
},
"sensors": {
"runtime": "513751",
"dateutc": "2023-10-24 21:16:08",
"tempinf": 71.24,
"humidityin": 62,
"baromrelin": 27.599,
"baromabsin": 27.599,
"tempf": 51.8,
"humidity": 99,
"winddir": 166,
"windspeedmph": 1.12,
"windgustmph": 1.57,
"maxdailygust": 3.8,
"solarradiation": 0.0,
"uv": 0,
"rainratein": 0.0,
"eventrainin": 1.453,
"hourlyrainin": 0.0,
"dailyrainin": 1.453,
"weeklyrainin": 1.472,
"monthlyrainin": 6.882,
"yearlyrainin": 12.079,
"totalrainin": 12.079,
"rrain_piezo": 0.0,
"erain_piezo": 1.252,
"hrain_piezo": 0.0,
"drain_piezo": 1.228,
"wrain_piezo": 1.276,
"mrain_piezo": 5.484,
"yrain_piezo": 28.256,
"ws90cap_volt": 2.5,
"soilmoisture1": 35,
"wh65batt": 0.0,
"soilbatt1": 1.6,
"wh90batt": 2.92,
"interval": "60",
"solarradiation_lux": 0.0,
"tempc": 11.0,
"tempinc": 21.8,
"windspeedkmh": 1.8,
"windgustkmh": 2.5,
"maxdailygustkmh": 6.1,
"rainratemm": 0.0,
"eventrainmm": 36.9,
"hourlyrainmm": 0.0,
"dailyrainmm": 36.9,
"weeklyrainmm": 37.4,
"monthlyrainmm": 174.8,
"yearlyrainmm": 306.8,
"totalrainmm": 306.8,
"rrain_piezomm": 0.0,
"erain_piezomm": 31.8,
"hrain_piezomm": 0.0,
"drain_piezomm": 31.2,
"wrain_piezomm": 32.4,
"mrain_piezomm": 139.3,
"yrain_piezomm": 717.7,
"baromrelhpa": 934.5,
"baromabshpa": 934.5,
"windchillf": null,
"windchillc": null,
"dewpointc": 10.8,
"dewpointf": 51.5,
"dewpointinc": 14.2,
"dewpointinf": 57.6,
"tempfeelsf": 51.8,
"tempfeelsc": 11.0
}
}
}
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Simple and standard Ecowitt setup as described in the docs
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Reactions: 2
- Comments: 15 (1 by maintainers)
I have just created a pull request on the upsteam aioecowitt library to igore these values. From the limited informaiton I could find, they appear to be the ADC calibration values for the soil moisture sensors, which I believe can just be ignored.
Looks like fix is going out in 2024.2.0 release: https://github.com/home-assistant/core/releases/tag/2024.2.0b9
And me for Soil Moisture Sensors
Yes that will prevent the warning, I am raising a separate PR which will load the raw values as a disabled-by-default diagnostic sensor (in case anyone needs the raw values in HA)