[weewx-user] Re: Skin pws added rain over 15 minutes

2017-09-09 Thread Nicolas Cazan
Good it works, it's great

-- 
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] Re: Skin pws added rain over 15 minutes

2017-09-09 Thread Nicolas Cazan
Hello,
the line to recover the rain value of the last fifteen minutes did not work.

I have not been able to test it since it does not rain often in the 
south-east of France.

I think I made a mistake here is the change


$span($time_delta=900).rain.sum.formatted


This line for the moment brings the value 0 in weewx_pws.xml
but thunderstorms are expected this afternoon, I hope to get in this line 
the rainfall value of the last fifteen minutes, do you think it is correct?


For min and max values, I will use the min and max function of sql and php.


thank you in advance
have a good day
ManuLe lundi 7 août 2017 09:59:18 UTC+2, Nicolas Cazan a écrit :
>
> I put this
>
> > realtime="rainheure">$span($time_delta=900).rain.min.formatted
>>
>
> This seems to work, the file has been generated, actually there was a 
> problem in yesterday's syntax.
>
> Le lundi 7 août 2017 09:41:28 UTC+2, Nicolas Cazan a écrit :
>>
>> Weewx_pws.xml seems to contain the desired info.
>> As for the rain, I checked to obte, ir rain of the last 15 minutes 
>> (archiving via php and cron every 15 minutes) tomorrow thunderstorms are 
>> expected to see what this is going, actually $ span seemed to be problem, I 
>> will try still.
>>
>> 
>>>
>>
>> return :
>>
>> 0,0
>>
>>
>>  
>> Le lundi 7 août 2017 02:40:15 UTC+2, gjr80 a écrit :
>>>
>>> Hi,
>>>
>>> Well the date time now makes sense but there is still a fundamental 
>>> problem here. If you have this:
>>>
>>> $span($time_delta=900).rain.sum.
>>> formatted
>>>
>>> in your .tmpl file then the generated file will have 
>>>
>>> 
>>>
>>> in there somewhere, irrespective of whether the $span tag is right, 
>>> wrong or indifferent. I do not see this text anywhere in your generated 
>>> file.
>>>
>>>
>>> For all those who have the same problem:

  realtime="tempanneemax">$month.outTemp.max.formatted
>  realtime="tempanneemax">$year.outTemp.max.formatted
>  realtime="tempanneemini">$month.outTemp.min.formatted
>  realtime="tempanneemini">$year.outTemp.min.formatted
>

  realtime="rainheure">$hour.rain.min.formatted


 On the rain I do not know if it is correct, it does not rain often in 
 Provence

>>>
>>> Have you made more changes to weewx_pws.xml.tmpl? Did these changes 
>>> come through in your generated weewx_pws.xml? What about the $span line?
>>>
>>> The tag $hour.rain.min.formatted will display the minimum archive 
>>> period rainfall from all of the archive periods in the current hour. So if 
>>> there was rainfall in each archive period in the current hour you will get 
>>> the minimum of these values, if there was an archive period in the current 
>>> hour during which it did not rain you will get 0. Is this really what you 
>>> are trying to display,  seems to imply you 
>>> want the rainfall in the last immediate 1 hour period? 
>>> $span($time_delta=3600).rain.sum.formatted will display the rainfall in the 
>>> last immediate 1 hour period. ($hour works on x:00 hour boundaries).
>>>
>>> On the other hand it returns only the minimum and maximum temperature of 
 the current month.

 I extract this data via a php page, are you able to specify the desired 
 month?

>>>
>>> I assume you are referring to $month.outTemp.max.formatted ? If so, as 
>>> you rightly say this will provide the max outTemp seen in the current 
>>> calendar month, so at 06:00 on 1 August it will return the max outTemp 
>>> seen in the last 6 hours, $month works on the the period since midnight 
>>> on the 1st of the current month. If you want the max outTemp from some 
>>> other month in the past, say March, then this is not easily done with the 
>>> current 
>>> weeWX tags, it can be done but it will require some python coding either in 
>>> a template or as a search list extension.
>>>
>>> It might help if you could describe exactly what you want in each of 
>>> your fields.
>>>
>>> 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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-07 Thread Nicolas Cazan
I put this

 realtime="rainheure">$span($time_delta=900).rain.min.formatted
>

This seems to work, the file has been generated, actually there was a 
problem in yesterday's syntax.

Le lundi 7 août 2017 09:41:28 UTC+2, Nicolas Cazan a écrit :
>
> Weewx_pws.xml seems to contain the desired info.
> As for the rain, I checked to obte, ir rain of the last 15 minutes 
> (archiving via php and cron every 15 minutes) tomorrow thunderstorms are 
> expected to see what this is going, actually $ span seemed to be problem, I 
> will try still.
>
> 
>>
>
> return :
>
> 0,0
>
>
>  
> Le lundi 7 août 2017 02:40:15 UTC+2, gjr80 a écrit :
>>
>> Hi,
>>
>> Well the date time now makes sense but there is still a fundamental 
>> problem here. If you have this:
>>
>> $span($time_delta=900).rain.sum.
>> formatted
>>
>> in your .tmpl file then the generated file will have 
>>
>> 
>>
>> in there somewhere, irrespective of whether the $span tag is right, 
>> wrong or indifferent. I do not see this text anywhere in your generated 
>> file.
>>
>>
>> For all those who have the same problem:
>>>
>>> >>> realtime="tempanneemax">$month.outTemp.max.formatted
 >>> realtime="tempanneemax">$year.outTemp.max.formatted
 >>> realtime="tempanneemini">$month.outTemp.min.formatted
 >>> realtime="tempanneemini">$year.outTemp.min.formatted

>>>
>>> >>> realtime="rainheure">$hour.rain.min.formatted
>>>
>>>
>>> On the rain I do not know if it is correct, it does not rain often in 
>>> Provence
>>>
>>
>> Have you made more changes to weewx_pws.xml.tmpl? Did these changes come 
>> through in your generated weewx_pws.xml? What about the $span line?
>>
>> The tag $hour.rain.min.formatted will display the minimum archive period 
>> rainfall from all of the archive periods in the current hour. So if there 
>> was rainfall in each archive period in the current hour you will get the 
>> minimum of these values, if there was an archive period in the current hour 
>> during which it did not rain you will get 0. Is this really what you are 
>> trying to display,  seems to imply you want 
>> the rainfall in the last immediate 1 hour period? 
>> $span($time_delta=3600).rain.sum.formatted will display the rainfall in the 
>> last immediate 1 hour period. ($hour works on x:00 hour boundaries).
>>
>> On the other hand it returns only the minimum and maximum temperature of 
>>> the current month.
>>>
>>> I extract this data via a php page, are you able to specify the desired 
>>> month?
>>>
>>
>> I assume you are referring to $month.outTemp.max.formatted ? If so, as 
>> you rightly say this will provide the max outTemp seen in the current 
>> calendar month, so at 06:00 on 1 August it will return the max outTemp 
>> seen in the last 6 hours, $month works on the the period since midnight 
>> on the 1st of the current month. If you want the max outTemp from some 
>> other month in the past, say March, then this is not easily done with the 
>> current 
>> weeWX tags, it can be done but it will require some python coding either in 
>> a template or as a search list extension.
>>
>> It might help if you could describe exactly what you want in each of your 
>> fields.
>>
>> 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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-07 Thread Nicolas Cazan
Weewx_pws.xml seems to contain the desired info.
As for the rain, I checked to obte, ir rain of the last 15 minutes 
(archiving via php and cron every 15 minutes) tomorrow thunderstorms are 
expected to see what this is going, actually $ span seemed to be problem, I 
will try still.


>

return :

0,0


 
Le lundi 7 août 2017 02:40:15 UTC+2, gjr80 a écrit :
>
> Hi,
>
> Well the date time now makes sense but there is still a fundamental 
> problem here. If you have this:
>
> $span($time_delta=900).rain.sum.
> formatted
>
> in your .tmpl file then the generated file will have 
>
> 
>
> in there somewhere, irrespective of whether the $span tag is right, wrong 
> or indifferent. I do not see this text anywhere in your generated file.
>
>
> For all those who have the same problem:
>>
>> >> realtime="tempanneemax">$month.outTemp.max.formatted
>>> >> realtime="tempanneemax">$year.outTemp.max.formatted
>>> >> realtime="tempanneemini">$month.outTemp.min.formatted
>>> >> realtime="tempanneemini">$year.outTemp.min.formatted
>>>
>>
>> >> realtime="rainheure">$hour.rain.min.formatted
>>
>>
>> On the rain I do not know if it is correct, it does not rain often in 
>> Provence
>>
>
> Have you made more changes to weewx_pws.xml.tmpl? Did these changes come 
> through in your generated weewx_pws.xml? What about the $span line?
>
> The tag $hour.rain.min.formatted will display the minimum archive period 
> rainfall from all of the archive periods in the current hour. So if there 
> was rainfall in each archive period in the current hour you will get the 
> minimum of these values, if there was an archive period in the current hour 
> during which it did not rain you will get 0. Is this really what you are 
> trying to display,  seems to imply you want 
> the rainfall in the last immediate 1 hour period? 
> $span($time_delta=3600).rain.sum.formatted will display the rainfall in the 
> last immediate 1 hour period. ($hour works on x:00 hour boundaries).
>
> On the other hand it returns only the minimum and maximum temperature of 
>> the current month.
>>
>> I extract this data via a php page, are you able to specify the desired 
>> month?
>>
>
> I assume you are referring to $month.outTemp.max.formatted ? If so, as 
> you rightly say this will provide the max outTemp seen in the current 
> calendar month, so at 06:00 on 1 August it will return the max outTemp 
> seen in the last 6 hours, $month works on the the period since midnight 
> on the 1st of the current month. If you want the max outTemp from some 
> other month in the past, say March, then this is not easily done with the 
> current 
> weeWX tags, it can be done but it will require some python coding either in 
> a template or as a search list extension.
>
> It might help if you could describe exactly what you want in each of your 
> fields.
>
> 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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread gjr80
Hi,

Well the date time now makes sense but there is still a fundamental problem 
here. If you have this:

$span($time_delta=900).rain.sum.formatted


in your .tmpl file then the generated file will have 



in there somewhere, irrespective of whether the $span tag is right, wrong 
or indifferent. I do not see this text anywhere in your generated file.


For all those who have the same problem:
>
> > realtime="tempanneemax">$month.outTemp.max.formatted
>> > realtime="tempanneemax">$year.outTemp.max.formatted
>> > realtime="tempanneemini">$month.outTemp.min.formatted
>> > realtime="tempanneemini">$year.outTemp.min.formatted
>>
>
> > realtime="rainheure">$hour.rain.min.formatted
>
>
> On the rain I do not know if it is correct, it does not rain often in 
> Provence
>

Have you made more changes to weewx_pws.xml.tmpl? Did these changes come 
through in your generated weewx_pws.xml? What about the $span line?

The tag $hour.rain.min.formatted will display the minimum archive period 
rainfall from all of the archive periods in the current hour. So if there 
was rainfall in each archive period in the current hour you will get the 
minimum of these values, if there was an archive period in the current hour 
during which it did not rain you will get 0. Is this really what you are 
trying to display,  seems to imply you want the 
rainfall in the last immediate 1 hour period? 
$span($time_delta=3600).rain.sum.formatted will display the rainfall in the 
last immediate 1 hour period. ($hour works on x:00 hour boundaries).

On the other hand it returns only the minimum and maximum temperature of 
> the current month.
>
> I extract this data via a php page, are you able to specify the desired 
> month?
>

I assume you are referring to $month.outTemp.max.formatted ? If so, as you 
rightly say this will provide the max outTemp seen in the current calendar 
month, so at 06:00 on 1 August it will return the max outTemp seen in the 
last 6 hours, $month works on the the period since midnight on the 1st of 
the current month. If you want the max outTemp from some other month in the 
past, say March, then this is not easily done with the current weeWX tags, 
it can be done but it will require some python coding either in a template 
or as a search list extension.

It might help if you could describe exactly what you want in each of your 
fields.

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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan
On the other hand it returns only the minimum and maximum temperature of 
the current month.

I extract this data via a php page, are you able to specify the desired 
month?

Le dimanche 6 août 2017 17:56:22 UTC+2, Nicolas Cazan a écrit :
>
> For all those who have the same problem:
>
> > realtime="tempanneemax">$month.outTemp.max.formatted
>> > realtime="tempanneemax">$year.outTemp.max.formatted
>> > realtime="tempanneemini">$month.outTemp.min.formatted
>> > realtime="tempanneemini">$year.outTemp.min.formatted
>>
>
> > realtime="rainheure">$hour.rain.min.formatted
>
>
> On the rain I do not know if it is correct, it does not rain often in 
> Provence 
>
> Le dimanche 6 août 2017 15:20:30 UTC+2, Nicolas Cazan a écrit :
>>
>> oups ...
>>
>> Le dimanche 6 août 2017 15:01:02 UTC+2, gjr80 a écrit :
>>>
>>> Are you sure that this file has just been generated? The date time at 
>>> line 7 does not seem correct, as I write this it is 5 minutes before the 
>>> hour, but the date time in the file is 5 minutes after the hour?
>>>
>>> 14:05 CEST
>>>
>>> I am also suspicious given that that none of the xml tags from the line 
>>> you are trying to add are appearing in the file you posted. Are you sure 
>>> you are editing the correct weewx_pws.xml.tmpl and/or are you sure you 
>>> are posting the most recently generated weewx_pws.xml ?
>>>
>>> Gary
>>>
>>> On Sunday, 6 August 2017 22:50:34 UTC+10, Nicolas Cazan wrote:



 Le dimanche 6 août 2017 14:36:15 UTC+2, gjr80 a écrit :
>
> Ok, so what does the generated weewx_pws.xml look like now?
>
> 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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan
For all those who have the same problem:

 realtime="tempanneemax">$month.outTemp.max.formatted
>  realtime="tempanneemax">$year.outTemp.max.formatted
>  realtime="tempanneemini">$month.outTemp.min.formatted
>  realtime="tempanneemini">$year.outTemp.min.formatted
>

 realtime="rainheure">$hour.rain.min.formatted


On the rain I do not know if it is correct, it does not rain often in 
Provence 

Le dimanche 6 août 2017 15:20:30 UTC+2, Nicolas Cazan a écrit :
>
> oups ...
>
> Le dimanche 6 août 2017 15:01:02 UTC+2, gjr80 a écrit :
>>
>> Are you sure that this file has just been generated? The date time at 
>> line 7 does not seem correct, as I write this it is 5 minutes before the 
>> hour, but the date time in the file is 5 minutes after the hour?
>>
>> 14:05 CEST
>>
>> I am also suspicious given that that none of the xml tags from the line 
>> you are trying to add are appearing in the file you posted. Are you sure 
>> you are editing the correct weewx_pws.xml.tmpl and/or are you sure you 
>> are posting the most recently generated weewx_pws.xml ?
>>
>> Gary
>>
>> On Sunday, 6 August 2017 22:50:34 UTC+10, Nicolas Cazan wrote:
>>>
>>>
>>>
>>> Le dimanche 6 août 2017 14:36:15 UTC+2, gjr80 a écrit :

 Ok, so what does the generated weewx_pws.xml look like now?

 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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan
oups ...

Le dimanche 6 août 2017 15:01:02 UTC+2, gjr80 a écrit :
>
> Are you sure that this file has just been generated? The date time at line 
> 7 does not seem correct, as I write this it is 5 minutes before the hour, 
> but the date time in the file is 5 minutes after the hour?
>
> 14:05 CEST
>
> I am also suspicious given that that none of the xml tags from the line 
> you are trying to add are appearing in the file you posted. Are you sure 
> you are editing the correct weewx_pws.xml.tmpl and/or are you sure you 
> are posting the most recently generated weewx_pws.xml ?
>
> Gary
>
> On Sunday, 6 August 2017 22:50:34 UTC+10, Nicolas Cazan wrote:
>>
>>
>>
>> Le dimanche 6 août 2017 14:36:15 UTC+2, gjr80 a écrit :
>>>
>>> Ok, so what does the generated weewx_pws.xml look like now?
>>>
>>> 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 https://groups.google.com/d/optout.


weewx_pws.xml
Description: XML document


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread gjr80
Are you sure that this file has just been generated? The date time at line 
7 does not seem correct, as I write this it is 5 minutes before the hour, 
but the date time in the file is 5 minutes after the hour?

14:05 CEST

I am also suspicious given that that none of the xml tags from the line you 
are trying to add are appearing in the file you posted. Are you sure you 
are editing the correct weewx_pws.xml.tmpl and/or are you sure you are 
posting the most recently generated weewx_pws.xml ?

Gary

On Sunday, 6 August 2017 22:50:34 UTC+10, Nicolas Cazan wrote:
>
>
>
> Le dimanche 6 août 2017 14:36:15 UTC+2, gjr80 a écrit :
>>
>> Ok, so what does the generated weewx_pws.xml look like now?
>>
>> 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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan


Le dimanche 6 août 2017 14:36:15 UTC+2, gjr80 a écrit :
>
> Ok, so what does the generated weewx_pws.xml look like now?
>
> 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 https://groups.google.com/d/optout.


weewx_pws.xml
Description: XML document


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread gjr80
Ok, so what does the generated weewx_pws.xml look like now?

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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan
ok.

No, it does not work, the file is generated, but the value does not appear.

Le dimanche 6 août 2017 14:27:45 UTC+2, gjr80 a écrit :
>
> No need to restart if changing a .tmpl or skin.conf. Just make the change, 
> save the file and it will be use on the next report cycle. 
>
> Simple rule of thumb. Change a .py file and you must stop then start 
> weeWX, change weewx.conf you need to stop then start weeWX or do a config 
> reload, change a .tmpl or skin.conf and you don't need to do anything other 
> than save the changes.
>
> 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 https://groups.google.com/d/optout.


weewx_pws.xml.tmpl
Description: Binary data


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread gjr80
No need to restart if changing a .tmpl or skin.conf. Just make the change, save 
the file and it will be use on the next report cycle. 

Simple rule of thumb. Change a .py file and you must stop then start weeWX, 
change weewx.conf you need to stop then start weeWX or do a config reload, 
change a .tmpl or skin.conf and you don't need to do anything other than save 
the changes.

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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan
Should i restart weewx with each modification?

Le dimanche 6 août 2017 14:13:06 UTC+2, gjr80 a écrit :
>
> You have a typo in weewx_pws.xml.tmpl. You have:
>
> $day.barometer.min.formatted
> 
> 
> $time_delta=900).rain.sum.formatted
> 
> $day.rain.sum.formatted
> 
>
> it should read:
>
> $day.barometer.min.formatted
> 
> 
> $span(
> $time_delta=900).rain.sum.formatted
> $day.rain.sum.formatted
> 
>
> 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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread gjr80
You have a typo in weewx_pws.xml.tmpl. You have:

$day.barometer.min.formatted


$time_delta=900).rain.sum.formatted

$day.rain.sum.formatted


it should read:

$day.barometer.min.formatted


$span($time_delta=900).rain.sum.formatted

$day.rain.sum.formatted


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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan


Le dimanche 6 août 2017 13:46:58 UTC+2, gjr80 a écrit :
>
> Hi,
>
> If the following line is what is in weewx_pws.xml then it indicates that 
> there is an error in the syntax of the $span tag in your template.
>
> > realtime="minrain">$day_delta=900).rain.sum.formatted
>>
>
> Could you please post copies of:
>
> skins/PWS/weewx_pws.xml.tmpl
> skins/PWS/skin.conf
> the generated weewx_pws.xml
>
> Please attach the files in their entirety, do not copy one or two lines, 
> we need to see the entire files.
>
> 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 https://groups.google.com/d/optout.

#   
   #
#   
   #
#  WEEWX-WD PWS SKIN CONFIGURATION FILE 
   #
#   
   #
# Version: 1.0.0 Date: 10 
January 2015 #
#   
   #


[Extras]



[Units]

#
# This section is for managing the selection and formatting of units.
#

[[Groups]]
#
# For each group of measurements, this section sets what units to use 
for it.
# NB: The unit is always in the singular. I.e., 'mile_per_hour', NOT 
'miles_per_hour'
#
group_altitude = meter  # Options are 'foot' or 'meter'
group_degree_day   = degree_C_day   # Options are 'degree_F_day' or 
'degree_C_day'
group_direction= degree_compass
group_moisture = centibar
group_percent  = percent
group_pressure = hPa# Weewx options are 'inHg', 'mmHg', 
'mbar', or 'hPa'
# Saratoga templates expect 'inHg', 
'mbar', or 'hPa'
group_radiation= watt_per_meter_squared
group_rain = mm # Weewx options are 'inch', 'cm', 
or 'mm'
# Saratoga templates expect 'inch' 
or 'mm'
group_rainrate = mm_per_hour# Weewx options are 
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
# Saratoga templates expect 
'inch_per_hour' or 'mm_per_hour'
group_speed= km_per_hour# Options are 'mile_per_hour', 
'km_per_hour', 'knot', or 'meter_per_second'
group_speed2   = km # Options are 'mi', 'km'
group_temperature  = degree_C   # Options are 'degree_F' or 
'degree_C'
group_temperature2 = C  # Options are 'F' or 'C'
group_uv   = uv_index
group_volt = volt

# The following unit groups are used internally and should not be 
changed:
group_count= count
group_interval = minute
group_time = unix_epoch
group_elapsed  = second

[[StringFormats]]
#
# This section sets the string formatting for each type of unit.
#
centibar   = %.0f
cm = %.2f
cm_per_hour= %.2f
degree_C   = %.1f
degree_F   = %.1f
degree_compass = %.0f
foot   = %.0f
hPa= %.1f
inHg   = %.3f
inch   = %.2f
inch_per_hour  = %.2f
km_per_hour= %.0f
km_per_hour2   = %.1f
knot   = %.0f
knot2  = %.1f
mbar   = %.1f
meter  = %.0f
meter_per_second   = %.1f
meter_per_second2  = %.1f
mile_per_hour  = %.0f
mile_per_hour2 = %.1f
mm = %.1f
mmHg   = %.1f
mm_per_hour= %.1f
percent= %.0f
uv_index   = %.1f
volt   = %.1f
watt_per_meter_squared = %.0f
NONE   = "N/A"

[[Labels]]
#
# This section sets a label to be used for each type of unit.
#
centibar  = " cb"
cm= " cm"
cm_per_hour   = " cm/hr"
degree_C  = " C"
degree_F  = " F"
degree_compass=   
foot  = " 

[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread gjr80
Hi,

If the following line is what is in weewx_pws.xml then it indicates that 
there is an error in the syntax of the $span tag in your template.

 realtime="minrain">$day_delta=900).rain.sum.formatted
>

Could you please post copies of:

skins/PWS/weewx_pws.xml.tmpl
skins/PWS/skin.conf
the generated weewx_pws.xml

Please attach the files in their entirety, do not copy one or two lines, we 
need to see the entire files.

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 https://groups.google.com/d/optout.


[weewx-user] Re: Skin pws added rain over 15 minutes

2017-08-06 Thread Nicolas Cazan
Hello,
The weewx_pws.xml file is generated, but the line does not appear, here is 
the last modification.

 realtime="minrain">$day_delta=900).rain.sum.formatted
>

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