[weewx-user] Sunrise and Sunset Epochs in MQTT

2020-12-24 Thread Kevin Davis
What do the epoch times in the sunrise and sunset MQTT topics represent? Based on my latest MQTT record, neither reconcile with the times shown on the web page for sunrise and sunset? And as an aside, if I look at my webpage mid-day, does the sunrise time shown reflect the sunrise for earlier that

[weewx-user] Re: Corrupted Memory card. Now I lost 6 months of data?

2020-12-24 Thread vince
The current kernel version is 5.4.79 according to the release notes at https://www.raspberrypi.org/software/operating-systems My suspicion is that you are running an ancient os version that is too old for the current packaged version of weewx. Again, please run the following commands and provid

[weewx-user] Re: Corrupted Memory card. Now I lost 6 months of data?

2020-12-24 Thread Joe
Neither of those directories exist. Its raspberrypi 3.18.7 On Thursday, December 24, 2020 at 9:53:49 AM UTC-6 vince wrote: > On Thursday, December 24, 2020 at 4:33:57 AM UTC-8 Joe wrote: > >> You mean to say running on the SD-CARD is bad idea? > > > Not bad, but not great if the card and power a

Re: [weewx-user] Does NOAA use NAVD88 or GPS (Ellipsoid referenced) Height for AS Determination?

2020-12-24 Thread Greg Troxel
ch...@chrismaness.com writes: > I am nerding out calibrating my barometer today.  I have a handheld > precision barometer that I can take co a vertical survey marker close > to a nearby major airport.  I can then call the automated message at > the tower and get real time AS (altimeter settings)

[weewx-user] Re: Installing version 4.2.0 on raspberry pi

2020-12-24 Thread vince
A new SD card os does not have a webserver installed. You have to pick one that you want to use and install it. I'd suggest 'sudo apt-get install nginx' for one that works nicely on a pi. Then run 'sudo systemctl status nginx.service' to verify it's running. -- You received this message becau

Re: [weewx-user] Problem after power outage

2020-12-24 Thread Tom Keffer
Classic corrupt logger memory. On Thu, Dec 24, 2020 at 3:37 PM Rich Strle wrote: > We lost power last night and now I'm not updating. The FTP part is > working, my image is processing correctly

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread Tom Keffer
Hard to say without seeing the log, but if I had to hazard a guess, I'd say you're not consistently using the same copy of weewx.conf for all runs. One of the copies does not have rainRate in [StdWXCalculate]. But, that's just a guess. On Thu, Dec 24, 2020 at 1:58 PM James Bellanca wrote: > App

[weewx-user] Problem after power outage

2020-12-24 Thread Rich Strle
We lost power last night and now I'm not updating. The FTP part is working, my image is processing correctly and I see the timestamp change as it should. I have reset my Davis Envoy but no joy. Ideas please? Dec 24 17:26:42 pi-weather weewx[428] DEBUG weewx.engine: Finished loading service wee

[weewx-user] Installing version 4.2.0 on raspberry pi

2020-12-24 Thread Mamvcivm
[image: 4890CFFF-3DD6-4D69-85D0-1300C2ABE8B7.jpeg]I’ve followed the instructions for installing the above on a brand new download of the full buster installation on a RPi from http://weewx.com/docs/debian.htm The installation went smoothly enough, however, when I enter the IP address of the Pi

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread James Bellanca
Appreciate the help so far. I had to wait for it to start raining again to do anything haha. And ok, so this is very strange behavior. I stopped the weewx service, and ran it directly (log of the terminal window is attached). rainRate calculates fine, AND updates the database fine, just like i

Re: [weewx-user] extension installer sleight of hand question

2020-12-24 Thread vince
Tom - can we get this into 4.3 please since that's imminent and this one affects only comments ? On Wednesday, December 23, 2020 at 4:56:37 PM UTC-8 Tom Keffer wrote: > Now that I look at the actual code, my approach doesn't always work! It > will not preserve comments at the root level. For e

Re: [weewx-user] Does NOAA use NAVD88 or GPS (Ellipsoid referenced) Height for AS Determination?

2020-12-24 Thread Garry A Lockyer
Altimeter settings (aka QNH) are referenced to mean sea level. It has nothing to do with GPS altitude. If a properly set and calibrated barometric altimeter agrees with a GPS it is just a coincidence, some might say a rare coincidence. Regards, Garry Lockyer C: +1.250.689.0686 E: ga...@lockye

[weewx-user] Re: Does NOAA use NAVD88 or GPS (Ellipsoid referenced) Height for AS Determination?

2020-12-24 Thread vince
It's hard to tell from your wording, but I'm guessing you perhaps are wanting to set your station altitude super-precisely (?) I'd suggest that being off from perfect just a few feet either way isn't going to make any significant difference within the accuracy of a consumer weather station's se

[weewx-user] Does NOAA use NAVD88 or GPS (Ellipsoid referenced) Height for AS Determination?

2020-12-24 Thread chris
I am nerding out calibrating my barometer today.  I have a handheld precision barometer that I can take co a vertical survey marker close to a nearby major airport.  I can then call the automated message at the tower and get real time AS (altimeter settings) from the airport barometer.  I just

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread Tom Keffer
The log does not include when weewx started up, so we can't tell which weewx.conf it is using, what the sensor map was, nor what services are being loaded. Otherwise, it looks normal. Do a restart, then post the log through the first archive cycle. If rainRate is being calculated (and your instrum

[weewx-user] Re: Belchertown Skin Highchart Rounding Battery Values

2020-12-24 Thread Al P
I may have found what was causing this, but I'm not entirely certain. I think line 2442 usage_round = int(self.skin_dict['Units']['StringFormats'].get(obs_vt[2], "2f")[-2]) maybe should be usage_round = int(self.skin_dict['Units']['StringFormats'].get(obs_vt[1], "2f")[-2]) because obs_vt[2] app

[weewx-user] Re: Corrupted Memory card. Now I lost 6 months of data?

2020-12-24 Thread wes...@gmail.com
it is true that using a high quality sd card will provide a lot more life, but eventually it will fail. personally i got tired of having to replace sd cards and reinstall. would you use an sd card for the main storage of your pc? my experience is that an ssd provides faster access, more reli

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread James Bellanca
Here's a little more info. I added from log.debug lines in the wxxtypes.py rainRater class. In get_scalar that calculated rainRate, right before "return rr", I added: log.debug("rr=%s", rr) In _setup in the if not... section right before the except error trap, I added: log.debug("Log row %s %s

[weewx-user] Re: Corrupted Memory card. Now I lost 6 months of data?

2020-12-24 Thread vince
On Thursday, December 24, 2020 at 4:33:57 AM UTC-8 Joe wrote: > You mean to say running on the SD-CARD is bad idea? Not bad, but not great if the card and power aren't quality. But yes I misstyped my original reply. Re: your previous message containing " *d**pkg-deb: error: archive '/var/cac

[weewx-user] AllSeason / historygenerator.py - adding another table

2020-12-24 Thread mike.t...@noworries.plus.com
I've been runnning the AllSeasons skin successfully and thought I would add another table for growing degrees. It looked straight forward but something's not correct somewhere! The error I'm getting is; ec 24 14:40:19 weepi weewx[30078] INFO weewx.restx: Wunderground-PWS: Published record 2020-

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread James Bellanca
Both running on Python 3. $ ps ax | grep python 831 ?Sl 468:45 *python3* /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf Attaching 3 files - the weewx.conf files from both 4.1.1 and 4.2.2, and the logs from 4.2.0 from 12/21 through today. It's be

Re: [weewx-user] Re: Rain Rate Calc Problem?

2020-12-24 Thread Tom Keffer
In addition to Peter's questions, what do you have for a sensor map? On Wed, Dec 23, 2020 at 9:46 PM p q wrote: > Any messages in the log? Did you switch python versions? > > On Wed, Dec 23, 2020, 9:21 PM James Bellanca wrote: > >> Btw, I've even checked/compared the rain rate data in the SDB f

[weewx-user] Re: Corrupted Memory card. Now I lost 6 months of data?

2020-12-24 Thread Joe
You mean to say running on the SD-CARD is bad idea? I do get the inherent nature of SD-CARDS being unpredictible. But I buy high quality cards. The one I had been using was not unfortunately, but I switched to a red label super fast sandisk. using an SSD would definitely be a good idea in my

[weewx-user] Re: Corrupted Memory card. Now I lost 6 months of data?

2020-12-24 Thread Joe
Right it was from July this year. I don't have the 'current' one because the memory card suddenly died and was not accessable. I assumed the online portion would be retained . On Monday, December 21, 2020 at 2:33:25 AM UTC-6 michael.k...@gmx.at wrote: > If you didn't put the caurrent database,

Re: [weewx-user] Re: Corrupted Memory card. Now I lost 6 months of data?

2020-12-24 Thread Joe
It says the package is not understood. I don't get this one. root@raspberrypi:~# sudo apt-get install weewx Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite ftp python-dev python-pip The following packages will be upgrad