Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-04 Thread gjr80
I presume that your working passwordless ssh is from your WeatherPi machine. Which user on WeatherPi has passwordless ssh? If it is, for example, user pi and WeeWX is being run as root then I expect WeeWX rsync will fail with the error shown. You need to make sure that the account that runs Wee

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread gjr80
OK, understand. Ideally you want all of the processing of a loop packet (ie all of the services that do something with or to the loop packet, eg StdCalibrate, StdQC, StdArchive, your service etc - all those with a binding to NEW_LOOP_PACKET) to execute within a loop period. The loop period vari

Re: [weewx-user] Re: MQTT with Belchertown skin - errors, No module named mqtt

2018-10-04 Thread Jonathan Zitelman
So I finally was able to dial in a connection on MQTT.fx after enabling SSL/TLS. Is this a protocol that has to also be enabled on the Belchertown skin to get the functionality to work? -JZ On Thursday, October 4, 2018 at 6:47:07 PM UTC-5, Jonathan Zitelman wrote: > > Pat, > > This was the cl

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
I am augmenting the VP2 data, and looking for an idea what the maximum time my code could run to without interrupting or missing data from my VP2. Right now, on my 'production' system I expect additional code to run about 3/4 second, with most of it spent connecting to MQTT, but I know that I c

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Jonathan Zitelman
Apologies, apparently it just took 48 hours to generate graphs (longer than I expected) interestingly, the file generation counts have not changed. The CSS issue is still puzzling me though. -Jonathan On Thursday, October 4, 2018 at 7:08:24 PM UTC-5, Jonathan Zitelman wrote: > > Having a simi

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread gjr80
Um, ah yes. Will mention that one to Tom. Gary On Friday, 5 October 2018 12:05:05 UTC+10, Thomas Carlin wrote: > > Re: the new_archive_packet() recommendation, I didn't think about it, but > I agree. It is posted written in the "second data source" documentation > with the function new_archive

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread gjr80
On Friday, 5 October 2018 11:58:44 UTC+10, Thomas Carlin wrote: > > Perfect! thank you Gary! I knew it had to be something simple like > that. Everything is up and running now, and I'll just need to catch the > necessary exceptions, and optimize the collection as much as possible. Is > there

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

2018-10-04 Thread Steve Meltz
Gary..attached is my weewx.conf file (called weewxa.conf just to keep it separated in my backup folder) On Thu, Oct 4, 2018 at 9:44 PM gjr80 wrote: > I really don't think this is an issue with any cron jobs, certainly not a > backup script that runs independently of WeeWX at 2359 daily. I guess

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
Re: the new_archive_packet() recommendation, I didn't think about it, but I agree. It is posted written in the "second data source" documentation with the function new_archive_packet(). On Thursday, October 4, 2018 at 7:52:37 PM UTC-6, gjr80 wrote: > > Hi Thomas, > > It sounds like you should b

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
Perfect! thank you Gary! I knew it had to be something simple like that. Everything is up and running now, and I'll just need to catch the necessary exceptions, and optimize the collection as much as possible. Is there a target time I should shoot for, or just try to make it as fast as possi

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread gjr80
Hi Thomas, It sounds like you should be using event.packet rather than event.record. Archive records are found in event.record, loop packets are found in event.packet. It's a subtle but important distinction. You have probably moved on from the code you posted above, and I probably should have

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

2018-10-04 Thread gjr80
I really don't think this is an issue with any cron jobs, certainly not a backup script that runs independently of WeeWX at 2359 daily. I guess we have tried winding back the services being run so that it was easier to re-enable them later but the issue has remained. I think the next step will

[weewx-user] Re: Raspberry kernels later than 4.4 hang when running weewx.

2018-10-04 Thread Cameron D
So what we have so far is: *No Problem:* *Vantage:* uses standard serial over USB kernel code (ttyusb) *fousb*: uses PyUSB/libusb0; write via control channel; read uses interruptRead() but only after control msg to request each packet *Hangs:* *WMR300*: uses PyUSB/libusb0; write via data

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

2018-10-04 Thread Thomas Keffer
After 701 days (!), my RPi-B has stabilized with 71.6 MB total 41.3 MB RSS 6.0 MB shared WeeWX *can* run with extraordinary long uptimes. -tk On Thu, Oct 4, 2018 at 5:32 PM vince wrote: > After 7 hours up, my pi-zero with nothing extra has

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

2018-10-04 Thread vince
After 7 hours up, my pi-zero with nothing extra has stabilized with: 57.7 MB total memory used by weewx 32.7 MB resident set size for weewx 7.5 MB shared memory usage for weewx -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe f

[weewx-user] Re: Manually add min and max data

2018-10-04 Thread Thomas Carlin
Hi Gary, I've started working on this service, and I have run into an issue. A quick refresher so you don't have to read through the whole thread: I am writing an MQTT service to add data to the loop packets. You pointed me in the right direction with the NEW_LOOP_PACKET, and I'm 99% of th

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Jonathan Zitelman
Having a similar issue with missing graphs. Looking at syslog it shows cheetah generating 4 files for Highcharts and 12 files for Belchertown fairly consistently. Nothing in the graphs sub-directory on html path though, so nothing for FTP to send to remote server. - seguin.texwx.info Addition

Re: [weewx-user] Re: MQTT with Belchertown skin - errors, No module named mqtt

2018-10-04 Thread Jonathan Zitelman
Pat, This was the closest thread for this particular issue... I followed your blog guide and have mosquitto up and running on my RPi. Already had certbot running so that part was easy. I can subscribe on localhost with no problem on 1883 and see output from weewx, but cannot seem to connect

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Thomas Sch
I hope one or two cup(s) of coffee will help you :) Am Freitag, 5. Oktober 2018 01:22:43 UTC+2 schrieb Thomas Sch: > > So I reinstalled everything and it seems to work now. > I think my mistake was skin section in weewx.conf. Maybe wrong url or > something else. But it is running again :) > Tha

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

2018-10-04 Thread Steve Meltz
Vince..this is the output of sudo ls -la /var/spool/cron/crontabs total 16 drwx-wx--T 2 root crontab 4096 Oct 4 16:52 . drwxr-xr-x 3 root root4096 Dec 31 1969 .. -rw--- 1 pi crontab 1151 Sep 5 09:35 pi -rw--- 1 root crontab 1090 May 14 2015 root This is the output of crontab -e

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Thomas Sch
So I reinstalled everything and it seems to work now. I think my mistake was skin section in weewx.conf. Maybe wrong url or something else. But it is running again :) Thanks Pat for your great work. This is the best skin ever made for weewx. Am Donnerstag, 4. Oktober 2018 21:41:50 UTC+2 schrieb

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

2018-10-04 Thread vince
On Thursday, October 4, 2018 at 1:57:48 PM UTC-7, Steve2Q wrote: > Gary and Vince After sending my previous post, I started reading some more > about memory leaks. It appears that cron jobs (if poorly coded) can > sometimes be the cause. > Unlikely if they just run and exit. > With that in

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

2018-10-04 Thread Steve Meltz
Gary and Vince After sending my previous post, I started reading some more about memory leaks. It appears that cron jobs (if poorly coded) can sometimes be the cause. With that in mind, I am attaching both the cron, and the process it starts so maybe you can pick up something. I am also having a p

RE: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Pat O'Brien
Setup debug = 1 in weewx.conf then restart weewx and see what’s in the log file? Typically /var/log/syslog From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On Behalf Of Thomas Sch Sent: Thursday, October 04, 2018 3:28 PM To: weewx-user Subject: Re: [weewx-user] Re

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Thomas Sch
Yes I did. I dont know why it doesnt work. Am Donnerstag, 4. Oktober 2018 20:52:49 UTC+2 schrieb Pat: > > Ok, looks good. Did you make your configuration changes in weewx.conf then > restart weewx after doing that? > > > > > > *From:* weewx...@googlegroups.com [mailto: > weewx...@googlegroup

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

2018-10-04 Thread vince
> > On Thu, Oct 4, 2018, 9:23 AM gjr80 > > wrote: > >> Looks to me like you are still going to crash, just a bit later than >> previous. In fact if you were able to look at your previous plots when you >> had a crash at 11 days xx hours, you could probably make a pretty good >> guesstimate as

RE: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Pat O'Brien
Ok, looks good. Did you make your configuration changes in weewx.conf then restart weewx after doing that? From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On Behalf Of Thomas Sch Sent: Thursday, October 04, 2018 2:50 PM To: weewx-user Subject: Re: [weewx-user] Re: B

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Thomas Sch
I used first: *wget https://github.com/poblabs/weewx-belchertown/archive/weewx-belchertown-0.7.tar.gz * then *sudo wee_extension --install weewx-belchertown-0**.7**.tar.gz* Am Donnerstag, 4. Oktober 2018 20:41:37 UTC+2 schrieb Pat: > > How did you install the skin? > > > > *From:* weewx...@goo

RE: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Pat O'Brien
How did you install the skin? From: weewx-user@googlegroups.com [mailto:weewx-user@googlegroups.com] On Behalf Of Thomas Sch Sent: Thursday, October 04, 2018 2:41 PM To: weewx-user Subject: Re: [weewx-user] Re: Belchertown skin for weewx now available! Another question. I reseted my raspb

Re: [weewx-user] Re: Belchertown skin for weewx now available!

2018-10-04 Thread Thomas Sch
Another question. I reseted my raspberry, I reinstalled everything. But I cant see highcharts anymore. I used the option highcharts_enabled = 1 but there is nothing. Link: http://www.wetter-wittlich.de/graphs/ Am Mittwoch, 26. September 2018 22:16:38 UTC+2 schrieb Juan Antonio Mosquera: > > al

Re: [weewx-user] StdReport thread shut down this morning

2018-10-04 Thread vince
On Thursday, October 4, 2018 at 10:31:02 AM UTC-7, Thomas Keffer wrote: > > What is emitting the log lines marked "wxdata?" That's not part of WeeWX. > Perhaps whatever extension you're using raised an exception, but failed to > log it? > >> >> Entirely possible. It's an ancient artifact of: #

[weewx-user] Re: Raspberry kernels later than 4.4 hang when running weewx.

2018-10-04 Thread Ruben Navarro Huedo
I will try it this weekend. I will tell you the results. El jueves, 4 de octubre de 2018, 17:55:04 (UTC+2), Andrew Milner escribió: > > For what I is worth I have never seen this on my RPi with either vantage > driver or fousb driver with any kernel, and always update/upgrade every six > months

Re: [weewx-user] StdReport thread shut down this morning

2018-10-04 Thread Thomas Keffer
I suspect the message "Shutting down StdReport thread" is an artifact. It is emitted when WeeWX restarts for any reason. Something else caused the restart. What is emitting the log lines marked "wxdata?" That's not part of WeeWX. Perhaps whatever extension you're using raised an exception, but fai

[weewx-user] StdReport thread shut down this morning

2018-10-04 Thread vince
Have we had any reports of the engine stopping the StdReport thread for some reason ? Weewx gracefully recovered with no manual intervention needed, but I haven't seen this one before and just stumbled upon it when I noticed my memory usage dropped this morning so I poked around the logs. Loo

Re: [weewx-user] Re: Secure FTP from ftpupload call?

2018-10-04 Thread dhindley
I have recently signed up to 1&1 to host my weather website and want to get weewx to upload files to it, allowing for the fact that they now use SFTP, not plain FTP, so I can't use the FTP weewx facility. I tried to use Matthew Wall's weew-sftp extension, but couldn't manage to get the python p

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

2018-10-04 Thread Steve Meltz
Thanks Gary. Is it possible that a small cron i have set up could do this? Every day at 0001 i have the archive.sdb zipped and uploaded to a folder on my web site. Other than that is there any tools available that i can use to track down the leak? Steve On Thu, Oct 4, 2018, 9:23 AM gjr80 wrote:

[weewx-user] Re: Raspberry kernels later than 4.4 hang when running weewx.

2018-10-04 Thread Andrew Milner
For what I is worth I have never seen this on my RPi with either vantage driver or fousb driver with any kernel, and always update/upgrade every six months or so. On Thursday, 4 October 2018 18:30:02 UTC+3, Cameron D wrote: > > An issue has emerged where some systems, initially WMR300 and WMR2

[weewx-user] Raspberry kernels later than 4.4 hang when running weewx.

2018-10-04 Thread Cameron D
An issue has emerged where some systems, initially WMR300 and WMR200, will cause total system lockup on certain kernel versions. Because it is a hard crash of the kernel, no log file is produced. Older versions 4.4.x seem to be stable, while the problem has been reported

[weewx-user] Re: Oregon Scientific WMR300 issues reading outside temperature and humidity into weewx

2018-10-04 Thread Cameron D
Markus, check this post for a driver with extra debugging that might help understanding this problem. Cameron. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscri

[weewx-user] WMR300 - intermittent and partial loss of loop data

2018-10-04 Thread Cameron D
The rc5 and rc6 drivers shjipped with the weewx releases had issues where, after some time (days to weeks) the system would stop reporting any data. That was addressed in this update of 24th September . At least two users have

[weewx-user] Re: RainMachine API for weewx- Driver Wanted/Needed

2018-10-04 Thread G Hammer
At the top of the hour, weewx reported. Oct 4 10:00:59 ftp weewx[26437]: restx: RainMachine: Published record 2018- 10-04 10:00:00 EDT (1538661600) Mini-8 received the data: 2018-10-04 10:00:59,405 - INFO - rmHTTPResourceApi4Parser:415 - Local Weather API push: 1538661600.0: {'maxtemp': 17.5972

Re: [weewx-user] Re: WMR300 driver update

2018-10-04 Thread Ruben Navarro Huedo
Thanks I will try. -- 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. For more options, visit https://groups.google.com/d/opt

Re: [weewx-user] Re: WMR300 driver update

2018-10-04 Thread Thomas Keffer
It's in the Wiki. https://github.com/weewx/weewx/wiki/Run-as-a-non-root-user On Thu, Oct 4, 2018 at 6:22 AM Ruben Navarro Huedo wrote: > I haven't tested it with non-root . > How can I give privileges to /dev ? > > -- > You received this message because you are subscribed to the Google Groups >

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

2018-10-04 Thread gjr80
Steve, Looks to me like you are still going to crash, just a bit later than previous. In fact if you were able to look at your previous plots when you had a crash at 11 days xx hours, you could probably make a pretty good guesstimate as to when your system will crash; it will be when memory usa

Re: [weewx-user] Re: WMR300 driver update

2018-10-04 Thread Ruben Navarro Huedo
I haven't tested it with non-root . How can I give privileges to /dev ? -- 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. Fo

[weewx-user] Re: RainMachine API for weewx- Driver Wanted/Needed

2018-10-04 Thread G Hammer
I am running the current release version of weewx 3.8.2 I installed 0.3 and it works from the weewx side. Oct 4 09:00:59 ftp weewx[26437]: restx: RainMachine: Published record 2018- 10-04 09:00:00 EDT (1538658000) Mini-8 received it. 2018-10-04 09:00:59,363 - INFO - rmHTTPResourceApi4Parser:41

[weewx-user] Re: WMR300 driver update

2018-10-04 Thread Cameron D
There are multiple issues being posted here, neither of which are likely to be from the changes I made in the original thread post. I will create two new threads - one for each of what seem to be the major issues, and see if we can concentrate the discussion. Cameron. -- You received this mes

Re: [weewx-user] Re: WMR300 driver update

2018-10-04 Thread Thomas Keffer
I hesitate to wade into this, but are you running as a privileged user (i.e., 'root')? What happens if you run unprivileged (with appropriate /dev permissions, of course)? -tk On Thu, Oct 4, 2018 at 4:37 AM Ruben Navarro Huedo wrote: > And the same with wmr200 driver > > -- > You received this

[weewx-user] Re: WMR300 driver update

2018-10-04 Thread Ruben Navarro Huedo
And the same with wmr200 driver -- 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. For more options, visit https://groups.go

[weewx-user] Re: RainMachine API for weewx- Driver Wanted/Needed

2018-10-04 Thread nicu . pavel
On Thursday, October 4, 2018 at 12:13:49 AM UTC-7, nicu@rainmachine.com wrote: > > > > On Wednesday, October 3, 2018 at 9:07:20 AM UTC-7, G Hammer wrote: >> >> Here's the answer: >> >> Oct 3 12:05:58 ftp weewx[725]: restx: RainMachine: Failed upload >> attempt 1: > verify failed (_ssl.c:72

[weewx-user] Re: RainMachine API for weewx- Driver Wanted/Needed

2018-10-04 Thread nicu . pavel
On Wednesday, October 3, 2018 at 9:07:20 AM UTC-7, G Hammer wrote: > > Here's the answer: > > Oct 3 12:05:58 ftp weewx[725]: restx: RainMachine: Failed upload attempt > 1: failed (_ssl.c:726) > Can you tell me what weewx version are you using ? (weewx -v). I'm using the latest from git (3.9.