Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread gjr80
Hi Kevin, No not quite. Just like $day gives aggregates since the start of the day, $hour provides aggregates from the start of the hour. So to use $hour you use exactly the same syntax as with $day eg: $hour.rain.sum displays total rainfall since the top of the hour and $hour.windGust.max

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread Kevin Lloyd
Hi Gary, That's very helpful. Thank you. Now that you mention it, showing from the top of the hour would probably be better. So to be clear... If I want to display the total rain since the top of the hour, I would use: $span($hour.rain.sum) If I want to display the max wind gust since the top

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread gjr80
Kevin, in this case you want the sum so $span($hour_delta=1).rain.sum should do what you want. Note that this gives the sum over the last 60 minutes, you can use $hour.rain.sum to get the total rain since the top of the hour (same for windGust). Gary -- You received this message because you

[weewx-user] Re: redownload data from station

2018-10-12 Thread Cameron D
There is a slightly more complicated, but safer process...examine the history first by running the driver standalone stop weewx cd to the folder above where weewx is installed - e.g. mine is /usr/share/weewx, so cd /usr/share PYTHONPATH=weewx python weewx/user/wmr300-v19rc6+f3.py

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread Kevin Lloyd
Hi Gary, That worked! The most recent tweet: Time: 12/10/18 08:00:00 PM Temp: 11.4°C Wind Chill: 11.4°C Heat Index: 11.4°C Dewpoint: 4.4°C Humidity: 62% Barometer: 1017.4 hPa Wind: 10 km/h from WNW Max Wind Gust this hour: 18 km/h Rain Rate: 0.0 mm/hr Sorry, one more quick thing (I promise).

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread Kevin Lloyd
Thanks Gary! I'll give that a try and let you know what happens. :) On Fri, Oct 12, 2018 at 7:47 PM gjr80 wrote: > Kevin, > > Try $span($hour_delta=1).windGust.max > > Gary > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread gjr80
Kevin, Try $span($hour_delta=1).windGust.max 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. For more options,

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread Kevin Lloyd
Hi Gary, Here's what part of my RSS tmpl file looks like right now: Time:$current.dateTime Outside Temperature: $current.outTemp Wind Chill: $current.windchill Heat Index: $current.heatindex

Re: [weewx-user] redownload data from station

2018-10-12 Thread Cameron D
Juan, I presume you are referring to the WMR300 and missing wind speed. If you have a 5-minute archive period then the console storage will increase by close to 1% per day. If you use the default history clear at 20% then you have *up to* 20 days, however it is not possible to *partially *clear

Re: [weewx-user] Re: Wind scatter graph

2018-10-12 Thread Neil Trimboy
Correct and can easily turn off the lines and the color fading On Sat, 13 Oct 2018, 13:47 gjr80 wrote: > Good to hear you are still around Neil. Yes, will have to get it finished. > > I knew there were example plots around somewhere but could not remember > where. The scatter plot without the

[weewx-user] Re: Wind scatter graph

2018-10-12 Thread gjr80
Good to hear you are still around Neil. Yes, will have to get it finished. I knew there were example plots around somewhere but could not remember where. The scatter plot without the lines joining the dots would be similar to the linked plot. Gary -- You received this message because you are

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread gjr80
Sorry, assumed you meant today but I see you did not say that. $day can be replaced with $month or $year. Other periods are available too with custom search lists. Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread gjr80
Kevin, Try $day.windGust.max 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. For more options, visit

Re: [weewx-user] weewx database details

2018-10-12 Thread Thomas Keffer
Did you check out the section *The database * in the Customizing Guide? Take a look, then come back with any questions you might have. -tk On Fri, Oct 12, 2018 at 4:31 PM CCOR58 wrote: > Is there any big picture tech descriptives about the tables in the > weewx archive database? > > I connect

[weewx-user] weewx database details

2018-10-12 Thread CCOR58
Is there any big picture tech descriptives about the tables in the weewx archive database? I connect to the mysql database using LibreOffice-base as well as phpmyadmin and I see a large number of tables but each table seems to only have two columns usually. I would like to create custom reports

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread Kevin Lloyd
Actually, I have one more related thought. Having wind direction show up in the RSS and Twitter feeds is important, but I'd like to also have the max wind gust show up as well. What do I need to change or add to make that happen? As always, I really appreciate the help. :) On Fri, Oct 12, 2018

Re: [weewx-user] Re: how I change what shows up in my Weewx RSS feed?

2018-10-12 Thread Kevin Lloyd
Finally found some time to figure this out today! Your suggestions worked, Gary! Thank you so much for helping me with that! Hopefully others will benefit as well! :) On Tue, Oct 9, 2018 at 6:33 AM Kevin Lloyd wrote: > I am indeed referring to that xml file. Thank you so much, Gary! I'll >

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread Sean Lane
Any special permissions needed on that file/ folder Thank you Sent from my iPhone > On Oct 12, 2018, at 6:45 PM, steeple ian wrote: > > Just change the setting to /var/tmp/realtime.txt when you access > easyweathersetup.php from the settings menu. Alternatively you edit > settings1.php

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

2018-10-12 Thread Ruben Navarro Huedo
Testing wmr300x driver with kernel 4.14.70 4 days uptime and going up. In my first attempt with this driver and 4.14 kernel I lost connection with the console 48 hours after starting. I don't know what changed since the first attempt. I continue testing... -- You received this message

[weewx-user] Re: Which fields/values does WeeWX publish via MQTT?

2018-10-12 Thread Max G
Thanks Vince; the FWIW contained the hint I needed. I then understood how to investigate further... subscribing to what weewx actually sends: mosquitto_sub -v -t weewx_weather/# (showing a subset) weewx_weather/altimeter_mbar 1023.68869064 weewx_weather/windchill_C 14.8 weewx_weather/appTemp_C

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread steeple ian
Just change the setting to /var/tmp/realtime.txt when you access easyweathersetup.php from the settings menu. Alternatively you edit settings1.php directly. Sent from my iPad > On 12 Oct 2018, at 22:36, Sean Lane wrote: > > I have CRT all installed and its kicking out a file in /var/tmp. >

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread Sean Lane
I have CRT all installed and its kicking out a file in /var/tmp. My question is around the setup of the skin.. Its looking for http://server.xyx/realtime.. How do i reference the file thats in /var/tmp? On Fri, Oct 12, 2018 at 6:30 PM steeple ian wrote: > Have you installed the weewx crt

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread steeple ian
Have you installed the weewx crt extension and restarted weewx? The real-time refers to the realtime.txt file that weewx emits when the extension is installed. See the quick start instructions for a link to weewx-crt. Sent from my iPhone > On 12 Oct 2018, at 20:04, Sean Lane wrote: > > It’s

[weewx-user] Re: Wind scatter graph

2018-10-12 Thread Neil Trimboy
I'm still here but just about to head off on a 4 week business trip ! Would be great if we could complete this some time Gary. Its been running fine for me for months and months and as you say just a couple of 'tickets' in the issues list to make it a bit more user friendly. There are

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread Sean Lane
It’s asking for an http:// path for real-time data.. can we not use file path? I am doing this on the pi and it appears I am missing the real-time clock. Sent from my iPhone > On Oct 12, 2018, at 3:19 PM, steeple ian wrote: > > assuming that your web root directory is html run the following

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread steeple ian
assuming that your web root directory is html run the following from the terminal window sudo chmod -R 775 /var/www/html sudo chmod g+rwx /var/www/html o chmod g+rwx /var/www/html/ On Fri, Oct 12, 2018 at 6:40 PM Sean Lane wrote: > getting this when running easyweathersetup.php. > > Unable to

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread Sean Lane
getting this when running easyweathersetup.php. Unable to open settings1.php file check file permissions ! On Fri, Oct 12, 2018 at 1:34 PM steeple ian wrote: > Hello Sean. Yes PHP and associated libraries must be installed. One of the > best tutorials for the RaspberryPi can be found at >

[weewx-user] Re: "cannot find 'document'"

2018-10-12 Thread Auchtermuchty Weather
Ah - must have lost them along the way. Thanks for explaining. On Friday, 12 October 2018 18:21:46 UTC+1, Andrew Milner wrote: > > The original had #raw and #end raw around the js code - so that cheetah > would ignore the section - as the comment says - to avoid the dollars > causing

[weewx-user] Re: "cannot find 'document'"

2018-10-12 Thread Andrew Milner
The original had #raw and #end raw around the js code - so that cheetah would ignore the section - as the comment says - to avoid the dollars causing confusion!! On Friday, 12 October 2018 17:45:06 UTC+3, Auchtermuchty Weather wrote: > > I am getting this error when I run wee_reports for the

Re: [weewx-user] Re: "cannot find 'document'"

2018-10-12 Thread Auchtermuchty Weather
Fab, that worked. Thanks. On Friday, 12 October 2018 16:21:56 UTC+1, Auchtermuchty Weather wrote: > > Thanks will try this, though strangely it used to generate. > > On Friday, 12 October 2018 15:53:06 UTC+1, Thomas Keffer wrote: >> >> Oh, and you're going to have the same problem with 'this'.

[weewx-user] Re: Which fields/values does WeeWX publish via MQTT?

2018-10-12 Thread vince
On Friday, October 12, 2018 at 5:34:48 AM UTC-7, Max G wrote: > > After being unable to find an answer, I am posting here... > > Which fields/values does WeeWX publish via MQTT? > Where can I configure this? > > It publishes everything it has by default. In weewx.conf as always If you look at the

[weewx-user] Re: Stopping Weewx from auto starting

2018-10-12 Thread vince
On Friday, October 12, 2018 at 7:15:49 AM UTC-7, Phil Green wrote: > > I have discovered that when I installed the rtc I forgot to remove the > fake-clock service. > > Yup - that'll do it all the time. -- You received this message because you are subscribed to the Google Groups "weewx-user"

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread steeple ian
Hello Sean. Yes PHP and associated libraries must be installed. One of the best tutorials for the RaspberryPi can be found at https://hackedit.de/530/ Its in German but easy to follow. You can exclude MYSQL unless you plan to use it in preference to weeWX's default of SQLite3. On Fri, Oct 12,

Re: [weewx-user] Re: "cannot find 'document'"

2018-10-12 Thread Auchtermuchty Weather
Thanks will try this, though strangely it used to generate. On Friday, 12 October 2018 15:53:06 UTC+1, Thomas Keffer wrote: > > Oh, and you're going to have the same problem with 'this'. So, you want > > \$(document).delegate('*[data-toggle="lightbox"]', 'click', > function(event) { >

Re: [weewx-user] Re: "cannot find 'document'"

2018-10-12 Thread Thomas Keffer
Oh, and you're going to have the same problem with 'this'. So, you want \$(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) { event.preventDefault(); \$(this).ekkoLightbox(); }); On Fri, Oct 12, 2018 at 7:51 AM Thomas Keffer wrote:

Re: [weewx-user] Re: "cannot find 'document'"

2018-10-12 Thread Thomas Keffer
I suspect the problem is a collision between jQuery and Cheetah. Your index.html.tmpl template contains the phrase $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) { event.preventDefault(); $(this).ekkoLightbox(); }); This is a

[weewx-user] Re: "cannot find 'document'"

2018-10-12 Thread Auchtermuchty Weather
Just to add, I use 'sudo' to run wee_reports as otherwise I get permission errors. > > -- 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] "cannot find 'document'"

2018-10-12 Thread Auchtermuchty Weather
I am getting this error when I run wee_reports for the Bootstrap skin. This is using WeeWx 3.8.2 on an RPi running the latest Stretch Lite, Debian 9. >From /var/log/syslog: Oct 12 14:07:50 sgcweather wee_reports[28336]: cheetahgenerator: Generate failed with exception '' Oct 12 14:07:50

[weewx-user] Re: Stopping Weewx from auto starting

2018-10-12 Thread Phil Green
Thanks for the advice. I have discovered that when I installed the rtc I forgot to remove the fake-clock service. That is why my time was in the past until the rtc was read at startup. I have re-enabled Weewx to auto start and restarted the Pi and all is fine now. Phil. -- You received

Re: [weewx-user] An alternative way of applying a skin - a ready made drop-in template customised for weeWX

2018-10-12 Thread Sean Lane
I am using a raspberrypi.. Do i need to install PHP for this to work. I don't seem to know what the prerequisites are . Thanks in advance. On Tuesday, October 9, 2018 at 12:31:02 PM UTC-3, steep...@gmail.com wrote: > > Hello Thomas, > > Thanks for the advice. Job done - zip files removed and

[weewx-user] Re: Stopping Weewx from auto starting

2018-10-12 Thread tomnykds
One point... if you are on a recent OS and using systemd, part of the advertising for it is faster startup by paralleling things at startup. Another feature of the service files is the ability to have one service wait for another to get going. In this case, you'd want the weewx.service to

[weewx-user] Which fields/values does WeeWX publish via MQTT?

2018-10-12 Thread Max G
After being unable to find an answer, I am posting here... Which fields/values does WeeWX publish via MQTT? Where can I configure this? I am getting these values (marked with a +) by using the fields provided under skins.conf: ... and not getting those marked with - +

Re: [weewx-user] Re: Belchertown Skin and MQTT With Username Not Working

2018-10-12 Thread David Hindley
Phil - you are a genius. Thank you so much. Three brackets did it, and www.ashteadweather.com is now live!! Not sure how I managed to get only two brackets! For some bizarre reason, however, the temperature readings are now way off after making this change - showing temperature as oscillating

Re: [weewx-user] Re: Belchertown Skin and MQTT With Username Not Working

2018-10-12 Thread Philip Kutzenco
I think I found it. In weewx.conf, you have: [[tls]] tls_version = tlsv1 ca_certs = /etc/ssl/certs/ca-certificates.crt It should be: [[[tls]]] tls_version = tlsv1 ca_certs = /etc/ssl/certs/ca-certificates.crt Note 3 brackets around tls. Try

Re: [weewx-user] Re: Belchertown Skin and MQTT With Username Not Working

2018-10-12 Thread Philip Kutzenco
I may have found it. in weewx.conf, you have a stanza: [[tls]] tls_version = tlsv1 ca_certs = /etc/ssl/certs/ca-certificates.crt It should be: [[[tls]]] tls_version = tlsv1 ca_certs = /etc/ssl/certs/ca-certificates.crt with 3 brackets. Try

[weewx-user] Re: Stopping Weewx from auto starting

2018-10-12 Thread Phil Green
On Friday, October 12, 2018 at 9:12:03 AM UTC+1, gjr80 wrote: > > There have been at least a couple of mechanisms used. Previously (since > v3.4.0) on startup WeeWX would wait for a system clock that was after 1 > January 2000. More recently (since v3.8.1) on startup WeeWX waits for a >

Re: [weewx-user] Re: Belchertown Skin and MQTT With Username Not Working

2018-10-12 Thread David Hindley
Not sure it will help solve this or not, but the Mosquitto log shows the following: New connection from 86.27.145.159 on port 8883. 1539340809: OpenSSL Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number 1539340809: Socket error on client , disconnecting. 1539340811: Client

[weewx-user] Re: Wind scatter graph

2018-10-12 Thread Auchtermuchty Weather
That would be terrific if you could. No massive rush as the weather station that was blown away back in September hasn't been replaced yet - it's an insurance job as half the roof of the building it was on went as well. :o Thanks for the link to the code, but I've never coded in Python in my

[weewx-user] Wind scatter graph

2018-10-12 Thread gjr80
Late last year Neil and myself were collaborating on a revised version of my stacked windrose generator that would be able to produce 4 different polar wind plots. One plot is what I call the traditional windrose and the others we called trail, spiral and scatter plots. Unfortunately, I can't

[weewx-user] Wind scatter graph

2018-10-12 Thread Auchtermuchty Weather
Is there anything for WeeWx which will produce a graph similar to this one? https://uk.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/49488/versions/20/screenshot.jpg Not worried about the colour coding for recency, just wanting the dots on the rose. -- You received this

Re: [weewx-user] Re: Belchertown Skin and MQTT With Username Not Working

2018-10-12 Thread David Hindley
Phil/Pat Many Thanks for you reply. I did set up a password for Mosquitto and also the acl file, as per your email below. However, my myconfig.conf file is different to the one you listed below, as I am using Let's Encrypt SSL, so followed the format towards the end of Pat's post ( MQTT

[weewx-user] Re: Stopping Weewx from auto starting

2018-10-12 Thread gjr80
There have been at least a couple of mechanisms used. Previously (since v3.4.0) on startup WeeWX would wait for a system clock that was after 1 January 2000. More recently (since v3.8.1) on startup WeeWX waits for a system clock that is later than the creation time of weewx.conf. Gary -- You

[weewx-user] Re: Stopping Weewx from auto starting

2018-10-12 Thread Auchtermuchty Weather
On Thursday, 11 October 2018 22:50:15 UTC+1, vince wrote: > > Recent weewx versions should already delay startup until you get accurate > system time. > Out of interest, how does it do that? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

Re: [weewx-user] redownload data from station

2018-10-12 Thread Juan Antonio Mosquera
I understand, thanks! O 03:45, Ven., 12 de out. de 2018, gjr80 escribiu: > Hi, > > The answer depends. If and only if your driver supports backfilling from > the station then on startup WeeWX will try to backfill any records > timestamped after the latest record in the WeeWX archive. So if the