How is this done: " you can then run wee_reports on a third .conf that combines data from the stations, or does a single upload of data from both stations, etc." ? Could i choose certain sensors of each station?
Dawei Zhang schrieb am Donnerstag, 19. Mai 2016 um 18:56:46 UTC+2: > Thanks a lot for the clarification, with two .conf files, two sdb > databases, and two initd scripts, both sudo /etc/init.d/weewx-a(and b) > work. May I know which kind of logs should I upload? > > > On Thursday, May 19, 2016 at 6:43:57 AM UTC-7, mwall wrote: >> >> On Thursday, May 19, 2016 at 1:11:00 AM UTC-4, Dawei Zhang wrote: >>> >>> Sorry for the confusion. >>> >>> I used TCP/IP for the interface to vantage pro2 on local and remote >>> sides. >>> >>> On step 3) I copied two conf file: weewxLocal.conf and weewxRemote.conf. >>> >>> On step 4) Both database_name = vantage.sdb >>> >>> On step 5) and 6) weewx_vantagelocal and weewx_vantageremote were used >>> accordingly >>> >>> Step 7) is followed too, both defaults update are the identical >>> >>> Step 8) weewx_vantagelocal [fail], weewx_vantageremote [ok] >>> >>> In addition, I am uploading weewx data to graphite server using the >>> weewx graphite extension, on the graphite server "http://localhost 81" >>> weewx was shown instead of weewxremote >>> >>> I hope it makes sense, and I will double check on each .conf file too. >>> Thanks. >>> >> >> >> maybe i'm just thick, but i still don't follow. is there a single >> vantage station, or two vantage stations? one computer talking to a single >> vantage station via two different network interfaces? or a single computer >> talking to two different vantage stations, each via tcpip? or something >> else? >> >> assuming that you mean 'one computer getting data from two vantage >> stations via tcpip, one local and one remote', then: >> >> - you must have two different config files, say vantage-a.conf and >> vantage-b.conf >> - you must have separate databases, say vantage-a.sdb and vantage-b.sdb >> - you need either two different init scripts, or you'll have to do >> considerable rewrite to make a single init script >> >> i highly recommend splitting the log output to separate files, say >> /var/log/weewx-a.log for one station and /var/log/weewx-b.log for the >> other. do this with an rsyslog.d conf file (see the sample in >> util/rsyslog.d) and the --log-label option in the init scripts. you'll >> need to make logrotate manage those logs (see util/logrotate.d). >> >> i highly recommend using a separate invocation of wee_reports, with its >> own .conf, to generate any reports that use data from both stations. >> >> you'll have to post the logs if you want any help with failures. >> >> m >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/656775b8-12c6-46f4-a451-a1c0b84377a2n%40googlegroups.com.
