Hello everyone;
For different reasons, I need to create a new database in which I would
draw data to feed my weather page. A bit like Cmon.
Everything is ready except that weewx does not recognize it.
Jan 13 19:10:23 raspberrypi weewx[5806] ERROR weewx.reportengine:
**** raise weewx.UnknownBinding("Unknown data binding '%s'" % e)
Jan 13 19:10:23 raspberrypi weewx[5806] ERROR weewx.reportengine:
**** weewx.UnknownBinding: Unknown data binding ''weewx_tide''
My modified weewx.conf :
[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.wxmanager.WXDaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = user.extensions.schema_extended
[[cmon_binding]]
database = cmon_sqlite
table_name = archive
manager = weewx.manager.DaySummaryManager
schema = user.cmon.schema
[[tide_binding]]
database = tide_sqlite
table_name = archive
manager = weewx.wxmanager.WXDaySummaryManager
schema = user.extensions.schema_extended
##############################################################################
# This section defines various databases.
[Databases]
# A SQLite database is simply a single file
[[archive_sqlite]]
database_name = weewx.sdb
database_type = SQLite
[[tide_sqlite]]
database_name = weewx_tide.sdb
database_type = SQLite
# MySQL
[[archive_mysql]]
database_name = weewx
database_type = MySQL
[[cmon_sqlite]]
database_type = SQLite
database_name = cmon.sdb
--
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/735a1b49-fead-4bd6-8401-9c60f5c5957fn%40googlegroups.com.