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

2022-08-22 Thread Andrea Di Saverio
I was able to restore all the data, doing as I planned: (i) the records collected during the power outage have been recovered from davis data logger, (ii) the subsequent records were already in the database but with wrong dateTime, so I just fixed its value shifting it 118m in the future. Then,

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

2022-08-22 Thread Paul R Anderson
For hardware that supports WeeWx can set the onboard clock of the hardware. In your case the davis data logger supports setting of its onboard clock. This is controlled in the [StdTimeSynch] section of weewx.config I believe WeeWx ships with this as default: ##

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

2022-08-22 Thread Paul R Anderson
By the way there is an easy solution to stop this whole calamity of events from occurring. In the case that for some reason you can not install a RTC, which is very desirable, and highly recommended. You can enable the systemd-time-wait-sync service on your system. sudo systemctl status systemd-tim

Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-22 Thread Eric Gammeter
Well- I admit I am not that proficient with linux- enough for me to check permissions on things (web server)- I have now cleared my browser (Firefox) cache: no joy. I have had WEEWX up and running for a number of years now- and I have managed to upgrade it from 1 version to the next version.

Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-22 Thread matthew wall
the seasons.js and seasons.css files are not on your public-facing web server. so whatever mechanism you use to mirror your pi to n8aay.net is not copying all of the files. use the 'developer tools' option in your web browser to diagnose this kind of problem. that will provide lots of informa

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

2022-08-22 Thread vince
Easier yet - just install ntp and use that instead, and systemd won't do anything time related. FWIW - I've found ntp handles drift better by far, and I've been using it happily everywhere for well over 20 years across all unixy platforms of all vintages so I know what I'm getting. You never

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

2022-08-22 Thread Paul R Anderson
Problem I've seen in the past was that on a Rasberry Pi installrd NTP , like I have on every system I've installed since 2004, yet after a power outage weeWx started with a bad Os Time. Investigated and found that if I removed purged fake-hwclock the expected wait for ntp worked. Now on some system

[weewx-user] Losing Weewx DB data

2022-08-22 Thread Kruse Ludington
From time to time when I back up my weewx setup I then have to later restore it when things go south. (This has happened from time to time as all this is running on a Raspberry pi which also has a lot of other things running in containers such as home assistant etc.) When this happens of cours

Re: [weewx-user] Losing Weewx DB data

2022-08-22 Thread 'Rainer Lang' via weewx-user
Many ways lead to Rome ... I'm running two weewx installations on two separate RPi4Bs in parallel. They are mirrors. If one has to go down or just goes down, I can later on copy the database over from the still running installation. Each installation is backed up to an external HDD every five m

Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-22 Thread Eric Gammeter
I have WEEWX running on the Rpi3; also on that Rpi is Apache web server. >From there, all I know of is the WEEWX ftp process to upload files to my web site. I access my web site file manager and see all (37?) files there. So- the only mirroring I know of is WEEWX ftp'ing up to the web site.

Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-22 Thread Doug Jenkins
Can you confirm on the target of the website that seasons.css file is there? Matt responded earlier that if you use the developer tools in your browser, you will see that the seasons.css file is missing on your apache web server directory. Since you are FTP'ing the files, verify that you are grabb

[weewx-user] Re: Losing Weewx DB data

2022-08-22 Thread vince
On Monday, August 22, 2022 at 11:05:13 AM UTC-7 rklud...@gmail.com wrote: > So my question comes down to how do I backup and restore just the data? > Are there specific files or if there are a huge number of foreign keys is > it much more complicated...? Is it just the date pure database or is

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

2022-08-22 Thread vince
On Monday, August 22, 2022 at 10:12:59 AM UTC-7 pa...@pauland.net wrote: > Problem I've seen in the past was that on a Rasberry Pi installrd NTP , > like I have on every system I've installed since 2004, yet after a power > outage weeWx started with a bad Os Time. Investigated and found that if

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

2022-08-22 Thread Paul R Anderson
fake-hwclock is just plain silly, by design it sets the OS time to a known wrong state with the premise that it's a better than nothing choice. Funny the further down the rabbit hole I go the more I see that I don't like. Such as debian setting NTPD or timesyncd to use debian.pool.ntp.org ntp serv

[weewx-user] Setting up rtldavis - where to get?

2022-08-22 Thread f4n...@gmail.com
Hi, does anyone have the installation files for rtldavis? It seems to be archived (https://github.com/bemasher/rtldavis) and not longer available in the repository if I try to install it with golang. Is anyone having long term experience and still running it? How stable is the signal with a R82

[weewx-user] Re: Setting up rtldavis - where to get?

2022-08-22 Thread storm...@gmail.com
Take a look here: https://github.com/lheijst/weewx-rtldavis On Monday, August 22, 2022 at 11:42:38 PM UTC-4 f4n...@gmail.com wrote: > Hi, does anyone have the installation files for rtldavis? It seems to be > archived (https://github.com/bemasher/rtldavis) and not longer available > in the rep