Hi!
I'm currently recording outside Humidex and I'd like to add inside Humidex
to my graphs.
Is it possible? Do you have an example I can follow?
I'm using WeeWx 5.0.2 on a Raspberry Pi 4B on Bookworm, hoping to add to
Belchertown skin.
Thanks in advance for any pointers!
Martin VE2MRX
Extract of weewx.conf:
[SDR]
# This section is for the software-defined radio driver.
# The driver to use
driver = user.sdr
cmd="/usr/local/bin/rtl_433 -M utc -F json"
log_unknown_sensors = True
log_unmapped_sensors = True
[[sensor_map]]
outTemp = temperature.0283.AcuriteAtlasPacket
outHumidity = humidity.0283.AcuriteAtlasPacket
windSpeed = wind_speed.0283.AcuriteAtlasPacket
windDir = wind_dir.0283.AcuriteAtlasPacket
UV = uv.0283.AcuriteAtlasPacket
rainTotal = rain_total.0283.AcuriteAtlasPacket
luminosity = lux.0283.AcuriteAtlasPacket
lightning_strike_count = strike_count.0283.AcuriteAtlasPacket
lightning_distance = strike_distance.0283.AcuriteAtlasPacket
lux = lux.0283.AcuriteAtlasPacket
inTemp = temperature.1966.AcuriteTowerPacketV2
inHumidity = humidity.1966.AcuriteTowerPacketV2
extraTemp2 = temperature.2ED2.AcuriteTowerPacketV2
extraHumid2 = humidity.2ED2.AcuriteTowerPacketV2
--
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 on the web visit
https://groups.google.com/d/msgid/weewx-user/bb79448d-39f7-4413-8c5a-eda8d1d494dbn%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2024 Tom Keffer <[email protected]>
# See the file LICENSE.txt for your rights.
##############################################################################
# This section is for general configuration information.
# Set to 1 for extra debug info, otherwise comment it out or set to zero.
debug = 0
# Whether to log successful operations. May get overridden below.
log_success = True
# Whether to log unsuccessful operations. May get overridden below.
log_failure = True
# This configuration file was created by ...
version = 5.0.2
##############################################################################
# This section is for information about the station.
[Station]
# Description of the station location, such as your town.
location = "Sainte-Julie, QC, Canada"
# Latitude in decimal degrees. Negative for southern hemisphere.
latitude = 45.523
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = -73.320
# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 36, meter # Choose 'foot' or 'meter' for unit
# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
#station_type = AcuRite
station_type = SDR
# If you have a website, you may specify an URL. The URL is required if you
# intend to register your station. The URL must include the scheme, for
# example, "http://" or "https://"
#station_url = https://www.example.com
# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1
# Start of week (0=Monday, 6=Sunday)
week_start = 6
##############################################################################
[Simulator]
# This section is for the weewx weather station simulator.
# The time (in seconds) between LOOP packets.
loop_interval = 2.5
# The simulator mode can be either 'simulator' or 'generator'.
# Real-time simulator. Sleep between each LOOP packet.
mode = simulator
# Generator. Emit LOOP packets as fast as possible (useful for testing).
#mode = generator
# The start time. Format is YYYY-mm-ddTHH:MM. If not specified, the
# default is to use the present time.
#start = 2011-01-01T00:00
# The driver to use.
driver = weewx.drivers.simulator
##############################################################################
# This section is for uploading data to Internet sites
[StdRESTful]
# Uncomment and change to override logging for uploading services.
# log_success = True
# log_failure = True
[[StationRegistry]]
# To register this weather station at weewx.com, set this to true, and
# set option 'station_url', located in the [Station] section above.
register_this_station = False
[[AWEKAS]]
# This section is for configuring posts to AWEKAS.
# If you wish to post to AWEKAS, set the option 'enable' to true, then
# specify a username and password.
# Use quotes around the password to guard against parsing errors.
enable = false
username = replace_me
password = replace_me
[[CWOP]]
# This section is for configuring posts to CWOP.
# If you wish to post to CWOP, set the option 'enable' to true,
# then specify the station ID (e.g., CW1234).
enable = false
station = replace_me
# If this is an APRS (radio amateur) station, specify the
# passcode (e.g., 12345). Otherwise, ignore.
passcode = replace_me
[[PWSweather]]
# This section is for configuring posts to PWSweather.com.
# If you wish to post to PWSweather.com, set the option 'enable' to
# true, then specify a station and password.
# Use quotes around the password to guard against parsing errors.
enable = false
station = replace_me
password = replace_me
[[WOW]]
# This section is for configuring posts to WOW.
# If you wish to post to WOW, set the option 'enable' to true, then
# specify a station and password.
# Use quotes around the password to guard against parsing errors.
enable = false
station = replace_me
password = replace_me
[[Wunderground]]
# This section is for configuring posts to the Weather Underground.
# If you wish to post to the Weather Underground, set the option
# 'enable' to true, then specify a station (e.g., 'KORHOODR3'). Use
# the station key (find it at
# https://www.wunderground.com/member/devices) for the password.
enable = false
station = replace_me
password = replace_me
# Set the following to True to have weewx use the WU "Rapidfire"
# protocol. Not all hardware can support it. See the User's Guide.
rapidfire = False
##############################################################################
# This section specifies what reports, using which skins, to generate.
[StdReport]
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = /var/www/html/weewx
# Uncomment and change to override logging for reports.
# log_success = True
# log_failure = True
# 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.
# 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.
[[SeasonsReport]]
# The SeasonsReport uses the 'Seasons' skin, which contains the
# images, templates and plots for the report.
skin = Seasons
enable = true
HTML_ROOT = /var/www/html/weewx/seasons
[[SmartphoneReport]]
# The SmartphoneReport uses the 'Smartphone' skin, and the images and
# files are placed in a dedicated subdirectory.
skin = Smartphone
enable = false
HTML_ROOT = /var/www/html/weewx/smartphone
[[MobileReport]]
# The MobileReport uses the 'Mobile' skin, and the images and files
# are placed in a dedicated subdirectory.
skin = Mobile
enable = true
HTML_ROOT = /var/www/html/weewx/mobile
[[StandardReport]]
# This is the old "Standard" skin. By default, it is not enabled.
skin = Standard
enable = false
[[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, set "enable" to "true", then fill out the
# next four lines.
# Use quotes around the password to guard against parsing errors.
enable = false
user = replace_me
password = replace_me
server = replace_me # The ftp server name, e.g, www.myserver.org
path = replace_me # The destination directory, e.g., /weather
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = False
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
#HTML_ROOT = /var/www/html/weewx
# Most FTP servers use port 21.
port = 21
# Set to 1 to use passive mode, zero for active mode
passive = 1
[[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 to the user account on the remote machine where the files
# will be copied.
#
# If you wish to use rsync, set "enable" to "true", then
# fill out server, user, and path.
# The server should appear in your .ssh/config file.
# The user is the username used in the identity file.
# The path is the destination directory, such as /var/www/html/weather.
# Be sure that the user has write permissions on the destination!
enable = false
server = replace_me
user = replace_me
path = replace_me
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
#HTML_ROOT = /var/www/html/weewx
# 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
[[Belchertown]]
HTML_ROOT = /var/www/html/weewx/Belchertown
skin = Belchertown
[[[Extras]]]
# General Site Defaults
belchertown_debug = 0
belchertown_locale = "auto"
theme = auto
theme_toggle_enabled = 1
site_title = "Sainte-Julie, QC"
logo_image = ""
logo_image_dark = ""
radar_html = "<iframe width="650" height="360"
src="https://embed.windy.com/embed.html?type=map&location=coordinates&metricRain=mm&metricTemp=°C&metricWind=km/h&zoom=8&overlay=wind&product=ecmwf&level=surface&lat=45.573&lon=-73.320&detailLat=45.57278&detailLon=-73.31963&marker=true"
frameborder="0"></iframe>"
#radar_html = "<iframe width="650" height="360"
src="https://embed.windy.com/embed2.html?lat=45.564&lon=-73.347&detailLat=45.573&detailLon=-73.320&width=650&height=360&zoom=8&level=surface&overlay=wind&product=ecmwf&menu=&message=&marker=1&calendar=now&pressure=&type=map&location=coordinates&detail=&metricWind=km%2Fh&metricTemp=%C2%B0C&radarRange=-1"
frameborder="0"></iframe>"
#radar_html = "<iframe width="650" height="360"
src="https://embed.windy.com/embed2.html?lat=45.564&lon=-73.347&detailLat=45.165&detailLon=-73.328&width=650&height=360&level=surface&overlay=wind&product=ecmwf&menu=&message=&calendar=now&pressure=&type=map&location=coordinates&detail=&metricWind=km%2Fh&metricTemp=%C2%B0C&radarRange=-1"
frameborder="0"></iframe>"
radar_zoom = 8
radar_marker = 1
almanac_extras = 1
# Station Observations. Special observation rainWithRainRate
combines Daily Rain with Rain Rate in 1 line
station_observations = "barometer", "dewpoint", "outHumidity",
"rainWithRainRate"
# Manifest Settings for Mobile Phones
manifest_name = "Sainte-Julie, QC"
manifest_short_name = "STJ"
# Highcharts settings
highcharts_enabled = 1
graph_page_show_all_button = 1
graph_page_default_graphgroup = "day"
highcharts_homepage_graphgroup = "homepage"
highcharts_decimal = "auto"
highcharts_thousands = "auto"
# MQTT Websockets defaults
mqtt_websockets_enabled = 0
mqtt_websockets_host = ""
mqtt_websockets_port = 1883
mqtt_websockets_ssl = 0
mqtt_websockets_topic = ""
disconnect_live_website_visitor = 1800000
# Show an alert if the page updated timestamp is older than
expected with this setting. Does not apply to MQTT Websocket enabled websites
# The late time threshold is defined in seconds. This should be
greater than your archive_interval from weewx.conf.
# Typically you would want this 2 or 3 times archive_interval
show_last_updated_alert = 0
last_updated_alert_threshold = 1800
# If mqtt_websockets_enabled is set to 0, but want the page to full
reload on an interval, specify this below in milliseconds. 300000 = 5 minutes
webpage_autorefresh = 300000
# Image Reload Section.
# Set reload_hook_images to 1 to enable, then set the number of
*seconds* for each section to reload.
# A value of -1 will disable reloading images in that section.
# radar = the radar image if you used radar_html setting
# asi = index_hook_after_station_info.inc
# af = index_hook_after_forecast.inc
# as = index_hook_after_snapshot.inc
# ac = index_hook_after_charts.inc
reload_hook_images = 0
reload_images_radar = 300
reload_images_hook_asi = -1
reload_images_hook_af = -1
reload_images_hook_as = -1
reload_images_hook_ac = -1
# Forecast defaults
forecast_enabled = 0
forecast_provider = "aeris"
forecast_api_id = ""
forecast_api_secret = ""
forecast_units = "ca"
forecast_lang = "en"
forecast_stale = 3540
forecast_aeris_use_metar = 1
forecast_alert_enabled = 0
forecast_alert_limit = 1
forecast_show_daily_forecast_link = 0
forecast_daily_forecast_link = ""
# Earthquake defaults
earthquake_enabled = 1
earthquake_maxradiuskm = 1000
earthquake_stale = 10740
earthquake_server = USGS
# Social Share Button Defaults. Define the text below under Labels
facebook_enabled = 0
twitter_enabled = 0
social_share_html = "http://yourwebsite"
# Google Analytics
#googleAnalyticsId = ""
# This is the display of the Pi Kiosk which is in the /pi folder
pi_kiosk_bold = "false"
pi_theme = "auto"
[[[Labels]]]
[[[[Generic]]]]
home_page_header = "My Station Weather
Conditions"
graphs_page_header = "Weather Observation
Graphs"
reports_page_header = "Weather Observation
Reports"
records_page_header = "Weather Observation
Records"
about_page_header = "About This Site"
powered_by = "Observations are
powered by a <a
href="https://www.acurite.com/shop-all/weather-instruments/weather-stations/atlas.html"
target="_blank">Acurite Atlas weather station</a>"
footer_copyright_text = "Martin Boissonneault"
footer_disclaimer_text = "Never make important
decisions based on info from this website."
# Options in the [[Defaults]] section below will apply to all reports.
# What follows are a few of the more popular options you may want to
# uncomment, then change.
[[Defaults]]
# Which language to use for all reports. Not all skins support all
# languages. You can override this for individual reports.
lang = en
# Which unit system to use for all reports. Choices are 'us', 'metric',
# or 'metricwx'. You can override this for individual reports.
unit_system = us
[[[Units]]]
# Option "unit_system" above sets the general unit system, but
# overriding specific unit groups is possible. These are popular
# choices. Uncomment and set as appropriate. The unit is always
# in the singular, e.g., 'mile_per_hour', NOT 'miles_per_hour'
[[[[Groups]]]]
# group_altitude = meter # Options are 'foot'
or 'meter'
# group_pressure = mbar # Options are 'inHg',
'mmHg', 'mbar', or 'hPa'
# group_rain = mm # Options are 'inch',
'cm', or 'mm'
# group_rainrate = mm_per_hour # Options are
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
# group_temperature = degree_C # Options are
'degree_C', 'degree_F', or 'degree_K'
# The following line is used to keep the above lines indented
# properly. It can be ignored.
unused = unused
group_altitude = foot # Options are 'foot'
or 'meter'
group_pressure = kPa # Options are 'inHg',
'mmHg', 'mbar', 'hPa', or 'kPa'
group_rain = mm # Options are 'inch',
'cm', or 'mm'
group_rainrate = mm_per_hour # Options are
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
group_temperature = degree_C # Options are
'degree_F' or 'degree_C'
group_degree_day = degree_C_day # Options are
'degree_F_day' or 'degree_C_day'
group_distance = km # Options are 'mile'
or 'km'
group_speed = km_per_hour # Options are
'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
group_speed2 = km_per_hour2 # Options are
'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
# Uncommenting the following section frequently results in more
# attractive formatting of times and dates, but may not work in
# your locale.
[[[[TimeFormats]]]]
# 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
# The following line is used to keep the above lines indented
# properly. It can be ignored.
unused = unused
hour = %H:%M %Z
day = %H:%M %Z
week = %A, %H:%M %Z
month = %Y-%b-%d %H:%M %Z
year = %Y-%m-%d %H:%M %Z
rainyear = %Y-%m-%d %H:%M %Z
current = %Y-%m-%d %H:%M %Z
ephem_day = %H:%M %Z
ephem_year = %Y-%b-%d %H:%M %Z
[[[[Ordinates]]]]
# Ordinal directions. The last one is for no wind direction
directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW,
W, WNW, NW, NNW, N/A
# The following section sets the formatting for each type of unit.
[[[[StringFormats]]]]
centibar = %.0f
cm = %.2f
cm_per_hour = %.2f
degree_C = %.1f
degree_F = %.1f
degree_compass = %.0f
foot = %.0f
hPa = %.1f
hour = %.1f
inHg = %.3f
inch = %.2f
inch_per_hour = %.2f
km = %.1f
km_per_hour = %.0f
km_per_hour2 = %.1f
knot = %.0f
knot2 = %.1f
kPa = %.2f
mbar = %.1f
meter = %.0f
meter_per_second = %.1f
meter_per_second2 = %.1f
mile = %.1f
mile_per_hour = %.0f
mile_per_hour2 = %.1f
mm = %.1f
mmHg = %.1f
mm_per_hour = %.1f
percent = %.0f
second = %.0f
uv_index = %.1f
volt = %.1f
watt_per_meter_squared = %.0f
NONE = " N/A"
# The following section sets the base temperatures used for the
# calculation of heating, cooling, and growing degree-days.
[[[[DegreeDays]]]]
# Base temperature for heating days, with unit:
heating_base = 65, degree_F
# Base temperature for cooling days, with unit:
cooling_base = 65, degree_F
# Base temperature for growing days, with unit:
growing_base = 50, degree_F
# A trend takes a difference across a time period. The following
# section sets the time period, and how big an error is allowed to
# still be counted as the start or end of a period.
[[[[Trend]]]]
time_delta = 10800 # 3 hours
time_grace = 300 # 5 minutes
# The labels to be used for each observation type
[[[Labels]]]
# Users frequently change the labels for these observation types.
# Set to hemisphere abbreviations suitable for your location:
hemispheres = N, S, E, W
# Formats to be used for latitude whole degrees, longitude whole
# degrees, and minutes:
latlon_formats = %02d, %03d, %05.2f
# Generic labels, keyed by an observation type.
[[[[Generic]]]]
# inHumidity = Inside Humidity
# inTemp = Inside Temperature
# outHumidity = Outside Humidity
# outTemp = Outside Temperature
# extraTemp1 = Temperature1
# extraTemp2 = Temperature2
# extraTemp3 = Temperature3
# The following line is used to keep the above lines indented
# properly. It can be ignored.
unused = unused
inHumidity = Inside Humidity
inTemp = Inside Temperature
outHumidity = Outside Humidity
outTemp = Outside Temperature
extraTemp1 = BME Desk Temperature
extraTemp2 = Basement Temperature
extraTemp3 = Temperature3
barometer = Barometer
dewpoint = Dew Point
ET = ET
heatindex = Heat Index
inDewpoint = Inside Dewpoint
radiation = Radiation
maxSolarRad = Theoretical Max
rain = Rain
rainRate = Rain Rate
UV = UV Index
windDir = Wind Direction
windGust = Gust Speed
windGustDir = Gust Direction
windSpeed = Wind Speed
windchill = Wind Chill
windgustvec = Gust Vector
windvec = Wind Vector
extraHumid1 = BME Desk Humidity
extraHumid2 = Basement Humidity
extraHumid3 = Humidity3
lightning_strikes = Lightning Strikes
# Sensor status indicators
rxCheckPercent = Signal Quality
txBatteryStatus = Transmitter Battery
windBatteryStatus = Wind Battery
rainBatteryStatus = Rain Battery
outTempBatteryStatus = Outside Temperature Battery
inTempBatteryStatus = Inside Temperature Battery
consBatteryVoltage = Console Battery
heatingVoltage = Heating Battery
supplyVoltage = Supply Voltage
referenceVoltage = Reference Voltage
[[[Almanac]]]
# The labels to be used for the phases of the moon:
moon_phases = New, Waxing crescent, First quarter, Waxing gibbous,
Full, Waning gibbous, Last quarter, Waning crescent
[[[ImageGenerator]]]
[[[[day_images]]]]
bottom_label_format = %Y-%m-%d %H:%M %Z
[[[[week_images]]]]
bottom_label_format = %Y-%m-%d %H:%M %Z
[[[[month_images]]]]
bottom_label_format = %Y-%m-%d %H:%M %Z
[[[[year_images]]]]
bottom_label_format = %Y-%m-%d %H:%M %Z
##############################################################################
# This service converts the unit system coming from the hardware to a unit
# system in the database.
[StdConvert]
# The target_unit affects only the unit system in the database. Once
# chosen it cannot be changed without converting the entire database.
# Modification of target_unit after starting weewx will result in
# corrupt data - the database will contain a mix of US and METRIC data.
#
# The value of target_unit does not affect the unit system for
# reporting - reports can display US, Metric, or any combination of units.
#
# In most cases, target_unit should be left as the default: US
#
# In particular, those migrating from a standard wview installation
# should use US since that is what the wview database contains.
# DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
target_unit = US # Options are 'US', 'METRICWX', or 'METRIC'
##############################################################################
# This section can adjust data using calibration expressions.
[StdCalibrate]
[[Corrections]]
# For each type, an arbitrary calibration expression can be given.
# It should be in the units defined in the StdConvert section.
# Example:
foo = foo + 0.2
radiation = lux * 0.01075
lightning_distance = lightning_distance if lightning_strikes > 0 else
None
##############################################################################
# This section is for quality control checks. If units are not specified,
# values must be in the units defined in the StdConvert section.
[StdQC]
[[MinMax]]
barometer = 26, 32.5, inHg
pressure = 24, 34.5, inHg
outTemp = -40, 120, degree_F
inTemp = 10, 120, degree_F
outHumidity = 0, 100
inHumidity = 0, 100
windSpeed = 0, 120, mile_per_hour
rain = 0, 10, inch
##############################################################################
# This section controls the origin of derived values.
[StdWXCalculate]
[[Calculations]]
# How to calculate derived quantities. Possible values are:
# hardware - use the value provided by hardware
# software - use the value calculated by weewx
# prefer_hardware - use value provide by hardware if available,
# otherwise use value calculated by weewx
pressure = prefer_hardware
altimeter = prefer_hardware
appTemp = prefer_hardware
barometer = prefer_hardware
cloudbase = prefer_hardware
dewpoint = prefer_hardware
ET = prefer_hardware
heatindex = prefer_hardware
humidex = prefer_hardware
inDewpoint = prefer_hardware
maxSolarRad = prefer_hardware
rainRate = prefer_hardware
windchill = prefer_hardware
windrun = prefer_hardware
rainTotal = prefer_hardware
lightning_strikes = prefer_hardware
#[[WXXTypes]]
# [[[humidex]]
##############################################################################
# For hardware that supports it, this section controls how often the
# onboard clock gets updated.
[StdTimeSynch]
# How often to check the weather station clock for drift (in seconds)
clock_check = 14400
# How much it can drift before we will correct it (in seconds)
max_drift = 5
##############################################################################
# This section is for configuring the archive service.
[StdArchive]
# If the station hardware supports data logging then the archive interval
# will be downloaded from the station. Otherwise, specify it (in seconds).
archive_interval = 300
# If possible, new archive records are downloaded from the station
# hardware. If the hardware does not support this, then new archive
# records will be generated in software.
# Set the following to "software" to force software record generation.
record_generation = hardware
# Whether to include LOOP data in hi/low statistics.
loop_hilo = True
# Uncomment and change to override logging for archive operations.
# log_success = True
# log_failure = True
# The data binding used to save archive records.
data_binding = wx_binding
##############################################################################
# This section binds a data store to a database.
[DataBindings]
[[wx_binding]]
# The database must match one of the sections in [Databases].
# This is likely to be the only option you would want to change.
database = archive_sqlite
# The name of the table within the database.
table_name = archive
# The manager handles aggregation of data for historical summaries.
manager = weewx.manager.DaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
#schema = schemas.wview_extended.schema
schema = user.wview_extended_mbt.schema
##############################################################################
# This section defines various databases.
[Databases]
# A SQLite database is simply a single file.
[[archive_sqlite]]
database_name = weewx.sdb
database_type = SQLite
# MySQL
[[archive_mysql]]
database_name = weewx
database_type = MySQL
##############################################################################
# This section defines defaults for the different types of databases.
[DatabaseTypes]
# Defaults for SQLite databases.
[[SQLite]]
driver = weedb.sqlite
# Directory in which database files are located, relative to WEEWX_ROOT
SQLITE_ROOT = /var/lib/weewx
# Defaults for MySQL databases.
[[MySQL]]
driver = weedb.mysql
# The host where the database is located.
host = localhost
# The user name for logging in to the host.
user = weewx
# Use quotes around the password to guard against parsing errors.
password = weewx
##############################################################################
# This section configures the internal weewx engine.
[Engine]
# This section specifies which services should be run and in what order.
[[Services]]
prep_services = weewx.engine.StdTimeSynch
data_services = user.bme280wx.Bme280wx,
process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate,
weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
xtype_services = weewx.wxxtypes.StdWXXTypes,
weewx.wxxtypes.StdPressureCooker, weewx.wxxtypes.StdRainRater,
weewx.wxxtypes.StdDelta
archive_services = weewx.engine.StdArchive
restful_services = weewx.restx.StdStationRegistry,
weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP,
weewx.restx.StdWOW, weewx.restx.StdAWEKAS
report_services = weewx.engine.StdPrint, weewx.engine.StdReport
##############################################################################
#[AcuRite]
# # This section is for AcuRite weather stations.
#
# # The station model, e.g., 'AcuRite 01025' or 'AcuRite 02032C'
# model = AcuRite 01035
#
# # The driver to use:
# driver = weewx.drivers.acurite
[SDR]
# This section is for the software-defined radio driver.
# The driver to use
driver = user.sdr
cmd="/usr/local/bin/rtl_433 -M utc -F json"
log_unknown_sensors = True
log_unmapped_sensors = True
[[sensor_map]]
outTemp = temperature.0283.AcuriteAtlasPacket
outHumidity = humidity.0283.AcuriteAtlasPacket
windSpeed = wind_speed.0283.AcuriteAtlasPacket
windDir = wind_dir.0283.AcuriteAtlasPacket
UV = uv.0283.AcuriteAtlasPacket
rainTotal = rain_total.0283.AcuriteAtlasPacket
luminosity = lux.0283.AcuriteAtlasPacket
lightning_strike_count = strike_count.0283.AcuriteAtlasPacket
lightning_distance = strike_distance.0283.AcuriteAtlasPacket
lux = lux.0283.AcuriteAtlasPacket
inTemp = temperature.1966.AcuriteTowerPacketV2
inHumidity = humidity.1966.AcuriteTowerPacketV2
extraTemp2 = temperature.2ED2.AcuriteTowerPacketV2
extraHumid2 = humidity.2ED2.AcuriteTowerPacketV2
[[deltas]]
rain = rainTotal
lightning_strikes = lightning_strike_count
# Options for extension 'bme280wx'
[Bme280wx]
# Whether to log successful operations
log_success = false
i2c_port = 1
i2c_address = 0x77
usUnits = METRIC
temperatureKeys = extraTemp1 # inTemp
temperature_must_have = ""
pressureKeys = pressure
pressure_must_have = outTemp
humidityKeys = extraHumid1 # inHumidity
humidity_must_have = ""
[Accumulator]
[[lightning_strikes]]
extractor = sum
[[lightning_distance]]
extractor = min
# This is the Belchertown skin charting system which utilizes Highcharts to
display the chart data.
#
# PLEASE READ THE CHARTS WIKI! A lot of information is there and it will help
you!
# It is located here:
https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation
#
# Caution!
# The more charts you have, the slower things can become. This is especially
true at the YEAR level. These are interactive charts which have to build plot
points from the database on every archive interval. This could result in large
file sizes to generate, and for your website visitors to download. You're
welcome to customize as many charts as you want, but be warned things could
slow down if you do too much!
# The defaults in this skin have proven to be a good baseline for the number of
charts and options without overwhelming your system.
#
# Overview of options:
# A timespan refers to "day", "week", "month" or "year".
# The first configuration item is the graph group, such as [day], [week],
[month], [year] sections.
# The charts are defined under the graph group and can be renamed and
reorganized. They will display on your website in the order they appear here.
# Under the chart are the observation names from the WeeWX database. Any item
within your database "archive type" can be charted. For a list of "archive
types" refer to this chart. http://weewx.com/docs/customizing.htm#archive_types
# Each observation can be customized with built-in Highcharts "series" options.
Popular ones are color, name and zIndex. For a list of Highcharts Series
options refer to https://api.highcharts.com/highcharts/series
#
# If a custom option broke your charts:
# Undo your change and run wee_reports. You do not need to restart weewx if you
make a graphs.conf change.
# If that doesn't work, undo ALL changes and go back to the default
graphs.conf.example configuration.
# There is no guarantee that every customization option will work.
#
# Detailed settings overview can be found in the wiki under Detailed
Configuration Settings Overview
#
###############################################################################
# Global Chart Defaults
# These are fallback options that charts will use if an option is not defined.
aggregate_type = None
time_length = 90000 # Last 25 hours
type = line
colors = "#7cb5ec, #b2df8a, #f7a35c, #8c6bb1, #dd3497, #e4d354, #268bd2,
#f45b5b, #6a3d9a, #33a02c"
tooltip_date_format = "LLL"
[homepage]
# Chart Timespan Defaults
title = "Homepage"
show_button = true
button_text = "Homepage"
time_length = 90000
tooltip_date_format = "LLL"
gapsize = 300 # This should be your archive_interval from weewx.conf
[[OutTempsGraph]]
title = Temperature
[[[windchill]]]
color = "#8085e8"
[[[heatindex]]]
color = "#8d4653"
[[[dewpoint]]]
color = purple
[[[humidex]]]
color = "#e4d354"
zIndex = 2
[[[appTemp]]]
#name = Feels like
#color = "#e4d354"
#zIndex = 2
#yAxis_label = Temperature
[[[outTemp]]]
zIndex = 1
name = Temperature
color = "#90ed7d"
[[chart2]]
# The combined Wind Chart works best in this configuration
title = Wind Speed and Direction
yAxis_min = 0
[[[windDir]]]
zIndex = 1
yAxis = 1
yAxis_max = 360
lineWidth = 0
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[[[windGust]]]
[[[windSpeed]]]
zIndex = 2
[[MoistGraph]]
title = Moisture
[[[humidex]]]
color = "#e4d354"
yAxis = 1
[[[dewpoint]]]
color = purple
yAxis = 1
#yAxis_label = Temperature
[[[outHumidity]]]
name = Relative Humidity
yAxis = 0
color = "#8085e8"
yAxis_min = 0
yAxis_max = 100
#yAxis_label = "Humidity %"
[[chart3]]
title = Rain
[[[rainRate]]]
yAxis = 1
[[[rainTotal]]]
name = Rain Total
[[chart4]]
title = Barometer
type = spline
[[[barometer]]]
color = "#BECC00"
yAxis_tickinterval = 0.01
[[solarRadGraph]]
title = Solar Radiation and UV Index
[[[radiation]]]
name = Solar Radiation
zIndex = 1
color = "#ffc83f"
[[[maxSolarRad]]]
name = Theoretical Max Solar Radiation
type = area
color = "#f7f2b4"
yAxis_label = "W/m²"
[[[UV]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 14
color = "#90ed7d"
yAxis_label = "UV"
name = UV Index
zIndex = 2
[[Indoors]]
title = Indoor
[[[inHumidity]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid1]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid2]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[inDewpoint]]]
[[[inTemp]]]
yAxis = 0
[[[extraTemp1]]]
yAxis = 0
[[[extraTemp2]]]
yAxis = 0
[[Lightning]]
title = Lightning
[[[lightning_strikes]]]
yAxis = 1
#yAxis_label = "Strikes"
lineWidth = 0
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[[[lightning_distance]]]
yAxis = 0
lineWidth = 0
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[day]
# Chart Timespan Defaults
title = "Today"
show_button = true
button_text = "Day"
time_length = today
tooltip_date_format = "LLL"
gapsize = 300 # This should be your archive_interval from weewx.conf
[[OutTempsGraph]]
title = Temperature
[[[windchill]]]
color = "#8085e8"
[[[heatindex]]]
color = "#8d4653"
[[[dewpoint]]]
color = purple
[[[humidex]]]
color = "#e4d354"
zIndex = 2
[[[appTemp]]]
#name = Feels like
#color = "#e4d354"
#zIndex = 2
#yAxis_label = Temperature
[[[outTemp]]]
zIndex = 1
name = Temperature
color = "#90ed7d"
[[chart2]]
# The combined Wind Chart works best in this configuration
title = Wind Speed and Direction
yAxis_min = 0
[[[windDir]]]
zIndex = 1
yAxis = 1
yAxis_max = 360
lineWidth = 0
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[[[windGust]]]
[[[windSpeed]]]
zIndex = 2
[[MoistGraph]]
title = Moisture
[[[humidex]]]
color = "#e4d354"
yAxis = 1
[[[dewpoint]]]
color = purple
yAxis = 1
#yAxis_label = Temperature
[[[outHumidity]]]
name = Relative Humidity
yAxis = 0
color = "#8085e8"
yAxis_min = 0
yAxis_max = 100
#yAxis_label = "Humidity %"
[[chart3]]
title = Rain
[[[rainRate]]]
yAxis = 1
[[[rainTotal]]]
name = Rain Total
[[chart4]]
title = Barometer
type = spline
[[[barometer]]]
color = "#BECC00"
[[solarRadGraph]]
title = Solar Radiation and UV Index
[[[radiation]]]
name = Solar Radiation
zIndex = 1
color = "#ffc83f"
[[[maxSolarRad]]]
name = Theoretical Max Solar Radiation
type = area
color = "#f7f2b4"
yAxis_label = "W/m²"
[[[UV]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 14
color = "#90ed7d"
yAxis_label = "UV"
name = UV Index
zIndex = 2
[[Indoors]]
title = Indoor
[[[inHumidity]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid1]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid2]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[inDewpoint]]]
[[[inTemp]]]
yAxis = 0
[[[extraTemp1]]]
yAxis = 0
[[[extraTemp2]]]
yAxis = 0
[[Lightning]]
title = Lightning
[[[lightning_strikes]]]
yAxis = 1
#yAxis_label = "Strikes"
[[[[marker]]]]
enabled = true
[[[lightning_distance]]]
yAxis = 0
[[[[marker]]]]
enabled = true
[week]
# Chart Timespan Defaults
title = "This Week"
show_button = true
button_text = "Week"
time_length = 604800 # Last 7 days
tooltip_date_format = "LLLL"
aggregate_type = max
aggregate_interval = 3600 # 1 hour
gapsize = 3600 # 1 hour in seconds
[[OutTempsGraph]]
title = Temperature
[[[windchill]]]
color = "#8085e8"
[[[heatindex]]]
color = "#8d4653"
[[[dewpoint]]]
color = purple
[[[humidex]]]
color = "#e4d354"
zIndex = 2
[[[appTemp]]]
#name = Feels like
#color = "#e4d354"
#zIndex = 2
#yAxis_label = Temperature
[[[outTemp]]]
zIndex = 1
name = Temperature
color = "#90ed7d"
[[chart2]]
# The combined Wind Chart works best in this configuration
title = Wind Speed and Direction
yAxis_min = 0
[[[windDir]]]
zIndex = 1
yAxis = 1
yAxis_max = 360
lineWidth = 0
# Here we can override the timespan default aggregate type with our
own specific to this chart
aggregate_type = avg
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[[[windGust]]]
[[[windSpeed]]]
zIndex = 2
[[MoistGraph]]
title = Moisture
[[[humidex]]]
color = "#e4d354"
yAxis = 1
[[[dewpoint]]]
color = purple
yAxis = 1
#yAxis_label = Temperature
[[[outHumidity]]]
name = Relative Humidity
yAxis = 0
color = "#8085e8"
yAxis_min = 0
yAxis_max = 100
#yAxis_label = "Humidity %"
[[chart3]]
title = Rain
[[[rainRate]]]
yAxis = 1
[[[rainTotal]]]
name = Rain Total
[[chart4]]
title = Barometer
aggregate_type = avg
[[[barometer]]]
color = "#BECC00"
[[solarRadGraph]]
title = Solar Radiation and UV Index
[[[radiation]]]
name = Solar Radiation
zIndex = 1
color = "#ffc83f"
[[[maxSolarRad]]]
name = Theoretical Max Solar Radiation
type = area
color = "#f7f2b4"
yAxis_label = "W/m²"
[[[UV]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 14
color = "#90ed7d"
yAxis_label = "UV"
name = UV Index
zIndex = 2
[[Indoors]]
title = Indoor
[[[inHumidity]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid1]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid2]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[inDewpoint]]]
[[[inTemp]]]
yAxis = 0
[[[extraTemp1]]]
yAxis = 0
[[[extraTemp2]]]
yAxis = 0
[[Lightning]]
title = Lightning
[[[lightning_strikes]]]
yAxis = 1
#yAxis_label = "Strikes"
[[[[marker]]]]
enabled = true
[[[lightning_distance]]]
yAxis = 0
[[[[marker]]]]
enabled = true
[month]
# Chart Timespan Defaults
title = "This Month"
show_button = true
button_text = "Month"
type = spline
time_length = 2592000 # Last 30 days
tooltip_date_format = "dddd LL"
aggregate_type = max
aggregate_interval = 86400 # 1 day
gapsize = 86400 # 1 day in seconds
[[OutTempsGraph]]
title = Temperature
[[[windchill]]]
color = "#8085e8"
[[[heatindex]]]
color = "#8d4653"
[[[dewpoint]]]
color = purple
[[[humidex]]]
color = "#e4d354"
zIndex = 2
[[[appTemp]]]
#name = Feels like
#color = "#e4d354"
#zIndex = 2
#yAxis_label = Temperature
[[[outTemp]]]
zIndex = 1
name = Temperature
color = "#90ed7d"
[[chart2]]
# The combined Wind Chart works best in this configuration
title = Wind Speed and Direction
yAxis_min = 0
[[[windDir]]]
zIndex = 1
yAxis = 1
yAxis_max = 360
lineWidth = 0
# Here we can override the timespan default aggregate type with our
own specific to this chart
aggregate_type = avg
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[[[windGust]]]
[[[windSpeed]]]
zIndex = 2
[[MoistGraph]]
title = Moisture
[[[humidex]]]
color = "#e4d354"
yAxis = 1
[[[dewpoint]]]
color = purple
yAxis = 1
#yAxis_label = Temperature
[[[outHumidity]]]
name = Relative Humidity
yAxis = 0
color = "#8085e8"
yAxis_min = 0
yAxis_max = 100
#yAxis_label = "Humidity %"
[[chart3]]
title = Rain
type = line
[[[rainRate]]]
yAxis = 1
[[[rainTotal]]]
name = Rain Total
[[chart4]]
title = Barometer
aggregate_type = avg
[[[barometer]]]
color = "#BECC00"
[[solarRadGraph]]
title = Solar Radiation and UV Index
[[[radiation]]]
name = Solar Radiation
zIndex = 1
color = "#ffc83f"
[[[maxSolarRad]]]
name = Theoretical Max Solar Radiation
type = area
color = "#f7f2b4"
yAxis_label = "W/m²"
[[[UV]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 14
color = "#90ed7d"
yAxis_label = "UV"
name = UV Index
zIndex = 2
[[Indoors]]
title = Indoor
[[[inHumidity]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid1]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid2]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[inDewpoint]]]
[[[inTemp]]]
yAxis = 0
[[[extraTemp1]]]
yAxis = 0
[[[extraTemp2]]]
yAxis = 0
[[Lightning]]
title = Lightning
[[[lightning_strikes]]]
yAxis = 1
#yAxis_label = "Strikes"
[[[[marker]]]]
enabled = true
[[[lightning_distance]]]
yAxis = 0
[[[[marker]]]]
enabled = true
[year]
# Chart Timespan Defaults
title = "This Year"
show_button = true
button_text = "Year"
type = spline
time_length = year
tooltip_date_format = "dddd LL"
aggregate_type = max
aggregate_interval = 86400 # 1 day
gapsize = 86400 # 1 day in seconds
[[OutTempsGraph]]
title = Temperature
[[[windchill]]]
color = "#8085e8"
[[[heatindex]]]
color = "#8d4653"
[[[dewpoint]]]
color = purple
[[[humidex]]]
color = "#e4d354"
zIndex = 2
[[[appTemp]]]
#name = Feels like
#color = "#e4d354"
#zIndex = 2
#yAxis_label = Temperature
[[[outTemp]]]
zIndex = 1
name = Temperature
color = "#90ed7d"
[[chart2]]
# The combined Wind Chart works best in this configuration
title = Wind Speed and Direction
yAxis_min = 0
[[[windDir]]]
zIndex = 1
yAxis = 1
yAxis_max = 360
lineWidth = 0
# Here we can override the timespan default aggregate type with our
own specific to this chart
aggregate_type = avg
[[[[marker]]]]
enabled = true
[[[[states]]]]
[[[[[hover]]]]]
lineWidthPlus = 0
[[[windGust]]]
[[[windSpeed]]]
zIndex = 2
[[MoistGraph]]
title = Moisture
[[[humidex]]]
color = "#e4d354"
yAxis = 1
[[[dewpoint]]]
color = purple
yAxis = 1
#yAxis_label = Temperature
[[[outHumidity]]]
name = Relative Humidity
yAxis = 0
color = "#8085e8"
yAxis_min = 0
yAxis_max = 100
#yAxis_label = "Humidity %"
[[chart3]]
title = Rain
type = line
[[[rainRate]]]
yAxis = 1
[[[rainTotal]]]
name = Rain Total
[[chart4]]
title = Barometer
aggregate_type = avg
[[[barometer]]]
color = "#BECC00"
[[solarRadGraph]]
title = Solar Radiation and UV Index
[[[radiation]]]
name = Solar Radiation
zIndex = 1
color = "#ffc83f"
[[[maxSolarRad]]]
name = Theoretical Max Solar Radiation
type = area
color = "#f7f2b4"
yAxis_label = "W/m²"
[[[UV]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 14
color = "#90ed7d"
yAxis_label = "UV"
name = UV Index
zIndex = 2
[[Indoors]]
title = Indoor
[[[inHumidity]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid1]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[extraHumid2]]]
yAxis = 1
yAxis_min = 0
yAxis_max = 100
[[[inDewpoint]]]
[[[inTemp]]]
yAxis = 0
[[[extraTemp1]]]
yAxis = 0
[[[extraTemp2]]]
yAxis = 0
[[Lightning]]
title = Lightning
[[[lightning_strikes]]]
yAxis = 1
#yAxis_label = "Strikes"
[[[[marker]]]]
enabled = true
[[[lightning_distance]]]
yAxis = 0
[[[[marker]]]]
enabled = true