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 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 mounted to a piece 
> of plywood. For power I have a 20w solar panel with a Renogy Wanderer solar 
> charge controller and a 6Ah battery. I may increase the battery size, as 
> the system also powers an OpenSprinkler controller and 16 zone extender. 
> The Pi serves as a WeeWx host, MQTT bridge with my HomeAssistant server and 
> reverse proxy to serve the Open Sprinkler. I'll add an Ecowitt HS80 and 
> GW1100 soon to complete the station. 
>
> I may once I finish things up, but there's not much to see with the GPIO 
> Rain Gauge since literally the only setup is connecting the two wires to 
> the two RPi pins. 
>
> On Friday, October 22, 2021 at 12:32:02 PM UTC-5 vince wrote:
>
>> 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, keeping it 
>>    dry, etc. ????
>>    - add photos and a nice writeup to your github page perhaps ?
>>
>> Reason I'm asking is that this seems like a pretty nice way for folks to 
>> add a rain gauge to stations like WeatherFlow that have notoriously 
>> inaccurate readings, assuming they are already running the nice WF UDP 
>> driver for that gear...
>>
>>
>>
>> On Friday, October 22, 2021 at 7:22:05 AM UTC-7 Seth Ratner wrote:
>>
>>> 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 needed. 
>>>>
>>>> On Thursday, October 21, 2021 at 2:39:32 PM UTC-5 [email protected] 
>>>> 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 __init__. It is a dictionary 
>>>>> the represents weewx.conf. For Example the section [Station] you find as 
>>>>> config_dict['Station']. The entry "location" in the [Station] section you 
>>>>> find as config_dict['Station']['location'].
>>>>>
>>>>> If you need your own entries, define a section and put your values 
>>>>> there. Then you can access them via config_dict.
>>>>>  
>>>>>
>>>>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/cb9d7eb6-f568-4466-828e-bde9e04c1eden%40googlegroups.com.

Reply via email to