[weewx-user] HowTo: Raspberry Pi installation with read-only root

2016-07-28 Thread Glenn McKechnie
Slightly Off topic, but I'll throw this hat in the ring and hope it doesn't come back too fast! As the title suggests, it's about locking up the SDcard as a read only filesystem, then adding weewx to utilize those same features. It works for me, it should work for others but given the

Re: [weewx-user] Re: HowTo: Raspberry Pi installation with read-only root

2016-07-28 Thread Glenn McKechnie
On 29 July 2016 at 00:46, vince wrote: > Interesting stuff and surprisingly hard to get done completely [...] > but having logs up to a minute max > beforehand was helpful in 95% of the post-mortem cases Ah, duly noted. More on that later... [...] > result was

Re: [weewx-user] Weewx on Pib

2016-07-30 Thread Glenn McKechnie
>From those instructions ( at http://www.weewx.com/docs/debian.htm ) try the alternative method mentioned there, ie: from the command line. Open a terminal (Terminal Emulator from your Applications menu) find where you downloaded the deb package and " cd ' to that directory and type the commands

Re: [weewx-user] Apache2 setup new install of weewx

2016-08-13 Thread Glenn McKechnie
In the absence of an apache expert I don't recognize config.d , except as a vague memory. For me, that config sits in /etc/apache2/conf-available/weewx.conf with a symlink from /etc/apache2/conf-enabled lrwxrwxrwx 1 root root 38 Mar 10 12:37 weewx.conf ->

Re: [weewx-user] Apache2 setup new install of weewx

2016-08-14 Thread Glenn McKechnie
Hmmm, List your apache root directory contents - probably under /var/www/html There should be no visible link to weewx, no symlink, no directory. If there is then move it aside (rename it) and restart Then list your /etc/apache2 contents, in particular the /etc/apache2/conf-enabled contents

Re: [weewx-user] Re: Rpi read-only SD card system usage

2017-02-03 Thread Glenn McKechnie
The read-only pi that vince refers to is a HowTo at https://github.com/glennmckechnie/rorpi-raspberrypi/wiki/Rorpi-Home It covers installing weewx on a stock Raspian installation and then converting that to a read only configuration It's a long read, for what turns out to be a simple conversion,

Re: [weewx-user] Re: Split weewx processing between two RPi's

2017-02-08 Thread Glenn McKechnie
If I recall correctly, you run mesowx? Have a look at the raw data, the real time/48-hour side of its display. It might miss a few LOOP packets on occasion but that would be a network issue so is unique. /var/www/html/freezerpi/js/Config.js // RawChart configuraion // Displays "raw"/LOOP

Re: [weewx-user] mesowx - weewx fatal syncronization error

2017-02-22 Thread Glenn McKechnie
I use luc's raw.py service VERSION = "0.4.1-lh" for the local server here - weewx and mesowx databases are both on the same machine as are the webpages. Your setup appears to be different as you appear to be using sync.py. With that you still need the key, so the old notes would apply. There's a

Re: [weewx-user] Re: Frustrating install of Weewx on Raspberry Pi 2

2017-02-23 Thread Glenn McKechnie
You probably need to go down a more 'auto' path. Open a terminal then visit http://weewx.com/docs/apt-get.htm and go through the steps outlined there. Cheers Glenn rorpi - read only raspberry pi + weewx: now with scripts On 24 February

Re: [weewx-user] Re: Frustrating install of Weewx on Raspberry Pi 2

2017-02-24 Thread Glenn McKechnie
com/glennmckechnie/rorpi-raspberrypi> On 25 February 2017 at 12:38, Craig Thom <craigt...@gmail.com> wrote: > I wish I'd found that a week ago. I installed lynx on my RPi3 and got it > that way. I had installed Raspbian without a GUI. > > On Thursday, February 23, 2017 at 5:41:02 P

[weewx-user] Co-opting the RSYNC skin as a backup solution - even better with report_timing

2017-02-13 Thread Glenn McKechnie
In looking for a backup solution for the weewx sqlite databases, I found one in the most unlikely of places - weewx. :-) Because the read only pi I bang on about can (optionally) keep the database in its own ramfs, there

Re: [weewx-user] Co-opting the RSYNC skin as a backup solution - even better with report_timing

2017-02-16 Thread Glenn McKechnie
<https://github.com/glennmckechnie/rorpi-raspberrypi> On 14 February 2017 at 13:26, Thomas Keffer <tkef...@gmail.com> wrote: > Very clever! > > -tk > > On Mon, Feb 13, 2017 at 3:35 PM, Glenn McKechnie < > glenn.mckech...@gmail.com> wrote: > >> >> In

Re: [weewx-user] Re: KeyError after upgrading from 3.5.0 to 3.6.2

2017-01-18 Thread Glenn McKechnie
Question for those more knowledgeable. Can you mix units in the weewx.conf file? Dan's database is in US units His StdQC has both imperial and metric - specifically mile_per_hour and mm_per_hour which coincides with the error message's units I was under the impression that unit switching was more

Re: [weewx-user] Help with Apache

2017-01-15 Thread Glenn McKechnie
Hi Jerry, As the root user. copy that file into /etc/apache2/conf-available, so that you now have it as /etc/apache2/conf-available/weewx.conf then run the command... a2enconf weewx.conf and you should see a message saying... Enabling conf weewx. To activate the new configuration, you need to

Re: [weewx-user] Help with Apache

2017-01-17 Thread Glenn McKechnie
om> wrote: > The system could not find the a2ecinf command. > > Jerry > > > - "Defeat lasts one day, giving up lasts a lifetime." > > > On Jan 15, 2017, at 5:22 PM, Glenn McKechnie <glenn.mckech...@gmail.com> > wrote: > > > >

Re: [weewx-user] Help with Apache

2017-01-17 Thread Glenn McKechnie
> Jerry > > > - "Defeat lasts one day, giving up lasts a lifetime." > > On Jan 17, 2017, at 8:19 PM, Glenn McKechnie <glenn.mckech...@gmail.com> > wrote: > > a2enconf - not - a2ecinf > > It comes packaged with apache2 and lives at /usr/sbin/a2enc

Re: [weewx-user] Re: Repsonsive Skin - Australian Weather Network data

2017-03-01 Thread Glenn McKechnie
Okay. Nailed it, the weird rainfalls and NaN barometer readings that is. Turns out there's another disbeliever in the "No wind, No direction" camp. They'll only accept an ordinal direction in the $WL_WINDDIR field. The weewx default of - N/A (or tested variants such as na, -, ' ') are not

Re: [weewx-user] Responsive Skin install

2016-10-07 Thread Glenn McKechnie
Hi Darryn, I'm certainly interested in the Australian forecast abilities and the skin at http://carlingfordweather.sydney/ looks pretty good too. So if you can add me to your ' walk through ' discussion, it would be appreciated. -- Cheers Glenn rorpi-raspberry pi + weewx: now with scripts

Re: [weewx-user] So close... (new DEB Install)

2016-10-02 Thread Glenn McKechnie
Hi Bob, There's nothing in that snippet that indicates why you have no html output. > Oct 2 14:17:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, > next retry is Sun Oct 2 14:17:31 2016 [try http://www.rsyslog.com/e/2007 ] that action 7 info message is more a nuisance than

Re: [weewx-user] So close... (new DEB Install)

2016-10-02 Thread Glenn McKechnie
webserver. On 3 October 2016 at 08:45, Glenn McKechnie <glenn.mckech...@gmail.com> wrote: > Hi Bob, > > There's nothing in that snippet that indicates why you have no html output. > > >> Oct 2 14:17:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, >> next

Re: [weewx-user] Errors during the report generation

2016-10-14 Thread Glenn McKechnie
When you say you "switch off the pi". Do you mean that you just kill the power at the wall? That you don't use ' shutdown -h ' now or another, orderly, software controlled shutdown? If so then it's possibly file corruption. If you kill the power while weewx (cheetah generator) has the tmpl files

Re: [weewx-user] Errors during the report generation

2016-10-15 Thread Glenn McKechnie
Pier, I've got to say, that if Tom reckons he's found a bug in the code that may be causing it, I've got to defer to him. I can glean a few errors by reading the logs - carefully - but I really know naught when it comes to those who've actually written and therefore understand the code! And

Re: [weewx-user] weewx, raspberry pi and sd cards - the lifetime for card

2016-11-01 Thread Glenn McKechnie
web server - located in external DC. > > So in my point of view it's crazy!!! > > One of my friend told me that the problem could be reading data from > /dev/ttyUSB0 and putting logs on sd card > > W dniu 2016-11-01 o 00:53, Glenn McKechnie pisze: > > One way to lock up your

Re: [weewx-user] weewx, raspberry pi and sd cards - the lifetime for card

2016-11-01 Thread Glenn McKechnie
> 495 be/4 root 0.00 B 16.00 K 0.00 % 0.00 % rsyslogd -n > > > On Tuesday, November 1, 2016 at 9:28:58 AM UTC+1, Glenn McKechnie wrote: >> >> run iotop as * iotop -oaP * This will show running process's only and >> accumulated totals - run it for a

Re: [weewx-user] weewx, raspberry pi and sd cards - the lifetime for card

2016-10-31 Thread Glenn McKechnie
One way to lock up your SDCard is outlined at rorpi - read only raspberry pi + weewx: now with scripts Making the / filesystem 100% read-only should go some way to ensuring the SDCard will stay around longer. While it mentions using USB sticks

Re: [weewx-user] start problems

2016-11-02 Thread Glenn McKechnie
First thought is to open two terminals. In the first one run *sudo tail -f /var/log/syslog* In the second run your start commands. Additionally, make sure you run* sudo /etc/init.d/weewx stop* first, or use* restart / reload *instead *.* run* sudo /etc/init.d/weewx status *or* sudo service weewx

Re: [weewx-user] Installation on Raspberry Pi 3 - issue with no setup screen at startup, so no file created in home folder?

2017-01-12 Thread Glenn McKechnie
from a terminal, type... sudo dpkg-reconfigure weewx and you should be given a simple configuration screen which will populate /etc/weewx/weewx.conf Anything else that needs adding after that then you may edit /etc/weewx/weewx.conf directly with the text editor of your choice - nano, vi etc If

Re: [weewx-user] Re: Upgraded raw plugin for MesoWx v0.4.0

2017-01-11 Thread Glenn McKechnie
Another success, it's always good to hear of them, at the very least it means that Mesowx isn't quite dead yet. :-) What was the magic required to change the markers in the pop-up? Any pointers to their location or a brief HowTo on the tuning required would certainly be appreciated from this end.

Re: [weewx-user] Running into trouble - weewx dont work anymore :(

2016-12-01 Thread Glenn McKechnie
To clarify. You have weewx working with extra sensors. You are now trying to get mesowx working on a remote server, which you have access to. > and edited the weewx.conf, added the 2 provided special sync.py from LH... sync_lh9.py I assume is one of those files, what's the 2nd one? > Dec 1

Re: [weewx-user] Running into trouble - weewx dont work anymore :(

2016-12-05 Thread Glenn McKechnie
Comments in-line below On 6 December 2016 at 01:06, 'Björn Baldus' via weewx-user < weewx-user@googlegroups.com> wrote: > okay it works great... > > an additional question... > i am editing the config.json right now... > can you help me with

Re: [weewx-user] Re: weewx stop reporting (or crash?) few time per day ????

2016-12-24 Thread Glenn McKechnie
There's certainly a network problem, and with your database on a remote machine ( Database host: minux.cubadak ) then something has to give ... [...] Dec 24 08:35:19 weatherstation weewx[606]: manager: added record 2016-12-24 08:35:00 WIB (1482543300) to database 'weewx' Dec 24 08:35:19

Re: [weewx-user] rain, rainRate: Found them. : hail, hailRate where art thou???

2017-03-30 Thread Glenn McKechnie
That was indeed it. I added yet another tweak to the user/extensions.py here. weewx.accum.extract_dict['hail'] = weewx.accum.Accum.sum_extract weewx.accum.extract_dict['hailRate'] = weewx.accum.Accum.sum_extract donned the trusty headlamp, and went and tipped the buckets... Viola, the last two

Re: [weewx-user] rain, rainRate: Found them. : hail, hailRate where art thou???

2017-03-30 Thread Glenn McKechnie
Hi Gary, Thanks for your considered reply. It does help, in that it gives some assurance that I'm not, altogether, losing it. If it's not in there that's fine and that explains why I couldn't find any references to it in the docs, or in the groups. I'll appropriate both those columns for my

[weewx-user] rain, rainRate: Found them. : hail, hailRate where art thou???

2017-03-30 Thread Glenn McKechnie
A search of the /usr/share/weewx tree returns results for rain and rainRate. The same search for hail and hailRate returns nothing. I'm looking for the actions, formulas. How hail, hailRate is treated and created. 04:23 PM $ weewxd --version 3.6.2 grep -r * -e rainRate weewx/units.py:

Re: [weewx-user] WMR200-reception can not be improved - What station should I replace it with?

2017-03-16 Thread Glenn McKechnie
On 16 March 2017 at 21:25, Peter Humphrey wrote: > Apologies for dragging this up from the dead... > > I, too, have a wmr200 that has been running fine (with only very > occasional reception loss e.g. on low battery or significant local RF > transmission) standalone for

Re: [weewx-user] Any kludge to plot a 3rd item with a different yscale?

2017-04-21 Thread Glenn McKechnie
On 17 April 2017 at 14:41, Alec Bennett wrote: > > [...] > > It's been asked for many times > > In that case I'll mention that my method was to edit genplot.py and > imagegenerator.py so if a filename has "-trans" in it,

Re: [weewx-user] Re: Amending spurious readings in the database

2017-04-13 Thread Glenn McKechnie
As someone who has problems with the occasional(scoff!) spike value; I highly recommend Darryn's - beta - qc.py replacement (links below). It may not fit your comfort level, and I don't think you could use it for rain or any other instrument (wind?) that can have spikes as a matter of course, but

[weewx-user] sqlbackup: a skin (SLE?) for database backups.

2017-07-14 Thread Glenn McKechnie
I've put together an extension for weeWX that performs a database backup and I'll quickly add that, it shouldn't interfere with weewx's core function; not with its default config anyway. It's available at https://github.com/glennmckechnie/weewx-sqlbackup As pre-configured it will take a daily

Re: [weewx-user] OWFS Weather station Humidity Sensor

2017-07-17 Thread Glenn McKechnie
Sheepwalk Electronics sell an equivalent to the hobby-boards version http://www.sheepwalkelectronics.co.uk/product_info.php?products_id=55=2308a9eb63d5662838e334279a35f3e9 Do you supply 5v to the existing sensor? I found they behaved better with it jumpered on. I've swapped out the actual

Re: [weewx-user] How to backup all the configuration files and database to a NAS or a ftp folder?

2017-07-17 Thread Glenn McKechnie
On 18 July 2017 at 11:28, Stefano Rossi wrote: > Thanks for your answer! > That's alright. Given you lost 3 years of data, and not to give you false hope, but are you sure it's actually gone? Just because the pi won't boot up doesn't mean it's not there, and if it is it

Re: [weewx-user] How to backup all the configuration files and database to a NAS or a ftp folder?

2017-07-16 Thread Glenn McKechnie
Ouch, 3 years of data lost? That would hurt. > I already read many threads where is explained how create a > backup for the database but I can't understand how create it. Do you mean that you can create a backup , but can't restore it? Or you can't make that first backup? Are you using mysql or

Re: [weewx-user] Problem with reset of dayRain value in loop data

2017-05-30 Thread Glenn McKechnie
A thought, hopefully not misplaced. As regards not messing with data, it's the correct approach; but I believe there's wriggle room in the case of rain. If it's a momentary value such as temperature, pressure, humidity. They are absolute values that are cemented to that moment in time. If it's

Re: [weewx-user] Re: WeeWx and Aercus Weather Ranger

2017-09-14 Thread Glenn McKechnie
Ah, that would mean a log. Restart weewx and post the full log between your next restart start and the stop, that's when it fails. Doesn't matter the size of the log, just attach it all to your post. With that information, soemone may be able to spot the problem. Cheers Glenn rorpi - read

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2017-09-22 Thread Glenn McKechnie
Hi Nigel, > I installed your wxobs and it worked straight out of the box - well nearly ! > The default units are in imperial and I would like a mix of imperial and > metric. > i.e. > Temperature units to be in metric > Wind units to be in imperial > Barometer to be hPa Units is the downside of

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2017-09-23 Thread Glenn McKechnie
On 23 September 2017 at 09:59, Thomas Keffer wrote: [...] > In any case, it was an early design decision not to entangle the HTML pages > with database access. It requires colocation of the database and the > webserver, which most people can't do. Ah, good point. I'd better

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2017-09-22 Thread Glenn McKechnie
wx. It wouldn't > even require a search list extension. > > Or, am I missing something? > > -tk > > On Fri, Sep 22, 2017 at 3:32 PM, Glenn McKechnie <glenn.mckech...@gmail.com> > wrote: >> >> Hi Nigel, >> >> >> > I installed your wxobs and

Re: [weewx-user] Re: WeeWx and Aercus Weather Ranger

2017-09-13 Thread Glenn McKechnie
In the absence of someone actually familiar with the driver. Then going by the readme at https://github.com/AussieSusan/HP1000 , it looks like it's the broadcast address of your computer. You can find it by using the command ' ip a ' where it will be returned on the inet line after the brd

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2017-10-07 Thread Glenn McKechnie
& various weewx addons https://github.com/glennmckechnie On 23 September 2017 at 08:32, Glenn McKechnie <glenn.mckech...@gmail.com> wrote: > Hi Nigel, > > >> I installed your wxobs and it worked straight out of the box - well nearly ! >> The default units are in

Re: [weewx-user] To many data :-)

2017-10-10 Thread Glenn McKechnie
Well, hopefully Hajo's original question has been answered satisfactorily. On that note. I think Hajo has been using Weewx and Mesowx for a while and when there is mention of an upgrade I wonder if weewx's logging behaviour has changed in that time? Has manager.py always been so chatty in the

Re: [weewx-user] To many data :-)

2017-10-10 Thread Glenn McKechnie
Hi Hajo, On 10 October 2017 at 21:58, Hajo Harms wrote: > Hi Glenn > thanks for response. My english is basic, so some information will be lost > in translation > Your english is fine. I'm still curious, but only if you remember. What version of weewx was your last

Re: [weewx-user] Re: csv without headers (new user)

2017-10-05 Thread Glenn McKechnie
Usual caveat, I might be talking through my hat, but... I've never been able to get csv working in a logical manner either, but I was able to work around it as Mario and John did in this thread. ie: I could only get the headers in overwrite mode. This has prompted me to revisit the issue and I

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2017-09-11 Thread Glenn McKechnie
Okay, done! It's now a skin in its own right, AND it should now work for everyone (famous last words?). The reason I say that is; I belatedly realized that not everyone has appTemp, nor do they necessarily want deltaT - both of which add some complexity to the installation. appTemp and deltaT

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2017-09-06 Thread Glenn McKechnie
Thanks m, I'm confident enough with wee_extension to install a stand-alone skin, but a partial installation is beyond me. I can't get my head around adding the extras to an existing entry - in this instance the copy_once stanza in skin.conf... [CopyGenerator] > > copy_once = (leave existing

Re: [weewx-user] To many data :-)

2017-10-09 Thread Glenn McKechnie
Hi, If your station generates LOOP packets at 2 second intervals then mesowx (raw.py) is working as expected. That's the Real Time data for the first meso graph, and the left panel which are updated continuously, ie: as fast as the LOOP packets are supplied (from memory, you may be able to tweak

Re: [weewx-user] To many data :-)

2017-10-10 Thread Glenn McKechnie
On 10 October 2017 at 15:59, Andrew Milner wrote: > I suspect your lack of coffee probably made you over complicate things Every chance of that, and I still may need more judging by this post. > His StdQC section should either > have min and max values specified in

Re: [weewx-user] To many data :-)

2017-10-11 Thread Glenn McKechnie
Hi Hajo, On 12 October 2017 at 08:06, Hajo Harms wrote: > Hi Glenn > > so I use weewx 3.7.1 and meso 0.4.0 with raw_0.4.1-lh.py. > > But my section of def newLoop Packet looks different [...] Okay, use the attached version of Luc's ( raw_0.4.3-lh.py ) with that change

Re: [weewx-user] Re: launch of report thread aborted: existing report thread still running.

2017-10-11 Thread Glenn McKechnie
Hi Oscar, A working hardware clock on the pi should kick in soon after bootup. As I recall a systemd installation requires a few adjustments if you're working from a wheezy HowTo. If you have a look at the rorpi HowTo it gives some extra details for the systemd changes

Re: [weewx-user] Re: CSV file and header

2017-10-09 Thread Glenn McKechnie
Hi, Open /usr/share/weewx/user/csv.py with a text editor and add the following - import syslog - after the - import time - line. Save the file and restart weewx --- /etc/init.d/weewx restart An snippet follows with that addition made (ie:- the last line.) # $Id: csv.py 1748 2017-10-06

Re: [weewx-user] csv Extension v0.10. "excessive loggin"?.

2017-10-17 Thread Glenn McKechnie
Hi Victor, It's normal, but it's due to the settings you have. It is configurable so you may be able to switch out of it. You're CSV is setup to collect LOOP packets (as distinct from REC or archive RECORDS), on top of that you're using the simulator to generate data. LOOP means you're getting

Re: [weewx-user] Cheetah Generator error reason '##'

2017-11-30 Thread Glenn McKechnie
Hi Susan, >From memory this is caused by a corrupted download from the BOM. One of the xml files will be incomplete and has ## as placeholders ( instead of data) within the file. Navigate to /var/lib/weewx/aussearch and delete the *.xml files and on the next run aussearch should replace them and

Re: [weewx-user] Decode the value of the DateTime field

2017-12-14 Thread Glenn McKechnie
It's Unixtime or epochtime. Run the command man date from a terminal window and you'll be bedazzled by the options. To convert that number string to something human readable, enter the following into your terminal and press enter. date -d @1510918732 Cheers Glenn rorpi - read only

Re: [weewx-user] Re: weewx-owfs failure with new Raspbian Stretch

2017-12-15 Thread Glenn McKechnie
The first couple of lines at pastebin are revealing... pi@raspberrypi:~ $ python temp_ds18b20.py (21.812, 71.2616) (21.812, 71.2616) ^CTraceback (most recent call last): File "temp_ds18b20.py", line 30, in time.sleep(1) KeyboardInterrupt That indicates that you aren't using an owfs

Re: [weewx-user] Re: weewx-owfs failure with new Raspbian Stretch

2017-12-15 Thread Glenn McKechnie
Howard, Good. I've subscribed and will follow the issue there. Miguel, I'll reply to your issue back on your original thread at https://groups.google.com/forum/#!topic/weewx-user/yO-z8aqzcU0 as it's unrelated to Howards problem here. Cheers Glenn rorpi - read only raspberry pi & various

Re: [weewx-user] --reading failure in weewx_3.8.0-1 and weewx-owfs-0.21 Raspberry Pi & DS18B20

2017-12-15 Thread Glenn McKechnie
level of complexity at this stage. Try it but I'd work on adding it, as extraTemp1, by customizing the report first. > > I'm a bit lost at this stage but very glad to see how close we are to get it done :) > > Regards, Cheers Glenn rorpi - read only raspberry pi & various weewx

Re: [weewx-user] Re: weewx-owfs failure with new Raspbian Stretch

2017-12-13 Thread Glenn McKechnie
Howard, Miguel Okay. The details of the pi I ran the working test on are... PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" NAME="Raspbian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" Linux weewx-public 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux owfs-common

Re: [weewx-user] New Install - Debian 9 Stretch

2017-11-09 Thread Glenn McKechnie
Dave, Try using su - rather than just su. Note the dash (-) after su, that dash fully sets your environment for root which should help with the gpg issue and the remaining errors to disappear. Don't worry about the squeeze line in the weewx repo , it should work regardless. Cheers Glenn rorpi

Re: [weewx-user] weewx-owfs failure with new Raspbian Stretch

2017-12-11 Thread Glenn McKechnie
No expert here but this may be something to do with the mtp-probe. If I plug my usb dongle into a systemd Pi I get... Dec 12 09:12:21 weewx-public kernel: [2549795.987157] usb 1-1.4: new full-speed USB device number 4 using dwc_otg Dec 12 09:12:21 weewx-public kernel: [2549796.120625] usb 1-1.4:

Re: [weewx-user] --reading failure in weewx_3.8.0-1 and weewx-owfs-0.21 Raspberry Pi & DS18B20

2017-12-11 Thread Glenn McKechnie
# Directory in which the database files are located > SQLITE_ROOT = /var/lib/weewx > > # Defaults for MySQL databases > [[MySQL]] > driver = weedb.mysql > # The host where the database is located > host = localhost > # The user name for logging in to the

Re: [weewx-user] Re: weewx-owfs failure with new Raspbian Stretch

2017-12-11 Thread Glenn McKechnie
On 12 December 2017 at 11:05, Howard Walter wrote: > > > Miguel, > Hopefully a solution to my issue will also solve your problem. > > Glenn and Vince, > Thanks for your suggestions. Several libmtp files were installed (by > default I assume); first removed

Re: [weewx-user] New newbie in group: Need script to export certain data to spreadsheet

2018-05-09 Thread Glenn McKechnie
Hi Chris, If you're happy to take all the data, and sort the chaff later, then the following may help. https://github.com/weewx/weewx/wiki/csv That will output all the data as a csv formatted file. binding: It's default is every loop packet which I suspect will be more often than you want the

Re: [weewx-user] Re: Cydia pomonella

2018-05-16 Thread Glenn McKechnie
crh...@lacusveris.com wrote: > I've whipped together a weeWX extension called cydia > . It graphically predicts > developmental stages of the codling moth (Cydia pomonella), an apple tree > pest, based on daily temperature measurements. See the

Re: [weewx-user] Uploads to WU

2018-01-15 Thread Glenn McKechnie
ling for them. > > -tk > > On Mon, Jan 15, 2018 at 4:29 PM, Glenn McKechnie <glenn.mckech...@gmail.com> > wrote: >> >> Various threads? Forget them, just open the new sticky posted today. >> >> "WU - Let us know your issues" specifically from the WU te

Re: [weewx-user] Re: Rpi read-only SD card system usage

2018-01-14 Thread Glenn McKechnie
Praveen, That's a question for rorpi-discussion Ask it over there and it will be answered there. Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie On 15 January 2018 at 00:50,

Re: [weewx-user] Re: Rpi read-only SD card system usage

2018-01-14 Thread Glenn McKechnie
Join! The same as you would have done for this group. Top left of page, under "rorpi discussion". It's a large Blue button "Apply to join group" next to the small G+ red icon Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie On 15 January

Re: [weewx-user] Re: Rpi read-only SD card system usage

2018-01-13 Thread Glenn McKechnie
On 14 January 2018 at 16:13, Praveen Chandrasekaran wrote: > Regarding 3 the data logger does have the data. So why can't the sql > database be reconstructed? > Ah, you have a datalogger, and it's a Davis, I missed that. The answer is - I don't know. An interesting

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2018-01-25 Thread Glenn McKechnie
Hi, The wxobs_incl.inc file's location can be moved using the skins config file. The default location was for a Debian install of apache2. It looks like you have it on a Synology NAS which has a different set of defaults (as well as an unusual filesystem layout). "Warning: require():

Re: [weewx-user] Re: Question about latitude/longitude

2018-01-10 Thread Glenn McKechnie
Keith, What I see at http://www.herriage.com/weewx/ are the values that Gary gets About this weather station: Location Latitude: 34° 00.64' N Longitude: 096° 25.54' W Altitude: 685 feet using the values from your weedebug.txt file. latitude = 34.010731 longitude = -96.425720

Re: [weewx-user] How to import archives from vantage data logger

2018-01-29 Thread Glenn McKechnie
Probably belongs on rorpi, but this is worth saying here. Tom K (weew2x's author) has reported that he's had a raspberry pi running for 5 years?? at 5 minute intervals, with an sqlite database and standard skin. I have to say that is mightly impressive. Seriously impressive; but it wasn't my

Re: [weewx-user] How to import archives from vantage data logger

2018-01-29 Thread Glenn McKechnie
Ah, I've just relocated the goal posts then. It's still a winner though. -- Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2018-01-30 Thread Glenn McKechnie
weewx.sdb" locally on my Synology > web server ... So this db has to be copied there? Am I wrong? > > Yves > > > Le jeudi 25 janvier 2018 18:48:38 UTC-5, Glenn McKechnie a écrit : >> >> Hi, >> >> The wxobs_incl.inc file's location can be moved using

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2018-01-31 Thread Glenn McKechnie
/remote Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie On 31 January 2018 at 10:18, Glenn McKechnie <glenn.mckech...@gmail.com> wrote: > Hi Yves, > > You are correct. > > After I last posted, I wondered whethe

Re: [weewx-user] 2.6 going to 3.8 and wee_extension

2018-02-04 Thread Glenn McKechnie
You're missing the "-- install" directive in both of those commands. sudo /home/weewx/bin/wee_extension /home/myideas/weewx-cmon-0.16.tgz should be... sudo /home/weewx/bin/wee_extension --install /home/myideas/weewx-cmon-0.16.tgz Ditto for weewx-forecast-3.2.19.tgz

Re: [weewx-user] Re: sync: failed

2018-01-31 Thread Glenn McKechnie
ype - make and model? If you don't feel confident enough to edit the script, send it to me and I'll do it here. Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie On 1 February 2018 at 10:30, Glenn McKechnie <glenn.mckech...@gmail.

Re: [weewx-user] Re: sync: failed

2018-01-31 Thread Glenn McKechnie
This isn't a problem with mesowx (as you've noted in your 2nd post) It's to do with establishing the connection to http://meteo-landeda.org/ They are aborting on you. This note on stackoverflow

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2018-01-31 Thread Glenn McKechnie
On 1 February 2018 at 09:43, Yves Martin wrote: > Hi Glenn, > > Actually, I'm using FTP, but this could be a good idea to use rsync. Is > there a way to change this setting easily? > You can stick to the FTP, especially if it's working! You can change it in weewx.conf , I

Re: [weewx-user] How to import archives from vantage data logger

2018-01-29 Thread Glenn McKechnie
Andrew, On 29 January 2018 at 22:19, Andrew Milner wrote: I would suggest you have a proper plan on how to cope with a read only rpi > - or maybe even just run the rpi and weewx in a standard configuration > until you know how everything works - especially if you

Re: [weewx-user] How to import archives from vantage data logger

2018-01-29 Thread Glenn McKechnie
On 29 January 2018 at 22:24, Praveen Chandrasekaran wrote: > I think backing up to a USB stick say once or twice in a day should do. > Glen has instructions on how to set it up and I do have a lot of USB sticks > lying around. That would ensure that on next powerup I dont

Re: [weewx-user] Re: One shot 'Daily Summaries' using php.

2018-01-31 Thread Glenn McKechnie
On 1 February 2018 at 16:02, Yves Martin wrote: > Hi Glenn, > > As soon as I send the question, I've got the answer looking in the > weewx.conf file. Sorry for that. > > What do you mean by "password-less access", mean no password? > Probably a poor description. it uses your

Re: [weewx-user] SyncError: sync archive: Failed to invoke ....

2018-02-06 Thread Glenn McKechnie
Hi Jean, I feel that this is all linked with the same problem that you had, back on the 1st Feb, in your post titled "sync failed" We modified your sync.py file (off list) in an attempt to stop hammering the server and that appeared to smooth things over for a while. However it appears that it

Re: [weewx-user] Re: Winddir

2018-02-17 Thread Glenn McKechnie
http://weewx.com/docs/usersguide.htm#StdWXCalculate ignore_zero_wind Indicates whether the wind direction should be undefined when the wind speed is zero. The default value is True: the wind direction will be undefined when wind speed is zero. To report the wind vane direction even when there

Re: [weewx-user] weewx-crt-0.18 install problem

2018-02-20 Thread Glenn McKechnie
Dave, What happens when you run the following command file /home/odroid/weewx-crt-0.18.tgz You should get some meaningful outoput eg: - file weewx-2017-193906.tar.gz weewx-2017-193906.tar.gz: gzip compressed data, last modified: Sat Nov 11 08:39:06 2017, max compression,

Re: [weewx-user] weewx-crt-0.18 install problem

2018-02-20 Thread Glenn McKechnie
t; When I run your suggested command I get this > > > odroid@odroid:~$ file /home/odroid/weewx-crt-0.18.tgz > /home/odroid/weewx-crt-0.18.tgz: HTML document, ASCII text, with very > long lines, with no line terminators > odroid@odroid:~$ > > > Dave > > > On

Re: [weewx-user] Simultaneous clone to mySQL for weewx and weewx-WD?

2018-01-03 Thread Glenn McKechnie
I had a need for an sqlite database to be generated at the same time as the mysql one that I actually use. It's flipped compared to your case though - mysql is my main database, sqlite is the duplicate. https://groups.google.com/forum/#!topic/weewx-development/-rOoK6oE1xY I haven't taken it any

Re: [weewx-user] Second crash after 11 days

2018-08-06 Thread Glenn McKechnie
Hi Steve, Last file to be ftp'd... Aug 6 07:56:22 raspi2 weewx[2463]: ftpgenerator: ftp'd 41 files in 9.45 seconds weewx is still running... Aug 6 07:58:01 raspi2 weewx[2463]: restx: PWSWeather: Published record 2018-08-06 07:58:00 EDT (1533556680) It's all downhill from here. What does this

Re: [weewx-user] Installation Problem on Mint 19 (32 bit) - python-imaging not available

2018-08-06 Thread Glenn McKechnie
Hi James, Try installing python-pil and see if that resolves the problem. (It should, as apt is suggesting it, and weewx is configured to use it) [...] > However the following packages replace it: > python-pil* sudo apt-get install python-pil -- Cheers Glenn rorpi - read only raspberry

Re: [weewx-user] Second crash after 11 days

2018-09-09 Thread Glenn McKechnie
Further to what has been said already. My experience with that sort of memory usage has been with the PIL, Pillow (or whatever it's now called) image library. In one case (a CentOS install) replacing it with a current pip version fixed it outright. In my case (debian) I could never get on top of

Re: [weewx-user] Re: Question about latitude/longitude

2018-01-24 Thread Glenn McKechnie
In case they have gone back to umlauts or whatever by the time someone else visits http://www.herriage.com/weewx/index.html. I copied 2 outHumidity images from there that have sql strings after the title, or in its place. Specifically ', sum(windspeed) FROM archive WHERE dateTime>' and 'SELECT *

Re: [weewx-user] Re: Rpi read-only SD card system usage

2018-01-13 Thread Glenn McKechnie
Hi Praveen, 1) It will keep increasing in size as data is accumulated - the size will be dependent on archive interval and time (measured in years usually!) I wouldn't sweat on the size increasing to the point where it would be a serious problem though, or at least not before you became aware of

Re: [weewx-user] Re: Rpi read-only SD card system usage

2018-01-13 Thread Glenn McKechnie
Hi Praveen, It's on the first page, but I agree that it probably doesn't leap out at you. You can put it anywhere you like but the default is in memory. The filesystem layout is defined around an apt install of weewx. The directory /var/lib/weewx is moved into RAM and mounted as a tmpfs with a

Re: [weewx-user] Read mqtt as a service

2018-01-20 Thread Glenn McKechnie
Hi, I can't help with mqtt, or getting your project working, but the error in that code is to reshuffle the 4 syslog defs back to the top of the code, so they are defined before they are called. Have a look at https://github.com/weewx/weewx/blob/master/examples/pmon/bin/user/pmon.py and you'll

  1   2   3   >