[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Andrew Milner
Rain since midnight = latest daily rain "sum" + sum of ("rain" in looprecords where looptime > time of latest archive) or change rain field in loop raw table to be interarchive running total rather than loop value and then Rain since midnight = latest daily rain "sum" + loop interarchive running

[weewx-user] Re: WindRose data file format

2017-03-16 Thread Robert Mantel
It has been changing, I left the scroller_text blank in the weewx.conf to force it to use the forecast, but then my change hijacks the forecast text. It seems to be changing. I have a pay account with WU so I poll them every 15 minutes for the forecast. The query I do with them is the three

[weewx-user] Re: weewxd says typeError 'float' object is not iterable

2017-03-16 Thread gjr80
Without knowledge of the full mypiweewxdriver.py it is hard to say, the error is due to the accumulator expecting a (speed, direction) tuple but it is getting a float, so I woudl suspect something funny going on with your wind data. When I see outtemp when weeWX uses outTemp (case matters) I get

[weewx-user] Re: WindRose data file format

2017-03-16 Thread gjr80
Yes, but does it change when the contents of /var/tmp/fctdata chnage? v0.2.10 will now set the scroller text from the contents of the file specified at option scroller_file. Refer to the comments at the top of rtgd.py. Gary On Friday, 17 March 2017 12:37:34 UTC+10, Robert Mantel wrote: > > So

[weewx-user] Re: weewxd says typeError 'float' object is not iterable

2017-03-16 Thread Lloyd Brown
I tried casting the winddir as a int in the file generation and the file shows an int for wind and winddir but the _get_as_float() must have changed them to float Enter code here...pi@pi3four:/home/weewx $ cat /var/ramdisk/wxdata outtemp=0.0 intemp=63.1249993131 outhumidity=56.8 inhumidity=30

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Luc Heijst
The import is not a problem, Jachym. It is the export of the data. We need a query to sum the rain values since midnight (local time). i don't know how to do that. Luc -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this grou

[weewx-user] weewxd says typeError 'float' object is not iterable

2017-03-16 Thread Lloyd Brown
I have a Pi 3 running the latest version of weeWX 3.7.0 installed using setup.py It has a custom driver that is a combination of fileparse.py and Neville Davis's piweather.py that is put in /home/weewx/bin/user When I try and run weewxd from the command line I get the typeError. I know it loo

[weewx-user] Re: WindRose data file format

2017-03-16 Thread Robert Mantel
So all I did was replace self.scroller_text with file('/var/tmp/fctdata').read() and that worked perfectly in the RealtimeGaugeDataThread section and it brought my text forecast back. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscri

[weewx-user] Re: WindRose data file format

2017-03-16 Thread gjr80
I have been giving some thought as to how a user provided forecast string could be included. I run another weeWX service that pulls in textual forecast and current conditions data from WU via their API and stores selected data in another database. So given a binding and db field name I can sim

[weewx-user] Re: Cannot establish comms over MQTT. Weewx configuration file and syslog provided.

2017-03-16 Thread mwall
On Thursday, March 16, 2017 at 5:49:57 PM UTC-4, mr wrote: > > I get data that looks like this: > > Mar 16 17:44:17 DarkstarTerminal weewx[10576]: restx: MQTT: data: > {'rain24_in': '0.0', 'barometer_inHg': '31.097015', 'outHumidity': > '79.910447', 'maxSolarRad': '98.9681106652', 'dewpoi

[weewx-user] Re: Cannot establish comms over MQTT. Weewx configuration file and syslog provided.

2017-03-16 Thread mr
Thanks Matt After changing the debug = 2 and then restarting Weewx... sudo /etc/init.d/weewx stop sudo /etc/init.d/weewx start In the terminal:$ sudo tail -f /var/log/syslog I get data that looks like this: Mar 16 17:44:17 DarkstarTerminal weewx[10576]: restx: MQTT: data: {'rain24_in':

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Jachym Brzezina
Luc can you not use the default Data import feature? It is quite flexible and you can set exactly what the format of the data input is and as long as all the variables needed are there it almost always is possible to import it or? On Thursday, March 16, 2017 at 12:46:10 PM UTC+1, Luc Heijst w

Re: [weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Lucas “Hans” Heijst
Yes, it is possible. Currently I'm looking for the possibilities for an automated upload of historical weewx data to meteotemplate. It might take some days/weeks before I have sorted it out and have tested it. Luc Verstuurd vanaf mijn iPad > Op 16 mrt. 2017 om 12:10 heeft Ruben Navarro Huedo

[weewx-user] Re: Why there are records double the archive_interval apart?

2017-03-16 Thread Louis De Lange
It's a wunderground thing. Your log will say that records have been uploaded correctly, but they are mysteriously missing. Use the utility wunderfixer that comes with weewx to fill in the missing data. On Thursday, 16 March 2017 14:22:14 UTC-7, Theophanis Kontogiannis wrote: > > Hello all. > >

[weewx-user] Re: Cannot establish comms over MQTT. Weewx configuration file and syslog provided.

2017-03-16 Thread mwall
On Thursday, March 16, 2017 at 5:23:48 PM UTC-4, mr wrote: > > Hello, > > I am trying to run Weewx 3.7.0 with the MQTT client extension. Everything > seems to be working out just fine but I have been unsuccessful in > establishing communication between Weewx and any MQTT client. I have no > user

[weewx-user] Cannot establish comms over MQTT. Weewx configuration file and syslog provided.

2017-03-16 Thread mr
Hello, I am trying to run Weewx 3.7.0 with the MQTT client extension. Everything seems to be working out just fine but I have been unsuccessful in establishing communication between Weewx and any MQTT client. I have no username or password. My topic is new_mountain_test. Below is my weewx.co

[weewx-user] Why there are records double the archive_interval apart?

2017-03-16 Thread Theophanis Kontogiannis
Hello all. I have weewx 3.7 Config file: http://pastebin.com/0RP9c9vW I start weewx every 0 and 30 minutes via crontab I stop weewx every 6 and 36 minutes via crontab The log file of the last two runs: http://pastebin.com/KuFJwyU0 The problem is that persistently on every iteration, there re

[weewx-user] Re: My reports do not run

2017-03-16 Thread Theophanis Kontogiannis
That clears things out. Thank you. I get Mar 16 21:31:09 tweety weewx[24551]: engine: Starting main packet loop. ... Mar 16 21:35:24 tweety weewx[24551]: cheetahgenerator: Generated 14 files for report StandardReport in 4.41 seconds Down to 6 minutes looks ok now, if weewx runs every 30

[weewx-user] Re: Cache Problem

2017-03-16 Thread vince
On Thursday, March 16, 2017 at 7:59:29 AM UTC-7, Joe Percival wrote: > > Recently my webhost (bluehost) started .. > yeah - they're notorious for 'helping'. Try setting up email forwarders to gmail and watch not 'all' of your mail get forwarded yet you never know what they didn't forward.

Re: [weewx-user] Cache Problem

2017-03-16 Thread Joe Percival
It may be. I had not thought of using a parameter on the image src. It'll be interesting to see if it works. Thank you! On Thursday, March 16, 2017 at 8:24:02 AM UTC-7, Tom Keffer wrote: > > Is this thread > > helpful? > >

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Luc Heijst
Mathhew and Tom, I came across this same problem and changed in restx the INFO message to a DEBUG message as follows: if self.log_success: if weewx.debug >= 2: _time_str = timestamp_to_string(_record['dateTime'])

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread mwall
On Thursday, March 16, 2017 at 12:52:44 PM UTC-4, Ruben Navarro Huedo wrote: > > Debug is set to 0 but: > > Mar 16 17:50:41 MeteoElche weewx[2569]: restx: Meteotemplate: Published > record 2017-03-16 17:50:41 CET (1489683041) > Mar 16 17:50:43 MeteoElche weewx[2569]: restx: Meteotemplate: Publishe

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Ruben Navarro Huedo
Debug is set to 0 but: Mar 16 17:50:41 MeteoElche weewx[2569]: restx: Meteotemplate: Published record 2017-03-16 17:50:41 CET (1489683041) Mar 16 17:50:43 MeteoElche weewx[2569]: restx: Meteotemplate: Published record 2017-03-16 17:50:44 CET (1489683044) Mar 16 17:50:46 MeteoElche weewx[2569]: r

Re: [weewx-user] Re: Where in the db is the current daily rain total?

2017-03-16 Thread Richard Sears
I just put the file in a subdirectory and call it from a root cronjob: */1 * * * * /usr/bin/php /scripts/weewx_to_meteo-zeus.php > /dev/null 2>&1 On Thursday, March 16, 2017 at 9:17:22 AM UTC-7, Luc Heijst wrote: > > Thanks a lot Richard for the script, > > I can use your script to work at the

[weewx-user] Re: My reports do not run

2017-03-16 Thread Andrew Milner
When you start/stop weewx how long after the start do you see @Starting main packet loop@ appearing in the log? The first reports should be 5 minutes after starting main loop. Between the start of weewx and start main loop fousb will be retrieving the historical records from the logger - so y

Re: [weewx-user] Re: Where in the db is the current daily rain total?

2017-03-16 Thread Luc Heijst
Thanks a lot Richard for the script, I can use your script to work at the following: Because the weewx and meteotempalte databases are not on the same computer. Either I update the meteotemplate database on the webserver remotely or I send the data via http to a self-written updateApi.php which

Re: [weewx-user] Re: Where in the db is the current daily rain total?

2017-03-16 Thread Richard Sears
You Bet - See Attached. On Thursday, March 16, 2017 at 7:29:20 AM UTC-7, Luc Heijst wrote: > > Hi Richard, > > Can you please share with us your script to export data frrom weewx to > meteotemplate? I don't like reinventing the wheel! -:) > > Luc > > On Monday, 11 April 2016 03:58:01 UTC-3,

Re: [weewx-user] Re: Where in the db is the current daily rain total?

2017-03-16 Thread Richard Sears
Absolutely - See Attached! On Thu, Mar 16, 2017 at 7:29 AM, Luc Heijst wrote: > Hi Richard, > > Can you please share with us your script to export data frrom weewx to > meteotemplate? I don't like reinventing the wheel! -:) > > Luc > > > On Monday, 11 April 2016 03:58:01 UTC-3, Richard Sears wro

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread mwall
On Thursday, March 16, 2017 at 11:26:59 AM UTC-4, Ruben Navarro Huedo wrote: > > Using loop it generates a lot of registers in my syslog. > How could i dissable these continuos meteotemplate log registers? > when you system is running the way you want it, set debug=0 -- You received this messa

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Ruben Navarro Huedo
Using loop it generates a lot of registers in my syslog. How could i dissable these continuos meteotemplate log registers? El jueves, 16 de marzo de 2017, 15:09:15 (UTC+1), mwall escribió: > > > > On Thursday, March 16, 2017 at 10:00:03 AM UTC-4, Ruben Navarro Huedo > wrote: >> >> Great ! >> >> H

[weewx-user] Re: WindRose data file format

2017-03-16 Thread Robert Mantel
Please ignore this, I had some uncommented text that was buggering up the conf file...working good. Now I need to figure out how to get my last rain and forecase json query into your setup. For the forcast I had the following in the gauge-data.txt.tmpl: $fc=file('/var/tmp/fctdata').read().

Re: [weewx-user] Cache Problem

2017-03-16 Thread Thomas Keffer
Is this thread helpful? -tk On Thu, Mar 16, 2017 at 7:59 AM, Joe Percival wrote: > Recently my webhost (bluehost) started adding scripts, without notice or > permission, that institute both page and browser caching which has

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Ruben Navarro Huedo
My weewx is using sqlite Is possible then import it ? -- 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, v

[weewx-user] Re: WindRose data file format

2017-03-16 Thread Robert Mantel
Looks like I'm getting parse error #012 On Thursday, 16 March 2017 10:59:11 UTC-4, Robert Mantel wrote: > > I went through the step by step instructions to add the realtime gauges > but when I start weewx I'm getting a parse error on the weewx.conf "with > several errors starting at line 500".

[weewx-user] Cache Problem

2017-03-16 Thread Joe Percival
Recently my webhost (bluehost) started adding scripts, without notice or permission, that institute both page and browser caching which has resulted in users being presented with old images unless the image name is changed somehow. I was wondering if there might be a way to do the following: 1)

[weewx-user] Re: WindRose data file format

2017-03-16 Thread Robert Mantel
I went through the step by step instructions to add the realtime gauges but when I start weewx I'm getting a parse error on the weewx.conf "with several errors starting at line 500". The realtime stanza was added to the end of the file should it go somewhere else? Also I set it up to create t

[weewx-user] Re: My reports do not run

2017-03-16 Thread Theophanis Kontogiannis
And the problem is: Starting weewx without ever stopping it, runs the reports for the first time about five minutes after it starts, and every five minutes thereof. Starting/stopping weewx every thirty minutes (letting it run for 7 minutes) does not run the reports. Ever! (to avoid duplicate a

Re: [weewx-user] Re: Where in the db is the current daily rain total?

2017-03-16 Thread Luc Heijst
Hi Richard, Can you please share with us your script to export data frrom weewx to meteotemplate? I don't like reinventing the wheel! -:) Luc On Monday, 11 April 2016 03:58:01 UTC-3, Richard Sears wrote: > > hank you both, it is clear to me now. I wrote a script that exports data > from weewx

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Luc Heijst
Matthew already answered your first question! Your meteotemplate settings in weewx.conf should look like: [StdRESTful] ... [[Meteotemplate]] server_url = http://your-domain-name/template/api.php password = your-meteotemplate-update-password binding = loop # archive or

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Ruben Navarro Huedo
Thanks a lot :-) -- 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/optou

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread mwall
On Thursday, March 16, 2017 at 10:00:03 AM UTC-4, Ruben Navarro Huedo wrote: > > Great ! > > How did you configure the uploaded to use loop packets? > > I am testing now meteotemplate 12 with mwall uploaded, but it is updating > each 5 minutes. > in its default configuration, the uploader sends

[weewx-user] Re: My reports do not run

2017-03-16 Thread Theophanis Kontogiannis
Apparently the truth is always in the logs. The reports will run 00:05 plus few seconds. BR Theo -- 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+unsu

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Ruben Navarro Huedo
Great ! How did you configure the uploaded to use loop packets? I am testing now meteotemplate 12 with mwall uploaded, but it is updating each 5 minutes. Also... could be added to meteotemplate database all weewx old historic data? Thanks a lot -- You received this message because you are su

Re: [weewx-user] Releasing V3.7.0

2017-03-16 Thread Geoff Cusick
Great - thanks for that. The default post_interval is 900, so I'll leave things there. I'll update to 3.7.1 when it's released. Thanks again Geoff -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receivi

[weewx-user] Re: Live Steel Series Gauges

2017-03-16 Thread Jachym Brzezina
On Thursday, March 16, 2017 at 12:46:10 PM UTC+1, Luc Heijst wrote: > > I always wanted a live version of the Steel Series Gauges from Gerrit > Grunwald and Mark Crossley. > My Davis Vantage Pro2 is read by two weewx drivers, vantage and > meteostick, and both drivers emit loop packets each 2.

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

2017-03-16 Thread Peter Humphrey
Thanks for the pointers, I'll check hardware version and try a USB cable with the +5 line cut.It is a temporary loss of signal when USB is connected...PeterOn 16 Mar 2017 11:38 am, Glenn McKechnie wrote: On 16 March 2017 at 21:25, Peter Humphrey wrote:Apologies for draggi

[weewx-user] Live Steel Series Gauges

2017-03-16 Thread Luc Heijst
I always wanted a live version of the Steel Series Gauges from Gerrit Grunwald and Mark Crossley. My Davis Vantage Pro2 is read by two weewx drivers, vantage and meteostick, and both drivers emit loop packets each 2.5 seconds. My first attempt was to use the MesoWX package to fill on the webser

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 several years. > > I recen

[weewx-user] Re: My reports do not run

2017-03-16 Thread Theophanis Kontogiannis
Thank you. I have changed archive_interval to 300 seconds. Could you kindly explain to me: weewx starts at 00:00:00. With archive_interval=read_interval=300sec=5minutes when will the *first* report run? At 00:05:00 (or so?) at 00:10:00, at some random point between the two or something el

[weewx-user] Re: Problem with rain measurements Fine Offset weewx

2017-03-16 Thread Theophanis Kontogiannis
Once more revisiting this. Replaced the magnet switch inside the rain gauge, confirmed the "clicks" are passed on the main station board and still the same. No rain reads on the console. Possible problems: The rain gauge measurements are not understood by the main board.

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

2017-03-16 Thread Peter Humphrey
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 several years. I recently installed WeeWx/Apache2 running headless on an early Rasp