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 of the hour, I would
use: $span($hour.windGust.sum)

Is that correct?

On Fri, Oct 12, 2018 at 8:18 PM gjr80  wrote:

> 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 are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Kevin Lloyd*
@kevinlovestech <http://www.twitter.com/kevinlovestech>
780-937-7428

-- 
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/optout.


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). What can I add/change to show
total rain rate for the hour?


On Fri, Oct 12, 2018 at 7:54 PM Kevin Lloyd 
wrote:

> 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 unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> *Kevin Lloyd*
> @kevinlovestech <http://www.twitter.com/kevinlovestech>
> 780-937-7428
>


-- 
*Kevin Lloyd*
@kevinlovestech <http://www.twitter.com/kevinlovestech>
780-937-7428

-- 
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/optout.


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 unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Kevin Lloyd*
@kevinlovestech <http://www.twitter.com/kevinlovestech>
780-937-7428

-- 
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/optout.


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
 Dewpoint:$current.dewpoint
 Humidity:$current.outHumidity
 Barometer:   $current.barometer
 Wind:$current.windSpeed from
$current.windDir.ordinal_compass
 Rain Rate:   $current.rainRate


So, I would add something like this(?): Wind Gust:$day.windGust.max

"$day can be replaced with $month or $year. Other periods are available too
with custom search lists."

Max wind gust for the day would work, but max wind gust for the hour would
be even better, since the main benefit of Twitter is that it's real-time.

What would I need to change/add to do that?

On Fri, Oct 12, 2018 at 5:02 PM gjr80  wrote:

> 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Kevin Lloyd*
@kevinlovestech <http://www.twitter.com/kevinlovestech>
780-937-7428

-- 
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/optout.


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 at 4:04 PM Kevin Lloyd 
wrote:

> 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
>> backup the tmpl file and give that a try and see what happens, and post an
>> update here. :)
>>
>> On Mon, Oct 8, 2018 at 6:20 PM gjr80  wrote:
>>
>>> Hi,
>>>
>>> When you refer to the 'RSS feed' I presume you are referring to the
>>> weewx_rss.xml file that appears in public_html/RSS ?
>>>
>>> You can control what appears in weewx_rss.xml through the
>>> skins/Standard/RSS/weewx_rss.xml.tmpl template file. `Wind: 6 km/h from
>>> 106°` will likely be produced by the following:
>>>
>>> $current.windSpeed from $current.windDir
>>>
>>> though it really depends on what you are picking up and tweeting from
>>> weewx_rss.xml. In this case the tag $current.windDir will give you a
>>> numeric direction with degree sign (the default format). If you change that
>>> to use $current.windDir.ordinal_compass instead of just $current.windDir
>>> you will get an ordinal direction like ESE. If you wan to include both you
>>> could use $current.windDir ($current.windDir.ordinal_compass) or 
>>> $current.windDir.ordinal_compass
>>> ($current.windDir) to get 106° (ESE) or ESE (106°) respectively.
>>>
>>> You might want to have a read through the Tags section
>>> <http://weewx.com/docs/customizing.htm#Tags> of the Customization Guide
>>> <http://weewx.com/docs/customizing.htm> or if you are really
>>> adventurous the Wind section
>>> <http://weewx.com/docs/customizing.htm#Wind>.
>>>
>>> Any changes you do make to weewx_rss.xml.tmpl should be safe across
>>> WeeWX upgrades but you may wish to make a copy of your modified
>>> weewx_rss.xml.tmpl just in case.
>>>
>>> Gary
>>>
>>> PS. You may also want to have a look at the twitter extension
>>> <https://github.com/weewx/weewx/wiki/twitter>, might save you a bit of
>>> double handling.
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> weewx-user+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> *Kevin Lloyd*
>> @kevinlovestech <http://www.twitter.com/kevinlovestech>
>> 780-937-7428
>>
>
>
> --
> *Kevin Lloyd*
> @kevinlovestech <http://www.twitter.com/kevinlovestech>
> 780-937-7428
>


-- 
*Kevin Lloyd*
@kevinlovestech <http://www.twitter.com/kevinlovestech>
780-937-7428

-- 
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/optout.


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
> backup the tmpl file and give that a try and see what happens, and post an
> update here. :)
>
> On Mon, Oct 8, 2018 at 6:20 PM gjr80  wrote:
>
>> Hi,
>>
>> When you refer to the 'RSS feed' I presume you are referring to the
>> weewx_rss.xml file that appears in public_html/RSS ?
>>
>> You can control what appears in weewx_rss.xml through the
>> skins/Standard/RSS/weewx_rss.xml.tmpl template file. `Wind: 6 km/h from
>> 106°` will likely be produced by the following:
>>
>> $current.windSpeed from $current.windDir
>>
>> though it really depends on what you are picking up and tweeting from
>> weewx_rss.xml. In this case the tag $current.windDir will give you a
>> numeric direction with degree sign (the default format). If you change that
>> to use $current.windDir.ordinal_compass instead of just $current.windDir
>> you will get an ordinal direction like ESE. If you wan to include both you
>> could use $current.windDir ($current.windDir.ordinal_compass) or 
>> $current.windDir.ordinal_compass
>> ($current.windDir) to get 106° (ESE) or ESE (106°) respectively.
>>
>> You might want to have a read through the Tags section
>> <http://weewx.com/docs/customizing.htm#Tags> of the Customization Guide
>> <http://weewx.com/docs/customizing.htm> or if you are really adventurous
>> the Wind section <http://weewx.com/docs/customizing.htm#Wind>.
>>
>> Any changes you do make to weewx_rss.xml.tmpl should be safe across
>> WeeWX upgrades but you may wish to make a copy of your modified
>> weewx_rss.xml.tmpl just in case.
>>
>> Gary
>>
>> PS. You may also want to have a look at the twitter extension
>> <https://github.com/weewx/weewx/wiki/twitter>, might save you a bit of
>> double handling.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> *Kevin Lloyd*
> @kevinlovestech <http://www.twitter.com/kevinlovestech>
> 780-937-7428
>


-- 
*Kevin Lloyd*
@kevinlovestech <http://www.twitter.com/kevinlovestech>
780-937-7428

-- 
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/optout.


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

2018-10-09 Thread Kevin Lloyd
I am indeed referring to that xml file. Thank you so much, Gary! I'll
backup the tmpl file and give that a try and see what happens, and post an
update here. :)

On Mon, Oct 8, 2018 at 6:20 PM gjr80  wrote:

> Hi,
>
> When you refer to the 'RSS feed' I presume you are referring to the
> weewx_rss.xml file that appears in public_html/RSS ?
>
> You can control what appears in weewx_rss.xml through the
> skins/Standard/RSS/weewx_rss.xml.tmpl template file. `Wind: 6 km/h from
> 106°` will likely be produced by the following:
>
> $current.windSpeed from $current.windDir
>
> though it really depends on what you are picking up and tweeting from
> weewx_rss.xml. In this case the tag $current.windDir will give you a
> numeric direction with degree sign (the default format). If you change that
> to use $current.windDir.ordinal_compass instead of just $current.windDir
> you will get an ordinal direction like ESE. If you wan to include both you
> could use $current.windDir ($current.windDir.ordinal_compass) or 
> $current.windDir.ordinal_compass
> ($current.windDir) to get 106° (ESE) or ESE (106°) respectively.
>
> You might want to have a read through the Tags section
> <http://weewx.com/docs/customizing.htm#Tags> of the Customization Guide
> <http://weewx.com/docs/customizing.htm> or if you are really adventurous
> the Wind section <http://weewx.com/docs/customizing.htm#Wind>.
>
> Any changes you do make to weewx_rss.xml.tmpl should be safe across WeeWX
> upgrades but you may wish to make a copy of your modified
> weewx_rss.xml.tmpl just in case.
>
> Gary
>
> PS. You may also want to have a look at the twitter extension
> <https://github.com/weewx/weewx/wiki/twitter>, might save you a bit of
> double handling.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Kevin Lloyd*
@kevinlovestech <http://www.twitter.com/kevinlovestech>
780-937-7428

-- 
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/optout.


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

2018-10-08 Thread Kevin Lloyd
Hello everyone,

I have been using Weewx for a couple of months on a two Raspberry Pi 3's, 
each connected to a weather station. That being said, I'm using dlvr.it to 
pull the most recent post from one of the Weewx's RSS feed, and publish 
those posts to Twitter every 15 minutes, or at often as a new post shows up.

How do I change what shows up in the RSS feed?

Case in point, a recent tweet (from Twitter.com/ComoxWeather):
"Time: 08/10/18 02:40:00 PM Outside Temperature: 11.9°C Inside Temperature: 
22.8°C Wind Chill: 11.9°C Heat Index: 11.9°C Dewpoint: 11.2°C Humidity: 95% 
Barometer: 1012.1 hPa Wind: 6 km/h from 106° Rain Rate: 0.0 mm/hr"

I find it interesting that my weather station (Acurite) and my Weewx site 
shows the Wind Direction as km/h from ENE (for example), but in the RSS 
feed and tweets, it's showing up as "Wind: 6 kmh from 106°", for example. 
How do I change that to show up as ENE or whatever?

I spent a couple of hours this weekend researching online, but so far 
haven't found a solution. Hopefully someone here can help me figure this 
out?

It's important to note that I'm *very* new at scripting, and the Raspberry 
Pi. The only reason I got this far is because people have been kind enough 
to post step by step setup guides, including each command line instruction, 
and of course I followed the guides on weewx.com, and Meteotemplate.com.

Any help is very much appreciated! :)

-- 
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/optout.