Then is it possible to generate plots that cover the current 48 hours? They 
would end with the current time but would span 2 days.
Thanks
Phil

On Saturday, April 18, 2020 at 1:25:53 AM UTC+2, Thomas Keffer wrote:
>
> Unfortunately, no. The ImageGenerator can only make plots that end with 
> the current time.
>
> -tk
>
> On Fri, Apr 17, 2020 at 8:11 AM Messy Potamia <[email protected] 
> <javascript:>> wrote:
>
>> Thanks, the tables are great. 
>> - - -
>> Reading through the .tmpls & skin.conf, and 
>> http://www.weewx.com/docs/customizing.htm, I cannot glean how to tell 
>> the plot generator to generate a plot that is from the same time period 24 
>> hours ago. Is there a way to get those?
>> Thanks,
>> Phil
>>
>> On Friday, April 17, 2020 at 4:23:24 PM UTC+2, Messy Potamia wrote:
>>>
>>> Thanks, trying that now...
>>>
>>> On Friday, April 17, 2020 at 4:18:33 PM UTC+2, Thomas Keffer wrote:
>>>>
>>>> The two tags serve different purposes. The tag $yesterday represents 
>>>> an *aggregation* over the day. The tag $current represents a single 
>>>> record. There is an undocumented feature in v3.9.2 (documented in V4.0) 
>>>> that gets you what you want:
>>>>
>>>> <p>The temperature 24 hours ago was 
>>>> $current(timestamp=$current.dateTime.raw-86400).outTemp</p>
>>>>
>>>>
>>>> -tk
>>>>
>>>> On Fri, Apr 17, 2020 at 7:01 AM Messy Potamia <[email protected]> 
>>>> wrote:
>>>>
>>>>> The high/low table is working, showing but I'd like to get the upper 
>>>>> table in yesterday.html.tmpl  to show the data from 86400 seconds 
>>>>> ago, or one day ago, $day($days_ago=1), or $yesterday.  This doesn't seem 
>>>>> to be working.
>>>>> In otherwords, on my Yesterday page, (weewx 3.9.2 Standard skins) I'd 
>>>>> like it to show the same data as if you looked at it exactly 24 hrs ago. 
>>>>> When I replace the $current.outTemp with $yesterday.outTemp,  it 
>>>>> generates an error. 
>>>>> Any ideas?   Thanks--
>>>>>
>>>>> -- 
>>>>> 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 [email protected].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/571e351c-cbbc-446a-8cc5-e7e96fa95a42%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/571e351c-cbbc-446a-8cc5-e7e96fa95a42%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/207b4e40-894c-42d2-88bc-9e1b4a31d7eb%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/207b4e40-894c-42d2-88bc-9e1b4a31d7eb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/875a4c41-ee22-48a2-8dfd-59409269ee6a%40googlegroups.com.

Reply via email to