If the data from two databases is included in one report then by 
default the default database will be used and when data from an alternate 
database is to be the source then it will need to explicitly stated.
  

On Tuesday, 8 November 2016 18:53:06 UTC+2, martin swanepoel wrote:

> Neither am I
> ;-)
>
>
>
>
> Tuesday, 8 November 2016, 16:32 +0200 from Andrew Milner <
> [email protected] <javascript:>>:
>
> well you have to use the bindings somehow!!!!!! weewx is not psychic!!!!
> http://weewx.com/docs/customizing.htm#Using_multiple_bindings
>
>
> On Tuesday, 8 November 2016 15:44:49 UTC+2, martin swanepoel wrote:
>
> Hi Andrew,
>
> Here is the database part:
>
> [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
>         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.wview.schema
>     [[forecast_binding]]
>         database = forecast_sqlite
>
>     [[bmp_binding]]
>         database = bmp_mysql
>         table_name = archive
>         manager = weewx.wxmanager.WXDaySummaryManager
>         schema = schemas.wview.schema
>     [[bmp_fore_binding]]
>         database = bmp_fore_mysql
>
>
> ##############################################################################
>
> #   This section defines various databases.
>
> [Databases]
>
>     # A SQLite database is simply a single file
>     [[archive_sqlite]]
>         database_type = SQLite
>         database_name = weewx.sdb
>
>     # MySQL
>     [[archive_mysql]]
>         database_type = MySQL
>         database_name = weewx
>     [[forecast_sqlite]]
>         database_name = forecast.sdb
>         database_type = SQLite
>
>         [[ bmp_mysql]]
>         database_type = MySQL
>         database_name = weewxbmp
>     [[bmp_fore_mysql]]
>         database_name = forecastbmp
>         database_type = MySQL
>
>
> ##############################################################################
>
> This is the only one configured with the reporting service.
>
> From your reply I assume I have to make changes to (skin.conf and the 
> templates) ?????
>
> Thanks,
> Martin
>
>
> On Mon, Nov 7, 2016 at 2:28 PM, martin swanepoel <[email protected]> 
> wrote:
>
> Running 2 instances of weewx. 1 is the sdr driver but this station don't 
> have a pressure sensor. 2 Hook up a bmp085 onto the raspberry for the 
> second instance to get barometric data and inside temperature.
>
> Question now how do I integrate the 2 together on one www server. What 
> happens now is they overwrite the same pages. So sometimes I see the 
> barometric graphs and the next time the graphs from the sdr equipment. Any 
> suggestions ?
>
> Thanks,
> Martin
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/weewx-user/zL6dnD7el6k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/weewx-user/zL6dnD7el6k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] 
> <https://e-aj.my.com/compose/?mailto=mailto%3aweewx%2duser%[email protected]>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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.

Reply via email to