Hi,

I went for option 2. I can see in the database that both databases is
updated with values but on the web-reports barometer and inside temperature
value still display as N/A. Only one instance have StdReport service
running and bonded to both databases.

Any suggestions where I can run a debug ?

Thanks,
Martin

On Mon, Nov 7, 2016 at 4:56 PM, mwall <[email protected]> wrote:

>
>
> On Monday, November 7, 2016 at 7:28:24 AM UTC-5, martin swanepoel 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 ?
>>
>
> hi martin,
>
> here are three different approaches:
>
> option 1: make data collection from bmp085 a service instead of a driver.
> run a single instance of weewx with the sdr driver.  collect data from the
> bmp085 using a service that augments the loop and/or archive data.  display
> data in reports as usual.
>
> option 2: run two instances of weewx to collect data, but one instance
> knows about the other for reporting.  ensure that each instance is writing
> to its own database.  one instance of weewx will not generate any reports
> (remove the StdReport service from this instance).  the other instance uses
> the data_binding parameter in its reports to include data from the other
> instance (see the customization guide for details).
>
> option 3: run two instances of weewx to collect data, plus a third
> instance to do the reporting.  each data collection instance has its own
> database and HTML_ROOT.  the reporting instance has yet another HTML_ROOT
> and uses data_binding to get data from the two collector databases.
>
> although two weewx instances *can* share a single database, it is usually
> not a good idea to do so.  same goes for HTML_ROOT.
>
> there are many other possible permutations, but that should get you
> started.
>
> m
>
> --
> 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 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