Sorry I only just read this.
*need the historygenerator.py from bootstrap v3 skin*
*can you found on Github:*
https://github.com/WernerKr/Ecowitt-or-DAVIS-stations-and-Season-skin/blob/main/weewx/user/historygenerator3.py

Here is bootstrap 3 used 
*skin.conf from Seasons skin:*

[BootstrapLabels]
    #
    # Labels specific to the Bootstrap template
    #

    title = "The weather, in ...."
    location_href = "http://en.wikipedia.org/wiki/Royston,_Hertfordshire";
    footer = "© xx 20xx"

    [[headings]]
        front_page  = The Weather
        stats       = Stats
        history     = History
        news        = News
        about       = About
        last_update = Last updated

    [[timespans]]
        day      = Last 24 hours
        today    = Today            # today = any time since midnight
        week     = This week
        month    = This Month
        year     = This Year
        ever     = Since ever

    [[status]]
        latitude       = Latitude:
        longitude      = Longitude:
        altitude       = Altitude:
        station_uptime = Station uptime:
        server_uptime  = Server uptime:

    [[history_tables]]
        min_temp  = Minimum Temperature
        max_temp  = Maximum Temperature
        avg_temp  = Average Temperature
        rain      = Rainfall
        rain_days = Days of rain
        NOAA      = NOAA Data
        max_windGust = Maximum Gust
        max_radiation = Maximum Radiation
        max_UV = Maximum UV radiation
        max_pressure = Maximum Barometer
        min_pressure = Minimum Barometer
        avg_pressure = Average Barometer
        max_barometer = Maximum Barometer
        min_barometer = Minimum Barometer
        avg_barometer = Average Barometer
        windGust = Windgust
        UV = UV radiation
        pressure = Barometer
        radiation = Solar Radiation
        outTemp_days = Number of summer days (maximum 
temperature ≥25°C)
        outTemp20_days = Number of warm days (minimum 
temperature ≥20°C)
        outTemp20x_days = Number of days (minimum temperature ≥17°C)
        outTemp0_days = Number of frost days (minimum temperature ≤0°C)
        outTemp00_days = Number of ice days (maximum temperature ≤0°C)
        vegetations_days = Vegetation days (average temperature ≥5°C)
        sunshineDur = Sunshine duration
        rainDur = Precipitation duration
        hailDur = Precipitation duration Piezo
        rainDur_2 = Precipitation duration VUE

    [[minmax]]
        min = Low
        max = High

############################################################################################
[HistoryReport]

    [[sunshineDur]]
        obs_type = sunshineDur
        aggregate_type = sum
        units = hours
        startdate = 1672531200
        minvalues = 0, 50, 100, 150, 200, 250
        maxvalues = 50, 100, 150, 200, 250, 500
        colors = "#f4f7e1", "#ebf79b", "#f7f74c", "#f9f904", "#f9e468", 
"#f9d713"
         fontColors = "#000000", "#000000", "#000000", "#000000", 
"#000000", "#000000"
        summary_column = true

    [[rainDur]]
        obs_type = rainDur
        aggregate_type = sum
        units = hours
        startdate = 1672531200
        minvalues = 0, 25, 50, 75, 100, 150, 200, 250, 300, 350
        maxvalues = 25, 50, 75, 100, 150, 200, 250, 300, 350, 500
        colors = "#efefff", "#07f1ff", "#07d1ff", "#07a1ff", "#0788ff", 
"#076dff", "#0751ff", "#0737ff", "#0722ff", "#070cff"
         fontColors = "#000000", "#000000", "#ffffff", "#ffffff", 
"#bbbbbb", "#bbbbbb", "#ffffff", "#ffffff", "#bbbbbb", "#bbbbbb"
        summary_column = true

[CheetahGenerator]
    search_list_extensions = user.historygenerator3.MyXSearch
## historygenerator has been renamed to historygenerator3 because I am also 
using bootstrap 4.4.

*in index.html.tmpl:*

    <style type="text/css">

.col-md-8 {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.col-md-8 table th {
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid;
}

.col-md-8 table td {
    font-weight: normal;
    text-align: right;
    font-size: 11px;
    padding-right: 5px;
    padding-left: 5px;
    border-bottom: 1px solid;
}

.history {
  #font-size: calc(8px + 0.5vw);
  font-size: 1.1vw;
  margin-bottom: 30px;
  overflow: auto;
  float: left;
}
    </style>

## after the year graphics 

 <div id="history_chronicle" class="history" style="display:none">
           <div class="col-md-8">
  <h4>$BootstrapLabels.history_tables.sunshineDur</h4>
$sunshineDur_table

 <h4>$BootstrapLabels.history_tables.rainDur</h4>
$rainDur_table
           </div>
          </div>

vince schrieb am Sonntag, 10. August 2025 um 18:03:04 UTC+2:

> Werner - can you share your configuration for the Sunshine and 
> Precipitation duration tables ?    I'd like to add that to my setup here.
>
> On Sunday, August 10, 2025 at 3:36:25 AM UTC-7 Werner Krenn wrote:
>
> > Is there any particular reason why you are specifying that delta times 
> should be in hours?
>
> Graphic with delta_time = hour
> [image: Deltatime.png]
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/037cc60d-a26e-47d6-9a91-85c93ecdfa51n%40googlegroups.com.

Reply via email to