[weewx-user] Re: Looking for sample weewx.conf file that includes two sensor sources for Vantage Pro

2019-08-30 Thread Bob Borzelleri
Thanks...

It looks like your configuration specifies station #2 as an exception which 
might mean that Weewx can see the #1 Station by default.  

I will give it a try.

On Friday, August 30, 2019 at 9:27:40 AM UTC-7, paul bennett wrote:
>
> I have exactly that setup - a VP2 with a separate wireless staion on the 
> roof for the anemometer.  The VP2 base station is configured to receive 
> from Station 2.  Here's the [Vantage] section from my weewx.conf:
>
>
> ##
>
> [Vantage]
> # This section is for the Davis Vantage series of weather stations.
>
> # Connection type: serial or ethernet
> #  serial (the classic VantagePro)
> #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
> type = serial
>
> # If the connection type is serial, a port must be specified:
> #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
> # /dev/ttyUSB0 is a common USB port name
> # /dev/ttyS0   is a common serial port name
> #   BSD:
> # /dev/cuaU0   is a common serial port name
> port = /dev/ttyUSB0
>
> # If the connection type is ethernet, an IP Address/hostname is 
> required:
> #-# host = 1.2.3.4
>
> ##
> # The rest of this section rarely needs any attention.
> # You can safely leave it "as is."
> ##
>
> # Serial baud rate (usually 19200)
> baudrate = 19200
>
> # TCP port (when using the WeatherLinkIP)
> tcp_port = 2
>
> # TCP send delay (when using the WeatherLinkIP):
> tcp_send_delay = 0.5
>
> # The id of your ISS station (usually 1). If you use a wind meter 
> connected
> # to a anemometer transmitter kit, use its id
> iss_id = 2
>
> # How long to wait for a response from the station before giving up (in
> # seconds; must be greater than 2)
> timeout = 4
>
> # How long to wait before trying again (in seconds)
> wait_before_retry = 1.2
>
> # How many times to try before giving up:
> max_tries = 4
>
> # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
> model_type = 2
>
> # The driver to use:
> driver = weewx.drivers.vantage
>
>
> ##
>
> Hope that helps...
>
>
> On Friday, August 30, 2019 at 8:49:04 AM UTC-6, Bob Borzelleri wrote:
>>
>> I am switching to a Raspberry Pi 4 with Weewx from a PC running 
>> Weatherlink for the past 15 years.  Previously, I ran the anemometer hard 
>> wired into the ISS which would work fine, I assume, with Weewx seeing all 
>> sensor inputs (rain, temp/humidity/ solar radiation and wind) from ISS = 1.
>>
>> Now that I am 15 years older than when I started this weather stuff, I no 
>> longer wish to hang off the roof in order to maintain the ISS so I am 
>> relocating it to a spot in the yard that does not require a crane in order 
>> to get to.  I have switched the anemometer from hard wire in the ISS to 
>> plugging into a Davis wireless sensor transmitter.
>>
>> The Weewx configuration file seems to be happy   seeing the ISS as 
>> Station 1 ( ISS = 1), but adding Station 2 on the next line (Anemometer = 
>> 2)  doesn't seem to be the hot setup.
>>
>> If anyone has two Davis Vantage Pro stations feeding into Weewx, I'd 
>> appreciate seeing how they included the 2nd one in the configuration file.
>>
>> BTW, the Davis Console is set up to see the 2nd station and reports its 
>> activity.  I also have an Envoy that I set up through Weathlink to see the 
>> 2nd station (menu driven Q & A) and have it plugged into the RPi.  I 
>> reports all data from the ISS, but not the anemometer and lists N/A 
>> alongside the Current Conditions for wind.
>>
>> Now that I have just called up the page, I see that the Barometer shows 
>> the current reading but also shows (N/A) after the reading.
>>
>> Any help would be greatly appreciated.
>>
>> ...Bob
>>
>>  
>>
>

-- 
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/27164987-fd7b-4905-948d-9328a96953ff%40googlegroups.com.


[weewx-user] Re: Looking for sample weewx.conf file that includes two sensor sources for Vantage Pro

2019-08-30 Thread vince
On Friday, August 30, 2019 at 7:49:04 AM UTC-7, Bob Borzelleri wrote:

> If anyone has two Davis Vantage Pro stations feeding into Weewx, I'd 
> appreciate seeing how they included the 2nd one in the configuration file.
>
>
I don't think you can have multiple 'stations' in one instance of weewx, 
but you can run multiple instances of weewx on one computer, each talking 
to one station.   The only way I can think of combining the two into some 
kind of aggregate would be to have both instances publish to MQTT and then 
have a third aggregator weewx instance subscribe to the topics from the two 
hosts.

If you don't need weewx as your all-data-from-both display, then I'd 
suggest using influxdb+grafana as your db+dashboard, and using something 
like telegraf to subscribe to the topics and feed influxdb with data.  
That's how I have data from one WeatherFlow station overlaid with data from 
a variety of pi and arduino sprinked around the house.  Works greatbut 
it's not a weewx-based solution to get you to have two stations of data on 
weewx-generated pages.

Maybe have the stations publish into influxdb and have weewx 'consume' the 
influxdb data to generate graphs ?  I dunno.

Matthew probably has it solved anyway :-)

-- 
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/e4b2df90-5ef8-4204-9990-d1755ad8ac8f%40googlegroups.com.


[weewx-user] Re: Looking for sample weewx.conf file that includes two sensor sources for Vantage Pro

2019-08-30 Thread paul bennett
I have exactly that setup - a VP2 with a separate wireless staion on the 
roof for the anemometer.  The VP2 base station is configured to receive 
from Station 2.  Here's the [Vantage] section from my weewx.conf:

##

[Vantage]
# This section is for the Davis Vantage series of weather stations.

# Connection type: serial or ethernet
#  serial (the classic VantagePro)
#  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
type = serial

# If the connection type is serial, a port must be specified:
#   Debian, Ubuntu, Redhat, Fedora, and SuSE:
# /dev/ttyUSB0 is a common USB port name
# /dev/ttyS0   is a common serial port name
#   BSD:
# /dev/cuaU0   is a common serial port name
port = /dev/ttyUSB0

# If the connection type is ethernet, an IP Address/hostname is 
required:
#-# host = 1.2.3.4

##
# The rest of this section rarely needs any attention.
# You can safely leave it "as is."
##

# Serial baud rate (usually 19200)
baudrate = 19200

# TCP port (when using the WeatherLinkIP)
tcp_port = 2

# TCP send delay (when using the WeatherLinkIP):
tcp_send_delay = 0.5

# The id of your ISS station (usually 1). If you use a wind meter 
connected
# to a anemometer transmitter kit, use its id
iss_id = 2

# How long to wait for a response from the station before giving up (in
# seconds; must be greater than 2)
timeout = 4

# How long to wait before trying again (in seconds)
wait_before_retry = 1.2

# How many times to try before giving up:
max_tries = 4

# Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
model_type = 2

# The driver to use:
driver = weewx.drivers.vantage

##

Hope that helps...


On Friday, August 30, 2019 at 8:49:04 AM UTC-6, Bob Borzelleri wrote:
>
> I am switching to a Raspberry Pi 4 with Weewx from a PC running 
> Weatherlink for the past 15 years.  Previously, I ran the anemometer hard 
> wired into the ISS which would work fine, I assume, with Weewx seeing all 
> sensor inputs (rain, temp/humidity/ solar radiation and wind) from ISS = 1.
>
> Now that I am 15 years older than when I started this weather stuff, I no 
> longer wish to hang off the roof in order to maintain the ISS so I am 
> relocating it to a spot in the yard that does not require a crane in order 
> to get to.  I have switched the anemometer from hard wire in the ISS to 
> plugging into a Davis wireless sensor transmitter.
>
> The Weewx configuration file seems to be happy   seeing the ISS as Station 
> 1 ( ISS = 1), but adding Station 2 on the next line (Anemometer = 2)  
> doesn't seem to be the hot setup.
>
> If anyone has two Davis Vantage Pro stations feeding into Weewx, I'd 
> appreciate seeing how they included the 2nd one in the configuration file.
>
> BTW, the Davis Console is set up to see the 2nd station and reports its 
> activity.  I also have an Envoy that I set up through Weathlink to see the 
> 2nd station (menu driven Q & A) and have it plugged into the RPi.  I 
> reports all data from the ISS, but not the anemometer and lists N/A 
> alongside the Current Conditions for wind.
>
> Now that I have just called up the page, I see that the Barometer shows 
> the current reading but also shows (N/A) after the reading.
>
> Any help would be greatly appreciated.
>
> ...Bob
>
>  
>

-- 
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/060a05f2-f5a4-45c6-b6ef-0f41b42e2dad%40googlegroups.com.