Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [StdReport]
- # added
- skin = Standard
- # Where the skins reside, relative to WEEWX_ROOT
- SKIN_ROOT = skins
- # Where the generated reports should go, relative to WEEWX_ROOT
- HTML_ROOT = public_html
- # The database binding indicates which data should be used in reports.
- data_binding = wx_binding
- # Each of the following subsections defines a report that will be run.
- [[StandardReport]]
- # See the customizing guide to change the units, plot types and line
- # colors, modify the fonts, display additional sensor data, and other
- # customizations. Many of those changes can be made here by overriding
- # parameters, or by modifying templates within the skin itself.
- # The StandardReport uses the 'Standard' skin, which contains the
- # images, templates and plots for the report.
- skin = Standard
- [[[Units]]]
- [[[[Groups]]]]
- group_altitude = foot
- #group_speed2 = knots2
- group_speed2 = mile_per_hour2
- group_pressure = inHg
- group_rain = inch
- group_rainrate = inch_per_hour
- group_temperature = degree_F
- group_degree_day = degree_F_day
- group_speed = mile_per_hour
- [[StackedWindRose]]
- # set the options here.
- # this is an extension installed from github.com/gjr80/weewx-stackedwindrose
- skin = StackedWindRose
- [[[Units]]]
- [[[[Labels]]]]
- mile_per_hour = mph
- meter_per_second = m/s
- knot = knots
- km_per_hour = km/h
- [[[[Groups]]]]
- group_speed = knot
- [[[Labels]]]
- compass_points = N, S, E, W
- [[[[Generic]]]]
- windSpeed = Wind Speed
- windGust = Gust Speed
- [[[ImageStackedWindRoseGenerator]]]
- image_width = 500
- image_height = 480
- # size of label on top ("24 hour wind rose")
- windrose_label_font_size = 22
- # note that I added these offset values to imagestackedwindrose.py
- windrose_label_xoffset = 50
- windrose_label_yoffset = 0
- # text in the legend (thermometer on side)
- windrose_legend_font_size = 12
- # size of the percentage markers and the compass points
- windrose_plot_font_size = 12
- # the border outside the rose before edge of graphic?
- windrose_plot_border = 8
- windrose_legend_bar_width = 13
- image_background_box_color = 0xF5C696
- #image_background_box_color = 0xFFFFFF
- image_background_circle_color = 0xF5F5F5
- image_background_image = None
- image_background_range_ring_color = 0xC3D9DD
- #windrose_plot_petal_colors = aqua, 0xFF9900, 0xFF3300, 0x009900, 0x00CC00, 0x33FF33, 0x00FFCC
- # color scheme from http://climate.ncsu.edu/dynamic_scripts/windrose/KRDU_windrose.png
- windrose_plot_petal_colors = "" #ffffff, #0000ff, #11f2cd, #00de34, #ffe600, #ff4700, #800000
- windrose_font_path = /home/weewx/fonts/HelveticaNeueHv.ttf
- # the width of each of the pieces of wind directions ("rose petals")
- windrose_plot_petal_width = 20
- windrose_label_font_color = 0x000000
- windrose_legend_font_color = 0x000000
- windrose_plot_font_color = 0x000000
- [[[[day_images]]]]
- period = 86400 # 1 day = 86400 seconds
- [[[[[daywindrose]]]]]
- format = png
- [[[[[[windSpeed]]]]]]
- time_stamp_location = bottom, right
- time_stamp = %H:%M %-d %b %y
- label = 24 Hour Wind Rose
- [[forecast]]
- HTML_ROOT = public_html/forecast
- #HTML_ROOT = /home/weewx/public_html/forecast
- skin = forecast
- [[NWS]]
- #lid = MAZ014 # specify a location identifier
- #foid = BOX # specify a forecast office identifier
- [[WU]]
- api_key = b721616405a3117e # specify a weather underground api_key
- [[OWM]]
- #api_key = XXXXXXXXXXXXXXXX # specify an open weathermap api_key
- [[UKMO]]
- #api_key = XXXXXXXXXXXXXXXX # specify a UK met office api_key
- #location = 2337 # specify code for UK location
- [[Aeris]]
- #client_id = XXXXXXXXXXXXXXXX # specify client identifier
- #client_secret = XXXXXXXXXXXXXXXX # specify client secret key
- [[XTide]]
- #location = "Tomales Bay Entrance, California" # specify a location
- location = boston # "Tomales Bay Entrance, California" # specify a location
- [[FTP]]
- # FTP'ing the results to a webserver is treated as just another report,
- # albeit one with an unusual report generator!
- skin = Ftp
- # If you wish to use FTP, uncomment and fill out the next four lines.
- user = yyyyyyyyyyyyyyyyyy
- password = xxxxxxxxxxxxx
- server = sinkingsensation.com
- path = /whatever
- # Set to True for an FTP over TLS (FTPS) connection. Not all servers
- # support this. NOTE THAT WITH MOD THIS SHOULD BE SFTP.
- secure_ftp = False
- # Most FTP servers use port 21
- port = 22
- # Set to 1 to use passive mode, zero for active mode
- passive = 0
- [[RSYNC]]
- # rsync'ing to a webserver is treated as just another report
- skin = Rsync
- # If you wish to use rsync, you must configure passwordless ssh using
- # public/private key authentication from the user account that weewx
- # runs as to the user account on the remote machine where the files
- # will be copied.
- #
- # The following three lines determine where files will be sent.
- #server = replace with the rsync server name, e.g, www.threefools.org
- #path = replace with the rsync destination directory (e.g., /weather)
- #user = replace with the rsync username
- # Rsync can be configured to remove files from the remote server if
- # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
- # make a mistake in the remote path, you could could unintentionally
- # cause unrelated files to be deleted. Set to 1 to enable remote file
- # deletion, zero to allow files to accumulate remotely.
- delete = 0
- ##############################################################################
- # This service acts as a filter, converting the unit system coming from
- # the hardware to a unit system in the database.
- [StdConvert]
- ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement