One more thing:
extensions.py could be in /home/weewx/bin/user if you installed weewx with
setup.py rather than with apt-get.
phil
On Sunday, December 9, 2018 at 4:51:15 PM UTC-5, Philip Kutzenco wrote:
>
> Dj,
>
> (I deleted the first version of this post as I left out a trailing "]" in
> step 1).
>
> This is from instructions Pat gave me in the past to extend the schema:
>
> 1) Extend the database
>
> nano /usr/share/weewx/user/extensions.py
>
> then add the following:
>
>
> *import schemas.wviewschema_apptemp = schemas.wview.schema +
> [('appTemp', 'REAL')]*
>
>
>
> 2) Stop weewx and edit weewx.conf to tell it to use this new schema
> extension by adding the *schema = line* below to the [DataBindings]
> stanza:
>
>
>
>
> *[DataBindings] [[wx_binding]] ...schema =
> user.extensions.schema_apptemp*
>
>
>
> 3) Create a new copy of the database with the extended schema
>
> *wee_database weewx.conf --reconfigure*
> and then rename the databases
>
>
>
> 4) Rebuild the database with new daily values
>
> *Sudo wee_database --rebuild-daily*
>
>
>
> 5) restart weewx
>
> phil
>
>
--
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.