# configuration file for the basic skin
# The basic skin was created by Matthew Wall.
#
# This skin can be copied, modified, and distributed as long as this notice
# is included in any derivative work.
#
# This skin uses the dejavu sans mono font:
#   apt-get install ttf-dejavu-core
#   apt-get install ttf-dejavu-extra

#[Extras]
#    current = /home/weewx/skins/basic/current.inc
#    hilo = /home/weewx/skins/basic/hilo.inc

[Units]
    [[Groups]]
        group_altitude    = meter
        group_degree_day  = degree_C_day
        group_direction   = degree_compass
        group_moisture    = centibar
        group_percent     = percent
        group_pressure    = hPa
        group_radiation   = watt_per_meter_squared
        group_rain        = mm
        group_rainrate    = mm_per_hour
        group_speed       = meter_per_second
        group_speed2      = meter_per_second2
        group_temperature = degree_C
        group_uv          = uv_index
        group_volt        = volt

        # The following groups are used internally and should not be changed:
        group_count        = count
        group_interval     = minute
        group_time         = unix_epoch
        group_elapsed      = second

    [[TimeFormats]]
        #
        # More attractive formats that work in most Western countries.
        #
        day        = %H:%M
        week       = %H:%M on %A
        month      = %d-%b-%Y %H:%M
        year       = %d-%b-%Y %H:%M
        rainyear   = %d-%b-%Y %H:%M
        current    = %d-%b-%Y %H:%M
        ephem_day  = %H:%M
        ephem_year = %d-%b-%Y %H:%M


[Labels]
    [[Generic]]
        inTemp     = Salon
        outTemp    = Balkon
        extraTemp1 = Tymek
        inHumidity = Salon
        outHumidity = Balkon
        extraHumid1 = Tymek

[CheetahGenerator]
    encoding = html_entities
    [[ToDate]]
        [[[index]]]
            template = index.html.tmpl
    [[Kindle]]
        [[[index]]]
            template = kindle.txt.tmpl

[CopyGenerator]
    copy_once = favicon.ico, basic.css

[ImageGenerator]
    image_width = 600
    image_height = 300
    image_background_color = 0xffffff

    chart_background_color = 0xffffff
    chart_gridline_color = 0xeaeaea
    
    top_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf
    top_label_font_size = 10
    
    unit_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
    unit_label_font_size = 10
    unit_label_font_color = 0xaaaaaa
    
    bottom_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
    bottom_label_font_size = 10
    bottom_label_font_color = 0xaaaaaa
 
    axis_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf   
    axis_label_font_size = 10
    axis_label_font_color = 0xaaaaaa
    
    rose_label = N
    rose_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
    rose_label_font_size  = 8
    rose_label_font_color = 0x888888
    rose_color = 0xaaaaaa

    chart_line_colors = 0xa0a030, 0xd0d080, 0x0a0a01
    chart_fill_colors = 0xd0d090, 0xdfdfd0, 0x5a5a51

    daynight_day_color = 0xffffff
    daynight_night_color = 0xf6f6f8
    daynight_edge_color = 0xafefef

    line_type = 'solid'

    marker_size = 2
    marker_type ='none'
    
    plot_type = line
    aggregate_type = none
    width = 1
    time_length = 97200    # 27 hours

    [[day_images]]
        x_label_format = %H:%M
        bottom_label_format = %d-%b-%Y %H:%M
        show_daynight = true

        [[[dayinouthum]]]
            yscale = 0, 100, 10
            [[[[outHumidity]]]]
            [[[[inHumidity]]]]
            [[[[extraHumid1]]]]

        [[[dayinouttempdew]]]
            [[[[outTemp]]]]
            [[[[inTemp]]]]
            [[[[extraTemp1]]]]

    [[week_images]]
        x_label_format = %d
#        bottom_label_format = %x %X
        bottom_label_format = %d-%b-%Y %H:%M
#        show_daynight = true
        time_length = 604800    # == 7 days
        aggregate_type = avg
        aggregate_interval = 3600

        [[[weekinouthum]]]
            yscale = 0, 100, 10
            [[[[outHumidity]]]]
            [[[[inHumidity]]]]
            [[[[extraHumid1]]]]

        [[[weekinouttempdew]]]
            [[[[outTemp]]]]
            [[[[inTemp]]]]
            [[[[extraTemp1]]]]


    [[month_images]]
        x_label_format = %d
#        bottom_label_format = %x %X
        bottom_label_format = %d-%b-%Y %H:%M
        show_daynight = true
        time_length = 2592000    # == 30 days
        aggregate_type = avg
        aggregate_interval = 10800    # == 3 hours

        [[[monthinouthum]]]
            yscale = 0, 100, 10
            [[[[outHumidity]]]]
            [[[[inHumidity]]]]
            [[[[extraHumid1]]]]

        [[[monthinouttempdew]]]
            [[[[outTemp]]]]
            [[[[inTemp]]]]
            [[[[extraTemp1]]]]


    [[year_images]]
        image_width = 1200
        x_label_format = %m/%d
#        bottom_label_format = %x %X
        bottom_label_format = %d-%b-%Y %H:%M
        time_length = 31536000    # == 365 days
        aggregate_type = avg
        aggregate_interval = 86400
#        show_daynight = true

        [[[yearinouthum]]]
            yscale = 0, 100, 10
            [[[[outHumidity]]]]
            [[[[inHumidity]]]]
            [[[[extraHumid1]]]]

        [[[yearinouttempdew]]]
            [[[[outTemp]]]]
            [[[[inTemp]]]]
            [[[[extraTemp1]]]]



[Generators]
    generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.imagegenerator.ImageGenerator, weewx.reportengine.CopyGenerator
