[weewx-user] Re: Vantage Pro data logger corruption - Daylight Saving Time?

2021-03-28 Thread Mike Revitt
I have just created a python script that can detect that the clock has changed, which can be used stop WeeWX and clean the Vantage memory, when daylight savings happens then 1 hour later restart WeeWX I think this code will do what I want, but can only test it twice a year, would appreciate som

[weewx-user] Re: Vantage Pro data logger corruption - Daylight Saving Time?

2021-03-28 Thread Mike Revitt
I have just created a python script that can detect that the clock has changed, which can be used stop WeeWX and clean the Vantage memory, just need to work out the logic to re-start it. Plan to put this in cron running every 5 minutes so it just runs and will automatically fix the clock change

[weewx-user] Re: Vantage Pro data logger corruption - Daylight Saving Time?

2021-03-28 Thread Mike Revitt
snap, just posted the same message and wee_device --clear-memory was the only way I could get it running again as well. I want a cron job fix On Sunday, March 28, 2021 at 10:51:52 AM UTC+1 Alastair L wrote: > Hi. Looking back at previous posts memory corruption of the Davis WS has > been disc

[weewx-user] Daylight Savings Error

2021-03-28 Thread Mike Revitt
I hit that twice yearly daylight savings issue again today. and tried all my usual fixes. There is a thread on this but it is getting long and unwieldy. But before porting to the Rasberry Pi, I never had an issue with the sp

[weewx-user] Re: 5 year max temperature graphs

2021-02-09 Thread Mike Revitt
[image: 5yearhi.png]Forgot to add the images [image: 2yearhi.png] On Tuesday, February 9, 2021 at 2:20:20 PM UTC Mike Revitt wrote: > I have been trying to add some additional graphs to my website showing > temperature changes over 2, 5, 10 years. but when I create the graphs the x >

[weewx-user] 5 year max temperature graphs

2021-02-09 Thread Mike Revitt
I have been trying to add some additional graphs to my website showing temperature changes over 2, 5, 10 years. but when I create the graphs the x axis has an interesting behaviour which I think is down to the x_label_format, I have attached a couple of graphs that demonstrate the issue, but it

Re: [weewx-user] Re: Database Backup File not a Database Error

2021-01-20 Thread Mike Revitt
n the web visit >> https://groups.google.com/d/msgid/weewx-user/52eb0a6c-a7d1-4fcf-9f22-717f6bfe22fdn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/52eb0a6c-a7d1-4fcf-9f22-717f6bfe22fdn%40googlegroups.com?ut

[weewx-user] Re: Generate failed with exception ''

2021-01-20 Thread Mike Revitt
Thanks all, You gave me the pointers on where to look and the issue was the sed command I was using, it as also updating group_altitude sed -i "s:altitude =.*:altitude = $WEEWX_ALTITUDE:g" /home/weewx/weewx.conf Changing it to sed -i "s: altitude =.*: altitude = $WEEWX_ALTITUDE:g" /hom

[weewx-user] Generate failed with exception ''

2021-01-19 Thread Mike Revitt
I have just completed a clean and new install of 4.3.0 onto a Debian 10 host running on an ARM processor. I used setup.py, but left everything as the default and ran the following commands python3 setup.py build python3 setup.py install --no-prompt On starting I get all the images but only tab

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

2021-01-17 Thread Mike Revitt
That is the next thing I plan to document, but at the moment I just do a file copy and am converting that to a SQLite backup and I am also planning to take advantage of S3 versioning so I have more than 1 copy On Sunday, January 17, 2021 at 11:16:10 PM UTC LeaF wrote: > Mike, > You mentioned up

[weewx-user] Re: Inserting missing data using wee_import

2021-01-17 Thread Mike Revitt
:44:48 PM UTC Mike Revitt wrote: > All appear to have worked perfectly thanks Gary, > > I can see all the history now and just need to wait for the week, month > and year images to refresh > > On Friday, January 15, 2021 at 1:15:49 PM UTC gjr80 wrote: > >> Yes, wee_

Re: [weewx-user] Recording External Temperatures

2021-01-16 Thread Mike Revitt
I tend to use Cloud Formation with a User Data script. If I can get it working I will share the template on here On Saturday, January 16, 2021 at 6:04:27 PM UTC vince wrote: > On Saturday, January 16, 2021 at 5:55:11 AM UTC-8 mi...@cougar.eu.com > wrote: > >> I used to use Virtual Box all the t

Re: [weewx-user] Recording External Temperatures

2021-01-16 Thread Mike Revitt
Great idea Vince, I used to use Virtual Box all the time but these days tend to spin up EC2 hosts, but hadn't even thought of that for WeeWX testing, so definitely going to give that a go And as I know a few have asked, I have finished documenting what I did here https://www.cougar.eu.com/usefu

[weewx-user] Re: Inserting missing data using wee_import

2021-01-15 Thread Mike Revitt
r the period concerned, that will take care >>> of everything in the daily summary tables. >>> >>> Gary >>> >>> On Friday, 15 January 2021 at 20:50:53 UTC+10 mi...@cougar.eu.com wrote: >>> >>>> I have also discovered some co

Re: [weewx-user] Recording External Temperatures

2021-01-15 Thread Mike Revitt
ary 15, 2021 at 10:25:03 AM UTC steep...@gmail.com wrote: > Mike, > I would be very interested to see that code you have written to insert > data into the database. I am currently using FilePile but always interested > in looking at alternative ways. > Ian > > On Fri, 15 Jan

[weewx-user] Re: Inserting missing data using wee_import

2021-01-15 Thread Mike Revitt
GER >> and have no idea what to put in them >> >> On Friday, January 15, 2021 at 9:51:59 AM UTC Mike Revitt wrote: >> >>> I am having some interesting challenges around updating my database with >>> some missing data. >>> >>> Now that I ha

[weewx-user] Re: Inserting missing data using wee_import

2021-01-15 Thread Mike Revitt
I have also discovered some columns sum REAL, count INTEGER, wsum REAL, sumtime INTEGER and have no idea what to put in them On Friday, January 15, 2021 at 9:51:59 AM UTC Mike Revitt wrote: > I am having some interesting challenges around updating my database with > some missing data. &

Re: [weewx-user] Recording External Temperatures

2021-01-15 Thread Mike Revitt
Thank you both for your advice and input. In the end I have taken a bit of advice from both you you and some other information I found online, and in the interests of keeping things simple have managed to get my Ecowitt uploading data files to a directory on the raspberry Pi and have written a

[weewx-user] Inserting missing data using wee_import

2021-01-15 Thread Mike Revitt
I am having some interesting challenges around updating my database with some missing data. Now that I have integrated my Caravan temperatures into WeeWX I am have extracted the data from the period that I was recording it but not updating WeeWX. I have created a css file with the data and wee

[weewx-user] Re: Default frequency of generation of images

2021-01-14 Thread Mike Revitt
Solved my own problem, when cleaning up some rouge values in the database I set the values to '' instead of null, this caused a value error On Thursday, January 14, 2021 at 11:32:34 AM UTC Mike Revitt wrote: > I was about to post the same question, but in my case the daily i

[weewx-user] Re: Default frequency of generation of images

2021-01-14 Thread Mike Revitt
I was about to post the same question, but in my case the daily images have different generation times. Looking at the page some look like they are being generated every 5 minutes, the archive interval, but other look like they are generated hourly. Is there a setting for this On Monday, Jun

Re: [weewx-user] Recording External Temperatures

2021-01-13 Thread Mike Revitt
t; > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Mike Revitt > *Sent: *13 January 2021 09:37 > *To: *weewx-user > *Subject: *Re: [weewx-user] Recording External Temperatures > > > > I have seen t

Re: [weewx-user] Recording External Temperatures

2021-01-13 Thread Mike Revitt
entation > that may save you a lot of time. > > > > https://github.com/gjr80/weewx-gw1000 > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Mike Revitt > *Sent: *13 January 2021 09:07 >

[weewx-user] Recording External Temperatures

2021-01-13 Thread Mike Revitt
In my never ending quest to extend WeeWX, I have purchased Ann Ecowitt weather station and set it up so that it records the temperature in my Caravan. This works perfectly but records the data on the Ecowitt website. I have now managed to extend this to publish the weather stats into a director

[weewx-user] Re: Publishing WeeWX to AWS S3

2021-01-04 Thread Mike Revitt
- how do you get your stable .eu.com FQDN onto your website's ip address ? I moved my service to Rout53 some time ago from DynDNS, this post shows how I did that when I was hosting at home https://www.cougar.eu.com/useful-guides/networking-tips/replacing-dyndns-with-route/index.html

[weewx-user] Publishing WeeWX to AWS S3

2021-01-03 Thread Mike Revitt
It is nearly 2 years since I migrated my Web Site to AWS S3 but that was done in a rather clumsy way. So when I moved my WeeWX deployment to my Rasberry Pi I decided to do it properly. With time on my hands over Christmas I have finally gotten around to writing up how I did it and for those tha

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

2021-01-03 Thread Mike Revitt
This was on of my main concerns when I first moved my WeeWX station to a Raspberry Pi, so I have added a nightly backup to AWS S3 for the database and as S3 now has versioning that will be my next addition so I have more than one backup . I haven't gotten around to writing this up yet, but it h

Re: [weewx-user] WiFi Temperature Gauge

2020-10-24 Thread Mike Revitt
wrote: > Hi Mike, > > You could use the Ecowitt WH31 outdoor temp & humidity sensor coupled with > a GW1000 to do this. > > In fact the GW1000 can monitor 8 WH31's so you could keep track of temp & > humidity in multiple areas. > > regards > > Tim

[weewx-user] Re: Pi and Weewx

2020-10-21 Thread Mike Revitt
I back mine up to AWS S3 once per day, which is also where I host the website, cost is negligible and I have created a Python extension to do the job for me as part of the Weewx install On Monday, October 5, 2020 at 1:09:39 AM UTC+1 eastcentra...@gmail.com wrote: > I've finally got Weewx worki

Re: [weewx-user] WiFi Temperature Gauge

2020-10-21 Thread Mike Revitt
to the sensorpush server which also record the temps and > humidiy for > hour, day, week, month, year report. > > On Wed, Oct 21, 2020 at 8:20 AM Mike Revitt wrote: > >> Sweet solution, >> >> I take it you need the base station and sensor >> >> And how d

Re: [weewx-user] WiFi Temperature Gauge

2020-10-21 Thread Mike Revitt
ndalone wifi temp gauge, or part of a wifi weather station? >> >> On 21 Oct 2020, at 10:30 pm, Mike Revitt wrote: >> >> Just wondered if anyone has a remote temperature gauge, WiFi connected, >> that they use to feed into Weews. >> >> If so what make/mode

Re: [weewx-user] WiFi Temperature Gauge

2020-10-21 Thread Mike Revitt
art of a wifi weather station? > > On 21 Oct 2020, at 10:30 pm, Mike Revitt wrote: > > Just wondered if anyone has a remote temperature gauge, WiFi connected, > that they use to feed into Weews. > > If so what make/model temperature gauge did you use and how did you ge

[weewx-user] WiFi Temperature Gauge

2020-10-21 Thread Mike Revitt
Just wondered if anyone has a remote temperature gauge, WiFi connected, that they use to feed into Weews. If so what make/model temperature gauge did you use and how did you get the data into Weewx. The getting the data in bit I am less concerned about having successfully gotten my Raspberry P

Re: [weewx-user] Re: weewx-cmon doesn't read cpu_temp of Raspberri PI

2020-05-09 Thread Mike Revitt
Glad I could help On Friday, May 8, 2020 at 2:37:16 PM UTC+1, steeple ian wrote: > > Works perfectly. > > On Fri, 8 May 2020 at 09:41, Mike Revitt > wrote: > >> I have this working on my Rasberry pi at >> https://weather.cougar.eu.com/telemetry.html and this is ho

[weewx-user] Re: weewx-cmon doesn't read cpu_temp of Raspberri PI

2020-05-08 Thread Mike Revitt
. #Copyright (c) 2009-2020 Mike Revitt #See the file LICENSE.txt for your rights. """Gets the CPU temperature on a Rasberry Pi""" *import* weewx *from*weewx.engine*import* StdService *from*gpiozero*import* CPUTemperature *class* AddCp

[weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-04-03 Thread Mike Revitt
Thanks so far! > > Peter > > Am Samstag, 28. März 2020 15:46:21 UTC+1 schrieb Mike Revitt: >> >> Can't find the CPU frequency code, but while I am looking I thought you >> might find this interesting, this is the CPU temperature graph from my >> Raspberry Pi.

Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-04-03 Thread Mike Revitt
>> >> Gary >> >> -- 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...@googlegroups.com. To view this discussion on the

[weewx-user] Re: Changes with Belchertown skin & DarkSky

2020-04-03 Thread Mike Revitt
Spotted the same news and I have found a few, but they are all based on Dark Sky. I think we are going to have to wait for the industry to settle down a bit first :-( The best I have found so far is https://weatherwidget.io On Tuesday, March 31, 2020 at 7:03:49 PM UTC+1, Pat wrote: > > Hi eve

[weewx-user] Re: weewx 4.0.0b16 stopped working at 02:00 this morning

2020-03-29 Thread Mike Revitt
kitchen wrote: > > I'm getting similar results to Mike Revitt - no html updates. > Can anyone explain the workaround - I don't know if I have "overnight > backup" > > IK > > On Sunday, 29 March 2020 12:21:12 UTC+1, Mike Revitt wrote: >> >> when t

Re: [weewx-user] Re: weewx 4.0.0b16 stopped working at 02:00 this morning

2020-03-29 Thread Mike Revitt
Thanks Phil, Never had to do it for the spring clock change before though. Do you know what the difference between dump and clear memory is? On Sunday, March 29, 2020 at 3:19:29 PM UTC+1, Phil Green wrote: > > Because of DST coming into play at 2am I stop Weewx and ran > wee_device —clear-mem

[weewx-user] weewx 4.0.0b16 stopped working at 02:00 this morning

2020-03-29 Thread Mike Revitt
when the clocks changed this morning weewx stopped downloading data from my Vantage Pro, or at least appeared to Mar 29 00:59:54 weewx vncserver-x11[450,root]: AgentInitCheck: no response from agent Mar 29 00:59:59 weewx vncserver-x11[450,root]: AgentInitCheck: agent comms failure Mar 29 02:00:

[weewx-user] Weewx 4.0.0b16 finally up and running on my new Raspberry Pi

2020-03-28 Thread Mike Revitt
For those that are interested, I have completed the port of my weewx installation from my iMac to a new Raspberry Pi 4. I have weeks running as a service via systemctl, and I am publishing the website up to an AWS S3 bucket every 5 minutes via BOTO3 and backing up the database also to an S3 buc

[weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-28 Thread Mike Revitt
amp;psc=1 if you want to buy one in the UK [image: daytemp.png] On Thursday, March 26, 2020 at 5:45:52 PM UTC, Meteo Oberwallis wrote: > > Am Donnerstag, 26. März 2020 17:42:14 UTC+1 schrieb Mike Revitt: > > O have worked out how to get the CPU frequency which sort of helps, but

[weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-26 Thread Mike Revitt
O have worked out how to get the CPU frequency which sort of helps, but would need to look into this On Thursday, March 26, 2020 at 4:09:05 PM UTC, Meteo Oberwallis wrote: > > Hello. > Is it also possible to read out the CPU load from the Raspberry and write > it to the database? -- You receiv

Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
nt.record['extraTemp1'] = cpu.temperature > > -tk > > > On Wed, Mar 18, 2020 at 8:38 AM Mike Revitt > wrote: > >> Thanks Thomas, >> >> Was looking at that but didn't know how, my Raspberry Pi reports the >> temperature in Celsius and th

Re: [weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Thanks Thomas, Was looking at that but didn't know how, my Raspberry Pi reports the temperature in Celsius and the database is in Fahrenheit and obviously a check would be best. But how to do that easily? On Wednesday, March 18, 2020 at 2:14:32 PM UTC, Thomas Keffer wrote: > > Well done! > >

[weewx-user] Re: how to insert additional data (cpu temp) into skins?

2020-03-18 Thread Mike Revitt
Not sure if you are still looking for solutions, but I liked you idea so had a look at implementing it in Python. Turns out it was easier than I thought. 1) create a python file and put it into the bin/user directory, this file gets the CPU temperature, coverts it to Fahrenheit and puts it into

Re: [weewx-user] Whew as a service on Raspberry Pi

2020-03-17 Thread Mike Revitt
I have now gotten to the bottom of the crashes. The copy of the database uptp S3 takes more than 5 minutes and as my archive interval is 5 minutes I was getting a checksum error as the source file was getting modified before completing. I have fixed that by doing a local copy prior to the copy

Re: [weewx-user] Whew as a service on Raspberry Pi

2020-03-17 Thread Mike Revitt
Thanks Bob, I had already found Restart=always RestartSec=60 And these appear to have stopped the crashes, and I know they shouldn't but my system has now been running without a restart for nearly 24 hours, the previous best was 11 hours. If it survives for more than a few days then I am goin

Re: [weewx-user] Whew as a service on Raspberry Pi

2020-03-16 Thread Mike Revitt
e where it's > been running continuously for well over a year: > http://www.threefools.org/weewx/status/index.html > > -tk > > On Mon, Mar 16, 2020 at 8:47 AM Mike Revitt > wrote: > >> Thanks Thomas, >> >> I found a parameter I can set in the service

Re: [weewx-user] Whew as a service on Raspberry Pi

2020-03-16 Thread Mike Revitt
he log at /var/log/syslog, rather > than rely on status commands. This may give you clues. For example, systemd > may be harvesting weewxd for memory. > > 'Enabling' a process means it will get started *when the system boots,* not > after a crash. > > -tk >

Re: [weewx-user] Formatting stats.py extension

2020-03-16 Thread Mike Revitt
t=self.generator.skin_dict) > # 4 > > See if that helps. > > -tk > > > > On Mon, Mar 16, 2020 at 7:35 AM Mike Revitt > wrote: > >> I am successfully running the stats.py extension as detailed here >> http://www.weewx.com/docs/customizing.htm#defini

[weewx-user] Formatting stats.py extension

2020-03-16 Thread Mike Revitt
I am successfully running the stats.py extension as detailed here http://www.weewx.com/docs/customizing.htm#defining_new_tags and am now trying to format the output. The output is displayed in statistics.html using the syntax shown below Maximum temperature to date: $all

[weewx-user] Whew as a service on Raspberry Pi

2020-03-16 Thread Mike Revitt
I am running weewx as a service on my Raspberry Pi and have been having problems with durability. Having been running weewx for several years on my Mac I know that from time to time the service will stop, but on my Mac they are always restarted by the daemon service. But on the Raspberry Pi,

[weewx-user] Re: Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
Thanks Gary, There is indeed inline python code in the index.html.tmpl and I will also make your suggest change to current.inc and see if that fixes it. But closer investigation of my code has revealed the problem. This is how I change the text in my barometer, so based on your suggestion I hav

[weewx-user] Re: Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
Thanks Gary, There is indeed inline python code in the index.html.tmpl and I will make your suggest change to current.inc and see if that fixes it. On Sunday, March 8, 2020 at 12:45:09 PM UTC, gjr80 wrote: > > Mike, > > Stop looking for 'NoneType', you won't find anything that will help, its >

Re: [weewx-user] Re: Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
Thanks Thomas, That gives me something to go open I can discount the issue with index.html.tmpl because whilst I have modified it I simply copy it in from my source control so is identical every time. Which leave the final issue, running weewxd from an unpacked tar file. But I just realised t

[weewx-user] Re: Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
yet been released, but is in > beta test. So your V4 weewx should be regarded as a beta test version > (which may be being compared to a live V3.9 version), rather than your sole > live version. > > Well, that is my opinion anyway > > > > On Sunday, 8 March 20

[weewx-user] Re: Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
Further update After trying all combinations of file refresh I kept getting the same error so I renamed the weewx directory to weewx.broken and attempted to reinstall weewx from my previous build, with some interesting results. Bear in mind that nothing has been changed in the environment since

[weewx-user] Re: Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
Update After an extensive search in my environment I have found a hidden directory that I can't cd into weewx/bin.20200217183229/pip/_internal/utils And this directory contains a file packaging.py This is the only fine in my entire environment that contains the string NoneType. Below is t

[weewx-user] Re: Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
data_name) feed_parser = FeedParser() # The following line errors out if with a "NoneType" TypeError if # passed metadata=None. feed_parser.feed(metadata) return feed_parser.close() On Sunday, March 8, 2020 at 9:21:06 AM UTC, Mike Revitt wrote: > > I am hav

[weewx-user] Weewx ERROR in weewx.cheetahgenerator Weewx 4.0 Python3

2020-03-08 Thread Mike Revitt
I am having a really strange behaviour at the moment, which I thought I have fixed but it came back yesterday. Occasionally Weewx will stop with no errors, but not be doing anything and when you do a status check it shows that the process has died. pi@raspberrypi:/home/weewx $ sudo /etc/init.d/

Re: [weewx-user] wee_import of Weather Underground in Weewx 4.0

2020-02-23 Thread Mike Revitt
ied it with my own key, and it works. > > Mike, that's just the way the WU is. It's a very unreliable API, full of > frustrations. We try our best with wee_import and wunderfixer, but we've > also learned not to put too much energy into chasing WU bugs. > > On S

Re: [weewx-user] wee_import of Weather Underground in Weewx 4.0

2020-02-23 Thread Mike Revitt
again. It has >> been a recurring problem for the last 2 months. See >> https://apicommunity.wunderground.com/weatherapi/topics/ssl-certificate-error-9lwea9u1krwgd >> >> On Sun, Feb 23, 2020 at 6:11 AM Mike Revitt wrote: >> >>> Just trying to import some d

Re: [weewx-user] wee_import of Weather Underground in Weewx 4.0

2020-02-23 Thread Mike Revitt
l-sslerror-ssl-certificate-verify-failed-certificate-verify-failed-ssl-c > > Or, it could be WU messing around with their certificates, again. It has > been a recurring problem for the last 2 months. See > https://apicommunity.wunderground.com/weatherapi/topics/ssl-certificate-error

[weewx-user] wee_import of Weather Underground in Weewx 4.0

2020-02-23 Thread Mike Revitt
Just trying to import some data from Weather Underground I am getting an SSL Certificate error, even when trying to connect to my own station. Guessing there is a certificate I need, but can't work out which one. This is the one I want to import Using WeeWX configuration file /Users/Mike/OneD

[weewx-user] Re: report_timing parameter being ignored

2020-02-23 Thread Mike Revitt
= 10,30,50 * * * * # @daily On Friday, February 21, 2020 at 11:11:59 PM UTC, vince wrote: > > On Friday, February 21, 2020 at 2:52:39 PM UTC-8, Mike Revitt wrote: >> >> I have created a skin to backup my sqlite database file daily but it runs >> every archive perio

[weewx-user] Re: report_timing parameter being ignored

2020-02-23 Thread Mike Revitt
My solution is also a variant on the FTP skin, actually based on the S3 skin I have been creating On Friday, February 21, 2020 at 11:43:14 PM UTC, Chris Richmond wrote: > > A while ago, someone had copy/edited the rsync or ftp report to back up >> the database. Search the archive for that thre

[weewx-user] Re: report_timing parameter being ignored

2020-02-23 Thread Mike Revitt
Just done a Git Pull, and am running that, and indeed it has fixed the report_timing issue. Now running an extended test to determine if the core dump is also fixed. I am hoping that they were connected On Sunday, February 23, 2020 at 8:26:17 AM UTC, Mike Revitt wrote: > > I am r

[weewx-user] Re: report_timing parameter being ignored

2020-02-23 Thread Mike Revitt
eewx.reportengine: > Invalid field '' in '5, ,0, ,*, ,*, ,*' > > Pull down the latest from master and it will be fixed. > > Gary > > On Saturday, 22 February 2020 16:57:05 UTC+10, Mike Revitt wrote: > > Yes using python 3, and probably

Re: [weewx-user] Re: report_timing parameter being ignored

2020-02-22 Thread Mike Revitt
Thanks Gary Sent from my iPhone Mike Revitt Database Migration Specialist – Database Freedom Amazon Web Services e: revit...@amazon.com <mailto:revit...@amazon.com>  | p: +44.7825.063.466| w:   aws.amazon.com On 22 Feb 2020, at 07:02, gjr80 wrote:  Yep, here's the tell: F

[weewx-user] Re: More strange behaviour with Python3, Weewx 4 on Raspberry Pi

2020-02-21 Thread Mike Revitt
743]: weewx[25743] DEBUG s3transfer.utils: Acquiring 0 Hint: Some lines were ellipsized, use -l to show in full. On Saturday, February 22, 2020 at 6:46:50 AM UTC, Mike Revitt wrote: > > I noticed during testing that the process would occasionally abort when > running from the command l

[weewx-user] More strange behaviour with Python3, Weewx 4 on Raspberry Pi

2020-02-21 Thread Mike Revitt
I noticed during testing that the process would occasionally abort when running from the command line. I assumed this wa an anomaly caused by the code I was testing, but after letting it run overnight via the daemon I noticed that the program had aborted at 05:00, although there were no errors

[weewx-user] report_timing parameter being ignored

2020-02-21 Thread Mike Revitt
I have created a skin to backup my sqlite database file daily but it runs every archive period. Any advice on what to change to make this work my weewx [[S3-Backup]] # Using AWS-S3 to copy the results to a webserver is treated as just # another report, albeit one with an unus

[weewx-user] Re: Calling custom posts

2020-02-16 Thread Mike Revitt
ors] > > generator_list = user.s3upload.S3UploadGenerator > > should do the trick. > > Gary > > On Sunday, 16 February 2020 00:29:13 UTC+10, Mike Revitt wrote: >> >> You have been super helpful so far Gary, so bear with me, I am almost >> there. >> >> M

[weewx-user] Re: Calling custom posts

2020-02-15 Thread Mike Revitt
ps.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/80298daf-c899-40ae-930d-5bf8c362c781%40googlegroups.com. # #Copyright (c) 2009-2020 Mike Revitt # #See the file LICENSE.txt for your full rights. # """For uploading files to a remove

[weewx-user] Re: Calling custom posts

2020-02-15 Thread Mike Revitt
You have been super helpful so far Gary, so bear with me, I am almost there. My program is now called S3UploadGenerator and is in the bin/user directory. I have also successfully installed weewx 4.0 on my raspberry pi using python3, which is also now the default Calling it from the command line

[weewx-user] Re: Custom Reports

2020-02-12 Thread Mike Revitt
That worked perfectly, can now call it from the command line and it works exactly as I need. The next challenge is on my other thread but looks like I have an answer there as well. All going well I should have an S3 interface running within the next couples of weeks as a standalone add on. Ha

[weewx-user] Re: Calling custom posts

2020-02-12 Thread Mike Revitt
That makes sense, I have created a skin with its own weewx.conf already, was struggling to work out how to call the generator in its own file Do I then call it from the S3 conf file like this [Generators] generator_list = weeutil.s3upload.S3Upload -- where weeutil is the directory

[weewx-user] Calling custom posts

2020-02-11 Thread Mike Revitt
I have written a report to copy files to an AWS S3 bucket, separate thread on that, but now an trying to incorporate it into my deployment. The easy way, and the way I have done it so far is to modify reportengine.py, but there must be a better way # ==

[weewx-user] Custom Reports

2020-02-11 Thread Mike Revitt
I have just finished writing a utility to copy files to an S3 bucket, which I based on ftpupload.py in the weevil directory. This is now working perfectly when I call it with hard coded values, but when I add the code at the bottom to get the variables from weewx.conf I get the following error

[weewx-user] Weewx 4, any Gotchas to be aware of?

2020-02-09 Thread Mike Revitt
Almost finished my port of Weewx 3.9.2 from my MAC to my new Rasberry Pi today, but my S3 integration needs Boto3, which needs Python 3. So I am now deploying Weewx 4, but thought I would check to see if there are any gotchas to be aware of before I go live with it. I use a Vantage Vue as my w

[weewx-user] Re: Displaying statistics for all time in statistics.inc

2020-01-26 Thread Mike Revitt
.weewx.com/docs/customizing.htm#defining_new_tags > > > On Sunday, January 26, 2020 at 7:02:02 AM UTC-7, Mike Revitt wrote: >> >> I am trying to modify statistics.inc to show the statistics for all time >> >> I want to modify >> >> #set $archive_data =

[weewx-user] Displaying statistics for all time in statistics.inc

2020-01-26 Thread Mike Revitt
I am trying to modify statistics.inc to show the statistics for all time I want to modify #set $archive_data = [$day, $week, $month, $year, $rainyear] to #set $archive_data = [$day, $week, $month, $year, $all] but this just results in no data being returned. Is there a parameter that I can us

Re: [weewx-user] How to Publish your Weewx Website to an AWS S3 bucket

2018-05-27 Thread Mike Revitt
m/d/optout. #Copyright (c) 2009-2015 Mike Revitt #See the file LICENSE.txt for your rights. import os.path import subprocess import datetime import getpass import weewx from weewx.engine import

Re: [weewx-user] How to Publish your Weewx Website to an AWS S3 bucket

2018-05-27 Thread Mike Revitt
Hi Thomas, I have been looking at this today and it looks like I can copy engine.py to a new program and then call that from the [Engine] section for weewx.conf. Any thoughts report_services = weewx.engine.StdPrint, weewx.engine.StdReport, weewx.AWSengine.S3_Sync Mike Revitt Global

[weewx-user] Re: How to Publish your Weewx Website to an AWS S3 bucket

2018-04-30 Thread Mike Revitt
unday, April 29, 2018 at 12:03:03 PM UTC+1, Mike Revitt wrote: > > All, > > I got this working a couple of months ago and have finally gotten around > to documenting how I did it. > > The guide is published here > <https://www.cougar.eu.com/useful-guides/weewx-g

[weewx-user] Re: Pillow + Mac OSX 10.11.X and earlier

2018-04-29 Thread Mike Revitt
Good spot Alan, I have documented how to do that here On Tuesday, April 17, 2018 at 8:52:20 AM UTC+1, Alan Klein wrote: > > Just a heads up for others that are trying to install weewx on Mac OS X > 10.11.X and e

[weewx-user] Getting Weewx to work in OSX Sierra

2018-04-29 Thread Mike Revitt
Just realised that I did not publish this when I figured out why my gauges were not displaying properly. Turns out that the problem is with PIL and the solution is to replace it with Pillow. Instructions on how to do this are here

[weewx-user] How to Publish your Weewx Website to an AWS S3 bucket

2018-04-29 Thread Mike Revitt
All, I got this working a couple of months ago and have finally gotten around to documenting how I did it. The guide is published here and you can see the Weewx website running at my domain, which is hosted on

Re: [weewx-user] How to create NOAA reports that span multiple years

2018-04-23 Thread Mike Revitt
Thanks Thomas, I will let you know how I get on Mike Revitt Global Database Cloud Migration Specialist e: m...@cougar.eu.com | p: +44.7825.063.466 > On 22 Apr 2018, at 15:32, Thomas Keffer wrote: > > Hi, Mike > > You will need a search list extension, which requires wri

[weewx-user] How to create NOAA reports that span multiple years

2018-04-22 Thread Mike Revitt
I have been playing with my Weewx setup again recently and am now running a successful sync to AWS S3 buckets for the display of toy website, I will shortly write up how I did this. But for now I am trying to extend the NOAA reports so that as well as showing reports on a per year basis I can i

[weewx-user] Re: Changing to BST Clocks move forward an hour

2017-03-26 Thread Mike Revitt
7;t let the vantage driver store the logger data between start >summertime and start summertime + 3600 s >- dump all logger data to the weewx database >- (not tested and NOT reccommended) change the time stamp of the >newest weewx record to time stamp+3600 > >

[weewx-user] Re: Change to Summer time

2017-03-26 Thread Mike Revitt
Found the fix, and it is posted in https://groups.google.com/forum/#!topic/weewx-user/rM2IDREAWiI The command has been moved from wee_config_device to wee_device On Sunday, March 26, 2017 at 11:53:51 AM UTC+1, gjr80 wrote: > > Hi, > > Can't help on daylight saving, fortunately we do not have it

[weewx-user] Re: Changing to BST Clocks move forward an hour

2017-03-26 Thread Mike Revitt
And I can confirm all fixed https://www.cougar.eu.com/Weewx/MountWeather/index.html On Sunday, March 26, 2017 at 12:04:16 PM UTC+1, Mike Revitt wrote: > > I think I have found the fix that updates the database without the loss of > data > > webmail:Weewx Mike$ sudo launchctl unl

[weewx-user] Re: Changing to BST Clocks move forward an hour

2017-03-26 Thread Mike Revitt
, 2017 at 11:50:37 AM UTC+1, Mike Revitt wrote: > > I used to fix it with these commands and this resulted in no loss of data > > > https://www.cougar.eu.com/useful-guides/weewx-guides/managing-the-change-to.html > > But the dump command no longer works so looking for an altern

[weewx-user] Re: Changing to BST Clocks move forward an hour

2017-03-26 Thread Mike Revitt
I think i have solved it, with no loss of data, fix running on my system now On Sunday, March 26, 2017 at 11:50:37 AM UTC+1, Mike Revitt wrote: > > I used to fix it with these commands and this resulted in no loss of data > > > https://www.cougar.eu.com/useful-guides/weewx-guid

[weewx-user] Re: Changing to BST Clocks move forward an hour

2017-03-26 Thread Mike Revitt
I used to fix it with these commands and this resulted in no loss of data https://www.cougar.eu.com/useful-guides/weewx-guides/managing-the-change-to.html But the dump command no longer works so looking for an alternative On Sunday, March 26, 2017 at 11:36:38 AM UTC+1, Luc Heijst wrote: > > It

[weewx-user] Change to Summer time

2017-03-26 Thread Mike Revitt
Today I have hit the annual issue caused by the change to summer time. In previous years I have fixed it by following these commands https://www.cougar.eu.com/useful-guides/weewx-guides/managing-the-change-to.html But the latest changes to Weewx have removed the dump command webmail:Weewx Mike

[weewx-user] Re: How to diagnose graph issues

2016-09-25 Thread Mike Revitt
Found the progblem thanks, PIL is a little harder to install on Mavericks, but sorted now. The solution was $ easy_install --find-links http://www.pythonware.com/products/pil/ Imaging Which I will add to my MAC install guides -- You received this message because you are subscribed to the Goo

  1   2   >