Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ecowitt: Unhandled sensor type soilad1 value 208 #102738

Closed
kess78 opened this issue Oct 24, 2023 · 15 comments · Fixed by #109817
Closed

Ecowitt: Unhandled sensor type soilad1 value 208 #102738

kess78 opened this issue Oct 24, 2023 · 15 comments · Fixed by #109817
Assignees

Comments

@kess78
Copy link

kess78 commented Oct 24, 2023

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

@home-assistant
Copy link

Hey there @pvizeli, mind taking a look at this issue as it has been labeled with an integration (ecowitt) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of ecowitt 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 ecowitt Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


ecowitt documentation
ecowitt source
(message by IssueLinks)

@ocso
Copy link

ocso commented Oct 30, 2023

I have the same issue (4 pcs DP100 Soil sensors):

2023-10-30 21:57:27.185 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 250
2023-10-30 21:57:27.185 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad2 value 281
2023-10-30 21:57:27.185 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad4 value 291
2023-10-30 21:58:28.186 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad1 value 250
2023-10-30 21:58:28.186 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad2 value 281
2023-10-30 21:58:28.186 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type soilad4 value 291

@Cerize110
Copy link

I have the same issue with the WH41 Air quality sensor.
AQI, and Air polution level doesn't show up. PM2.5 concentration (ug/m3, 24 hour average) works.
Logger: aioecowitt.server
Source: components/ecowitt/init.py:27
Unhandled sensor type soilad1 value 212
Unhandled sensor type soilad1 value 211
Unhandled sensor type soilad1 value 213
Unhandled sensor type soilad1 value 214
Unhandled sensor type soilad1 value 215

@lloydbayley
Copy link

lloydbayley commented Nov 4, 2023

And me for Soil Moisture Sensors

Logger: aioecowitt.server
Source: components/ecowitt/__init__.py:27
First occurred: 5:44:10 PM (644 occurrences)
Last logged: 8:30:03 PM

    Unhandled sensor type soilad1 value 170
    Unhandled sensor type soilad2 value 143
    Unhandled sensor type soilad1 value 171

@mattdevo1
Copy link

mattdevo1 commented Nov 11, 2023

Same here. Doesn't seem to be impacting anything though (all my sensors appear to be working correctly).

Logger: aioecowitt.server
Source: components/ecowitt/__init__.py:27
First occurred: 1:55:28 PM (8 occurrences)
Last logged: 1:56:29 PM

Unhandled sensor type soilad1 value 196
Unhandled sensor type soilad2 value 211
Unhandled sensor type soilad3 value 197
Unhandled sensor type soilad4 value 172

@sam-ward
Copy link

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.

@rmkilc
Copy link

rmkilc commented Nov 14, 2023

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.

That's exactly right. In the Ecowitt app when you calibrate, the scale is not 0-100.
Screenshot_20231113-165313

@lionslair
Copy link

I am getting the same issue

Logger: aioecowitt.server
Source: components/ecowitt/__init__.py:27
First occurred: 5:44:46 PM (40 occurrences)
Last logged: 5:48:50 PM

Unhandled sensor type soilad4 value 150
Unhandled sensor type soilad5 value 167
Unhandled sensor type soilad6 value 137
Unhandled sensor type soilad7 value 186
Unhandled sensor type soilad8 value 166

@lionslair
Copy link

Same here. Doesn't seem to be impacting anything though (all my sensors appear to be working correctly).

Logger: aioecowitt.server
Source: components/ecowitt/__init__.py:27
First occurred: 1:55:28 PM (8 occurrences)
Last logged: 1:56:29 PM

Unhandled sensor type soilad1 value 196
Unhandled sensor type soilad2 value 211
Unhandled sensor type soilad3 value 197
Unhandled sensor type soilad4 value 172

same

@sam-ward
Copy link

sam-ward commented Dec 7, 2023

The fix is there in the upstream library, just waiting for the maintainer to accept the pull request.

@msolomos
Copy link

same issue here as well

Logger: aioecowitt.server
Source: components/ecowitt/init.py:27
First occurred: 21:47:38 (2 occurrences)
Last logged: 21:52:39

Unhandled sensor type soilad1 value 247

@msolomos
Copy link

The fix is there in the upstream library, just waiting for the maintainer to accept the pull request.

any update please? Can we just download and replace until the pull request is accepted??

@joaldes
Copy link

joaldes commented Feb 5, 2024

Hopefully the changes get accepted soon!

@barndawgie
Copy link

Looks like fix is going out in 2024.2.0 release: https://github.com/home-assistant/core/releases/tag/2024.2.0b9

@dcmeglio
Copy link
Contributor

dcmeglio commented Feb 6, 2024

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)

@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

14 participants