Thanks Gary, two instances it is.

Rich


On Thursday, May 28, 2020 at 12:59:46 AM UTC-7, gjr80 wrote:
>
> Hi,
>
> Short answer is you will need to run two instances of WeeWX, either on a 
> single device or separate devices. I am in much the same boat having run 
> the vantage driver for many years and recently bought a GW1000 and a number 
> of temp/hum sensors and soil moisture sensors. A given WeeWX instance can 
> only run one driver so hence the need for separate WeeWX instances. You can 
> have a WeeWX service that can obtain observational data and add it to loop 
> packets/archive records emitted by the driver, some drivers can run as a 
> driver or a service but the vantage and interceptor drivers cannot.
>
> To run separate WeeWX instances you will need separate config files and 
> databases for each. Reporting is up to you but if you intend combining data 
> from both devices it may be easiest to have one instance handle the 
> reporting, though if you intend having separate reports then each instance 
> will require its own reporting. The wiki has a fairly good article on 
> setting it up (https://github.com/weewx/weewx/wiki/weewx-multi). 
>
> I have found the biggest challenge was remembering I have two WeeWX 
> instances running and the need to use specific service names when 
> controlling the individual services/instances (after being used to just 
> using systemctl xxxxxx weewx that now affects both services). Getting your 
> logs sorted is also important, log entries for each instance will be 
> identified separately but I found it easier to send each to separate log 
> files, This is covered at the bottom of the Put log messages from WeeWX in 
> a separate file article in the wiki (
> https://github.com/weewx/weewx/wiki/logging).
>
> Both running fine now under WeeWX 4.1.0/python 3.
>
> Gary
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/75584941-5588-4817-8a25-499d3c372b08%40googlegroups.com.

Reply via email to