This driver fully supports all currently available data from Ecowitt WiFi consoles and/or gateways.
https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/tree/mainhttps://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/weewx-ecowittcustom.zipThis driver is based on the Interceptor driver by Matthew Wall
and only supports the Ecowitt consoles/gateways
The driver also comes with a dedicated skin, "SeasonsEcowitt," that takes all sensors of an Ecowitt devices into account.
This skin is already prepared to integrate other databases (wx_binding), e.g. data from another station.
https://www.pc-wetterstation.de/wetter/weewx5/If you also use Oliver's FOSHKplugin, and the corresponding WiFi devices also provides the signals,
or the gateways always provide the signals, the Ecowitt Custom function in the Ecowitt protocol sends
the data to the FOSHKplugin, and FOSHKplugin forwards the data to the Ecowittcustom driver for WeeWx.
This provides the functionality of the GW1000 driver with all newer data (e.g. inbuilt WS3910 CO2 sensor, LDS sensor WH54, VPD)
that is no longer provided by the Ecowitt API (last Telnet v1.7.0).
Ecowitt protocol:
- Ecowitt Gateways GW1000, GW1100, GW1200, GW2000, GW3000, WS38xx, WS39xx, WS1900, WN1980, WN1900, WH2650
- Ecowitt wifi consoles HP2560, HP2550, HP3500, WS39xx, WS38xx, WN1980, WN1900, WS1900
and more ...
All mapping and unit assignments are done in the Ecowittcustom driver.
The wview_extended database schema has been extended for Ecowitt data and is provided as wview_ecowitt schema.
Script files (add_ecowitt_data_v5.sh, add_ecowitt_allsignaldata_v5.sh, add_ecowitt_to_wview_extended_database.sh)
are provided to extend an existing database accordingly.
The rain from the piezo sensors (WS85, WS90) is recorded as hail or hailRate!
This allows you to compare both data if a WH40 rain sensor is also present.
If you want the signal values (0-4) provided by the FOSHKplugin to be expressed as percentages,
you can do so in the weewx.conf file in the section
[StdCalibrate]
[[Corrections]]
ws90_sig = ws90_sig * 25 if ws90_sig is not None else None
ws85_sig = ws85_sig * 25 if ws85_sig is not None else None
wh54_ch1_sig = wh54_ch1_sig * 25 if wh54_ch1_sig is not None else None
This will then be automatically taken into account in the SeasonsEcowitt skin (sensors.inc).
FOSHKplugin:
https://foshkplugin.phantasoft.de/files/generic-FOSHKplugin-0.0.10Beta.zipEcowitt protocol:
- Ecowitt Gateways GW1000, GW1100, GW1200, GW2000, GW3000, WS38xx, WS39xx, WS1900, WN1980, WN1900, WH2650
- Ecowitt wifi consoles HP2560, HP2550, HP3500, WS39xx, WS38xx, WN1980, WN1900, WS1900
so some Wifi Consoles are also Gateways
Settings for FOSHKplugin to forward the ecowitt data to weewx
** FOSHKplugin ADD_More
= radcompensation,newVersion,upgrade,rainFallPriority,rainGain,piezo,rstRainDay,rstRainWeek,rstRainYear,rain1_gain,rain2_gain,rain3_gain,rain4_gain,rain5_gain
Here in this example the Ecowitt station/gateway sends the data to FOSHKplugin Port 8084
and FOSHKplugin forwards the data to WeeWx on Port 8083
foshkplugin.conf:
[Export]
EVAL_VALUES = True
ADD_ITEMS =
OUT_TEMP =
OUT_HUM =
OUT_TIME = False
FIX_LIGHTNING = True
UDP_MINMAX = False
ADD_SPREAD = False
ADD_SIGNAL = True
all Gateways support this (*sig)
ADD_DEWPT = False
ADD_MORE = True
not all Gateways support this (see **)
ADD_VPD = False
[Forward-1]
FWD_ENABLE = True
FWD_CMT = Weewx Ecowittcustom
FWD_URL =
http://192.168.0.93:8083/data/report/FWD_INTERVAL =
FWD_IGNORE =
FWD_OPTION = blacklist=False
FWD_TYPE = EW
FWD_SID =
FWD_PWD =
FWD_STATUS = False
FWD_MQTTCYCLE = 0
FWD_EXEC =