homeassistant_ecowitt icon indicating copy to clipboard operation
homeassistant_ecowitt copied to clipboard

Ecowitt Wittboy support

Open mstefany opened this issue 3 years ago • 16 comments

I am trying to use Ecowitt Wittboy (GW2001) with Home Assistant, but some sensors (rain) are missing and this shows up in Home Assistant logs:

Logger: custom_components.ecowitt
Source: custom_components/ecowitt/__init__.py:274
Integration: Ecowitt Weather Station
First occurred: 11:12:29 (12580 occurrences)
Last logged: 23:43:48

Unhandled sensor type gain30_piezo value 0.100, file a PR.
Unhandled sensor type gain40_piezo value 0.100, file a PR.
Unhandled sensor type gain50_piezo value 0.100, file a PR.
Unhandled sensor type rfdata value [[1650577425,"905094960000A089BA62055709003FFF31E4E500DA33363057F661FEF973178E"]], file a PR.
Unhandled sensor type wh90batt value 3.20, file a PR.

mstefany avatar Apr 21 '22 21:04 mstefany

@mstefany Strange that I didn't see "gainXX" in my Wittboy. Anyhow I have added 2 PRs: https://github.com/garbled1/homeassistant_ecowitt/pull/109 https://github.com/garbled1/pyecowitt/pull/7

You might want to try out my fork before it is merged: https://github.com/warrenchin/homeassistant_ecowitt

warrenchin avatar Apr 23 '22 14:04 warrenchin

Let me test it tonight and report back to you. Thank you for the PRs!

mstefany avatar Apr 25 '22 08:04 mstefany

Looks awesome, thank you!

image

mstefany avatar Apr 25 '22 20:04 mstefany

This might be related too? WH2600 with firmware 1.7.8 - there's an option to choose rain gauge - I don't have piezo but somehow after upgrading wifi app to 1.6.4 it started to spam logs: Logger: custom_components.ecowitt Source: custom_components/ecowitt/init.py:274 Integration: Ecowitt Weather Station First occurred: 19:49:14 (294 occurrences) Last logged: 20:36:43

Unhandled sensor type hrain_piezo value 0.000, file a PR. Unhandled sensor type drain_piezo value 0.000, file a PR. Unhandled sensor type wrain_piezo value 0.000, file a PR. Unhandled sensor type mrain_piezo value 0.000, file a PR. Unhandled sensor type yrain_piezo value 0.000, file a PR.

cpuks avatar Apr 26 '22 18:04 cpuks

I still get some errors though:

Logger: custom_components.ecowitt
Source: custom_components/ecowitt/__init__.py:274
Integration: Ecowitt Weather Station
First occurred: 25. dubna 2022 22:38:03 (15894 occurrences)
Last logged: 19:31:12

Unhandled sensor type gain20_piezo value 0.100, file a PR.
Unhandled sensor type gain30_piezo value 0.100, file a PR.
Unhandled sensor type gain40_piezo value 0.100, file a PR.
Unhandled sensor type gain50_piezo value 0.100, file a PR.
Unhandled sensor type rfdata value [[1651080671,"9050949600DB9F8A103D006700003FFFE4A88001E0353D51FF7FF20000738417"]], file a PR.

Even with your updated version.

mstefany avatar Apr 27 '22 17:04 mstefany

@mstefany & @warrenchin i'm looking at WittBoy too and notice all the screen prints i've seen for this in HA do not have values for Solar Radiation and UV index. Those are really the only two items I want to be sure are working. Can you confirm they work with the current fork https://github.com/warrenchin/homeassistant_ecowitt

christensonautohome avatar May 02 '22 18:05 christensonautohome

Interested in wittboy support for HA. Current main version is not displaying piezo rain (although set as main source in configuration of wittboy). I have no issues, it seems with UV and light sesnors in current version. These values are shown in HA.

ruudvddries avatar May 03 '22 16:05 ruudvddries

@ruudvddries not sure I understand you here? do you currently have Wittboy and try the fork or main branch install (HACS is the main branch)?

Sounds like the rain sensor on the wittboy doesn't record correctly on the main branch but the UV and solar radiation both work? Give the fork a try with a manual install. maybe that will pull in the rain sensor data you need.

christensonautohome avatar May 03 '22 19:05 christensonautohome

hey thanks for your effors here!

May I ask a question abouth the Wittbot integration? I currently have my sensors integrated via the GW1100 gateway. I also have a Wittboy, is it possible that I can have two devices reporting with this fork? i.e. GW1100 and GW2000? I know you can enable the sensors that the GW1100 has in the GW2000, but I was wondering if I make 2 devices show up in this. thanks

Anto79-ops avatar May 10 '22 15:05 Anto79-ops

@Anto79-ops I've never try that but I believe you can, just setup another ecowitt integration on different port.

warrenchin avatar May 12 '22 01:05 warrenchin

Thanks very much. I may try it using a different port, say 4198, but I'd to wait for the release version of the Wittboy support for this integration, only because I'm would not know how to install this fork on HA. Any idea when it will be forked in?

Anto79-ops avatar May 12 '22 03:05 Anto79-ops

@christensonautohome

Hi, yes I have Wittboy connected to the main ecowitt branch from this repo thourgh installation from HACS. Only issue I have is that Piezo data is not dislayed, it stayed at 0.0mm during and after rain. I have set piezo as main source for rain data in the GW2000 settings. Currently Piezo data is shown in my HA installation as unavailable (all piezo related data).

As mentioned, all other data from sensors within the WittBoy are reported correctly.

I will try to find out how to install the branch version of this repo in HA.

regards,

Ruud

ruudvddries avatar May 12 '22 11:05 ruudvddries

I just integrated my Ecowitt Wittboy into HA and am seeing the same issues (no rain sensors, piezo, battery etc within HA). Same error messages in the logs. I'm publishing the data to Weather Underground as well via the EcoWitt gateway and thats working fine (rain sensor). My gateway is running Firmware: GW2000B_V2.1.4

Logger: custom_components.ecowitt Source: custom_components/ecowitt/init.py:274 Integration: Ecowitt Weather Station First occurred: 3:22:37 PM (4758 occurrences) Last logged: 10:44:58 PM

Unhandled sensor type mrain_piezo value 2.937, file a PR.
Unhandled sensor type yrain_piezo value 2.937, file a PR.
Unhandled sensor type ws90cap_volt value 5.2, file a PR.
Unhandled sensor type ws90_ver value 119, file a PR.
Unhandled sensor type wh90batt value 3.18, file a PR.

adrummond-github avatar May 17 '22 03:05 adrummond-github

Also seeing the same issue with a new Wittboy on version 0.7. Unsure if this is useful, but I'll add it here anyways.

Logger: custom_components.ecowitt Source: custom_components/ecowitt/init.py:274 Integration: Ecowitt Weather Station First occurred: June 3, 2022, 11:56:20 PM (165 occurrences) Last logged: 12:10:34 AM

Unhandled sensor type mrain_piezo value 0.000, file a PR. Unhandled sensor type yrain_piezo value 0.000, file a PR. Unhandled sensor type ws90cap_volt value 4.4, file a PR. Unhandled sensor type ws90_ver value 119, file a PR. Unhandled sensor type wh90batt value 3.20, file a PR.

paulblakely avatar Jun 04 '22 05:06 paulblakely

@warrenchin Thanks a lot. Your fork works perfectly. Too bad that it hasn't been merged yet.

antonsarg avatar Jul 22 '22 18:07 antonsarg

@mstefany Strange that I didn't see "gainXX" in my Wittboy. Anyhow I have added 2 PRs: #109 garbled1/pyecowitt#7

You might want to try out my fork before it is merged: https://github.com/warrenchin/homeassistant_ecowitt

Thank you @warrenchin! Your fork seems to work great for my new Wittboy. Hopefully this gets merged soon.

mattdevo1 avatar Jul 23 '22 01:07 mattdevo1