Re: [weewx-user] Using a wired rain gauge with WeeWx

2022-12-27 Thread DrTron
Seth, that's actually pretty easy to set up. My python script on the RPi runs in an endless loop, waits for a bucket tip and only writes the cumulative number of tips (ever) to a file and calculates the rain amount (total, cumulative) by multiplying it with the bucket size. Before that, it reads

Re: [weewx-user] Using a wired rain gauge with WeeWx

2022-12-27 Thread Seth Ratner
Could you share the programming for that? Maybe you have it on Github? Right now I have everything running on an RPi because the weather station is remote. But eventually I'd like to have Weewx running in a virtual machine, and the bucket will get connected to a RPi Pico and report the tips via MQT

Re: [weewx-user] Using a wired rain gauge with WeeWx

2022-12-27 Thread DrTron
Good to know. The RPi where the bucket is connected to is actually not the machine I run weewx on. I run MQTT to feed the (collective) rain amount into weewx every time the bucket tips. My "main" weather station, if you want to call it that, is a Ecowitt GW1100 with an outside temperature senso

Re: [weewx-user] Using a wired rain gauge with WeeWx

2022-12-27 Thread Seth Ratner
I've been happy with mine. Ecowitt sells a bird spike kit that fits it very well. The only downside is making the bucket play nice with whatever driver you're using for the main weather station. I created a service to accomplish this, which is linked in this thread. Come to think of it, I'll proba

Re: [weewx-user] Using a wired rain gauge with WeeWx

2022-12-27 Thread DrTron
Thanks a lot, Seth! I do it similarly in python: from gpiozero import Button That button routine in the gpiozero library already has a debounce function and I only count on "close" and just ignore the "open". So far it works well, but my current gauge only has a 5 * 11 cm opening (=55cm2), wherea

Re: [weewx-user] Using a wired rain gauge with WeeWx

2022-12-27 Thread Seth Ratner
The Rain wise bucket is .01" / .254mm, and in testing it that has been accurate. It's more a matter of leveling the buckets once mounted, but it's not a difficult procedure. And yes, it just acts as a button/switch. I used the gpio library because it easily allows for treating the bucket like a bu

Re: [weewx-user] Using a wired rain gauge with WeeWx

2022-12-27 Thread DrTron
Seth, Reviving this thread since I currently run a very similar setup. However, I have a rather el-cheapo rain gauge and was looking into replacing it with something more accurate, like the Rainwise RAINEW 111. Supposing you did calibrate the gauge, what bucket size did you arrive at? Like, how

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-25 Thread vince
Helps a lot, thanks. I kinda figured you had other power that you're just piggybacking the pi onto. Cool project. On Sunday, October 24, 2021 at 6:55:18 PM UTC-7 Seth Ratner wrote: > One wire to the chosen GPIO pin (set in weewx.conf) and one to GND. > > Nope. I might keep it for a future p

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-24 Thread Seth Ratner
One wire to the chosen GPIO pin (set in weewx.conf) and one to GND. Nope. I might keep it for a future project, but not used here Yeah I'm guessing it's just because the wire is not direct burial rated. I'll be routing mine through PVC I keep it in a shed in the orchard. All components are mou

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-22 Thread vince
Pretty cool. Dumb questions follow. - how'd you wire it up ? - did you not use the little display that comes with the gauge ? - their manual says 'wire cannot be buried' - any idea why ? What if it was in a PVC conduit ? - what does your zeroW setup look like for powering it

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-22 Thread Seth Ratner
Got it working! This allows you to add a wired rain gauge to WeeWx via the GPIO pins on a Raspberry Pi. Thanks for the help! https://github.com/lordratner/weewx_gpio_raingauge On Friday, October 22, 2021 at 8:17:23 AM UTC-5 Seth Ratner wrote: > Fantastic, Thank you! That's exactly what I neede

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-22 Thread Seth Ratner
Fantastic, Thank you! That's exactly what I needed. On Thursday, October 21, 2021 at 2:39:32 PM UTC-5 kk44...@gmail.com wrote: > Seth Ratner schrieb am Donnerstag, 21. Oktober 2021 um 21:27:14 UTC+2: > >> How are variables in weewx.conf referenced? > > > By the variable config_dict you find in _

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-21 Thread Karen K
Seth Ratner schrieb am Donnerstag, 21. Oktober 2021 um 21:27:14 UTC+2: > How are variables in weewx.conf referenced? By the variable config_dict you find in __init__. It is a dictionary the represents weewx.conf. For Example the section [Station] you find as config_dict['Station']. The entry "

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-19 Thread p q
You're probably going to need to write or modify a driver. The great thing about Weewx is that it's python and you have all the code. Check out the docs here: https://weewx.com/docs/customizing.htm#Implement_the_driver On Tue, Oct 19, 2021 at 8:32 PM Seth Ratner wrote: > Thanks Glenn, > > I'm no

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-19 Thread Seth Ratner
Thanks Glenn, I'm not sure the OWFS solution is much simpler than just programming a counter for the gauge. What I don't know is how you take that count and insert it into WeeWx. This is partly because I'm not sure how WeeWx processes data from rain gauges, and I don't know how to get into the

Re: [weewx-user] Using a wired rain gauge with WeeWx

2021-10-19 Thread Glenn McKechnie
Regarding the Rainwise rain gauge and OWFS. Yes and No. It is NOT hooked up directly to the Pi, certainly not for the OWFs driver. I see there are various HowTos about interfacing a reed switch rain gauge to a Pi using that method but until you find one that's proven and tested (bug free), or are

[weewx-user] Using a wired rain gauge with WeeWx

2021-10-19 Thread Seth Ratner
Hello, my searching thus far has been fruitless. I'd like to hook a Rainwise RAINEW 111 wired rain gauge up to WeeWx running on a Raspberry Pi Zero W. Does anyone have any experience with this? https://rainwise.com/wired-rain-gauge I know I can just write my own program in Python to monitor, c