Re: [weewx-user] Your hardware experience (for running WeeWX, the service)

2024-05-15 Thread 'Cameron D' via weewx-user
Will get back on track eventually, but I was inspired by the mains stability plot to look at my data. I have nearly 13 years of data from my PV system and did a histogram of the daily averages - so far just for frequency. [image: distribution of daily averages.png] Curious - almost always

[weewx-user] Re: No primary key on archive

2024-05-01 Thread 'Cameron D' via weewx-user
Some of the utilities for exporting data structure only declare the primary key in an ALTER TABLE at the end of the file. I never understood why. Not sure if it was phpmyadmin or mysql workbench. Mysqdump declares it differently again On Wednesday 1 May 2024 at 2:39:14 pm UTC+10 Clay

[weewx-user] Re: Adding permissions for the weewx user

2024-03-24 Thread 'Cameron D' via weewx-user
I thought this should have been handled on installation, but maybe your case was unusual. There are example udev rules in the installation, although when I run "dpkg-query -L weewx | grep udev" I get multiple conflicting examples - even on a fresh install, let alone an upgrade. All the

[weewx-user] Re: Is there any way to tell dpkg/apt that you are running a weewx-multi via systemd?

2024-02-11 Thread 'Cameron D' via weewx-user
Thanks Matthew, I just wasn't sure if I was missing something with my eccentric installation. Cameron. On Monday 12 February 2024 at 12:05:10 am UTC+10 matthew wall wrote: > hi cameron, > > i'm working on this, hopefully to appear in the 5.0.3 release (or 5.1 if > tom and gary are faster on

[weewx-user] Re: Noob Question

2024-02-11 Thread 'Cameron D' via weewx-user
If you are referring to the vector direction, that is the default - note the North pointer at bottom left. If you have a strongly dominant westerly wind then you probably want to leave it like that, otherwise there is a setting in the skin config file to "fix" it. On Sunday 11 February 2024

[weewx-user] Is there any way to tell dpkg/apt that you are running a weewx-multi via systemd?

2024-02-11 Thread 'Cameron D' via weewx-user
The problems I am seeing are: An upgrade does not automatically stop the running services - I try to manually stop them first, but occasionally I do not even notice a new weewx among the other packages. I have standard weewx config as a simulator, so it does not matter if it runs, but I

[weewx-user] Re: dpkg: error processing package weewx (--configure):

2024-02-11 Thread 'Cameron D' via weewx-user
The "string to float" exception can happen if you lose the separator character (comma) between station latitude and longitude, or perhaps have some extra spurious character. I don't know what happens for different languages. When dpkg configure fails then it will again attempt to complete the

Re: [weewx-user] Slow Report Generation after Upgrade from 4.10.2 to 5..0

2024-01-19 Thread 'Cameron D' via weewx-user
On Friday 19 January 2024 at 4:37:05 am UTC+10 vince wrote: The pattern so far seems to be (a) Belchertown and (b) certain drivers that might not have complete measurement sets. I see Acurite and Interceptor in a couple reports if I remember correctly. No, it is *any *skin that tries to

[weewx-user] Re: v5.0 main loop exiting/restarting constantly and very slow/misses readings

2024-01-18 Thread 'Cameron D' via weewx-user
There might be two separate issues - I had the slow reports, but not associated with restarting weewx. What happens if you disable the reports ? does weewx runs happily or still restart? On Thursday 18 January 2024 at 8:14:23 pm UTC+10 Richard Whitcombe wrote: > I accidentally updated to

Re: [weewx-user] V5.0.0 available

2024-01-15 Thread 'Cameron D' via weewx-user
On Monday 15 January 2024 at 10:46:24 am UTC+10 matthew wall wrote: Any gotchas on moving from the betas to the release? I'm using the pip method. pip seems to handle the beta/rc labels ok (unlike dpkg/apt, which seems to be having issues with 'rc') In case anyone is interested, to force

Re: [weewx-user] WEEWX_ROOT partly failing

2024-01-06 Thread 'Cameron D' via weewx-user
The current docs for V4.10 as well as 5.0 say that "a *relative *path" for HTML_ROOT or SKIN_ROOT is below WEEWX_ROOT. If you define either as an *absolute* path (i.e. beginning with a "/"), then WEEWX_ROOT is ignored. On Saturday 6 January 2024 at 6:53:06 pm UTC+10 Michael Waldor wrote: >

Re: [weewx-user] column create/rename error "ModuleNotFoundError: No module named 'user'"

2023-12-29 Thread 'Cameron D' via weewx-user
Matthew has just announced a pip release of rc2, which probably fixes the user module path problem in weectl. On Friday 29 December 2023 at 11:35:11 pm UTC+10 steepleian wrote: > I have an identical error when using weectl report run with v5rc1 > https://claydonsweather.org.uk > > On 29 Dec

[weewx-user] Weewx docs offline

2023-12-27 Thread 'Cameron D' via weewx-user
The website at https://weewx.com/docs/ redirects to https://weewx.com/docs/4.10, which returns a 404. Likewise, my previous tabs that were sitting on V5 docs returned a 404 when I refreshed them. I thought it might have been an upgrade in process, but it's been an hout or two now. -- You

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

2023-12-17 Thread 'Cameron D' via weewx-user
yes, definitely not a weeex problem. You have not given us anything to go on, as there are dozens of combinations of installations that will influence this. For example "*Resolv.conf seems to be a simlink to something else*" is about as vague as you can possibly get. 1. When you say

Re: [weewx-user] Skin with multiple bindings - an odd restriction

2023-11-14 Thread 'Cameron D' via weewx-user
, Nov 11, 2023 at 7:05 AM 'Cameron D' via weewx-user < > weewx...@googlegroups.com> wrote: > >> I have been running a dual-weewx setup for nearly a year, having added an >> Ecowitt system mainly for air quality, with a separate custom DB. >> I have been running two separat

[weewx-user] Skin with multiple bindings - an odd restriction

2023-11-11 Thread 'Cameron D' via weewx-user
I have been running a dual-weewx setup for nearly a year, having added an Ecowitt system mainly for air quality, with a separate custom DB. I have been running two separate skins, based on Seasons, with a few charts including binding from the other DB. I thought I should really do it properly,

[weewx-user] Re: Display of measured values in the terminal? RPI

2023-10-20 Thread 'Cameron D' via weewx-user
For a simple command line tool, use the sqlite3 program and provide a command like.. SELECT * FROM archive ORDER BY dateTime DESC LIMIT 10; will print the last 10 rows. Or to get a bit fancier replace the '*' with just the fields you are interested in... SELECT dateTime, datetime( dateTime,

Re: [weewx-user] #!/bin/sh does not equal #!/bin/bash

2023-09-12 Thread 'Cameron D' via weewx-user
>>> More than anyone wanted to know! ?? Well, no - it is just what I wanted to know, only it's a bit too late. The recent Debian 12 upgrade broke an embarrassingly large fraction of my cron scripts. Even though the scripts were #!/bin/sh, the bashisms were still working, so I had assumed they

Re: [weewx-user] WeeWX in an RV?

2023-07-30 Thread 'Cameron D' via weewx-user
This would be my suggestion as well. Certainly use a dedicated DB for the task, then populate it according to the effort you want to put into it. Options would be: - custom GPS unit along the lines Vince suggested - use a normal in-car GPS unit that records your tracks and

[weewx-user] Re: wind direction average issue + idea

2023-06-16 Thread 'Cameron D' via weewx-user
When I look at my year chart, winter months tend to westerly, while summer clusters SE or NE. It sounds as if you might have a problem in your database. For no wind, the speed value should be zero and the direction NULL. Is it possible that you are recording a small positive speed instead of

[weewx-user] Re: Increasing image size within Seasons skin

2023-03-08 Thread 'Cameron D' via weewx-user
I do the image size change at the top level, so that all images are the same size. I am not sure what happens if only one image is larger. I tested with Firefox (windows x64) and Apache server. Use F12 and inspect where the size directive is coming from, if you feel brave. On Wednesday, 8

[weewx-user] Re: Increasing image size within Seasons skin

2023-03-08 Thread 'Cameron D' via weewx-user
1. edit the width in skin.conf 2. edit the value in seasons.css for #history_widget (where it says to match the skin.conf value) 3. copy the css file into place (I forgot that!) 4. ctrl-refresh to get full reload. On Wednesday, 8 March 2023 at 8:52:17 pm UTC+10 Michael Waldor wrote: ... Next I

Re: [weewx-user] Re: Trouble viewing new data column(s)

2023-01-19 Thread 'Cameron D' via weewx-user
I hope this is not a real example you are suggesting - part_per_million would be a concentration, which already has an implied volume component according to whether it is in air, water etc. A unit of part_per_million_per_cubic_meter does not make any sense to me. On Wednesday, 18

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

2023-01-18 Thread 'Cameron D' via weewx-user
There are notes on various aspects to this in the weewk wiki On Wednesday, 18 January 2023 at 9:23:29 am UTC+10 Wayne wrote: > Hello - I am a new weewx user with medium proficiency in linux. Running on > a Raspberry Pi 4

Re: [weewx-user] Re: weewx server?

2023-01-06 Thread 'Cameron D' via weewx-user
Are you saying that you have a registered domain name (and that is as far as you have gone), or that you have a web server that is already successfully serving other pages to the public internet? What exactly is that raspberry pi doing? If it is serving web pages, is it the same machine that

[weewx-user] Re: Multi-station system adding ecowitt components - clarification requested

2022-12-17 Thread 'Cameron D' via weewx-user
Gary, The main missing data were everything from the WH45 except CO2. Also battery, signal and everages. I presume there was no intention of storing the 24-hour averages as weewx does its own averaging. I am using weewx 4.9.1 with gw1000 v 0.5.0b5. PM10 in the wview_extended schema is known

[weewx-user] Re: Multi-station system adding ecowitt components - clarification requested

2022-12-17 Thread 'Cameron D' via weewx-user
Thanks everybody, I am trying the multi approach as it seems cleaner. It turns out the systemd changes were trivial - easier than init.d. I'll add something to the wiki when I have finished. I noticed that I still need to do remapping in the driver version with the full database otherwise

[weewx-user] Multi-station system adding ecowitt components - clarification requested

2022-12-16 Thread 'Cameron D' via weewx-user
My Oregon WMR300 is still happily chugging away generating weather data and I thought I'd augment it with some air-quality sensors. The easiest in my situation seemed to be an Ecowitt WH45 CO2/particle sensor with a GW1100 gateway, and a WH31 temp/RH sensor thrown in for almost nothing. So my

Re: [weewx-user] Lose connection to data until reboot

2022-09-20 Thread 'Cameron D' via weewx-user
ptember 20, 2022 at 8:27:00 AM UTC-7 joh...@kd2gyo.com >>> wrote: >>> >>>> Thanks Cameron - I see that now in the log, any pointers on how I could >>>> try and find that mem leak? >>>> >>>> On Tue, Sep 20, 2022 at 9:33 AM 'Cameron

Re: [weewx-user] Lose connection to data until reboot

2022-09-20 Thread 'Cameron D' via weewx-user
gt; On Tuesday, September 20, 2022 at 8:27:00 AM UTC-7 joh...@kd2gyo.com >> wrote: >> >>> Thanks Cameron - I see that now in the log, any pointers on how I could >>> try and find that mem leak? >>> >>> On Tue, Sep 20, 2022 at 9:33 AM 'Cameron D

Re: [weewx-user] Lose connection to data until reboot

2022-09-20 Thread 'Cameron D' via weewx-user
looking at the last line of the log, weewx had been allocated VM totalling 21GB, RSS 14GB. Killing everything else is not going to make much difference. On Tuesday, 20 September 2022 at 11:28:43 pm UTC+10 jo...@johnkline.com wrote: > You still have the problem that something is eating all of

[weewx-user] Oregon WMR300 and battery on external sensor.

2022-06-17 Thread 'Cameron D' via weewx-user
This is just a bit of information for other WMR300 owners who might also come across this issue. There is (I hope) no problem to solve, although there is a question for other WMR300 owners - can you see the battery status for the external sensor unit? The external sensors of my system have

[weewx-user] Re: Modify the database for a new archive interval

2022-03-04 Thread 'Cameron D' via weewx-user
I have modified the wiki following this discussion. On Thursday, 3 March 2022 at 10:47:51 pm UTC+10 f4n...@gmail.com wrote: > There is a guide in the weewx wiki on how to consolidate the data in the > database for a new (higher) interval: > > >

Re: [weewx-user] Clean your rain gauges

2022-03-01 Thread 'Cameron D' via weewx-user
Funnily enough that just happened to me, but I lost a bit more than you. The original filter went missing at some stage, so I also used the cut-off stainless steel tea-strainer. That also went missing, so I suspect some thieving bird. The next one will be glued in. A bit over a week ago I

[weewx-user] Re: High CPU usage with Mysql and GW100 driver

2022-01-26 Thread 'Cameron D' via weewx-user
So what is unusual about lightning_distance and PM2.5? Are you asking it to plot them, but have no data? It is quite possible to migrate your data between mysql and sqlite3, but that will not make much difference to your problem - your weewx system seems to be stuck in a loop trying to get that

[weewx-user] Re: High CPU usage with Mysql and GW100 driver

2022-01-26 Thread 'Cameron D' via weewx-user
I withdraw that question - having installed htop and used tree mode I can see far more mysqld and weewx processes On Wednesday, 26 January 2022 at 6:51:45 pm UTC+10 Cameron D wrote: > Is it normal in your setup to have two weewxd processes? And two mysqlds. > I run MariaDB so not exactly the

[weewx-user] Re: corrupt mysql?

2022-01-26 Thread 'Cameron D' via weewx-user
Firstly, you would want to rule out that phpMyAdmin is not the problem. Try the same commands with mysql shell/client or even with mysql workbench on a windows system. On Tuesday, 25 January 2022 at 5:47:42 pm UTC+10 lop...@gmail.com wrote: > Hi everyone > > my weewx mysql database is acting

[weewx-user] Re: High CPU usage with Mysql and GW100 driver

2022-01-26 Thread 'Cameron D' via weewx-user
Is it normal in your setup to have two weewxd processes? And two mysqlds. I run MariaDB so not exactly the same, but I only have one of each. Have you checked memory usage to see you are not paging/swapping? On Tuesday, 25 January 2022 at 9:04:35 pm UTC+10 carlo74 wrote: > All server

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-22 Thread 'Cameron D' via weewx-user
Thanks morrowwm - much better to work from one source. If anybody is needing to use the mysql version you should be warned that there is a ridiculously large number of mysql connector packages, and the one I used under Debian 10 is not packaged in Debian 11. I tried one of the Debian 11 ones

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-20 Thread 'Cameron D' via weewx-user
I don't understand the physics of it. As per the last few postings the speed of sound may be variable enough to show up here. I would just tinker with the speed of sound parameter and see if you can make all peaks look sensible. At least you have data at a good frequency. On Friday, 21

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-20 Thread 'Cameron D' via weewx-user
I assume your DB is storing in US units - mine is metricWX (I knew one day it would be useful to have done that!) One easy way is to modify the queries yourself - where the query (2 queries in my code) specifies "barometer", replace with "barometer * 33.8639 as barometer" On Friday, 21

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-20 Thread 'Cameron D' via weewx-user
There are certainly uncertainties in the barometric data timings. My system is probably a worst case - it only reports a value every 15 minutes, and I don't know if that is an average of the previous 15 minutes or just a snapshot reading at the transition time. So for me 20 minutes is within

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-20 Thread 'Cameron D' via weewx-user
the RankWarning is just a warning, you should still have image files produced. I expect the polyfit it just ignores higher order terms and just returns a quadratic. That is because the polynomial is a poor representation of the background, and the spline fit works better, if you get the

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-20 Thread 'Cameron D' via weewx-user
and add a debug printout for how many result lines there are after ... result = cursor.fetchall() add the line: *print( "query returned {} data points".format(len(result)))* On Friday, 21 January 2022 at 12:21:59 pm UTC+10 Cameron D wrote: > To eliminate NULL data points use a query

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-20 Thread 'Cameron D' via weewx-user
To eliminate NULL data points use a query like: select datetime, barometer from archive where datetime > 1642172400 and datetime < 1642693629* and barometer is not null *order by dateTime; You could add the part in bold into the query in the python script. Of course, if they are all null... On

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-20 Thread 'Cameron D' via weewx-user
yes, definitely looks like there is no data. I have attached another version of mine, in which the trend line is disabled by default, but I suspect that would just delay the inevitable and it would crash trying to do the plot. I also fixed up a few plotting errors in my code to do with the

Re: [weewx-user] When did the blast wave of the eruption "hit" your station? - extract your data

2022-01-18 Thread 'Cameron D' via weewx-user
Thanks for that obsession. I was wondering how to start learning about plotting in python. I've not got very far. What I have done in the attached version is: - add option towork with mysql db - plot first 3 pulse times. - added a background grey bar for 3 min either side of hte

[weewx-user] Re: safety of wind instruments on metal pole on roof?

2022-01-18 Thread 'Cameron D' via weewx-user
I decided to use PVC pipe, about 50mm dia. extending 2.5m above the roof line. Lighter to handle and not too flexible. The cable is easily run down the middle, to the wireless transmitter, which is mounted on a wooden pole. I don't know if it would make much difference in enticing lightning to

Re: [weewx-user] Re: When did the blast wave of the eruption "hit" your station?

2022-01-16 Thread 'Cameron D' via weewx-user
I did the same, since by the time I looked it had disappeared from the daily plot. I am 3300km from the volcano (East coast Australia). Unfortunately my station only updates the barometer value every 15 minutes, so there is only a single point at the "peak", a value back around average, then

Re: [weewx-user] Re: Slow Response Time

2021-12-15 Thread 'Cameron D' via weewx-user
Take Vince's advice. Many routers just cannot do this. I must admit I am baffled by the very long time - it should be fast or not at all. In addition, you are mixing IPv4 and IPv6 in your tests, but the ddns.net service returns IPv4 only. Your weewx system is accessible from the outside

[weewx-user] Re: Run weewx as just a collector, run the reports on a different server (mysql database backend)

2021-10-04 Thread 'Cameron D' via weewx-user
I had something like this for a while - but not exactly the same. The VM with the wamp server did not have USB device access, so my solution was 1. weewx collects on one machine 2. writes to DB on the VM 3. weewx on the original machine generates reports by writing to a shared network drive that

[weewx-user] Re: Trouble getting GW1000 driver to work

2021-09-25 Thread 'Cameron D' via weewx-user
I am pretty sure the semicolon is *not *what you want with Bourne shell syntax. 1. with no semicolon, the variable is placed in the environment of the program being executed 2. with a semicolon, it is a simple assignment to a variable in the environment of the current shell and is

[weewx-user] Re: How are these readings possible?

2021-05-31 Thread 'Cameron D' via weewx-user
yet another possibility is hardware issues. I recently had sudden spikes to 65°C, but they were more obviously a hardware fault as they were followed by a few minutes of null data. Suspects might be developing corrosion in contacts, or creatures traversing the circuit boards. How frequently

Re: [weewx-user] Re: Aussearch error accessing the BOM

2021-05-30 Thread 'Cameron D' via weewx-user
Yes, I "entered into the conversation" a couple of weeks ago. So far it's been very one-sided. The impression I got from the introductory pages was that they are only interested in commercial opportunities. On Sunday, 30 May 2021 at 9:13:37 am UTC+10 Darryn Capes-Davis wrote: > Great. Good to

[weewx-user] Re: Weewx and wmr300 no rain accumulation

2021-04-14 Thread 'Cameron D' via weewx-user
Looks like it discarded my post - apologies if this gets duplicated. Of course, stop weewx while doing the reset. In case you can't find the manual, the reset process is: press the "rain" area on the console 2 or 3 times until it shows "accumulated" rainfall. The date area will show you when

[weewx-user] Re: Weewx and wmr300 no rain accumulation

2021-04-14 Thread 'Cameron D' via weewx-user
Hi Paul, that line is red is the clue - the only rain value logged by the device is the accumulated measurement. The counter has an internal limit that you have reached (10 metres), which Oregon in their wisdom decided would be enough for anybody. We know of no software method to reset the

Re: [weewx-user] Re: Version 4.5.0 released

2021-04-05 Thread 'Cameron D' via weewx-user
Yes - I think the issue is only with the update process and there are just too many potential situations for the update script to be comprehensive. I would suggest you replace the old file before the next update. I have previously shot myself in the foot by "cleaning up" after an installation -

Re: [weewx-user] Re: Version 4.5.0 released

2021-04-05 Thread 'Cameron D' via weewx-user
Hi PJO, I have changed the "advice" in the wiki relating to custom systemd unit files and init.d files. Sorry. I can't recall the situation that led to that advice, but once the custom unit file is working properly then the init.d file is simply ignored. On Sunday, 4 April 2021 at 10:57:35 pm

[weewx-user] minor bug in wind averaging and gusts - possibly only WMR300

2021-03-07 Thread 'Cameron D' via weewx-user
Weewx 4.4.0. I noticed recently an incorrect assumption by the weewx code - if the archive value for wind gust is less than the "wind speed" value then it sets wind gust and gust direction to be equal to the wind speed. This is incorrect behaviour, at least for the WMR300, because the reported