Re: [weewx-user] Acumulated rain since a date.

2021-04-26 Thread Manuel
 Solved. I have changed rain_year_start = 9 in weewx.config because there 
are two different variables: "$ rainyear.rain.sum" which is the rain since 
September and "$ year.rain.sum" the rain since January 1st. That's what I 
wanted. Thank you. 

El sábado, 24 de abril de 2021 a las 23:55:37 UTC+2, Manuel escribió:

> No. I only need to know the rain since September but not at all weewx. 
> Thanks. 
>
> El sábado, 24 de abril de 2021 a las 23:36:52 UTC+2, peterq...@gmail.com 
> escribió:
>
>> You can set the rain year, which might have been what you were looking 
>> for anyway. 
>> In weewx.conf
>> rain_year_start = 9 
>> (for sept)
>>
>>
>> On Sat, Apr 24, 2021 at 1:43 PM Manuel  wrote:
>>
>>> Thank you very much Tom. My knowledge doesn't go that far. I do it 
>>> manually by adding the rainfall of the months since September, which is the 
>>> beginning of the hydrological year. 
>>>
>>> El sábado, 24 de abril de 2021 a las 22:36:03 UTC+2, tke...@gmail.com 
>>> escribió:
>>>
 Geez, my apologies. I don't know what I was thinking.

 Unfortunately, no, it is not possible to sum from an arbitrary time. 
 It's a reasonable thing to do, but at the moment, weewx does not support 
 it. You would have to write a search list extension to do it.

 On Sat, Apr 24, 2021 at 1:05 PM Manuel  wrote:

> Hi Tom I have put that in the index.html.tmpl and it gives me the 
> following error:
> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: Generate 
> failed with exception '' 
> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  
> Ignoring template /etc/weewx/skins/Standard/index.html.tmpl 
> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  
> Reason: current () got an unexpected keyword argument 'current_time' 
> Apr 24 21:51:13 raspberrypi weewx [9579]:  Traceback (most recent 
> call last): 
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate 
> Apr 24 21:51:13 raspberrypi weewx [9579]:  fd.write (str 
> (compiled_template)) 
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
> __str__ Apr 24 21:51:13 raspberrypi weewx [9579]:  rc = getattr 
> (self, 
> mainMethName) () 
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
>  
> line 825, in respond 
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
>  
> line 98, in __errorCatcher5 
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File "", line 
> 1, in   
> I don't know what I'm doing wrong.
> Thanks for your quick response. 
>
> El sábado, 24 de abril de 2021 a las 19:04:41 UTC+2, tke...@gmail.com 
> escribió:
>
>> If you know the unix epoch time, it's easy enough. For example, for 
>> all the rain since 1-Jan-2021  UTC:
>>
>> Rain since the start of the year UTC: 
>> $current(current_time=1609459200).rain.sum
>>
>>
>> On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:
>>
>>>
>>> Good afternoon. How can I get the accumulated rain from a date . 
>>> Example from September until now. Thank you. 
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
> 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+...@googlegroups.com.
>
 To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/e65cade1-28b2-4493-9b87-f4131332f456n%40googlegroups.com
>  
> 
> .
>
 -- 
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/fbfac242-b383-4c91-8

Re: [weewx-user] Acumulated rain since a date.

2021-04-24 Thread Manuel
 No. I only need to know the rain since September but not at all weewx. 
Thanks. 

El sábado, 24 de abril de 2021 a las 23:36:52 UTC+2, peterq...@gmail.com 
escribió:

> You can set the rain year, which might have been what you were looking for 
> anyway. 
> In weewx.conf
> rain_year_start = 9 
> (for sept)
>
>
> On Sat, Apr 24, 2021 at 1:43 PM Manuel  wrote:
>
>> Thank you very much Tom. My knowledge doesn't go that far. I do it 
>> manually by adding the rainfall of the months since September, which is the 
>> beginning of the hydrological year. 
>>
>> El sábado, 24 de abril de 2021 a las 22:36:03 UTC+2, tke...@gmail.com 
>> escribió:
>>
>>> Geez, my apologies. I don't know what I was thinking.
>>>
>>> Unfortunately, no, it is not possible to sum from an arbitrary time. 
>>> It's a reasonable thing to do, but at the moment, weewx does not support 
>>> it. You would have to write a search list extension to do it.
>>>
>>> On Sat, Apr 24, 2021 at 1:05 PM Manuel  wrote:
>>>
 Hi Tom I have put that in the index.html.tmpl and it gives me the 
 following error:
 Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: Generate 
 failed with exception '' 
 Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  
 Ignoring template /etc/weewx/skins/Standard/index.html.tmpl 
 Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  
 Reason: current () got an unexpected keyword argument 'current_time' 
 Apr 24 21:51:13 raspberrypi weewx [9579]:  Traceback (most recent 
 call last): 
 Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
 "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate 
 Apr 24 21:51:13 raspberrypi weewx [9579]:  fd.write (str 
 (compiled_template)) 
 Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
 "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
 __str__ Apr 24 21:51:13 raspberrypi weewx [9579]:  rc = getattr (self, 
 mainMethName) () 
 Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
 "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
  
 line 825, in respond 
 Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
 "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
  
 line 98, in __errorCatcher5 
 Apr 24 21:51:13 raspberrypi weewx [9579]:  File "", line 1, 
 in   
 I don't know what I'm doing wrong.
 Thanks for your quick response. 

 El sábado, 24 de abril de 2021 a las 19:04:41 UTC+2, tke...@gmail.com 
 escribió:

> If you know the unix epoch time, it's easy enough. For example, for 
> all the rain since 1-Jan-2021  UTC:
>
> Rain since the start of the year UTC: 
> $current(current_time=1609459200).rain.sum
>
>
> On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:
>
>>
>> Good afternoon. How can I get the accumulated rain from a date . 
>> Example from September until now. Thank you. 
>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
 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+...@googlegroups.com.

>>> To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/e65cade1-28b2-4493-9b87-f4131332f456n%40googlegroups.com
  
 
 .

>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/fbfac242-b383-4c91-8339-d9ba2b61ed90n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Peter Quinn
> (415)794-2264 <(415)%20794-2264>
>

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

Re: [weewx-user] Acumulated rain since a date.

2021-04-24 Thread p q
You can set the rain year, which might have been what you were looking for
anyway.
In weewx.conf
rain_year_start = 9
(for sept)


On Sat, Apr 24, 2021 at 1:43 PM Manuel  wrote:

> Thank you very much Tom. My knowledge doesn't go that far. I do it
> manually by adding the rainfall of the months since September, which is the
> beginning of the hydrological year.
>
> El sábado, 24 de abril de 2021 a las 22:36:03 UTC+2, tke...@gmail.com
> escribió:
>
>> Geez, my apologies. I don't know what I was thinking.
>>
>> Unfortunately, no, it is not possible to sum from an arbitrary time. It's
>> a reasonable thing to do, but at the moment, weewx does not support it. You
>> would have to write a search list extension to do it.
>>
>> On Sat, Apr 24, 2021 at 1:05 PM Manuel  wrote:
>>
>>> Hi Tom I have put that in the index.html.tmpl and it gives me the
>>> following error:
>>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: Generate
>>> failed with exception ''
>>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: 
>>> Ignoring template /etc/weewx/skins/Standard/index.html.tmpl
>>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Reason:
>>> current () got an unexpected keyword argument 'current_time'
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  Traceback (most recent
>>> call last):
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  fd.write (str
>>> (compiled_template))
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>>> __str__ Apr 24 21:51:13 raspberrypi weewx [9579]:  rc = getattr (self,
>>> mainMethName) ()
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
>>> line 825, in respond
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
>>> line 98, in __errorCatcher5
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File "", line 1,
>>> in 
>>> I don't know what I'm doing wrong.
>>> Thanks for your quick response.
>>>
>>> El sábado, 24 de abril de 2021 a las 19:04:41 UTC+2, tke...@gmail.com
>>> escribió:
>>>
 If you know the unix epoch time, it's easy enough. For example, for all
 the rain since 1-Jan-2021  UTC:

 Rain since the start of the year UTC:
 $current(current_time=1609459200).rain.sum


 On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:

>
> Good afternoon. How can I get the accumulated rain from a date .
> Example from September until now. Thank you.
>
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
> 
> .
>
 --
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/e65cade1-28b2-4493-9b87-f4131332f456n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fbfac242-b383-4c91-8339-d9ba2b61ed90n%40googlegroups.com
> 
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAA1SM22iNejPVbeM%2Bj-vt1V_OUCoDk9QHQHr3yx7yNpQSi70HQ%40mail.gmail.com.


Re: [weewx-user] Acumulated rain since a date.

2021-04-24 Thread Tom Keffer
Oh. In that case, you can use $rainyear. That's what it's for:

$rainyear.rain.sum

Just be sure to set option rain_year_start
 to whatever
month your rain year starts.

BTW, many of the skins come with this already included.

On Sat, Apr 24, 2021 at 1:43 PM Manuel  wrote:

> Thank you very much Tom. My knowledge doesn't go that far. I do it
> manually by adding the rainfall of the months since September, which is the
> beginning of the hydrological year.
>
> El sábado, 24 de abril de 2021 a las 22:36:03 UTC+2, tke...@gmail.com
> escribió:
>
>> Geez, my apologies. I don't know what I was thinking.
>>
>> Unfortunately, no, it is not possible to sum from an arbitrary time. It's
>> a reasonable thing to do, but at the moment, weewx does not support it. You
>> would have to write a search list extension to do it.
>>
>> On Sat, Apr 24, 2021 at 1:05 PM Manuel  wrote:
>>
>>> Hi Tom I have put that in the index.html.tmpl and it gives me the
>>> following error:
>>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: Generate
>>> failed with exception ''
>>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: 
>>> Ignoring template /etc/weewx/skins/Standard/index.html.tmpl
>>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Reason:
>>> current () got an unexpected keyword argument 'current_time'
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  Traceback (most recent
>>> call last):
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  fd.write (str
>>> (compiled_template))
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
>>> __str__ Apr 24 21:51:13 raspberrypi weewx [9579]:  rc = getattr (self,
>>> mainMethName) ()
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
>>> line 825, in respond
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
>>> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
>>> line 98, in __errorCatcher5
>>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File "", line 1,
>>> in 
>>> I don't know what I'm doing wrong.
>>> Thanks for your quick response.
>>>
>>> El sábado, 24 de abril de 2021 a las 19:04:41 UTC+2, tke...@gmail.com
>>> escribió:
>>>
 If you know the unix epoch time, it's easy enough. For example, for all
 the rain since 1-Jan-2021  UTC:

 Rain since the start of the year UTC:
 $current(current_time=1609459200).rain.sum


 On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:

>
> Good afternoon. How can I get the accumulated rain from a date .
> Example from September until now. Thank you.
>
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
> 
> .
>
 --
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/e65cade1-28b2-4493-9b87-f4131332f456n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fbfac242-b383-4c91-8339-d9ba2b61ed90n%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEB7R76JxoVg0CrzzZhb6MF2sH9Xpcc_%2BtAzQ0CG5wjfMw%40mail.gmail.com.


Re: [weewx-user] Acumulated rain since a date.

2021-04-24 Thread Manuel
 Thank you very much Tom. My knowledge doesn't go that far. I do it 
manually by adding the rainfall of the months since September, which is the 
beginning of the hydrological year. 

El sábado, 24 de abril de 2021 a las 22:36:03 UTC+2, tke...@gmail.com 
escribió:

> Geez, my apologies. I don't know what I was thinking.
>
> Unfortunately, no, it is not possible to sum from an arbitrary time. It's 
> a reasonable thing to do, but at the moment, weewx does not support it. You 
> would have to write a search list extension to do it.
>
> On Sat, Apr 24, 2021 at 1:05 PM Manuel  wrote:
>
>> Hi Tom I have put that in the index.html.tmpl and it gives me the 
>> following error:
>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: Generate 
>> failed with exception '' 
>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Ignoring 
>> template /etc/weewx/skins/Standard/index.html.tmpl 
>> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Reason: 
>> current () got an unexpected keyword argument 'current_time' 
>> Apr 24 21:51:13 raspberrypi weewx [9579]:  Traceback (most recent 
>> call last): 
>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate 
>> Apr 24 21:51:13 raspberrypi weewx [9579]:  fd.write (str 
>> (compiled_template)) 
>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
>> __str__ Apr 24 21:51:13 raspberrypi weewx [9579]:  rc = getattr (self, 
>> mainMethName) () 
>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
>> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py", 
>> line 825, in respond 
>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
>> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py", 
>> line 98, in __errorCatcher5 
>> Apr 24 21:51:13 raspberrypi weewx [9579]:  File "", line 1, 
>> in   
>> I don't know what I'm doing wrong.
>> Thanks for your quick response. 
>>
>> El sábado, 24 de abril de 2021 a las 19:04:41 UTC+2, tke...@gmail.com 
>> escribió:
>>
>>> If you know the unix epoch time, it's easy enough. For example, for all 
>>> the rain since 1-Jan-2021  UTC:
>>>
>>> Rain since the start of the year UTC: 
>>> $current(current_time=1609459200).rain.sum
>>>
>>>
>>> On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:
>>>

 Good afternoon. How can I get the accumulated rain from a date . 
 Example from September until now. Thank you. 

 -- 
 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+...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
  
 
 .

>>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/e65cade1-28b2-4493-9b87-f4131332f456n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fbfac242-b383-4c91-8339-d9ba2b61ed90n%40googlegroups.com.


Re: [weewx-user] Acumulated rain since a date.

2021-04-24 Thread Tom Keffer
Geez, my apologies. I don't know what I was thinking.

Unfortunately, no, it is not possible to sum from an arbitrary time. It's a
reasonable thing to do, but at the moment, weewx does not support it. You
would have to write a search list extension to do it.

On Sat, Apr 24, 2021 at 1:05 PM Manuel  wrote:

> Hi Tom I have put that in the index.html.tmpl and it gives me the
> following error:
> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: Generate
> failed with exception ''
> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Ignoring
> template /etc/weewx/skins/Standard/index.html.tmpl
> Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Reason:
> current () got an unexpected keyword argument 'current_time'
> Apr 24 21:51:13 raspberrypi weewx [9579]:  Traceback (most recent call
> last):
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Apr 24 21:51:13 raspberrypi weewx [9579]:  fd.write (str
> (compiled_template))
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
> __str__ Apr 24 21:51:13 raspberrypi weewx [9579]:  rc = getattr (self,
> mainMethName) ()
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
> line 825, in respond
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File
> "cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py",
> line 98, in __errorCatcher5
> Apr 24 21:51:13 raspberrypi weewx [9579]:  File "", line 1, in
> 
> I don't know what I'm doing wrong.
> Thanks for your quick response.
>
> El sábado, 24 de abril de 2021 a las 19:04:41 UTC+2, tke...@gmail.com
> escribió:
>
>> If you know the unix epoch time, it's easy enough. For example, for all
>> the rain since 1-Jan-2021  UTC:
>>
>> Rain since the start of the year UTC:
>> $current(current_time=1609459200).rain.sum
>>
>>
>> On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:
>>
>>>
>>> Good afternoon. How can I get the accumulated rain from a date .
>>> Example from September until now. Thank you.
>>>
>>> --
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/e65cade1-28b2-4493-9b87-f4131332f456n%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAcPDzHRP0NKUpzC-Rhxzuxkg4oFXYjvHCRGzdURwE9jQ%40mail.gmail.com.


Re: [weewx-user] Acumulated rain since a date.

2021-04-24 Thread Manuel
 
Hi Tom I have put that in the index.html.tmpl and it gives me the following 
error:
Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator: Generate failed 
with exception '' 
Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Ignoring 
template /etc/weewx/skins/Standard/index.html.tmpl 
Apr 24 21:51:13 raspberrypi weewx [9579]: cheetahgenerator:  Reason: 
current () got an unexpected keyword argument 'current_time' 
Apr 24 21:51:13 raspberrypi weewx [9579]:  Traceback (most recent call 
last): 
Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate 
Apr 24 21:51:13 raspberrypi weewx [9579]:  fd.write (str 
(compiled_template)) 
Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
__str__ Apr 24 21:51:13 raspberrypi weewx [9579]:  rc = getattr (self, 
mainMethName) () 
Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
"cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py", 
line 825, in respond 
Apr 24 21:51:13 raspberrypi weewx [9579]:  File 
"cheetah__etc_weewx_skins_Standard_index_html_tmpl_1619293873_73_36940.py", 
line 98, in __errorCatcher5 
Apr 24 21:51:13 raspberrypi weewx [9579]:  File "", line 1, in 
  
I don't know what I'm doing wrong.
Thanks for your quick response. 

El sábado, 24 de abril de 2021 a las 19:04:41 UTC+2, tke...@gmail.com 
escribió:

> If you know the unix epoch time, it's easy enough. For example, for all 
> the rain since 1-Jan-2021  UTC:
>
> Rain since the start of the year UTC: 
> $current(current_time=1609459200).rain.sum
>
>
> On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:
>
>>
>> Good afternoon. How can I get the accumulated rain from a date . Example 
>> from September until now. Thank you. 
>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e65cade1-28b2-4493-9b87-f4131332f456n%40googlegroups.com.


Re: [weewx-user] Acumulated rain since a date.

2021-04-24 Thread Tom Keffer
If you know the unix epoch time, it's easy enough. For example, for all the
rain since 1-Jan-2021  UTC:

Rain since the start of the year UTC:
$current(current_time=1609459200).rain.sum


On Sat, Apr 24, 2021 at 9:54 AM Manuel  wrote:

>
> Good afternoon. How can I get the accumulated rain from a date . Example
> from September until now. Thank you.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAPu_SECRdhFR%3DS7PW0E%2BVi7kuv149tRW2UJvXbesb1Jw%40mail.gmail.com.


[weewx-user] Acumulated rain since a date.

2021-04-24 Thread Manuel

Good afternoon. How can I get the accumulated rain from a date . Example 
from September until now. Thank you. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2856f638-d857-4966-94a8-9a1975020e4bn%40googlegroups.com.