The keywords for graphs.conf differ a little bin from those in weewx.conf. 
The plot type is "type" only. "yscale" is not available. Use "yAxis_min", 
"yAxis_max", and "yAxis_tickinterval" instead. "windrun" must be included 
in the database. If not, use "weectl database" to insert it.

vince schrieb am Dienstag, 4. Juni 2024 um 20:51:13 UTC+2:

> FWIW, this seems to generate the same high peak for the year that matches 
> Belchertown's records page for the year, although I'm at a bit of a loss 
> regarding .
>
> See if this works for you in your [year] section of graphs.conf
>
>      [[yearwindrun]]
>        title = Wind Run
>        yscale = None, None, 0.02
>        plot_type = bar
>        [[[windrun]]]
>           aggregate_type = sum
>           aggregate_interval = 86400
>
> If you want to generate a similar graph in cheetah for a normal 
> (non-highcharts) skin, just add one level of [ ] around the example above 
> and stick it in skin.conf
>
> I'm terrible at tweaking cheetah vs. highcharts graphs so I don't have a 
> good solution if you want stuff in your week or month graphs.   Basically 
> you want the sum of the windrun for a day.
>
> On Tuesday, June 4, 2024 at 9:58:29 AM UTC-7 vince wrote:
>
>> You give up quickly.  If windrun is in your db and your Belchertown 
>> 'records' page, you just need to find the right incantation to graph it 
>> however you want.
>>
>> First check your db to be sure....
>>
>> My VP2 data from the archive table
>>
>> sqlite> select datetime(dateTime,'unixepoch','localtime'),windrun from 
>> archive order by rowid desc limit 5;
>> 2024-06-04 09:40:00|0.5
>> 2024-06-04 09:35:00|0.583333333333333
>> 2024-06-04 09:30:00|0.5
>> 2024-06-04 09:25:00|0.5
>> 2024-06-04 09:20:00|0.333333333333333
>>
>> or from the day summary table
>>
>> select 
>> datetime(dateTime,'unixepoch','localtime'),dateTime,min,max,sum,wsum from 
>> archive_day_windrun order by rowid desc limit 10;
>>
>> sqlite> select datetime(dateTime,'unixepoch','localtime'),sum,wsum from 
>> archive_day_windrun order by rowid desc limit 5;
>> 2024-06-04 00:00:00|29.75|8925.0
>> 2024-06-03 00:00:00|117.0|35100.0
>> 2024-06-02 00:00:00|60.25|18075.0
>> 2024-06-01 00:00:00|25.1666666666667|7550.0
>> 2024-05-31 00:00:00|37.6666666666667|11300.0
>>
>> (the last few days have been very windy here and it's only 9am)
>>
>> and the Belchertown skin 'Records' page should show your yearly and 
>> alltime record totals for a day
>>
>> Highest Daily Wind Run188.83 milesJanuary 9, 2024228.67 milesNovember 
>> 15, 2021
>>
>>
>>

-- 
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/980909c5-17c0-4990-97de-5f1d8e2a8110n%40googlegroups.com.

Reply via email to