Skip to TLDR below if you dont need all the stuff... I figure more info is better than less ;)
So, long story short - I had WeeWx running with a Davis Vantage Pro in the past, worked amazingly. I got divorced, and now have a new house and stood up a Ecowitt WS90 and HP2560_C console, with a couple soil moisture sensors (one installed) and a lightning detector sensor.
I have everything set up nicely, pushing data to Home Assistant via the Ecowitt Integration, and the Ecowitt Proxy Addon (to send to HA via HTTPS) the data is clean and working. WeeWX is installed on Ubuntu 24.04 running in a Proxmox VM
Now -- I want to send the data to WeeWX and then have WeeWX create local webpages and send the data to MQTT for consumption by HA and some other endpoints probably.
I followed this :
guide to get the weewx-interceptor up and running but I am having issues getting the data right ... especially the rain (piezo) readings and battery and signal quality data from the console/sensors into weewx
On my ubuntu server, I run the following, and point the console's custom to it:
PYTHONPATH=/usr/share/weewx python3 /etc/weewx/bin/user/interceptor.py --device=ecowitt-client --port 8082 --debug
I get good data input, but I am obviously missing something in the data / dictionary config...
here is the output (I replaced "&" with new lines to make it readable)
raw data: b'PASSKEY=XXXX
stationtype=EasyWeatherPro_V5.1.6
runtime=151001
heap=25536
dateutc=2025-01-03+14:07:35
tempinf=66.9
humidityin=30
baromrelin=29.557
baromabsin=29.557
tempf=34.0
humidity=51
winddir=324
windspeedmph=4.25
windgustmph=6.49
maxdailygust=16.11
solarradiation=70.96
uv=0
rainratein=0.000
eventrainin=0.000
hourlyrainin=0.000
dailyrainin=0.000
weeklyrainin=0.402
monthlyrainin=0.000
yearlyrainin=0.000
soilmoisture1=58
soilad1=275
lightning_num=133
lightning_time=1735913249
lightning=24
rrain_piezo=0.000
erain_piezo=0.000
hrain_piezo=0.000
drain_piezo=0.000
wrain_piezo=0.406
mrain_piezo=0.000
yrain_piezo=0.000
ws90cap_volt=2.6
ws90_ver=147
gain10_piezo=1.00
gain20_piezo=1.00
gain30_piezo=1.00
gain40_piezo=1.00
gain50_piezo=1.00
wh65batt=0
soilbatt1=1.5
wh57batt=5
wh90batt=3.06
freq=915M
model=HP2564BU_Pro_V1.9.8
interval=60'
=========
TLDR: where can I find a idiots guide to getting this properly configured in weewx.conf (or extensions.py, etc...) - weewx.conf attached with passwords and sensitive data redacted
I do have the MQTT part working (minus the missing fields)
MQTT JSON output:
{
"dateTime": "1735913100.0",
"usUnits": "1.0",
"pressure_inHg": "29.559800000000003",
"outHumidity": "52.0",
"inHumidity": "30.0",
"outTemp_F": "33.64",
"inTemp_F": "67.1",
"windSpeed_mph": "1.7899999999999998",
"windDir": "325.88551868980153",
"windGust_mph": "6.04",
"windGustDir": "305.0",
"radiation_Wpm2": "71.84",
"rain_in": "0.0",
"rainRate_inch_per_hour": "0.0",
"UV": "0.0",
"soilMoist1_centibar": "58.0",
"altimeter_inHg": "29.87291663175763",
"appTemp_F": "27.446035333097278",
"barometer_inHg": "29.88593906817573",
"cloudbase_foot": "3863.146761248673",
"dewpoint_F": "17.912498615276483",
"ET_in": "0.000108903610077779",
"heatindex_F": "33.64",
"humidex_F": "33.64",
"inDewpoint_F": "34.62673923737547",
"maxSolarRad_Wpm2": "133.7871182928205",
"windchill_F": "33.64",
"windrun_mile": "0.14916666666666664",
"interval_minute": "5.0",
"hourRain_in": "0.0",
"rain24_in": "0.0",
"dayRain_in": "0.0"
}