[weewx-user] Re: fileparse problems

2017-05-23 Thread gjr80
> > > Is there a corresponding field name for "rain since midnight?" > > No. The fileparse driver is very basic, it takes field names and corresponding values from a text file and outputs them in a loop packet to be used by weeWX. The fileparse driver needs to output a field called rain that ho

[weewx-user] Re: fileparse problems

2017-05-23 Thread Ian Boag
Thanks In the JSON stuff the "RainHourly" stuff is rain in the last hour - I call it rainRate because that's the field name in index.html.tmpl. Is there a corresponding field name for "rain since midnight?" The double conversion is not all that hard looks easier than the alternative. I

[weewx-user] Re: fileparse problems

2017-05-23 Thread gjr80
On Wednesday, 24 May 2017 07:08:21 UTC+10, Ian Boag wrote: > > I have it 95% sorted sorted. I go off to the "weather station" website, >> pick up the JSON file, mash it round a bit into what weewx is expecting and >> bingo. It feels a bit odd that I read the info in metric then convert in >> to

[weewx-user] Re: fileparse problems

2017-05-23 Thread Ian Boag
> > I have it 95% sorted sorted. I go off to the "weather station" website, > pick up the JSON file, mash it round a bit into what weewx is expecting and > bingo. It feels a bit odd that I read the info in metric then convert in > to US units so weewx can do the conversion back again. > Just

Re: [weewx-user] Re: fileparse problems

2017-04-26 Thread Thomas Keffer
Ian, you're going to have to be more specific. What do you mean "...sort of work"? Are you still having the same problem as before (loading the driver), or are we chasing a different problem? The logs may look "benign" to you, but they often contain clues. As for viewing a sqlite database, you c

[weewx-user] Re: fileparse problems

2017-04-26 Thread Ian Boag
Sounds like a good idea - but how do I view an SQLite database on a non-GUI Pi? ssylog looks pretty benign - no complaints about anything On Thursday, April 27, 2017 at 12:34:05 AM UTC+12, Andrew Milner wrote: > > Blow the web page - what is getting put in the database?? > > As Gary said - logs

[weewx-user] Re: fileparse problems

2017-04-26 Thread Andrew Milner
Blow the web page - what is getting put in the database?? As Gary said - logs from startup until after a couple of archive periods have passed would help identify what is happening. On Wednesday, 26 April 2017 12:24:05 UTC+3, gjr80 wrote: > Going to need logs from startup for at least a coup

[weewx-user] Re: fileparse problems

2017-04-26 Thread gjr80
Going to need logs from startup for at least a couple of archive periods. 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

[weewx-user] Re: fileparse problems

2017-04-26 Thread Ian Boag
That did sort of work. Fileparse.py runs because I put some "write what you read" stuff in the file and that is all there. But nothing gets through to the web page. On Wednesday, April 26, 2017 at 2:44:53 PM UTC+12, gjr80 wrote: > > Hi, > > I have never used fileparse mys

[weewx-user] Re: fileparse problems

2017-04-25 Thread gjr80
Hi, I have never used fileparse myself but WeeWX drivers are normally specified without the .py. Try: [FileParse] poll_interval=2.5 path=/home/pi/obs_data driver=user.fileparse You will need to stop/start weeWX after the chnage. Gary On Wednesday, 26 Ap