[weewx-user] rainRate always zero

2022-04-25 Thread Seth Ratner
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 rain

Re: [weewx-user] rainRate always zero

2022-04-25 Thread Seth Ratner
= software > > > > On Mon, Apr 25, 2022 at 8:22 AM Seth Ratner wrote: > >> 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 l

[weewx-user] Belchertown - Adding Matomo Analytics script

2022-09-09 Thread Seth Ratner
Hey everyone, Has anyone come up with the best way to add a tracking script such that all pages will have it? I've tried using the .inc files Belchertown supports, but that only tracks the homepage. The header or footer seems like the most obvious solution, but I'm not sure how to make it work

[weewx-user] Re: Belchertown - Adding Matomo Analytics script

2022-09-11 Thread Seth Ratner
re... > > On Friday, September 9, 2022 at 9:32:17 PM UTC-7 Seth Ratner wrote: > >> Hey everyone, >> >> Has anyone come up with the best way to add a tracking script such that >> all pages will have it? >> >> I've tried using the .inc files Belch

[weewx-user] Using Multiple MySQL databases

2022-09-14 Thread Seth Ratner
Simple concept, but I'd like to use one local and one network db. Poosible? Seems easy enough to add the second database to the config, but I don't know if [DataBindings] can accept the second database. Anyone tried this? Seth -- You received this message because you are subscribed to the G

[weewx-user] Re: Using Multiple MySQL databases

2022-09-14 Thread Seth Ratner
.. right?* log_success = True log_failure = True On Wednesday, September 14, 2022 at 4:38:38 PM UTC-5 Seth Ratner wrote: > Simple concept, but I'd like to use one local and one network db. Poosible? > > Seems easy enough to add the second database to the config, but I don't &

Re: [weewx-user] Re: Using Multiple MySQL databases

2022-09-14 Thread Seth Ratner
p on a separate instance. > > On Wed, Sep 14, 2022, 5:51 PM Seth Ratner wrote: > >> >> Looks like I can just add another binding in [DataBingings], but in >> [StdArchive] I'm not sure I can have two archive processes run. >> >> I think these

Re: [weewx-user] Re: Using Multiple MySQL databases

2022-09-14 Thread Seth Ratner
tabase (without querying the entire db each time), but I don't know it. I'm open to ideas, and I really appreciate everyone taking the time to respond. Thanks On Wed, Sep 14, 2022 at 6:01 PM vince wrote: > On Wednesday, September 14, 2022 at 3:50:16 PM UTC-7 Seth Ratner wrote: > >

Re: [weewx-user] Re: Using Multiple MySQL databases

2022-09-15 Thread Seth Ratner
ice ( > chaunceygardiner/weewx-airlink: > WeeWX extension to support Davis AirLink air quality sensor. (github.com) > <https://github.com/chaunceygardiner/weewx-airlink>) > > hope this helps! > > Doug Jenkins > > On Wednesday, September 14, 2022 at 9:10:40 PM UTC-4

Re: [weewx-user] Re: Using Multiple MySQL databases

2022-09-15 Thread Seth Ratner
y, September 15, 2022 at 11:42:23 PM UTC+10 Seth Ratner wrote: > >> Thanks Doug and Vince, >> >> It looks like the best solution is MySQL replication. I had been using >> the backup option without realizing replication was built in. This will be >> more than adequate

Re: [weewx-user] Re: Belchertown - Adding Matomo Analytics script

2022-10-15 Thread Seth Ratner
t; other stuff up on the site, but I assume somewhere in the skin.conf or > something you have to tell it there is a header.inc? > > Thanks! > > On Sunday, September 11, 2022 at 10:03:02 AM UTC-6 Seth Ratner wrote: > >> Looks like the answer was to create 'header.inc

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

2022-12-27 Thread Seth Ratner
t; On Monday, October 25, 2021 at 11:00:50 AM UTC-5 vince wrote: > >> 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: >>

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

2022-12-27 Thread Seth Ratner
m opening (=55cm2), > whereas the Rainwise probably has 5-6 times that. > Mine tips every 0.387mm of rain (calibrated to my best abilities), so I > guess I would benefit from the Rainwise gauge. > > On Tuesday, December 27, 2022 at 9:49:38 AM UTC-6 Seth Ratner wrote: > >> The Ra

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

2022-12-27 Thread Seth Ratner
weewx. > But yes, I wrote a simple systemd service script that restarts the python > script if necessary. > > On Tuesday, December 27, 2022 at 2:46:21 PM UTC-6 Seth Ratner wrote: > >> I've been happy with mine. Ecowitt sells a bird spike kit that fits it >> very

[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

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

2021-10-19 Thread Seth Ratner
o be an alternative available at Sheepwalk Electronics, > the "SWE6 Multifunction I/O Module" which mentions a counter. I have > no idea of its capabilities so you would need to discuss it with them. > You'd also need one of their host adapters if you don't have something >

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 variab

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 exactl

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

2021-10-24 Thread Seth Ratner
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: &

[weewx-user] Service restarts on GW1000 loss

2021-12-22 Thread Seth Ratner
Hi everyone. I have WeeWX set up on a Raspberry Pi with the GW1000 driver. I'm also using a service I wrote to add a wired rain gauge to the GPIO pins using the gpiozero library. Here's the service: https://github.com/lordratner/weewx_gpio_raingauge/blob/main/gpio_rain_service.py The setup i

Re: [weewx-user] Service restarts on GW1000 loss

2021-12-22 Thread Seth Ratner
Awesome, thanks! On Wednesday, December 22, 2021 at 6:43:21 PM UTC-6 tke...@gmail.com wrote: > The class StdService has a stub method shutDown() that is called when the > engine stops. Just override it and run close(). > > On Wed, Dec 22, 2021 at 4:21 PM Seth Ratner wrote: >

Re: [weewx-user] Service restarts on GW1000 loss

2021-12-22 Thread Seth Ratner
hod shutDown() that is called when the > engine stops. Just override it and run close(). > > On Wed, Dec 22, 2021 at 4:21 PM Seth Ratner wrote: > >> Hi everyone. >> >> I have WeeWX set up on a Raspberry Pi with the GW1000 driver. I'm also >> using a service I

Re: [weewx-user] Service restarts on GW1000 loss

2021-12-23 Thread Seth Ratner
> On Wed, Dec 22, 2021 at 7:47 PM Seth Ratner wrote: > >> Do I need to bind the ShutDown() method in my service to something, or >> will ShutDown() be called automatically in all services based on the >> StdService class? >> >> Thanks again >> >

[weewx-user] Chill Hours Extension

2021-12-25 Thread Seth Ratner
Hi everyone, I was wondering if anyone had already come up with a way to monitor chill hours (cumulative hours below 45℉) in WeeWx. I'm using Belchertown, and it would be nice to have a readout with Oct-May chill hours, and maybe a chart that shows the per-week and cumulative hours together.

[weewx-user] Re: Chill Hours Extension

2022-01-18 Thread Seth Ratner
d? Or do they all have to follow the same logic? Am I going about this the entirely wrong way? Ultimately I'd like to create the ability to track the accumulated hours of various custom temp ranges, and use that data for charting similar to other existing fields. Thanks, Seth On Saturd

Re: [weewx-user] Re: Chill Hours Extension

2022-01-19 Thread Seth Ratner
Your Phenology extension is actually what got me thinking about how to implement the chilling hours in a more generic way, such that more than one metric (or one set of temperature thresholds) can be used. The "simplest" way that came to mind was using some sort of modified Daily Summary table

Re: [weewx-user] Re: Chill Hours Extension

2022-01-19 Thread Seth Ratner
first, then worry about making it fast. You don't know yet > whether the calculation will take a long time. > > > > On Wed, Jan 19, 2022 at 9:38 AM Seth Ratner wrote: > >> Your Phenology extension is actually what got me thinking about how to >> implement the c

Re: [weewx-user] Re: Chill Hours Extension

2022-01-20 Thread Seth Ratner
ds > since midnight that the temperature was below 45. > > No need to modify the summaries, and no xtype necessary. Just a new > service that calculates chillHours for the current record. Simple. > > -tk > > > On Wed, Jan 19, 2022 at 1:57 PM Seth Ratner wrote: > >> Yea

Re: [weewx-user] Re: Chill Hours Extension

2022-01-20 Thread Seth Ratner
> No need to modify the summaries, and no xtype necessary. Just a new > service that calculates chillHours for the current record. Simple. > > -tk > > > On Wed, Jan 19, 2022 at 1:57 PM Seth Ratner wrote: > >> Yeah, That's what it looks like >> >>

Re: [weewx-user] Re: Chill Hours Extension

2022-01-20 Thread Seth Ratner
between units for tags like $year.chillTime, unfortunately there is > no way for plots (there should be!), so it is probably better to save > "chill time" in hours, or even days, thus avoiding the unit conversion. > > Created issue #729 <https://github.com/weewx/weewx/is

Re: [weewx-user] Re: Chill Hours Extension

2022-01-20 Thread Seth Ratner
t; to do that. > > Personally, I would do this via an xtype. When I see a new type that's a > synthesis of old types, I think "xtype". That's the way all the derived > types are done in WeeWX. > > -tk > > On Thu, Jan 20, 2022 at 3:19 PM Seth Ratner wrote: >

Re: [weewx-user] Re: Chill Hours Extension

2022-01-20 Thread Seth Ratner
x27;d like my irrigation software to query WeeWX for the ET, total rain, and chill hours of a given time frame. Or do I just have to read the database directly? On Thu, Jan 20, 2022, 19:15 Tom Keffer wrote: > On Thu, Jan 20, 2022 at 4:01 PM Seth Ratner wrote: > >> Would you add the st

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
types#xtypes-api> > in the wiki about the API. It's pretty self-explanatory, except about where > db_manager comes from. That's an instance of > weewx.manager.DaySummaryManager. Look in weewx/manager.py for how to create > one. There are some convenient static methods

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
de has it correctly, the vapor pressure example does not. On Friday, January 21, 2022 at 2:14:11 PM UTC-6 Seth Ratner wrote: > I'm close, I think, except now I'm getting this every loop or report > generation. > > DEBUG weewx.wxservices: Unknown extensible type 'chillHours&#

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
14:40:39 Ratner-Orchard weewx[3122] ERROR weewx.reportengine: Generator terminated Here's the block I added in skin.conf [[[yearchill]]] plot_type = bar chillHours aggregate_type = cumulative aggregate_interval = day

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
s on its own. This is where we will find out how fast the > calculation is. > > -tk > > On Fri, Jan 21, 2022 at 12:51 PM Seth Ratner wrote: > >> Getting Closer, but still getting errors. >> >> I can now see the result in the archive loop (gets sent over MQTT).

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
iterate through each one, determine which ones are chill hours, and then add those together, correct? On Friday, January 21, 2022 at 3:49:33 PM UTC-6 tke...@gmail.com wrote: > Let me see if I can come up with something. Give me some time. > > On Fri, Jan 21, 2022 at 1:37 PM Seth R

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
gt;> >> https://github.com/chaunceygardiner/weewx-purple/blob/e7f214539b63281d74af9e90810045dd8d1b7b80/bin/user/purple.py#L538 >> >> On Jan 21, 2022, at 2:01 PM, Seth Ratner wrote: >> >> It looks like there is an example in the weewx-xaggs >> <https://github.com/tkeffer/weewx-xag

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
to get get genBatchRows to work, but the list-of-lists it creates are not linked to the column names. On Friday, January 21, 2022 at 4:56:02 PM UTC-6 Seth Ratner wrote: > Closer and Closer, lol > > row = db_manager.getSql(sql_stmt) > > Using: SELECT outTemp FROM archive WHERE dateTi

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
unless you escape it. > > Assigning the results to either group_elapsed seems reasonable. > > Another option would be "group_deltatime", which is normally used for > things like system uptime. If you print it out, the results should come > back as "20 days, 7 hours,

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
QL, "interval" is a keyword unless you escape it. > > Assigning the results to either group_elapsed seems reasonable. > > Another option would be "group_deltatime", which is normally used for > things like system uptime. If you print it out, the results should come > ba

Re: [weewx-user] Re: Chill Hours Extension

2022-01-21 Thread Seth Ratner
UTC-6 tke...@gmail.com wrote: > On Fri, Jan 21, 2022 at 4:27 PM Seth Ratner wrote: > >> Also, the "one hour apart" thing was because a chart was pulling chill >> hour accumulation for a day on an hourly interval. The Utah method can >> actually subtract chil

Re: [weewx-user] Re: Chill Hours Extension

2022-01-22 Thread Seth Ratner
rote: > Take a look at the Pull Request I posted to your repository. > > On Fri, Jan 21, 2022 at 10:31 PM Seth Ratner wrote: > >> [[[daychill]]] >> plot_type = bar >> chillHours >> aggregate_type = cumu

[weewx-user] Accessing weewx data from other programs

2022-02-16 Thread Seth Ratner
Hello everyone, Part of this is my weakness in python, but: I'm writing an independent program in python that will calculate irrigation times and durations. To do this it needs information from the WeeWX database such as: - Total ET for a particular day or time range - Total rain for a day or

Re: [weewx-user] Re: Upgrade Raspberry Pi 2 to Raspberry Pi 4

2022-02-16 Thread Seth Ratner
If you are not using any other devices connected to the RPi2, I would set up the RPi4 with a fresh install on a new SD card (use the newly released 64-bit OS). Get WeeWX installed, copy over all your customized files (weewx.conf, skin.conf, any custom drivers or services, etc), install any exte

[weewx-user] Re: All You Ever Wanted to Know About Phenology But Were Afraid to Ask

2022-02-17 Thread Seth Ratner
Chuck, I doesn't look like you keep your extension on GitHub. What did you change in 1.3? I know there were a lot of similarities between my Chill Hours xType project and what your extension does. I'm interested in how you went about accomplishing something similar. Seth On Wednesday, Februa

Re: [weewx-user] Re: All You Ever Wanted to Know About Phenology But Were Afraid to Ask

2022-02-18 Thread Seth Ratner
rsday, February 17, 2022 at 1:29:26 PM UTC-6 charlescu...@gmail.com wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 17 Feb 2022 10:27:48 -0800 (PST) > Seth Ratner wrote: > > > I doesn't look like you keep your extension on GitHub. What did you > &g