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

[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

[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

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, >>

[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

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

2023-08-31 Thread cric...@pobox.com
er. 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 received this messag

[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.

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

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

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
quot; 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...@kq5s.com

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
inute 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 normal. The number of files is reasonable given >>>>> the skins he's u

Re: [weewx-user] Rsyc Error

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

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

Re: [weewx-user] Rsyc Error

2023-10-29 Thread cric...@pobox.com
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 an observation, but that'

[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

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

2023-10-26 Thread cric...@pobox.com
6. 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 >> UTC+2: >

Re: [weewx-user] Rsyc Error

2023-10-28 Thread cric...@pobox.com
; 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 (457,673 bytes) in 1.39 seconds > > Oct 27 14:40:22 raspberrypi weewx[15431] INF

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"

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

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

2022-11-16 Thread cric...@pobox.com
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 "/" pl

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

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

[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

[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 =

[weewx-user] Re: Simple MQTT question

2023-02-18 Thread cric...@pobox.com
t 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 is >> publishing all observations, even th

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

[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

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

[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

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

[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

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! >