In my old pi2 (weewx 3.6.2), has schema extended for two add'l fields for
Lake Elevation, and Lake Wave Height. Has been working great, now migrating
to latest PI3B+ & weewx 3.9.1
The old 3.6.2 weewx.conf has:
[Engine][[Services]] process_services = weewx.engine.StdConvert, weewx.
engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate,
user.lakedata.AddLakedata
and
[DataBindings]
[[wx_binding]]
# 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 = schemas.wview.schema
schema = user.lakedata.schema_with_lakedata
##############################################################################
In the new PI3B+ running weewx 3.9.1,
This was a new installation, not an upgrade.
I copied the working weewx.sdb over to the new system, used sqlitebrowser
to peek at it and it's populating everything it should except for fields
"lakeElevation" and "lakeWaveHeight".
I use a python script to read the rangesensor data from ttyAMA0, then write
it to a single-line buffer file which then something I wrote reads it and
stuffs it into these two fields.
I'm not sure what I'm needing to do here. I don't need to extend the schema
again, but I do need something that has to do with " user.lakedata.
schema_with_lakedata".
I'm not understanding how this gets incorporated into my new installation.
I probably forgot how I added the process to do that, and it has something
to do with "user.lakedata.AddLakedata".
Thanks for telling me what I need to do here.
--
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.