Thanks guys, I switched now to GW1000 Driver. Test driver also seems to be 
looking quite good.

Is there any chance to add the rain data in the database? I had 15.3mm rain 
yesterday, which is also the week, month and year totatl, since I started 
the weather station on tuesday night.
[image: rain.PNG]


vince schrieb am Mittwoch, 4. Juni 2025 um 23:08:17 UTC+2:

In case you switch to the nice gw1000 driver via Ian's link, here's my old 
config for my WS85 which is similar to your WS90, as well as the 
incantation to test the driver interactively.  Be a little forewarned this 
was quite a while ago and I decommissioned the ecowitt haptic sensor 
because it wasn't too accurate, but the weewx setup did work as I recall. 
 Your paths vs. the example --test-driver below will vary if you did a dpkg 
installation.

[GW1000]
    # This section is for the Ecowitt Gateway driver.

    # How often to poll the API, default is every 20 seconds:
    poll_interval = 20

    # The driver to use:
    driver = user.gw1000
    ip_address = 192.168.2.87     # gw1200
    port = 45000
    [[field_map_extensions]]
        outTempBatteryStatus = wh26_batt
        batteryStatus1 = wh31_ch1__batt
        batteryStatus2 = wh31_ch2__batt
        batteryStatus3 = wh31_ch3__batt
        batteryStatus4 = wh31_ch4__batt
        batteryStatus5 = wh31_ch5__batt
        batteryStatus8 = wh51_ch1__batt
        soilTemp1 = temp9                 # wh34
        ######batteryStatus8 = wh34_ch1__batt
        rain = p_rain
        stormRain = p_rainevent
        rainRate = p_rainrate
        dayRain = p_rainday
        weekRain = p_rainweek
        monthRain = p_rainmonth
        yearRain = p_rainyear

        windBatteryStatus = ws85_batt

        # PYTHONPATH=~/weewx/src python3 ~/weewx-data/bin/user/gw1000.py 
--test-driver --ip-address=192.168.2.87
        # 2024-08-30 11:01:19 PDT (1725040879): 'dateTime': '1725040879', 
'daymaxwind': '2.9', 'extraHumid1': '56', 'extraHumid2': '54', 
'extraHumid3': '56', 'extraHumid4': '59', 'extraHumid5': '70', 
'extraTemp1': '23.3', 'extraTemp2': '22.2', 'extraTemp3': '22.1', 
'extraTemp4': '22.0', 'extraTemp5': '21.8', 'extraTemp9': '17.8', 
'inHumidity': '53', 'inTemp': '22.5', 'outHumidity': '77', 'outTemp': 
'19.5', 'p_dayRain': '0.0', 'p_monthRain': '34.3', 'p_rain': 'None', 
'p_rainRate': '0.0', 'p_stormRain': '0.0', 'p_weekRain': '1.0', 
'p_yearRain': '42.4', 'pressure': '1006.5', 'relbarometer': '1006.5', 
'soilMoist1': '41', 'usUnits': '17', 'wh31_ch1_batt': '0', 'wh31_ch1_sig': 
'4', 'wh31_ch2_batt': '0', 'wh31_ch2_sig': '4', 'wh31_ch3_batt': '0', 
'wh31_ch3_sig': '4', 'wh31_ch4_batt': '0', 'wh31_ch4_sig': '4', 
'wh31_ch5_batt': '0', 'wh31_ch5_sig': '4', 'wh32_batt': '0', 'wh32_sig': 
'4', 'wh51_ch1_batt': '1.4', 'wh51_ch1_sig': '4', 'windDir': '280', 
'windGust': '1.2', 'windSpeed': '1.1', 'wn34_ch1_batt': '1.5', 
'wn34_ch1_sig': '4', 'ws85_batt': '3.08', 'ws85_sig': '4'


On Wednesday, June 4, 2025 at 2:01:24 PM UTC-7 Steeple Ian wrote:

There is a fork of the GW1000 driver here which was synced with Gary's main 
branch just before he went 'off air'. It is a better bet than the 
Interceptor driver. I have GW1000, GW2000 and GW3000 devices and they all 
wrk perfectly.

https://github.com/Millardiang/weewx-gw1000

On Wednesday, June 4, 2025 at 10:37:53 PM UTC+2 Markus Lösch wrote:

Also after some rain now, nothing shows up at rain. There is also nothing 
written down in the database…
Anyone that can help? 

chin0x schrieb am Mittwoch, 4. Juni 2025 um 14:47:06 UTC+2:

Hey guys,

I've been going through some discussions but not quite sure if I did 
everything rigth.

Due to the circumstances that the GW1000 Driver is all of a sudden not 
available anymore, I decided to use the Interceptor driver when I changed 
from "Simulation" to "Productive" mode yesterday evening.

I found out that the rain is not available in the database and saw some 
discussions about it.
What I now did was adding some values to the Interceptor Stanza in the 
weewx.conf:
[Interceptor]

    driver = user.interceptor
    device_type = ecowitt-client
    port = 8000
    [[sensor_map_extensions]]
        rain = drain_piezo
        rainRate = rrain_piezo
        supplyVoltage = wh90batt
        referenceVoltage = ws90cap_volt

But it shows me no rain in my skins. Currently it is not raining, but there 
was rain this morning. Is the data only filling the actuall rain into the 
database or also the data from this morning? If not from this morning, how 
can I insert that data afterwards ?

in the log it shows me the following entries:
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter runtime=80319
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter heap=94012
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter vpd=0.071
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter rrain_piezo=0.000
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter erain_piezo=0.157
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter hrain_piezo=0.008
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter drain_piezo=0.157
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter wrain_piezo=0.157
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter mrain_piezo=0.157
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter yrain_piezo=0.157
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter srain_piezo=1
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter ws90cap_volt=2.5
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter ws90_ver=155
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter wh90batt=3.14
Jun  4 14:46:10 weewx weewxd[1727]: INFO user.interceptor: unrecognized 
parameter interval=16

so rain is showing some values here...

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/95aa9ed3-1846-4a2f-82c7-9c673fe06e09n%40googlegroups.com.

Reply via email to