rainRate always zero

93 views
Skip to first unread message

Seth Ratner

unread,
Apr 25, 2022, 11:22:33 AM4/25/22
to weewx-user
Hey everyone.

My setup:

GW1000 driver for Ecowitt WS80. I have a Rainwise wired rain gauge using a self-made service that adds the rain bucket tips to the loop. All the rain reports correctly, but the rainRate is always zero in the archive. 

My hunch is that the WS80/GW1000 is reporting a rainrate of 0 because it has no rain measuring equipment, and because of that WeeWx is not calculating a rate using the xType.

So how do I fix that? Do I need to change something in the GW1000 driver? 

Thanks,
Seth


Tom Keffer

unread,
Apr 25, 2022, 11:59:36 AM4/25/22
to weewx-user
You can try forcing rainRate to be calculated in software. In weewx.conf:

[StdWXCalculate]
  ...
  [[Calculations]]
    ...
    rainRate = software



--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8ab30d2a-964b-41b2-bdd2-8d05ad307be7n%40googlegroups.com.

Seth Ratner

unread,
Apr 25, 2022, 3:18:14 PM4/25/22
to weewx-user
I knew it had to be something simple. Thanks again!

gjr80

unread,
Apr 29, 2022, 9:39:02 PM4/29/22
to weewx-user
If the GW1000 driver is reporting rainfall data with the only connected (Ecowitt) device being a WS80 then that is a bug and I would like to fix it. My ability to test this is somewhat limited as I do not have a WS80. Would you be able to run the GW1000 driver directly with a few commands to gather some sensor/system data to send to me to help me troubleshoot? There is no need to take WeeWX offline and the commands will have no impact on your system other than adding a few extra lines to your log. If you are happy to help the following steps will run the necessary commands:

1. you can run the GW1000 driver directly at a command prompt in a terminal screen on your WeeWX machine as follows:

for a setup.py WeeWX install:

$ PYTHONPATH=/home/weewx/bin python3 user.gw1000 --help
 
for a package install:

$ PYTHONPATH=/usr/share/weewx python3 user.gw1000 --help

--help will display all available command line options. Note you need to run the GW1000 driver using the same python version (python 2 or python 3) that WeeWX uses - this may be different to the default python version when you issue the python command on your system. I have assumed python3, if you get dependency errors you probably need to use python2 instead.

2. the commands I would like you to run are (change PYTHONPATH and python3 to suit):

$ PYTHONPATH=/home/weewx/bin python3 user.gw1000 --sensors --debug=3
$ PYTHONPATH=/home/weewx/bin python3 user.gw1000 --live-data --debug=3
$ PYTHONPATH=/home/weewx/bin python3 user.gw1000 --test-driver --debug=3

The --test-driver command will display continuous loop-like packets to the terminal, after a couple of minutes of these press ctl-c to exit back to the command prompt.

Each of the above commands will display some human readable formatted data on screen, if you could capture that and post that back here that would be good. What I am really after though is the raw sensor/system data that will have been saved to log, if you look at your WeeWX log you should see a whole lot of lines like:

Apr 25 11:38:58 bullseye20 weewx[1003] DEBUG __main__: Sending packet 'FF FF 26 03 29' to '192.168.2.38:45000'
Apr 25 11:38:58 bullseye20 weewx[1003] DEBUG __main__: Received response 'FF FF 26 09 E8 68 E7 12 9D D7 EC'
Apr 25 11:38:58 bullseye20 weewx[1003] DEBUG __main__: Sending packet 'FF FF 50 03 53' to '192.168.2.38:45000'
Apr 25 11:38:58 bullseye20 weewx[1003] DEBUG __main__: Received response 'FF FF 50 12 0E 47 57 32 30 30 30 43 5F 56 32 2E 31 2E 34 BB'

This is what I am after. If you could post these as well that would be good. If you don't want to post the data publicly you can reply directly to me with the attached data.

thanks,
Gary



Reply all
Reply to author
Forward
0 new messages