Re: [weewx-user] Weewx and console do not agree

2025-07-29 Thread Graham Eddy
if the issue is that LOOP and REC records, at almost the same time, show different values, then it would be because they are evaluated over different time spans (LOOP is last “instantaneous" value, REC is average over your archive time and prob 5 minutes). if that’s not the issue, i will climb b

Re: [weewx-user] rain rate graph

2025-07-29 Thread Graham Eddy
rainRate, like rain, is an obstype with a tag for cheetah templates ⊣GE⊢ > On 30 Jul 2025, at 3:16 pm, 'michael.k...@gmx.at' via weewx-user > wrote: > > It's all there. Simply configure your WeeWX installation to do so. How? That > depends very much on your particular installation. > > Russel

Re: [weewx-user] Extensive SD Card Benchmark

2025-07-08 Thread Graham Eddy
the feedback i have seen often in the forum is that power glitches can corrupt the SD card, so always use UPS with RPi+SD ⊣GE⊢ > On 8 Jul 2025, at 11:20 pm, 'michael.k...@gmx.at' via weewx-user > wrote: > > I had many problems with damaged storage media with RPi1, 2, 3, 4. Not all > storage m

Re: [weewx-user] rtsdavis - AU freq?

2025-07-05 Thread Graham Eddy
nd rtl-davis pieces should hopefully still work. > > On Saturday, July 5, 2025 at 12:44:59 AM UTC-7 Graham Eddy wrote: >> new question: how do i modify and recompile a go package? >> >> i did a ‘go install rtlsdavis@latest’ to get the latest module. >> i am pro

Re: [weewx-user] rtsdavis - AU freq?

2025-07-05 Thread Graham Eddy
] but no idea how to re-make the rtldavis binary from that ⊣GE⊢ > On 5 Jul 2025, at 12:58 pm, Graham Eddy wrote: > > to answer my own question, i think they can be found at > https://github.com/RandomEskimo/DavisSi1000/blob/origin/Firmware/radio/freq_hopping.c. > as written they a

Re: [weewx-user] rtsdavis - AU freq?

2025-07-04 Thread Graham Eddy
 pm, Graham Eddy wrote: > > i see rtldavis has the skip frequencies for EU, US and NZ. does anyone have > AU? > cheers > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group an

[weewx-user] rtsdavis - AU freq?

2025-07-04 Thread Graham Eddy
i see rtldavis has the skip frequencies for EU, US and NZ. does anyone have AU? cheers -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@goog

Re: [weewx-user] How to modify the units written to the database

2025-06-28 Thread Graham Eddy
04 kakapo weewxd[175095]: > weewx.units.MetricUnits['group_length'] = 'mm' > Jun 29 15:59:04 kakapo weewxd[175095]: NameError: name 'weewx' is not defined > Jun 29 15:59:04 kakapo systemd[1]: weewx.service: Main process exited, > code=exited, sta

Re: [weewx-user] How to modify the units written to the database

2025-06-28 Thread Graham Eddy
as tom indicates, the actual data in the database is in some units we do not need to care about, all we care about is how the data is presented. rather than update weewx source code (units.py), just override it in your ~weewx/$station/bin/user/extensions.py: weewx.units.MetricUnits['group_rain']

Re: [weewx-user] Database only operation

2025-05-07 Thread Graham Eddy
i think you are asking: how do i configure weewx to use my weather station hardware instead of the weather simulator ⊣GE⊢ > On 8 May 2025, at 7:01 am, Jörg Spory wrote: > > Hi, I'm new here and have a problem with config. > I set up Weewx in simulator mode and sql datatabase. > That works fine

Re: [weewx-user] Create Missing

2025-03-16 Thread Graham Eddy
my weewx user automatically activates the virtual environment, so when i login/sudo to weewx to do interactive weewx stuff, it is all there. add to end of ~weewx/.bashrc (or .profile or similar) [ -f "$HOME/venv/bin/activate" ] && source "$HOME/venv/bin/activate" ⊣GE⊢ > On 17 Mar 2025, at 12:30 p

Re: [weewx-user] weeimport a smattering of missing records

2025-03-14 Thread Graham Eddy
set value to None if it does not exist, as opposed to 0 that does exist as value 0 ⊣GE⊢ > On 15 Mar 2025, at 4:47 am, Andrew McGinnis wrote: > >> If you want to use weectl import to import data into existing archive >> records, each record in your import source data (in your case your CSV data

Re: [weewx-user] First Day with WeeWX Some Good, but...

2025-02-02 Thread Graham Eddy
weewx is reporting permission error. it seems to be using /dev/ttyUSB0 ➔ check perms on that file: $ ls -l /dev/ttyUSB0 it will probably show group ‘dialout’ has read/write on it, so make sure user ‘weewx’ is in that group e.g. $ sudo adduser weewx dialout ⊣GE⊢ > On 3 Feb 2025, at 1:36 pm, v

Re: [weewx-user] Fix the daily rain totals for specific days

2025-02-02 Thread Graham Eddy
i think weewx handles differing intervals in the database (change from one archive period to another, or in your case add daily interval records at the start) but i don’t think weewx handles a change of database unit system within a query (so every entry in database should have same unit system)

Re: [weewx-user] Upgrading Weewx 3.6 on pi1B

2025-01-18 Thread Graham Eddy
raise a trouble ticket with your ISP and request https [note the ’s’] access to your website ⊣GE⊢ > On 19 Jan 2025, at 4:12 am, lionel sabatier wrote: > > The website is hosted by my ISP, free.fr . I don't know if > it's him who should reinforce security -- You received this

Re: [weewx-user] [StdCalibrate] Wind Logic

2025-01-16 Thread Graham Eddy
i mis-spoke. no assignment in ‘else’ e.g. windSpeed = 20 if windSpeed == 0 else windSpeed*1.15 note: in this case, if windSpeed is None, then None*1.15 throws an error (silently, without enough debug level) and no action is taken i.e. it remains None ⊣GE⊢ > On 16 Jan 2025, at 9:33 pm, 'Rory Gill

Re: [weewx-user] [StdCalibrate] Wind Logic

2025-01-16 Thread Graham Eddy
python syntax: should be = not == in the ‘else’s semantics: presumably testing as they make no sense ⊣GE⊢ > On 16 Jan 2025, at 8:00 pm, 'Rory Gillies' via weewx-user > wrote: > > Thanks Michael, > > Based on the values being calculated in order (as it says in the docs) I > tried the followin

Re: [weewx-user] Upgrading Weewx 3.6 on pi1B

2025-01-12 Thread Graham Eddy
i think lionel refers to browsers nowadays generally refusing to access “low” security http:80 sites with a site and technology so old, my advice would be to save the weewx database and discard the rest, build the new system from the bottom up, then put the old database into the newly built sys

Re: [weewx-user] TTN-interfacedriver for WeeWX

2025-01-04 Thread Graham Eddy
'translation' will be required. > > > Op za 4 jan 2025 00:11 schreef Graham Eddy <mailto:g...@geddy.au>>: >> for my LoRaWAN dragino gear, i wrote an ‘uplinks’ daemon to listen for raw >> mqtt uplink messages from TTN Network Server (i run my own instance

Re: [weewx-user] TTN-interfacedriver for WeeWX

2025-01-03 Thread Graham Eddy
for my LoRaWAN dragino gear, i wrote an ‘uplinks’ daemon to listen for raw mqtt uplink messages from TTN Network Server (i run my own instance) and publish per-device condensed and digestible mqtt that weewx picks up. note that weewx interface is mqtt service/driver for transport and the ‘uplink

Re: [weewx-user] Using nginx for WeeWX web server

2025-01-02 Thread Graham Eddy
i agree with vince: weewx provides a root directory for its html tree, and there its responsibility towards nginx ends. nginx picks up from there, and maps the weewx html root to url location / (if the website is dedicated to weewx) so if weewx root html is /home/weewx/station/public_html then ng

Re: [weewx-user] High CPU Usage by WeeWX Process Impacting Web Server Performance

2024-12-29 Thread Graham Eddy
almost no info provided, but maybe you have archive interval at 1 min (generates all reports) and you have lots of reports (take ½ min to complete). archive interval of 5 mins is more usual, and maybe you don’t need all those reports ⊣GE⊢ > On 29 Dec 2024, at 9:20 pm, Marco Citossi wrote: > >

Re: [weewx-user] Cheetah generator does not generate SummaryByMonth and other files

2024-12-24 Thread Graham Eddy
weewx used to include a tool for picking up things like a string where a number should be. maybe `weectl database check’ still does this ⊣GE⊢ > On 24 Dec 2024, at 4:17 pm, mihec wrote: > > I think there must be an invalid entry in my database (Aug 12, 2021). My > SQLite database management kno

Re: [weewx-user] Cheetah generator does not generate SummaryByMonth and other files

2024-12-23 Thread Graham Eddy
a few years ago i struck a case in weewx where a mass database update was taking many, many hours to run in test environment - too long for live database - seemed to be a weird i/o bottleneck corner case. my solution was to move the database to ram disk (symlink’ed to minimise weewx config chang

Re: [weewx-user] Cheetah generator does not generate SummaryByMonth and other files

2024-12-23 Thread Graham Eddy
your weewx.conf [Services] shows user.strele.streleservice is not to be loaded, yet your log shows that it is loaded ➔ you must be looking at wrong weewx.conf file ⊣GE⊢ > On 24 Dec 2024, at 12:29 am, mihec wrote: > > [[Services]] > prep_services = weewx.engine.StdTimeSynch > #

Re: [weewx-user] Cheetah generator does not generate SummaryByMonth and other files

2024-12-19 Thread Graham Eddy
the skin was running on weewx 3.9.2, then the skin updated to latest. could be python2 issues… really should look to upgrading to weewx 5 for bug fixes and stability ⊣GE⊢ > On 20 Dec 2024, at 12:20 pm, Tom Keffer wrote: > > I don't know anything about the neowx skin, but if it acts like any ot

Re: [weewx-user] Ecowitt Gateway GW3000

2024-12-02 Thread Graham Eddy
i just clicked on it and it says ‘oops not found’ rather than ‘404' ⊣GE⊢ > On 3 Dec 2024, at 5:49 pm, 'michael.k...@gmx.at' via weewx-user > wrote: > > I just clicked it, for me it doesn’t [deleted] >>> A quick search reveals some shops already list it: >>> https://weatherspares.co.uk/products

Re: [weewx-user] Add observation from .txt file fails

2024-12-02 Thread Graham Eddy
python3 syntax: no comma between ‘Exception' and ‘e'. also you would want to be using weewx logging rather than syslog ⊣GE⊢ > On 2 Dec 2024, at 7:32 pm, tadej.j...@gmail.com > wrote: > > except Exception, e: -- You received this message because you are subscribed to the Google Groups "weewx

Re: [weewx-user] Multiple weewx instances with one Gw2000

2024-11-15 Thread Graham Eddy
if it is the same GW2000, and you have not configured calibration in either weewx instance, then i would expect the readings are different simply because they were at different times (there is a margin for error on each reading taken, plus the real value itself might indeed have changed) ⊣GE⊢ >

Re: [weewx-user] Using sftp with weewx 5.1.0

2024-11-05 Thread Graham Eddy
i know nothing of sftp, but these lines look inconsistent: if the url of the server is host:homedirectory (which is what pcusg.org.au/~USERNAME implies) then surely the path is meant to be be relative to homedirectory (ie WWW not /WWW) ⊣GE⊢ > On 6 Nov 2024, at 4:

Re: [weewx-user] Vantage Pro2 - missing consBatteryVoltage and txBatteryStatus (among others) when using custom data service

2024-10-27 Thread Graham Eddy
don’t change dateTime from a service - it is created by the driver with a purpose ⊣GE⊢ > On 27 Oct 2024, at 11:45 pm, halol goog wrote: > > overwritting the dateTime value from the Vantage -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To uns

Re: [weewx-user] Setup 5.x in a single folder as setup.py used to do

2024-10-05 Thread Graham Eddy
stations are separate data (by definition) but can have shared code base e.g. ~weewx/venv/ ~weewx/station1/ ~weewx/station2/ ⊣GE⊢ > On 6 Oct 2024, at 11:21 am, Dan'l B wrote: > > It seems to me I saw a comment that using a venv it is still possible to > enable the setup to locate all weew

Re: [weewx-user] Convert values before loading into database

2024-10-03 Thread Graham Eddy
see bottom part of weewx/units.py e.g. convert(val_t, target_unit) ⊣GE⊢ > On 4 Oct 2024, at 1:27 pm, Thomas Carlin wrote: > > Are the conversion functions accessible from the service through a library, > to keep everything consistent, and the conversion formulas all in the same > place? -- Y

Re: [weewx-user] Convert values before loading into database

2024-10-03 Thread Graham Eddy
the only relevant difference between a driver (primary source of data) and a service (your need, which augments data) is that the driver sets the unit system in the packet but the service merely follows whatever is already set in the pack (identified by usUnits field) ⊣GE⊢ > On 4 Oct 2024, at 1

Re: [weewx-user] Convert values before loading into database

2024-10-02 Thread Graham Eddy
excellent observation. note that weewx provides two similar but not identical metric unit systems: METRIC and METRICWX ⊣GE⊢ > On 3 Oct 2024, at 1:15 pm, 'John Kline' via weewx-user > wrote: > > But there is more. You have to use the correct metric units. -- You received this message because

Re: [weewx-user] Calculating a moving average for wind dir / speed

2024-09-30 Thread Graham Eddy
vp2 emits packets (i think including wind readings) about every 2.7 secs; weewx accumulates these and saves/reports aggregated values each interval (default 5 mins). you could use the mqtt service/driver to publish selected packet values every 2.7 secs, and handle these youself for more realtime

Re: [weewx-user] FTP problem

2024-09-29 Thread Graham Eddy
and what is the ftp server expecting? ⊣GE⊢ > On 29 Sep 2024, at 4:10 pm, DTC Tijdwaarneming > wrote: > > It was already set to Passive mode. > passive = 1 > > On Friday, September 27, 2024 at 5:59:01 PM UTC+2 Graham Eddy wrote: >> make sure weewx ftp client is set

Re: [weewx-user] FTP problem

2024-09-27 Thread Graham Eddy
make sure weewx ftp client is set to PASSIVE mode if the ftp server is expecting that ⊣GE⊢ > On 28 Sep 2024, at 12:12 am, Guido Groetie wrote: > > Sep 27 15:46:34 byows-jim weewxd[3001]: ERROR weewx.reportengine: > File "/usr/lib/python3.11/ftplib.py", line 503, in storbinary >

Re: [weewx-user] Weewx und Renkforce WH2315

2024-09-13 Thread Graham Eddy
the error message is return_setlocale(category, locale) locale. Error: unsupported locale setting so try changing your locale. my weewx instances are running with locale en_AU.UTF-8 if you are unfamiliar with locale, do $ man -k locale cheers ⊣GE⊢ > On 14 Sep 2024, at 3:50 PM, Günther Wrana wro

Re: [weewx-user] Stale data error

2024-09-11 Thread Graham Eddy
or one of their antennas: you might be lucky and console has SMA socket to which you could add a cable/antenna ⊣GE⊢ > On 12 Sep 2024, at 11:39 AM, p q wrote: > > I recommend moving your sensor or console someplace where you get a better > signal -- You received this message because you are s

Re: [weewx-user] Min/Max

2024-09-09 Thread Graham Eddy
vintage wine - improves with age ⊣GE⊢ > On 9 Sep 2024, at 11:35 PM, Tom Keffer wrote: > > I'm 72. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+uns

Re: [weewx-user] How long will an SD card last?

2024-09-09 Thread Graham Eddy
the way it was explained to me is that the bane of the SD card is power loss during write cycle. if that can be done without a UPS, then great ⊣GE⊢ > On 9 Sep 2024, at 5:22 PM, Karen K wrote: > > some comments about UPSs some posts before saying they are not really > necessary -- You receive

Re: [weewx-user] Fresh Install - WeeWX 5.1 - Soil Moisture 3 and Evapotranspiration

2024-09-01 Thread Graham Eddy
i haven’t been following the dialogue but thought i would insert a suggestion, sorry if already discounted: maybe weewx.conf has set ET to come from hardware ⊣GE⊢ > On 2 Sep 2024, at 12:24 PM, 'John Kline' via weewx-user > wrote: > > Although not in the loop record, ET may be in the archive re

Re: [weewx-user] How long will an SD card last?

2024-09-01 Thread Graham Eddy
if it is just the default cipher that the target server is refusing, override it in your ssh client defaults (try running ssh -v) ⊣GE⊢ > On 2 Sep 2024, at 5:23 AM, Tom Keffer wrote: > > I'm finally bringing the experiment to a halt today, just short of its 10th > anniversary, not because the

Re: [weewx-user] MQTT error after upgrading to weewx 5.1 from 4.10

2024-08-31 Thread Graham Eddy
unless, i guess, the weewx.conf unit system is changed after data had already been stored under previous unit system ⊣GE⊢ > On 1 Sep 2024, at 1:33 AM, Karen K wrote: > > The error message says the database one unit system and weewx.conf is the > other. One of them is US, the other one is METRI

Re: [weewx-user] "About this Station" data

2024-08-31 Thread Graham Eddy
because weewx is magic! 😀 more seriously, weewx is usually started fairly early in the boot process, and being quite light-weight usually starts very quickly, so it is up and going before all the other services have finished starting. i had not noticed that discrepancy before ⊣GE⊢ > On 31 Aug

Re: [weewx-user] No SDR after upgrade from 5.0.2 to 5.1.0

2024-08-10 Thread Graham Eddy
eliminate the LXC until you can talk to the device from the proxmox server. adding LXC mapping of devices from proxmox server into container is tricky, especially if you are using unpriviledged containers. ⊣GE⊢ > On 11 Aug 2024, at 4:40 PM, Martin H. wrote: > > sorry please rename the files to

Re: [weewx-user] weewx dead

2024-07-31 Thread Graham Eddy
delete the pid file. then it will start (and create new pid file) ⊣GE⊢ > On 31 Jul 2024, at 11:37 PM, Marco Citossi wrote: > > I've tried to restart a lot of times but I get this error. > "Checking for weewx: weewx dead but pid file exists." > What could be the problem? > Thank. > M. > > > --

Re: [weewx-user] Need solid line in graph plot

2024-07-24 Thread Graham Eddy
i have same situation - archive interval 5m, lorawan sensors 20m - so my 5 min reports aggregate the lorawan sensors over last 20m to pick up the last value each time e.g. [[[plots/dayrivercomb]]] aggregate_type = last aggregate_interval = 1200 # 20 mins line_gap_fraction = 0.05

Re: [weewx-user] Importing data for custom observations

2024-07-23 Thread Graham Eddy
; > I thought the schema is only used during database creation. Did I min-read > that? > > On Tuesday, July 23, 2024 at 8:27:14 PM UTC-5 Graham Eddy wrote: >> i.e. add new field to the schema, as well as just add column in database >> ⊣GE⊢ >> >>> On 24 Jul 20

Re: [weewx-user] Importing data for custom observations

2024-07-23 Thread Graham Eddy
i.e. add new field to the schema, as well as just add column in database ⊣GE⊢ > On 24 Jul 2024, at 7:17 AM, gjr80 wrote: > > OK, I suspect the problem is when you added field lakeSurfaceLevel to WeeWX > you didn't tell WeeWX what unit group the field belongs to. -- You received this message

Re: [weewx-user] Need solid line in graph plot

2024-07-23 Thread Graham Eddy
maybe report interval aggregation, to (mostly) eliminate NULLs ⊣GE⊢ > On 24 Jul 2024, at 9:56 AM, bell...@gmail.com wrote: > > Stating differently, it works when a complete archive record is not in the DB > but not for missing values in an archive record. So in your case, no setting > of `line

Re: [weewx-user] RAM is running full. Apparently it's due to the weectl import

2024-07-22 Thread Graham Eddy
is the transaction buffer over-running avail memory? can the tranche of updates be reduced per transaction? ⊣GE⊢ > On 23 Jul 2024, at 3:08 PM, Karen K wrote: > > The user seems to call weectl import from the command line or from crontab to > retrieve data from Wunderground. The command first r

Re: [weewx-user] Installation of extension fails for pip installed WeeWX but works for apt installed WeeWX

2024-07-16 Thread Graham Eddy
venv/bin/ (where the python program uses that venv) ⊣GE⊢ > On 16 Jul 2024, at 5:39 PM, 'michael.k...@gmx.at' via weewx-user > wrote: > > bin/user? > > Karen K schrieb am Dienstag, 16. Juli 2024 um 07:58:19 UTC+2: >> The result is: If the virtual environment (venv) is used, weectl must not be

Re: [weewx-user] BelchertownWeather MQTT Error

2024-07-10 Thread Graham Eddy
i think the error message you refer to is “MQTT: 2024-07-10T19:13:52-05:00: mqtt Connection Lost: AMQJS0005E Internal error. Error Message: invalid language tag: "C", Stack trace: No Error Stack Available belchertown.js:1577:17”, you didn’t actually say hints from searches of similar errors poi

Re: [weewx-user] External Website not updating.

2024-07-09 Thread Graham Eddy
i suggest cut through the noise: just tell the ISP to change the ftp password to whatever it is you have in the weewx.conf now ⊣GE⊢ > On 9 Jul 2024, at 6:15 PM, Monica Mulholland wrote: > > Yes, that would seem the logical conclusion...except that is the username and > password that is hardwir

Re: [weewx-user] UDEV Rules for USB0/1 Ports

2024-07-07 Thread Graham Eddy
there will be something different, even if you have to go down to the actual physical address on the usb bus - look beyond the simple attributes ⊣GE⊢ > On 8 Jul 2024, at 3:56 AM, philip@gmail.com > wrote: > > Cant find anything different for the 2 dataloggers -- You received this message

Re: [weewx-user] WeeWX v5.1 is available

2024-07-06 Thread Graham Eddy
cting anything since the last data is for this > morning. > > Dana subota, 6. srpnja 2024. u 13:50:27 UTC+2 korisnik Graham Eddy napisao je: >> if the weewx server data is correct, and your web server data is not, then >> your uploading is the problem >> ⊣GE⊢ >&g

Re: [weewx-user] WeeWX v5.1 is available

2024-07-06 Thread Graham Eddy
if the weewx server data is correct, and your web server data is not, then your uploading is the problem ⊣GE⊢ > On 6 Jul 2024, at 9:46 PM, Igor Dobrača wrote: > > does the report on the weewx server (not the web server) include the data? -- You received this message because you are subscribed

Re: [weewx-user] WeeWX v5.1 is available

2024-07-06 Thread Graham Eddy
so the data is collected okay, but the report you are looking at does not include it. does the report on the weewx server (not the web server) include the data? ⊣GE⊢ > On 6 Jul 2024, at 9:00 PM, Igor Dobrača wrote: > > get current data I can see it, but on reports is show at 08:40 -- You rece

Re: [weewx-user] WeeWX v5.1 is available

2024-07-06 Thread Graham Eddy
your logs show weewx is getting the data, and everything looks fine ⊣GE⊢ > On 6 Jul 2024, at 8:49 PM, Igor Dobrača wrote: > > weewx isn't getting data from Vantage Vue station -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from

Re: [weewx-user] Weewx 5.0 FTP and Rsync not even attempting to upload what's going on?

2024-07-05 Thread Graham Eddy
try ' sudo -u weewx -i ‘ to get an interactive shell as weewx ⊣GE⊢ > On 5 Jul 2024, at 11:48 PM, Ben W. wrote: > > For this step... > > # su to the weewx account > su - weewx > (you will be in a shell as weewx) > > ...it is asking for a password. If I can no longer remember it or cannot find

Re: [weewx-user] Problems Updating 4.10.2 to 5.1

2024-07-05 Thread Graham Eddy
this doesn’t look right ⊣GE⊢ > On 5 Jul 2024, at 11:59 PM, Martin Davies wrote: > > 2024-07-05T14:40:14.766546+01:00 croft301 weewxd[4080]: DEBUG > weewx.reportengine: Running report 'SeasonsReport' > 2024-07-05T14:40:14.767221+01:00 croft301 weewxd[4080]: DEBUG > weewx.reportengine: Cannot re

Re: [weewx-user] External Website not updating.

2024-07-04 Thread Graham Eddy
looks like their AI learnt from microsoft support messages - lots of words and no content ⊣GE⊢ > On 5 Jul 2024, at 9:03 AM, Tom Keffer wrote: > > And, frankly, the message from your hosting company is completely useless. -- You received this message because you are subscribed to the Google Gr

Re: [weewx-user] Include $almanac.moonphase in an

2024-06-24 Thread Graham Eddy
it removes ambiguity - distinguish ${almanac}.moonphase.jpg from ${almanac.moonphase}.jpg from ${almanac.moonphase.jpg} ⊣GE⊢ > On 25 Jun 2024, at 7:35 AM, 'W2DEN' via weewx-user > wrote: > > this works(not real sure why but it does.) > > > -- You received this message because you are

Re: [weewx-user] Upgrading to v5 from v4 - Insufficient privileges claiming USB

2024-06-24 Thread Graham Eddy
*sigh* .. ‘magic number’ errors .. ⊣GE⊢ > On 25 Jun 2024, at 1:22 PM, Graham Eddy wrote: > > from memory, ‘magic error’ numbers pop up mostly with corrupt executables (or > wrong processor) and filesys mounts (unsupported format) > ⊣GE⊢ > >> On 25 Jun

Re: [weewx-user] Upgrading to v5 from v4 - Insufficient privileges claiming USB

2024-06-24 Thread Graham Eddy
from memory, ‘magic error’ numbers pop up mostly with corrupt executables (or wrong processor) and filesys mounts (unsupported format) ⊣GE⊢ > On 25 Jun 2024, at 2:01 AM, mike.t...@noworries.plus.com > wrote: > > when running with sudo I see an error "unrecognised magic number 5528" in the > l

Re: [weewx-user] Belchertown and "database is locked" error

2024-06-02 Thread Graham Eddy
if enough RAM on RPi, do it on ram disk (temporary mounts) rather than ssd - that got me around some strange (but massive) i/o latencies when migrating v3→v4 and converted hours database task to minutes ⊣GE⊢ > On 3 Jun 2024, at 10:02 AM, Tom Keffer wrote: > > According to sqlite, all of their

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Graham Eddy
run the command as user weewx on the weewx box, i hasten to clarify ⊣GE⊢ > On 24 May 2024, at 10:39 PM, Graham Eddy wrote: > > on source box running weewx, run $ ssh websvr hostname (where websvr is rsync > target host) -- You received this message because you are subscribed t

Re: [weewx-user] rsync not sending to remote web site after upgrade

2024-05-24 Thread Graham Eddy
verify that ssh passwordless login is actually working: on source box running weewx, run $ ssh websvr hostname (where websvr is rsync target host) and you should see it print websvr’s hostname but it might prompt you interactively to update known_hosts, if they are new keys... ⊣GE⊢ > On 24 May 2

Re: [weewx-user] Error Reading GW1100

2024-05-11 Thread Graham Eddy
this says weewx box is broadcasting query for any gw1000 devices to respond with their MAC address but no answer → make sure weewx box and gw1000 device on same lan ⊣GE⊢ > On 11 May 2024, at 8:10 PM, Mitchell Tuckness wrote: > > May 10 08:23:17 weewx-pi weewx[1657] ERROR user.gw1000: Failed to

Re: [weewx-user] Upgraded to V5 - will not run automaticly

2024-05-08 Thread Graham Eddy
running multiple > processes that you can ssh into isn't a container, it's a virtual machine. > > On Wednesday, May 8, 2024 at 4:42:00 AM UTC-7 Graham Eddy wrote: >> i suggest testing before publishing.. >> that won’t work without the permissions towards end of my l

Re: [weewx-user] Upgraded to V5 - will not run automaticly

2024-05-08 Thread Graham Eddy
i suggest testing before publishing.. that won’t work without the permissions towards end of my lxc/105.conf file ⊣GE⊢ > On 8 May 2024, at 9:25 PM, G7LTT wrote: > > Updated to add USB device to the container. -- You received this message because you are subscribed to the Google Groups "weewx-

Re: [weewx-user] Upgraded to V5 - will not run automaticly

2024-05-07 Thread Graham Eddy
46 1157485956 Swap: 7807 5167291 graham@ballina:~$ uptime 14:04:35 up 78 days, 14:26, 1 user, load average: 0.00, 0.04, 0.10 cheers ⊣GE⊢ > On 8 May 2024, at 1:30 PM, Graham Eddy wrote: > > as the doc hinted, putting proxmox its

Re: [weewx-user] Upgraded to V5 - will not run automaticly

2024-05-07 Thread Graham Eddy
as the doc hinted, putting proxmox itself aside, install/run weewx in LXC unprivileged container is the same as running it outside a container, with the benefit of it not being able to trample on rest of host the tricky parts are where the container walls are visible, the two principal cases be

Re: [weewx-user] Replacement for Vantage Pro 2

2024-04-22 Thread Graham Eddy
i replaced my then-18yo cracked & peeling solar panel with a nice new one - just required plugging panel’s lead into ISS ⊣GE⊢ > On 23 Apr 2024, at 2:00 AM, vince wrote: > > perhaps a solar panel ($55) will handle the data problems, but I'd suggest > doing just the battery first to see. -- Yo

Re: [weewx-user] Launching Weewx

2024-04-12 Thread Graham Eddy
i interpreted the suggestion as making it the default that logging is turned on. this is self-correcting: when the user has learnt enough to turn logging off, they can. place the instruction how in the documentation that they should have read but did not (or did not understand at the time). i lik

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

2024-03-24 Thread Graham Eddy
this sounds great. for the record, eliminating the davis console and its need for a serial/usb port also eliminates what it provides: various indoor sensors (including barometer i think) and -crucially- the hardware data logger ⊣GE⊢ > On 25 Mar 2024, at 3:46 AM, vince wrote: > > Short answer i

Re: [weewx-user] MQTTSubscribe and paho mqtt heads up

2024-03-15 Thread Graham Eddy
i wrapped paho mqtt a few years ago, but not implementing whole interface. i wote a bunch of apps on top of my wrapper, one being my own weewx mqtt service/driver, other apps are various mqtt producers and consumers thanks for the heads-up on the mqtt interface change. it prompted me to polish my

Re: [weewx-user] [StdCalibrate][[Corrections]] check if obs_type is present

2024-03-08 Thread Graham Eddy
oops, python syntax would be: expr if ops_tye in globals() else None ⊣GE⊢ > On 9 Mar 2024, at 10:31 am, Graham Eddy wrote: > > i think ' if obs_type in globals() then expr else None ' would work > ⊣GE⊢ > >> On 9 Mar 2024, at 9:13 am, 'michael.k...@gmx.at&

Re: [weewx-user] [StdCalibrate][[Corrections]] check if obs_type is present

2024-03-08 Thread Graham Eddy
i think ' if obs_type in globals() then expr else None ' would work ⊣GE⊢ > On 9 Mar 2024, at 9:13 am, 'michael.k...@gmx.at' via weewx-user > wrote: > > I think I remember that this has been asked before, how to check with an > expression in Corrections, if an obs_type is present? > > -- > Yo

Re: [weewx-user] Raddy L7 Weather Station: XML of Current Conditions-How to Feed WeeWx?

2024-03-06 Thread Graham Eddy
Jsonpath is good for plucking specific values on the subscribe/inward side, but it doesn’t help with the publish/outward side (or at least i couldn’t think of one). i am still using the eval(expr, weewx-packet or json-message) approach in my mqtt implementation ⊣GE⊢ > On 7 Mar 2024, at 11:05 am

Re: [weewx-user] Upgrade to 5.0 from 4.10 the Graphs are not being created

2024-03-05 Thread Graham Eddy
your archive interval is set to 10 mins, and the log is truncated just where it started getting interesting. collect log data for two complete cycles at least, in your case 20 mins ⊣GE⊢ > On 5 Mar 2024, at 8:03 pm, Francis Greaves wrote: > > Thanks Tom for the suggestions. > I upgraded to 5.0.

Re: [weewx-user] leap year and span

2024-03-01 Thread Graham Eddy
“month” is a fuzzy measure, not precise. it is not surprising that arithmetic with fuzzy numbers produces fuzzy numbers. what *is* surprising is that people find the above surprising same as network distributed time - given the variable time it takes to transfer a “time” to another place, we all

Re: [weewx-user] Two of Same/Similar Model AcuRite 5n1 on Single Host - Station Identification Conflict?

2024-02-24 Thread Graham Eddy
i tried proxmox on RPi 4 briefly but it was too unstable for a reliable weather station - proxmox (pimox) is not supported on RPi and known to have problems and limitations (don’t get me started on overlay driver!) proxmox 8 runs extremely well on bookworm on my mac mini. i pass through a usb-s

Re: [weewx-user] unable to save to file '/var/www/html/weewx/...

2024-02-10 Thread Graham Eddy
why are you writing into files outside weewx’s area? weewx user is unlikely to have perms to do that ⊣GE⊢ > On 11 Feb 2024, at 1:59 am, Ton Karsten wrote: > > feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine: > File "/usr/lib/python3.11/shutil.py", line 258, i

Re: [weewx-user] Another Davis Vantage unable to start concern

2024-02-05 Thread Graham Eddy
vantage device is on LAN. wireless interface normally not ready until long after weewx tries to start, unusual (but not impossible) for ethernet interface to be so late. try the ‘loop-on-init = 1’ in weewx.conf, or insert a delay in the startup file ⊣GE⊢ > On 6 Feb 2024, at 8:08 am, Neil B wro

Re: [weewx-user] StdCalibrate math question

2024-01-21 Thread Graham Eddy
it is worth noting and perhaps documenting that python builtin functions can be used in StdCalibrate expressions ⊣GE⊢ > On 22 Jan 2024, at 4:19 am, Tom Keffer wrote: > > Yes, of course. Just substitute "**" for "^" so it's a Python expression. Or, > use the math function pow(). > > On Sun, Ja

Re: [weewx-user] I'm desperate to fix my NOAA reports. Can I please pay someone to help fix my database and recover this data?

2024-01-18 Thread Graham Eddy
i found putting the db into a RAM disk for the duration helps in these situations (i had to do that for a weewx migration some time ago) ⊣GE⊢ > On 19 Jan 2024, at 3:36 pm, 'michael.k...@gmx.at' via weewx-user > wrote: > > Or, to speed things up, do the "calc-missing" on another machine with a

Re: [weewx-user] Database Error Message

2024-01-17 Thread Graham Eddy
maybe a bit short? ⊣GE⊢ > On 18 Jan 2024, at 11:55 am, Michael Sanphillipo > wrote: > > archive_interval = 120 -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email

[weewx-user] Re: V5.0.0 available

2024-01-16 Thread Graham Eddy
many plaudits to tom, matt and gary for V5, navigating the shifting decks of python and linux while preserving the long stability of weewx for another milestone release. the software engineers amongst us understand and appreciate the difficulty, attention to detail and sheer volume of work - ded

Re: [weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread Graham Eddy
reasonable questions: yes to both, the ‘(venv)’ in the prompt is the clue to the first. i showed content of ~weewx/bin because i was asked for it; i knew it did not exist, and what was really being asked was for ~weewx/{venv}/bin and ~weewx/{station}/bin, so i showed those as well actually runn

Re: [weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread Graham Eddy
> > Also, what is in /home/weewx/bin? > > I'm reluctant to put too much energy in debugging b16, because a lot of how > WEEWX_ROOT is handled has changed since then. If you're still having > problems, upgrade to the current rc3. > > -tk > > On Mon, Jan

[weewx-user] using 'weectl database' → error "No module named 'user'"

2024-01-08 Thread Graham Eddy
running weewx 5.0.0b16 in production quite happily for weeks - it works fine. i needed to delete a bad barometer reading from station called ‘vantage’, so i stopped unit weewx@vantage, set the value to None, then tried to rebuild the daily database → following error: (venv) weewx@wx:~$ weectl da

Re: [weewx-user] Localization,cn--->zh_cn

2024-01-05 Thread Graham Eddy
maybe check the font_path in skins.conf, ensure the image generator fonts include the simplified chinese symbols ⊣GE⊢ > On 6 Jan 2024, at 2:21 pm, Kranz Liang wrote: > > I have translated the language files in weewx, converting Traditional Chinese > into Simplified Chinese and also adjusted so

Re: [weewx-user] Pipe errors etc

2023-12-04 Thread Graham Eddy
the vantage IP device seems to accept a connection, work for a while, then stop responding, then connection is reset → sounds like on device side it seizes up and the ip protocol times out; establishing new connection just repeats the cycle. the device apparently has been working for years and i

Re: [weewx-user] Unrecoverable error "no such table: forecast_day_wind"

2023-11-16 Thread Graham Eddy
suggestions: (1) maybe the weekly graph is only being calculated in your 0-5 daily hour interval → really failing all the time. try hourly or daily graph to verify it works during those & other hours (2) maybe another deeper exception is happening which happens to be percolated up as sqlError

[weewx-user] Re: Ultrasonic vs Microwave vs Immersion sensors for stream height.

2023-11-10 Thread Graham Eddy
microwave: i have the wide beam aligned up/downstream to mitigate its width. my readings are always larger, not smaller, than they should be. successive readings that should be nearly identical can be more than 20% different, and i notice a general daily oscillation of about 50% but i could not c

Re: [weewx-user] Storm Rain or Pluviograph function?

2023-11-10 Thread Graham Eddy
river level sensors: * my dragino lorawan ultrasonic sensor has been fine, though it has condensation problems (to be fair, it is mounted under a bridge a couple metres above normal river level) * my dragino lorawan microwave radar has been a failure. i get neither accurate nor consistent me

Re: [weewx-user] Replacement humidity sensor

2023-11-08 Thread Graham Eddy
just looking at the intention of the code without having read the thread [always dangerous!] i cannot quote the original python text here because unfortunately it was reported using a screenshot [please don’t do that] but note that if extraHumid1 is undefined (not present in packet, as opposed to

  1   2   3   4   5   >