core
core copied to clipboard
Ecowitt Unhandled Sensors
The problem
Received my new Ecowitt Wittboy weather station and used the Ecowitt integration with great success. No issues whatsoever but I did notice some warnings in the log today regarding some unhandled sensors.
What version of Home Assistant Core has the issue?
2023.6.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
ecowitt
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ecowitt
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
│2023-06-15 13:52:33.161 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain10_piezo value 1.00
│2023-06-15 13:52:33.174 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain20_piezo value 1.00
│2023-06-15 13:52:33.178 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain30_piezo value 1.00
│2023-06-15 13:52:33.183 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain40_piezo value 1.00
│2023-06-15 13:52:33.190 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain50_piezo value 1.00
Additional information
No response
Unsure why the bot didn't label this but if someone could label it as the Ecowitt integration it would be greatly appreciated. If I need to create this issue somewhere else I'd be more than happy to do so.
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)
Same on my instance
Same issue here.
Same for me, seems a new sensor type has to be added in: homeassistant/components/ecowitt/sensor.py
2023-09-06 16:45:54.334 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain50_piezo value 1.00
2023-09-06 16:46:15.335 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain10_piezo value 1.00
2023-09-06 16:46:15.338 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain20_piezo value 1.00
2023-09-06 16:46:15.340 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain30_piezo value 1.00
2023-09-06 16:46:15.343 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain40_piezo value 1.00
2023-09-06 16:46:15.346 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain50_piezo value 1.00
2023-09-06 16:46:36.322 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain10_piezo value 1.00
2023-09-06 16:46:36.326 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain20_piezo value 1.00
2023-09-06 16:46:36.329 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain30_piezo value 1.00
2023-09-06 16:46:36.331 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type gain40_piezo value 1.00
In the interim, the filter shown below can be added to configuration.yaml to keep the warning from showing logs:
logger:
default: info
filters:
aioecowitt.server:
- "Unhandled sensor type gain*"
mee too:
2023-10-30 00:28:50.270 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type runtime value 406696, file a PR.
2023-10-30 00:28:50.271 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type rrain_piezo value 0.000, file a PR.
2023-10-30 00:28:50.271 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type erain_piezo value 0.000, file a PR.
2023-10-30 00:28:50.271 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type hrain_piezo value 0.000, file a PR.
2023-10-30 00:28:50.272 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type drain_piezo value 0.000, file a PR.
2023-10-30 00:28:50.272 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type wrain_piezo value 0.000, file a PR.
2023-10-30 00:28:50.272 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type mrain_piezo value 1.039, file a PR.
2023-10-30 00:28:50.273 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type yrain_piezo value 16.878, file a PR.
2023-10-30 00:28:50.273 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type ws90cap_volt value 4.8, file a PR.
2023-10-30 00:28:50.273 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type ws90_ver value 132, file a PR.
2023-10-30 00:28:50.274 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type wh90batt value 3.14, file a PR.
2023-10-30 00:28:50.274 WARNING (MainThread) [custom_components.ecowitt] Unhandled sensor type interval value 60, file a PR.
and those sensor (piezo, battery,etc) are not present
Same issue here: `Logger: aioecowitt.server Source: components/ecowitt/init.py:27 First occurred: 16:37:37 (244 occurrences) Last logged: 17:11:53
Unhandled sensor type soilad1 value 232 Unhandled sensor type soilad2 value 198 Unhandled sensor type soilad2 value 199`
Same probleme here...
Same issue here: `Logger: aioecowitt.server Source: components/ecowitt/init.py:27 First occurred: 16:37:37 (244 occurrences) Last logged: 17:11:53
Unhandled sensor type soilad1 value 232 Unhandled sensor type soilad2 value 198 Unhandled sensor type soilad2 value 199`
I get the similar "soilad1 value xxx" errors occasionally, and the soil sensor and its battery appear as Unavailable in home assistant, but then becomes available again after about 30mins.
I am currently getting a whole list of the following errors after a reboot (and both my soil sensors are unavalable). For reference, this has been in this state for 1hr, and the two soil sensors are still not available Running HA 2024.1.1 - thought it was perfectly fine earlier today (all i've done is reboot after a card-mod update)
Logger: aioecowitt.server
Source: components/ecowitt/__init__.py:27
First occurred: 4:15:36 PM (54 occurrences)
Last logged: 5:09:29 PM
Unhandled sensor type heap value 108776
Unhandled sensor type heap value 108764
Unhandled sensor type heap value 107212
Unhandled sensor type heap value 108784
Unhandled sensor type heap value 108432
Yep same here.
Logger: aioecowitt.server
Source: components/ecowitt/__init__.py:27
First occurred: 5:49:35 PM (53 occurrences)
Last logged: 6:42:19 PM
Unhandled sensor type heap value 121888
Unhandled sensor type heap value 123092
Unhandled sensor type heap value 125676
Unhandled sensor type heap value 125700
Unhandled sensor type heap value 125288
’’’
Mine came good and has been fine after I moved the sensor and gateway closer together. Maybe try that. You can also check the sensor RF level in the app ( “…” menu, Sensor ID menu)
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.