Hi Andy

If you do want to have a Yesterday graph you can use:

time_length = days_ago
time_ago = 1

See 
https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation#time-scales-for-charts

Paul

On Sunday, 20 February 2022 at 10:28:32 UTC andyhud...@googlemail.com wrote:

> Yep, it was the time in my yesterday graph.conf - much appreciated. I 
> decided to remove the 'yesterday' option and the reports all run fine now.
>
> Thanks again!
>
> Andy
> On Saturday, 19 February 2022 at 16:18:35 UTC tke...@gmail.com wrote:
>
>> Option "time_length 
>> <http://www.weewx.com/docs/customizing.htm#Plot_scaling_options>" is set 
>> to the string 'yesterday', instead of a number. 
>>
>> On Sat, Feb 19, 2022 at 8:04 AM 'andyhud...@googlemail.com' via 
>> weewx-user <weewx...@googlegroups.com> wrote:
>>
>>> Edit - noting it's not a sudden error, my Yesterday Graph has not 
>>> updated for 10 days, so i must be something in my graphs.conf ... :)
>>>
>>> Andy
>>>
>>> On Saturday, 19 February 2022 at 15:35:10 UTC andyhud...@googlemail.com 
>>> wrote:
>>>
>>>> Afternoon - weewx has been happily running, i noticed when i run 
>>>> reports i get an error (yet the website seems to be working ok? -  
>>>> http://www.finchamweather.co.uk/) 
>>>>
>>>> Any help would be really appreciated:
>>>>
>>>> Using configuration file /etc/weewx/weewx.conf
>>>>
>>>> Generating for all time
>>>>
>>>> Traceback (most recent call last):
>>>>
>>>>   File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
>>>>
>>>>     obj.start()
>>>>
>>>>   File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
>>>>
>>>>     self.run()
>>>>
>>>>   File "/usr/share/weewx/user/belchertown.py", line 2520, in run
>>>>
>>>>     time_length = int(time_length)
>>>>
>>>> ValueError: invalid literal for int() with base 10: 'yesterday'
>>>>
>>>>
>>>> Andy
>>>>
>>> -- 
>>> 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/fb81a4c6-39b6-4542-9d23-aff2ec4cefd5n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/fb81a4c6-39b6-4542-9d23-aff2ec4cefd5n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bb0e9c17-3a3b-4687-bf51-5e0e0f5dc74cn%40googlegroups.com.

Reply via email to