Re: [weewx-user] Re: Power outage without RTC module

2022-08-23 Thread cric...@pobox.com
My solution was to install ntp, plus add a wait routine in bin/user/extensions that waits for ntpq -pn to report sync'd time. I use that code on the rest of my Rpi's as well. Can send if interested. FWIW, the RPi that runs my weather station does have a RTC stacked on the serial port (pre-dat

Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-15 Thread cric...@pobox.com
A couple of points about the trailing slashes. A trailing slash means copy the contents of the directory. The --archive means copy everything below the specified directory. Not including a trailing slash means copy this directory and with --archive, everything below it. It's not a matter of r

Re: [weewx-user] Re: Rsync Help or User Help :o)

2022-11-16 Thread cric...@pobox.com
Now > both root and user have their own keys and they have been tested. > > SSH Port Question - Closed > The hosting company states two ports as follows: > SSH - 22 > SSH Shared/Reseller Servers - > NOTE - Command line Rsync actually works with both > > > Question of

Re: [weewx-user] Dedicated user account for weewx?

2023-01-18 Thread cric...@pobox.com
Aside from communicating with your weather station, the only other non-root hang up was where the PID file was being written. That's an easy command line option to write it somewhere the user does have permissions. I don't let systemd manage the process, so I don't need the pid file any partic

[weewx-user] Re: Keep losing nameserver on ubuntu 22.04

2023-12-16 Thread cric...@pobox.com
I get tired of trying to figure out all the various ways /etc/resolve.conf can get modified, for all my static hosts, if it's a link, I replace it with the file with the contents I want, then run: chattr +i /etc/resolve/conf That prevents any further messing with the file. It does mean you are o

Re: [weewx-user] Pipe errors etc

2023-12-18 Thread cric...@pobox.com
Hi David, As for stopping weewx, kill 535 will work, but systemd will likely restart it very soon. I ran into an similar issue the other day with systemd. In this case it was for NUT (ups monitoring stuff). The systemctl stop didn't stop the daemon (same message you got). I ended up disa

Re: [weewx-user] Re: monitoring Weewx with Nagios

2024-01-04 Thread cric...@pobox.com
Here's another idea. I don't know anything about Nagios, but I'm running this screwy setup where I made up my own thermostat(s), and in the living room, the one has a small OLED display for set point, current temp, and also outside temp and wind chill that gets sent from my weather station's wee

[weewx-user] Re: SOLVED as3935 lightining module not detected by I2c on a Rpi4

2024-02-16 Thread cric...@pobox.com
So... I've recently set up one of these modules from DFRobot. I started with their sample python code and morphed into something that fits in my set of libraries. In my case, I have it sending events out via mqtt. A quick look at the code doesn't give any hints to help you. >From the sample

[weewx-user] Re: Comparison of method of using WeeWX

2024-03-04 Thread cric...@pobox.com
Since I detest systemd and friends, I wrote a perl script to run as a cron job to start weewx as needed. Suites me just fine. Since weewx is so stable, it rarely has to be restarted. I use the same basic script for several other things, and quite happy with it. Oh, and the cron job is OS-agno

Re: [weewx-user] Problem for public_html access with Weewx 5 and apache 2

2024-04-27 Thread cric...@pobox.com
In /etc/apache2/apache2.conf Options FollowSymLinks Options Indexes FollowSymLinks Might not be the exact one(s), but FollowSymLinks is the thing to set. Chris On Saturday, April 27, 2024 at 3:55:01 AM UTC-6 Remy Lavabre wrote: > Yes thank you it works Vince! > I'v

[weewx-user] Re: Belchertown skin - large rsync uploads?

2022-02-05 Thread cric...@pobox.com
The other thing... Do you have shell access on your hosting provider? You could verify that between rsync runs, the files aren't getting modified somehow. Failing that, stop weewx long enough to pull all the files from your web host and check them against your sources locally. Another option

Re: [weewx-user] how to delete '#FTP.last' file

2022-03-02 Thread cric...@pobox.com
Even using wildcards fails sometimes. Here's something I wrote years ago. It's meant for tweaking when you run across a nasty file or directory name, so it won't solve your problem without a little work. The foreach loop at the bottom is to print out non-printable characters are their ordinal

Re: [weewx-user] Re: Weewx-Multi not quite working

2022-03-24 Thread cric...@pobox.com
I've been doing something similar for years, and one or a couple of tricks is to specify the pid file location and name. In my case, I use a single directory, but multiple config files, multiple skin directories, and separate archive directories and database names. I use a perl script to do the

[weewx-user] Simple MQTT question

2023-02-18 Thread cric...@pobox.com
In the process of debugging a non-weewx problem, I realized that weewx is publishing all observations, even those there's a list to be published defined in weewx.conf: [StdRESTful] [[StationRegistry]] register_this_station = false [[MQTT]] server_url = mqtt://router1.csrho

[weewx-user] Re: Simple MQTT question

2023-02-18 Thread cric...@pobox.com
> Default is all > > So yes. Set debug=1 in weewx.conf and try it. You can't break anything. > > On Saturday, February 18, 2023 at 10:26:47 AM UTC-8 cric...@pobox.com > wrote: > >> In the process of debugging a non-weewx problem, I realized that weewx

[weewx-user] Re: RSync using NFS

2023-03-02 Thread cric...@pobox.com
Well...not exactly. I didn't look to see what weewx does with the empty server in the config, but either way rsync still works over ssh, which isn't nfs. Just straight using nfs, you soft link could link between your weewx directory and your destination on the other machine. Or you can set up p

Re: [weewx-user] Re: Seasons skin - Can't switch to Week/Month/Year

2023-07-31 Thread cric...@pobox.com
Hi Tom, I'm finally checking into a similar problem. In this case, still the 3.9.1 code base; what doesn't work is selecting the year or month. Selecting the History for week, month, year works, but selecting which year or month doesn't. I did futz with the titlebar.inc. These should be th

[weewx-user] comma in label in Seasons skin.conf causes failure

2023-08-30 Thread cric...@pobox.com
I'm setting up yet another weewx instance, this time for plotting a solar charge controller. Not stuck on this, but ran into an issue where having a comma in a label name causes the traceback below. I didn't try quoting the string, but removing the comma cleared the issue. This is the latest ve

Re: [weewx-user] comma in label in Seasons skin.conf causes failure

2023-08-31 Thread cric...@pobox.com
each > other. you *may* separate instances for operational or scalability purposes > *⊣GE⊢* > > On 31 Aug 2023, at 9:09 am, cric...@pobox.com wrote: > > I'm setting up yet another weewx instance, this time for plotting a solar > charge controller. > > > -- You

[weewx-user] group_delta_time in Customization guide, but doesn't seem to exist in 4.10.2

2023-09-02 Thread cric...@pobox.com
Hi Again, At one point setting up this solar panel monitor I thought I wanted group_delta_time, but weewx failed to start when I used it. I grepped through all the weewx .py, .conf, and .tmpl files and it doesn't show up. Did it get dropped, or is it new for v5? I ended up not needing it,

Re: [weewx-user] group_delta_time in Customization guide, but doesn't seem to exist in 4.10.2

2023-09-02 Thread cric...@pobox.com
Noted, thanks. Chris On Saturday, September 2, 2023 at 8:14:45 AM UTC-6 Tom Keffer wrote: > It's "group_deltatime" (not group_delta_time). The reference guide has a > typo. > > On Sat, Sep 2, 2023 at 6:59 AM cric...@pobox.com > wrote: > >> Hi Again, &g

Re: [weewx-user] Re: How to revive 'frozen' WeeWX?

2023-10-18 Thread cric...@pobox.com
This might be a bit more comprehensive: > sudo find / -xdev -size +100 -ls This will report any "large" files. If I'm reading the manpage correctly, the number is the count of 512 byte blocks by default, so you can fiddle with the number and/or tack on a scale character. See "man find" and

[weewx-user] time tagging images in index.html

2023-10-25 Thread cric...@pobox.com
Hi All, Again, semi-unusual use case, but I'm trying to re-plot data from my solar system for a particular date using wee_reports. Everything generates OK, but pulling up the web page hasn't refreshed the plots, only the rest of the data. I'm assuming this is a browser caching problem. Sin

[weewx-user] Re: time tagging images in index.html

2023-10-26 Thread cric...@pobox.com
Hi Karen, So, the images get generated on an RPi, then rsync'd to the machine with the web server. I'd never used wee_report standalone, and made a directory to run it in, which was empty afterwards. The updated plots did generate (verified manually, and weewx isn't running, so nothing new

[weewx-user] Re: time tagging images in index.html

2023-10-26 Thread cric...@pobox.com
m Donnerstag, 26. Oktober 2023 um 18:58:29 UTC+2: > >> If it is a browser caching issue you can add ?v=$current.dateTime to all >> the image references. In your example: >> >> >> >> cric...@pobox.com schrieb am Donnerstag, 26. Oktober 2023 um 15:53:21 >&

Re: [weewx-user] Rsyc Error

2023-10-27 Thread cric...@pobox.com
Is this a new setup, or has it worked in the past? What userID is running weewx? What version of weewx are you running? The contents of my rsync/skin.conf is: SKIN_NAME = Rsync SKIN_VERSION = 4.10.2 [Generators] generator_list = weewx.reportengine.RsyncGenerator Does rsync of your /home/weewx

Re: [weewx-user] Rsyc Error

2023-10-28 Thread cric...@pobox.com
', '/home/weewx/public_html/', 'kq5...@kq5s.com:public_html'] > > Oct 27 14:30:21 raspberrypi weewx[15431] ERROR weeutil.rsyncupload: rsync > reported errors > > Oct 27 14:35:20 raspberrypi weewx[15431] INFO weeutil.rsyncupload: rsync'd > 32 files (4

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
If the issue persists you may want to >>>> increase the amount of time between uploads, as we are unable to increase >>>> the MaxStartups setting on shared server. >>>> >>>> On Oct 28, 2023, at 8:54 AM, cric...@pobox.com > wrote: > > Just a

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
Tom, So, from your hosting provider, you are getting two types of errors. One for userID, the other for MaxStartups. The #27 and #28 are the number of Startups, so something is getting hung up somewhere between you and your hosting service, and weewx seems to be the victim. This sure seem

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
is logs saying the total time to do things is exceeding the >>>>> 5-minute default archive interval. His possibly edited log snippet above >>>>> showed rsync happening every 5 minutes which is normal. It only takes a >>>>> couple seconds which is nor

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
i ? >>>> >>>> >>>>- if you're running as the non-standard user pi, show us how you >>>>did that >>>> >>>> >>>>- What is in /root/.ssh/config ? >>>> >>>> >>>>- What is in /home/

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
t; should be the remote end in ~XXX/.ssh? On Sunday, October 29, 2023 at 6:54:38 PM UTC-6 cric...@pobox.com wrote: > OK, still confused, but for sure, doing things as root to a remote server > you don't own is likely to fail. > It looks like the second attempt with: ssh xx...@kq5

Re: [weewx-user] Rsyc Error

2023-11-02 Thread cric...@pobox.com
At the end of the day, we're still back to debugging the interaction between you and your web hosting service. It is unlikely, but not impossible, that weewx contributes to the issue. Debug logs are required, and maybe the logs again from your hosting service. As an alternative, do you have ano

Re: [weewx-user] Show hostname in About This Station

2025-01-29 Thread cric...@pobox.com
> > Host Name > ${platform.uname().node} > > > You do need to worry about updating the skin as it would overwrite this > change. Perhaps there is a better way. > > On Jan 29, 2025, at 12:47 PM, cric...@pobox.com wrote: > > Is there a rel

[weewx-user] Show hostname in About This Station

2025-01-29 Thread cric...@pobox.com
Is there a relatively pain free way to include the hostname running the weewx instance in the About This Station? I've got 4 instances doing different things, and I tend to forget which host is generating which set of graphs. I'm running ver. 4.10.2, using the basic Seasons skin. Thx, Chris

[weewx-user] Help with image generation

2025-03-15 Thread cric...@pobox.com
So... this is one of my non-standard uses of weewx I need some help with. I'm plotting several parameters from a 2x2 array of lithium ion batteries using bluetooth data from them. The issue is I'm plotting 4 batteries (and in one case the average of them) in each plot, so the data is a bit d

[weewx-user] Re: Help with image generation

2025-03-17 Thread cric...@pobox.com
t; margin-bottom: 10px; > width: *500px*; /* should match the image width in skin.conf */ > } > > #history_widget.widget_title { > min-width: *500px*; > } > > Le samedi 15 mars 2025 à 22:03:48 UTC+1, cric...@pobox.com a écrit : > >> So... this is one of my non-standard

[weewx-user] Re: Back to Weewx 4.x

2025-03-14 Thread cric...@pobox.com
So... short answer; start from scratch. I've got a handful of weewx instances for various purposes, all on 4.10.2 or whatever the last 4.* release is. I haven't tried weewx 5.x (I did but left it alone), but my actual gripe is with python's overlords disallowing PIP installs into the main syste

[weewx-user] Re: Share data with other software

2025-02-28 Thread cric...@pobox.com
Matthew Wall's mqtt module works for me to publish values elsewhere. On Friday, February 28, 2025 at 1:04:27 AM UTC-7 Ruben Navarro Huedo (EA5BZ) wrote: > Hello my friends. > I am using weewx with davis (usb datalogger) some years ago and all is > fine. > I have a little question: How could i s

Re: [weewx-user] Formatting Options for Unit Group group_deltatime

2025-07-21 Thread cric...@pobox.com
I'm working on adding another observation to my solar monitor and I want the same thing Karen is asking. I didn't understand where the example code would go >> I can't think of any way to do that using a simple format string. You'll have to do something like: >> #set hours_up = $almanac.sun.vis

Re: [weewx-user] Formatting Options for Unit Group group_deltatime

2025-07-27 Thread cric...@pobox.com
s.label[$x] $hours_on hrs solves the "I want seconds converted to hours to one decimal." On Monday, July 21, 2025 at 8:08:04 PM UTC-6 cric...@pobox.com wrote: > I'm working on adding another observation to my solar monitor and I want > the same thing Karen &g