Hallo Gary,
i have for my station "Davis Vantage Pro2", "6345CSOV" and "13 one wire
*DS18B20"
*the database with Databinding
* wx_binding (Start 31.10.2013 to now )*also the extension "weewx WD" for
outTempDay and outTempNight in the database with Databinding* wd_binding *and
the extension
WdSuppArchive with Databinding *wdsupp_binding* (Start 31.10.2013 to now)
since datetime 1462626316 (*07.05.2016*) the database "Air" with databinding
*air_binding*The raspberry pi with grovePi and air sensor, gas-sensor,
hcho-sensor, temp- and humidity-Sensor...
on this raspberry pi as well the sensor for particulate matter 2.5PM and 10PM
(usb) with databinding
*air2_binding*datetime 1485601516
* (start 28.01.2017 to now)*another raspberry pi datetime 1463643901
(*19.05.2016*) with as3935 for service that collects lightning strike data
with databinding
*blitz_binding *as well as weather records in a database from 01.01.1970
(original from my notes by hand)
but only in the hour interval, and only outtemp, outhumidity, windspeed,
winddir, snow and rain
Air quality and radioactivity are still planned
for all data weewx with extensions and adaptations
in my weewx.conf now
[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_mysql
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.wxmanager.WXDaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = schemas.vantage.schema
[[air_binding]]
# The database must match one of the sections in [Databases]
database = air_mysql
table_name = archive
manager = weewx.wxmanager.WXDaySummaryManager
schema = schemas.air.schema
[[air2_binding]]
# The database must match one of the sections in [Databases]
database = air2_mysql
table_name = archive
manager = weewx.wxmanager.WXDaySummaryManager
schema = schemas.air2.schema
[[forecast_binding]]
database = forecast_mysql
table_name = archive
schema = user.forecast.schema
manager = weewx.manager.Manager
[[blitz_binding]]
database = blitz_mysql
table_name = archive
manager = weewx.manager.Manager
#schema = user.as3935.schema
[[cmon_binding]]
database = cmon_sqlite
manager = weewx.manager.DaySummaryManager
table_name = archive
schema = user.cmon.schema
[[wd_binding]]
manager = weewx.manager.DaySummaryManager
schema = schemas.wdSchema.weewxwd_schema
table_name = archive
database = weewxwd_mysql
[[wdsupp_binding]]
manager = weewx.manager.Manager
schema = schemas.wdSchema.wdsupp_schema
table_name = supp
database = wdsupp_mysql
[[dwd_binding]]
database = dwd_mysql
table_name = archive
schema = user.dwdmon.schema
manager = weewx.manager.Manager
[[wxAlt_binding]]
manager = weewx.manager.DaySummaryManager
schema = schemas.schemasAlt.schema
table_name = archive
database = weewxwd_mysql
[[wxHis_binding]]
manager = weewx.manager.DaySummaryManager
schema = schemas.schemaHis.schema
table_name = archive
database = weewxwd_mysql
....
[DatabaseTypes]
# Defaults for SQLite databases
[[SQLite]]
driver = weedb.sqlite
# Directory in which the database files are located
SQLITE_ROOT = /home/weewx/archive
[[MySQL]]
driver = weedb.mysql
# The host where the database is located
host = 192.168.xx.xx
# The user name for logging in to the host
user = weewx
# The password for the user name
password = 123456789
all the collected weather data and data I want to summarize and present in
a program
my plan skin.conf like
[[SummaryByMonth]]
#
# Reports that summarize "by month"
#
[[[NOAA_month]]]
encoding = strict_ascii
template = NOAA/NOAA-YYYY-MM.txt.tmpl
[[[KR_month]]]
template = Archiv/KR-YYYY-MM-table.html.tmpl
[[SummaryByYear]]
#
# Reports that summarize "by year"
#
[[[NOAA_year]]]
encoding = strict_ascii
template = NOAA/NOAA-YYYY.txt.tmpl
[[[KR_year]]]
template = Archiv/KR-YYYY-table.html.tmpl # for
datetime 1383254340 to now
[[[KRAlt_year]]]
template = Archiv/KRAlt-YYYY-table.html.tmpl # for
datetime 0 (01.01.1970) to 1383254340
[[[KRHis_year]]]
template = Archiv/KRHis-YYYY-table.html.tmpl # for
datetime -2147483648 (11.11.1895) to 0 (01.01.1970)
# public weather data of DWD opendata.dwd.de
[[[Data_year]]]
encoding = utf8
template = Data/Data-YYYY.json.tmpl
[[[Rain_year]]]
encoding = utf8
template = Data/Rain-YYYY.json.tmpl
[[[RainDay]]]
encoding = utf8
template = Data/RainDay-YYYY.json.tmpl
[[[RainTraceDay]]]
encoding = utf8
template = Data/RainTraceDay-YYYY.json.tmpl
[[[RainSoakDay]]]
encoding = utf8
template = Data/RainSoakDay-YYYY.json.tmpl
[[[Sunyear]]]
encoding = utf8
template = Data/Sun-YYYY.json.tmpl
[[[Report_year]]]
template = Report/year-YYYY.html.tmpl
one run as a report under a [[SummaryByYear]] stanza under
[CheetahGenerator] in skin.conf for *his*tory (DWD) and for *Alt* (original
from my notes by hand) for uniform html files
or as for uniform html files by on run under
"user.history.ReportGenerator.py" like set start from database to end
database (for datetime 0 (01.01.1970) to 1383254340) as 1970, 1971, 1972...
2013
have a look at---> http://wetter.hes61.de/historisch.html <--- these pages
should look like ---> http://wetter.hes61.de/Archiv/KR-2014-table.html
<---
I hope I was understandable
Thanks for the quick help
Hartmut
--
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].
For more options, visit https://groups.google.com/d/optout.