Re: [weewx-user] Re: Original Vantage Pro, connected via serial-ethernet converter?

2017-12-27 Thread 'loonsailor' via weewx-user
Thanks, that did it!  Actually, I'm not sure whether it was the "port" or 
the "tcp_port" parameter in weewx.conf, so I changed both.  I'm up and 
running!  It barfed on importing my 15 years or so of data from wview, but 
that's a problem for another day, and I won't have a chance to dig into it 
for a couple of weeks.

Thanks again for all the help!  What a nice way to enter a new community.

On Wednesday, December 27, 2017 at 6:16:56 PM UTC-8, Tom Keffer wrote:
>
> The "host" line should just  be the IP address: no port.
>
> The "port" line should be the port.
>
> you're combining the two as "host".
>
> So, you want
>
> [Vantage]
>   type = ethernet
>   host = 192.168.198.202
>   port = 3001
>
> -tk
>
> On Wed, Dec 27, 2017 at 6:05 PM, 'loonsailor' via weewx-user <
> weewx...@googlegroups.com > wrote:
>
>> Thanks for this.  I was really excited.  Tried it, but it doesn't work.  
>> Specifically, here is the log file:
>>
>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: engine: Loading station 
>> type Vantage (weewx.drivers.vantage)
>> Dec 27 18:00:32 ubu-mini-weather weewx[10902]:...done.
>> Dec 27 18:00:32 ubu-mini-weather systemd[1]: Started LSB: weewx weather 
>> system.
>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: vantage: Socket error 
>> while opening port 2 to ethernet host 192.168.198.202.
>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: import of driver failed: [
>> Errno 111] Connection refused ()
>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]: engine: Unable to load 
>> driver: [Errno 111] Connection refused
>> Dec 27 18:00:32 ubu-mini-weather weewx[10917]:   Exiting...
>>
>>
>>
>> The serial port converter wants to use socket 3001.  Worked fine in 
>> wview, so I chaged the socket address in weewx.conf to be 
>> 192.168.198.202:3001.  Then, I get the following:
>>
>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: engine: Loading station 
>> type Vantage (weewx.drivers.vantage)
>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: vantage: Socket error 
>> while opening port 2 to ethernet host 192.168.198.202:3001.
>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: import of driver failed: [
>> Errno -2] Name or service not known ()
>> Dec 27 17:31:29 ubu-mini-weather weewx[10673]: engine: Unable to load 
>> driver: [Errno -2] Name or service not known
>> Dec 27 17:31:29 ubu-mini-weather weewx[10658]:...done.
>>
>> So, I'm not sure how to tell it to open the correct socket on the 
>> lantronix.  I'll have a look at the code, but any ideas?
>>
>> Thanks
>>
>> On Wednesday, December 27, 2017 at 11:03:43 AM UTC-8, Chris Alemany wrote:
>>
>>> Hi loonsailor,
>>>
>>> I have been using a serial to ethernet interface for years as well (with 
>>> the wview software).  I moved to weewx recently and after some digging 
>>> realized the support for serial-ethernet is there, just not documented up 
>>> front.
>>>
>>> Just go through the regular install process and when you get into the 
>>> weewx.conf file below is what I am using for my Serial-Ethernet bridge.  
>>> Exactly what I used for wview all this time.  Worked on the first try.
>>>
>>> Good luck!
>>>
>>> [Vantage]
>>> # This section is for the Davis Vantage series of weather stations.
>>> 
>>> # Connection type: serial or ethernet 
>>> #  serial (the classic VantagePro)
>>> #  ethernet (the WeatherLinkIP)
>>> type = ethernet
>>> 
>>> # 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 = 192.168.1.101
>>> 
>>> ##
>>> # 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 = 4660
>>> 
>>> # 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 = 1
>>> 
>>> # 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
>>> 
>>> # The driver to use:
>>> driver = weewx.drivers.vantage
>>>
>>>
>>>
>>> On Tuesday, December 26, 2017 at 

Re: [weewx-user] Re: Weewx generating reports two days head

2017-12-27 Thread Mike Dame
I finally was able to take a little time to dig through some of the
scripts, and after deleting pid file, and  issuing  a "systemctl
daemon-reload", and then weewx service finally restarted. It took a little
while to dump and record the missed records.

I think I am good now.

Thanks for everyone's assistance.

On Wed, Dec 27, 2017 at 7:15 AM, Mike Dame  wrote:

> Tried a delete from archive after midnight 12/25 that did not work after
> drop and rebuild still did not start. So per  request, I have attached the
> message logs from the 22nd till 26th.
>
> I tried turning on debug in the config file, still did not log anything or
> start
> Anyway to start in foreground to see if there is any clue why it is not
> starting up
>
> On Tue, Dec 26, 2017 at 10:54 PM, gjr80  wrote:
>
>> I'm not necessarily seeing anything wrong here. I would take it from the
>> top again and this time post the entire log, covering the wee_database
>> operations and weeWX startup and any errors. Better to post an full and
>> complete log rather than disjointed excerpts, far easier to read what is
>> happening. systemctl status is great for looking at the state of the weeWX
>> daemon but not much chop for looking at logs, it is like reading them
>> through a drinking straw.
>>
>> Gary
>>
>> --
>> 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/to
>> pic/weewx-user/RezDiRbbCks/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+unsubscr...@googlegroups.com.
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Disabling Weewx Autostart

2017-12-27 Thread vince
On Tue, 26 Dec 2017 at 19:12, Phil Green  
wrote:

> Hi,
>> I have just been updating my Pi hardware from a Pi2 to Pi3.
>> I use to use a hardware RTC module to set the clock time on boot. 
>> However the new Pi3 case I have no longer suits the RTC module.
>> Because Weewx is set to autostart and the clock is set using the fake 
>> clock method and is incorrect until the NTP service sets it, Weewx doesn't 
>> run properly due to incorrect time.  I have to stop the service on boot 
>> manually and restart manually once the time has been set via internet NTP 
>> service.
>>
>>
You can simply uninstall fake-hwclock and require ntp.service as others 
have said.

There has been a 'lot' of discussion about this back a while ago when 
systemd started appearing.  You might want to check out the google group 
archives for the many threads and discussions of the many way to do this.


 

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Disabling Weewx Autostart

2017-12-27 Thread vk3anz
Jessie actually converts everything to use the systemctl service. There is 
a specific "generator" app that runs early in the bootstrap process that 
reads all of these 'init.d' files and creates a (supposedly) equivalent 
.service file for systemctl.

I'm not exactly sure where these generated service files are located (there 
are quite a few places that the systemctl service looks for the service 
files) but it should be something like weewx.service.

I'm mentioning all of this because you can use this generated file to 
create your own file that is permanent and includes a line 
"Requires=ntp.service" that will tell the systemctl daemon to run your 
service only after the NTP service has done its thing (I'm no expert on 
these things but that is what I;ve been told and seems to work on my RPi3 
system).

I've attached my file if you are interested. You can also see the file path 
where I have placed it. (I run weewx in its own account that is actually on 
a NAS - hence the wait for the network, '/home' and '/home/weewx' folders 
being available; you may not need those.)

Just an alternative to think about.

Susan


On Tuesday, December 26, 2017 at 8:28:35 PM UTC+11, gjr80 wrote:
>
> Hi,
>
> *sudo rm /etc/init.d/weewx *
>
> should what you want.
>
> 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.
For more options, visit https://groups.google.com/d/optout.
pi@weather:~ $ cat /etc/systemd/system/weewx.service
# systemd configuration for weewx

[Unit]
Description=weewx weather system
Requires=syslog.service
Requires=ntp.service
Requires=network-online.target
After=syslog.service
After=ntp.service
After=network-online.target
RequiresMountsFor=/home
RequiresMountsFor=/home/weewx

[Service]
ExecStart=/home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid 
/home/weewx/weewx.conf
ExecReload=/bin/kill -HUP $MAINPID
Type=simple
PIDFile=/var/run/weewx.pid
#User=weewx
#Group=weewx
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
pi@weather:~ $


[weewx-user] Re: Original Vantage Pro, connected via serial-ethernet converter?

2017-12-27 Thread 'loonsailor' via weewx-user
Thanks for this.  I was really excited.  Tried it, but it doesn't work.  
Specifically, here is the log file:

Dec 27 18:00:32 ubu-mini-weather weewx[10917]: engine: Loading station type 
Vantage (weewx.drivers.vantage)
Dec 27 18:00:32 ubu-mini-weather weewx[10902]:...done.
Dec 27 18:00:32 ubu-mini-weather systemd[1]: Started LSB: weewx weather 
system.
Dec 27 18:00:32 ubu-mini-weather weewx[10917]: vantage: Socket error while 
opening port 2 to ethernet host 192.168.198.202.
Dec 27 18:00:32 ubu-mini-weather weewx[10917]: import of driver failed: [
Errno 111] Connection refused ()
Dec 27 18:00:32 ubu-mini-weather weewx[10917]: engine: Unable to load driver
: [Errno 111] Connection refused
Dec 27 18:00:32 ubu-mini-weather weewx[10917]:   Exiting...



The serial port converter wants to use socket 3001.  Worked fine in wview, 
so I chaged the socket address in weewx.conf to be 192.168.198.202:3001.  
Then, I get the following:

Dec 27 17:31:29 ubu-mini-weather weewx[10673]: engine: Loading station type 
Vantage (weewx.drivers.vantage)
Dec 27 17:31:29 ubu-mini-weather weewx[10673]: vantage: Socket error while 
opening port 2 to ethernet host 192.168.198.202:3001.
Dec 27 17:31:29 ubu-mini-weather weewx[10673]: import of driver failed: [
Errno -2] Name or service not known ()
Dec 27 17:31:29 ubu-mini-weather weewx[10673]: engine: Unable to load driver
: [Errno -2] Name or service not known
Dec 27 17:31:29 ubu-mini-weather weewx[10658]:...done.

So, I'm not sure how to tell it to open the correct socket on the 
lantronix.  I'll have a look at the code, but any ideas?

Thanks

On Wednesday, December 27, 2017 at 11:03:43 AM UTC-8, Chris Alemany wrote:
>
> Hi loonsailor,
>
> I have been using a serial to ethernet interface for years as well (with 
> the wview software).  I moved to weewx recently and after some digging 
> realized the support for serial-ethernet is there, just not documented up 
> front.
>
> Just go through the regular install process and when you get into the 
> weewx.conf file below is what I am using for my Serial-Ethernet bridge. 
>  Exactly what I used for wview all this time.  Worked on the first try.
>
> Good luck!
>
> [Vantage]
> # This section is for the Davis Vantage series of weather stations.
> 
> # Connection type: serial or ethernet 
> #  serial (the classic VantagePro)
> #  ethernet (the WeatherLinkIP)
> type = ethernet
> 
> # 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 = 192.168.1.101
> 
> ##
> # 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 = 4660
> 
> # 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 = 1
> 
> # 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
> 
> # The driver to use:
> driver = weewx.drivers.vantage
>
>
>
> On Tuesday, December 26, 2017 at 9:57:39 PM UTC-8, loonsailor wrote:
>>
>> My old computer, on which I've been running view for many years, has 
>> died.  I'd like to switch over to weewx, but I'm not sure if it will 
>> support my hardware.  I'm running an original vantage pro.  The console has 
>> a serial port, which I've connected to my LAN with a Lantronix 
>> serial-ethernet interface, an older version of this 
>>  one.  I can't move 
>> the console near my computer, because the wireless won't handle the walls 
>> and the distance.  So, I have uncertainty on two levels - the old Vantage 
>> Pro (not the newer + version), and the connection via a serial-ethernet 
>> interface.  Can I make this work, or do I need to rethink the whole thing?
>>
>> Thanks
>>
>

-- 
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.
For more options, visit 

[weewx-user] Re: Best way to add WebDAV to weewx?

2017-12-27 Thread Doug Bo
Thanks guys, some good ideas and direction.  :)

I tried mounting davfs2 and it didn't seem like a robust solution for a 
wireless link.


Doug B.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: twitter extension: Able to insert a return/new line?

2017-12-27 Thread vince
On Wednesday, December 27, 2017 at 12:02:24 PM UTC-8, Chris Alemany wrote:
>
> And any idea how I could add the barometer trend value?
>
> I'm still learning how to find all of the available values in extensions 
> and throughout the system.
>
>
>
https://github.com/weewx/weewx/wiki/twitter has the docs

Speculating on your other question, wondering if 'format' would let you add 
the newline. 

I like your system uptime (what a stable system :-)
Server uptime: 17527 days, 21 hours, 15 minutes

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: twitter extension: Able to insert a return/new line?

2017-12-27 Thread Chris Alemany
And any idea how I could add the barometer trend value?

I'm still learning how to find all of the available values in extensions 
and throughout the system.

Thanks all!

www.alberniweather.ca
@alberniweather

On Wednesday, December 27, 2017 at 11:31:18 AM UTC-8, Chris Alemany wrote:
>
> Hi all,
>
> I'm setting up the twitter extension. It works great!
>
> One nice-to-have would be if I could insert a new line into the format.
>
> I've tried \n with no success.  
>
> Suggestions?
>
> Chris
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] twitter extension: Able to insert a return/new line?

2017-12-27 Thread Chris Alemany
Hi all,

I'm setting up the twitter extension. It works great!

One nice-to-have would be if I could insert a new line into the format.

I've tried \n with no success.  

Suggestions?

Chris

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Original Vantage Pro, connected via serial-ethernet converter?

2017-12-27 Thread mwall
On Wednesday, December 27, 2017 at 2:07:01 PM UTC-5, Chris Alemany wrote:
>
> As a help for others... perhaps in future version of weewx the default 
> weewx.conf file could include the following modification in the top of the 
> [Vantage] section?
>

additional comment at commit c8343851 

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Original Vantage Pro, connected via serial-ethernet converter?

2017-12-27 Thread Chris Alemany
As a help for others... perhaps in future version of weewx the default 
weewx.conf file could include the following modification in the top of the 
[Vantage] section?

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

It would provide a further clue to folks.

Cheers
Chris




On Wednesday, December 27, 2017 at 11:03:43 AM UTC-8, Chris Alemany wrote:
>
> Hi loonsailor,
>
> I have been using a serial to ethernet interface for years as well (with 
> the wview software).  I moved to weewx recently and after some digging 
> realized the support for serial-ethernet is there, just not documented up 
> front.
>
> Just go through the regular install process and when you get into the 
> weewx.conf file below is what I am using for my Serial-Ethernet bridge. 
>  Exactly what I used for wview all this time.  Worked on the first try.
>
> Good luck!
>
> [Vantage]
> # This section is for the Davis Vantage series of weather stations.
> 
> # Connection type: serial or ethernet 
> #  serial (the classic VantagePro)
> #  ethernet (the WeatherLinkIP)
> type = ethernet
> 
> # 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 = 192.168.1.101
> 
> ##
> # 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 = 4660
> 
> # 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 = 1
> 
> # 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
> 
> # The driver to use:
> driver = weewx.drivers.vantage
>
>
>
> On Tuesday, December 26, 2017 at 9:57:39 PM UTC-8, loonsailor wrote:
>>
>> My old computer, on which I've been running view for many years, has 
>> died.  I'd like to switch over to weewx, but I'm not sure if it will 
>> support my hardware.  I'm running an original vantage pro.  The console has 
>> a serial port, which I've connected to my LAN with a Lantronix 
>> serial-ethernet interface, an older version of this 
>>  one.  I can't move 
>> the console near my computer, because the wireless won't handle the walls 
>> and the distance.  So, I have uncertainty on two levels - the old Vantage 
>> Pro (not the newer + version), and the connection via a serial-ethernet 
>> interface.  Can I make this work, or do I need to rethink the whole thing?
>>
>> Thanks
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Original Vantage Pro, connected via serial-ethernet converter?

2017-12-27 Thread Chris Alemany
Hi loonsailor,

I have been using a serial to ethernet interface for years as well (with 
the wview software).  I moved to weewx recently and after some digging 
realized the support for serial-ethernet is there, just not documented up 
front.

Just go through the regular install process and when you get into the 
weewx.conf file below is what I am using for my Serial-Ethernet bridge. 
 Exactly what I used for wview all this time.  Worked on the first try.

Good luck!

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

# Connection type: serial or ethernet 
#  serial (the classic VantagePro)
#  ethernet (the WeatherLinkIP)
type = ethernet

# 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 = 192.168.1.101

##
# 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 = 4660

# 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 = 1

# 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

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



On Tuesday, December 26, 2017 at 9:57:39 PM UTC-8, loonsailor wrote:
>
> My old computer, on which I've been running view for many years, has died. 
>  I'd like to switch over to weewx, but I'm not sure if it will support my 
> hardware.  I'm running an original vantage pro.  The console has a serial 
> port, which I've connected to my LAN with a Lantronix serial-ethernet 
> interface, an older version of this 
>  one.  I can't move 
> the console near my computer, because the wireless won't handle the walls 
> and the distance.  So, I have uncertainty on two levels - the old Vantage 
> Pro (not the newer + version), and the connection via a serial-ethernet 
> interface.  Can I make this work, or do I need to rethink the whole thing?
>
> Thanks
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Best way to add WebDAV to weewx?

2017-12-27 Thread Ben Cotton
The short-term solution would be to use FUSE to mount your WebDav client 
and have WeeWx write to that. That's how I used to manage the files on my 
website locally. The main issue with that is that the client can be flaky, 
so it might fail sometimes.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Not getting archived data on console of WS2080

2017-12-27 Thread Andrew Milner
I assume that you still have to open the port on the mobile device, and may 
need some assistance from your IP in order to achieve that goal.



On Wednesday, 27 December 2017 14:35:24 UTC+2, Jens-Jørgen Kjærgaard wrote:

> The redirect of the request from a name to an IP works fine - except when 
> that IP belongs to a mobile device
>
> Jens-Jørgen Kjærgaard
> www.jensjk.dk
>
> On 27 Dec 2017 1:24 pm, "Andrew Milner"  > wrote:
>
> I'm a little confused now - you say
> 1) works fine
> 2) ISP does not allow incoming connections
>
> what exactly works, and what doesn't??
>
>
>
> On Wednesday, 27 December 2017 14:09:59 UTC+2, Jens-Jørgen Kjærgaard wrote:
>
>> Works fine - but unfortunately my ISP apparently doesn't allow incoming 
>> connections on their mobile broadband. No route to host.
>>
>> Jens-Jørgen Kjærgaard
>> www.jensjk.dk
>>
>> On 17 Dec 2017 4:21 pm, "mwall"  wrote:
>>
>>> On Sunday, December 17, 2017 at 10:11:16 AM UTC-5, Jens-Jørgen Kjærgaard 
>>> wrote:

 Well, it is a stand-alone installation, no router, the rpi connects 
 directly to the internet via a usb-dongle.
 But it can be done anyway?

>>>
>>> yes.  in that case you run the dyndns client software on the pi, and you 
>>> do not have to do any port forwarding.
>>>
>>> 1) create account and choose a computer name at your dynamic dns 
>>> provider, e.g., http://freedns.afraid.org
>>>
>>> 2) configure the pi to talk to your dynamic dns provider
>>>
>>> 3) ensure that sshd is running on the pi
>>>
>>> 4) connect to the pi using ssh
>>>
>>> details vary from one dynamic dns provider to another.  one of the 
>>> reasons i like freedns is that the service is as simple as it gets.  there 
>>> is no fancy software required - you can do it with a one-line crontab.
>>>
>>> here is a guide that takes you through every step of the process:
>>>
>>>
>>> https://thelastmaimou.wordpress.com/2014/03/23/find-pi-everywhere-freedns-a-free-dynamic-dns-service/
>>>
>>>
>>> -- 
>>> 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/azG9h2BG6qA/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> weewx-user+...@googlegroups.com.
>>>
>>> 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/azG9h2BG6qA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> weewx-user+...@googlegroups.com .
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Redundant and self synchronizing database between two systems - which approach (MQTT ?) ?

2017-12-27 Thread Thomas Keffer
Hello, Markus.

Take a look at this thread
 and
see if it helps. If not, we can go into more details on possible solutions.

-tk

On Tue, Dec 26, 2017 at 11:46 PM, Markus  wrote:

> Hello,
>
> i am building up a Raspberry Pi based home made weather station at my
> garden house.
> The data collecting script will be self written (more to this script here:
> https://www.wxforum.net/index.php?topic=22428.0 )
> For a stable system the RasPi will run with a industrial grade microSD
> (Transcend High Endurance) and a UPS.
>
> The weather data will be collected locally on the RasPi but should also be
> stored on my Linux server - both are connected via LAN.
> The Linux server is also responsible for visualizing the weather data.
>
> When the Linux server or the RasPi were down, they should synchronize to
> the latest available data automatically when they up again.
>
> My question:
> Which approach may be a good solution (and easy maintainable) for this
> requirements?
> May be a mqtt with two servers be used?
> I am happy for every proposal.
>
> Regards
> Markus
>
>
> --
> 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.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Original Vantage Pro, connected via serial-ethernet converter?

2017-12-27 Thread Thomas Keffer
It's a good question. The code to decode the older VP packets has been in
weewx since time zero, but I have no idea if anyone has actually tried it!
But, I doubt it would be a big problem.

As for the Lantronix, that's outside the scope of WeeWX. If it can make the
port look like a serial port, then it should work. Your biggest problem may
be finding the right driver for Ubuntu.

Only one way to find out for sure: try the setup. There is little risk
besides an hour or two of your time.

-tk


On Tue, Dec 26, 2017 at 10:10 PM, 'loonsailor' via weewx-user <
weewx-user@googlegroups.com> wrote:

> I forgot to mention - running under Ubunto 17.10.
>
>
> On Tuesday, December 26, 2017 at 9:57:39 PM UTC-8, loonsailor wrote:
>>
>> My old computer, on which I've been running view for many years, has
>> died.  I'd like to switch over to weewx, but I'm not sure if it will
>> support my hardware.  I'm running an original vantage pro.  The console has
>> a serial port, which I've connected to my LAN with a Lantronix
>> serial-ethernet interface, an older version of this
>>  one.  I can't move
>> the console near my computer, because the wireless won't handle the walls
>> and the distance.  So, I have uncertainty on two levels - the old Vantage
>> Pro (not the newer + version), and the connection via a serial-ethernet
>> interface.  Can I make this work, or do I need to rethink the whole thing?
>>
>> Thanks
>>
> --
> 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.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Some possible helps for anyone running an old Davis Vantage Pro2 console

2017-12-27 Thread Thomas Keffer
Thanks, Doug

Could you put your comments in the Wiki? That way it will be easier for
someone to find, rather than search through the nearly 5,000 topics in
weewx-user.

Perhaps something in the hardware
 section?

-tk

On Tue, Dec 26, 2017 at 7:53 PM, Doug Bo  wrote:

> I'm running an older Vantage Pro2 console, vintage 2007, firmware 1.90
> (can't update firmware due to console hardware changes)
> My WeatherlinkIP is running current firmware but console seems to be very
> slow to respond.  I disabled the upload to weatherlink.
>
> I had to tweak the conf file to get it to run more than 24 hours.  The
> parameter adjustments below are based on threads I found in this forum.
> Hopefully my discoveries will help someone.  Although I doubt anyone (other
> than me) is running old consoles.  LOL
>
> Any other tips are appreciated.  Thanks.
>
> I'm currently discussing my options with Davis on updating my consoles.
> Maybe newer hardware.  :)
>
> Doug B.
>
> 
>
> loop_on_init = True
>
>
> # TCP send delay (when using the WeatherLinkIP):
> tcp_send_delay = 0.5
>
>
>
> *# experimentcommand_delay = 1.0*
> # 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
>
> *timeout = 8*
> # How long to wait before trying again (in seconds)
> # wait_before_retry = 1.2
>
> *wait_before_retry = 3.5*
> # 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
>
> --
> 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.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Not getting archived data on console of WS2080

2017-12-27 Thread Jens-Jørgen Kjærgaard
The redirect of the request from a name to an IP works fine - except when
that IP belongs to a mobile device

Jens-Jørgen Kjærgaard
www.jensjk.dk

On 27 Dec 2017 1:24 pm, "Andrew Milner"  wrote:

I'm a little confused now - you say
1) works fine
2) ISP does not allow incoming connections

what exactly works, and what doesn't??



On Wednesday, 27 December 2017 14:09:59 UTC+2, Jens-Jørgen Kjærgaard wrote:

> Works fine - but unfortunately my ISP apparently doesn't allow incoming
> connections on their mobile broadband. No route to host.
>
> Jens-Jørgen Kjærgaard
> www.jensjk.dk
>
> On 17 Dec 2017 4:21 pm, "mwall"  wrote:
>
>> On Sunday, December 17, 2017 at 10:11:16 AM UTC-5, Jens-Jørgen Kjærgaard
>> wrote:
>>>
>>> Well, it is a stand-alone installation, no router, the rpi connects
>>> directly to the internet via a usb-dongle.
>>> But it can be done anyway?
>>>
>>
>> yes.  in that case you run the dyndns client software on the pi, and you
>> do not have to do any port forwarding.
>>
>> 1) create account and choose a computer name at your dynamic dns
>> provider, e.g., http://freedns.afraid.org
>>
>> 2) configure the pi to talk to your dynamic dns provider
>>
>> 3) ensure that sshd is running on the pi
>>
>> 4) connect to the pi using ssh
>>
>> details vary from one dynamic dns provider to another.  one of the
>> reasons i like freedns is that the service is as simple as it gets.  there
>> is no fancy software required - you can do it with a one-line crontab.
>>
>> here is a guide that takes you through every step of the process:
>>
>> https://thelastmaimou.wordpress.com/2014/03/23/find-pi-
>> everywhere-freedns-a-free-dynamic-dns-service/
>>
>>
>> --
>> 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/to
>> pic/weewx-user/azG9h2BG6qA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+...@googlegroups.com.
>>
>> 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/azG9h2BG6qA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
weewx-user+unsubscr...@googlegroups.com.
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Not getting archived data on console of WS2080

2017-12-27 Thread Andrew Milner
I'm a little confused now - you say
1) works fine
2) ISP does not allow incoming connections

what exactly works, and what doesn't??



On Wednesday, 27 December 2017 14:09:59 UTC+2, Jens-Jørgen Kjærgaard wrote:

> Works fine - but unfortunately my ISP apparently doesn't allow incoming 
> connections on their mobile broadband. No route to host.
>
> Jens-Jørgen Kjærgaard
> www.jensjk.dk
>
> On 17 Dec 2017 4:21 pm, "mwall"  
> wrote:
>
>> On Sunday, December 17, 2017 at 10:11:16 AM UTC-5, Jens-Jørgen Kjærgaard 
>> wrote:
>>>
>>> Well, it is a stand-alone installation, no router, the rpi connects 
>>> directly to the internet via a usb-dongle.
>>> But it can be done anyway?
>>>
>>
>> yes.  in that case you run the dyndns client software on the pi, and you 
>> do not have to do any port forwarding.
>>
>> 1) create account and choose a computer name at your dynamic dns 
>> provider, e.g., http://freedns.afraid.org
>>
>> 2) configure the pi to talk to your dynamic dns provider
>>
>> 3) ensure that sshd is running on the pi
>>
>> 4) connect to the pi using ssh
>>
>> details vary from one dynamic dns provider to another.  one of the 
>> reasons i like freedns is that the service is as simple as it gets.  there 
>> is no fancy software required - you can do it with a one-line crontab.
>>
>> here is a guide that takes you through every step of the process:
>>
>>
>> https://thelastmaimou.wordpress.com/2014/03/23/find-pi-everywhere-freedns-a-free-dynamic-dns-service/
>>
>>
>> -- 
>> 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/azG9h2BG6qA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Not getting archived data on console of WS2080

2017-12-27 Thread Jens-Jørgen Kjærgaard
Works fine - but unfortunately my ISP apparently doesn't allow incoming
connections on their mobile broadband. No route to host.

Jens-Jørgen Kjærgaard
www.jensjk.dk

On 17 Dec 2017 4:21 pm, "mwall"  wrote:

> On Sunday, December 17, 2017 at 10:11:16 AM UTC-5, Jens-Jørgen Kjærgaard
> wrote:
>>
>> Well, it is a stand-alone installation, no router, the rpi connects
>> directly to the internet via a usb-dongle.
>> But it can be done anyway?
>>
>
> yes.  in that case you run the dyndns client software on the pi, and you
> do not have to do any port forwarding.
>
> 1) create account and choose a computer name at your dynamic dns provider,
> e.g., http://freedns.afraid.org
>
> 2) configure the pi to talk to your dynamic dns provider
>
> 3) ensure that sshd is running on the pi
>
> 4) connect to the pi using ssh
>
> details vary from one dynamic dns provider to another.  one of the reasons
> i like freedns is that the service is as simple as it gets.  there is no
> fancy software required - you can do it with a one-line crontab.
>
> here is a guide that takes you through every step of the process:
>
> https://thelastmaimou.wordpress.com/2014/03/23/find-
> pi-everywhere-freedns-a-free-dynamic-dns-service/
>
>
> --
> 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/azG9h2BG6qA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Best way to add WebDAV to weewx?

2017-12-27 Thread gjr80
Hi,

I am sure Tom will give you some well considered thoughts from the top idc, but 
in the meantime a few comments:

- WeeWX implements ftp and friends as a generator run via a skin. There is 
probably no reason why a webDAV generator could not be developed.
- You could ask for a WebDAV generator to be developed but I would not expect 
anything in a hurry unless there is a lot of user interest; however, if you are 
a keen python programmer or eager to learn. If you are keen have a look at 
the FtpGenerator and RsyncGenerator classes in bin/weewx/reportengine.py
- The webdavclient library is not part of the python 2.x standard library so 
it's unlikely a WebDAV generator would be included as part of weeWX per se (Tom 
is keen to keep external dependencies to a minimum) but no reason it could not 
be developed as a user controlled extension.
- If you are au fait with git you could just clone the weeWX repo and work on 
that or just start working on a local weeWX install. There are numerous user 
developed weeWX extensions/drivers published on github.
- The Notes for Developers document (http://weewx.com/docs/devnotes.htm) has 
some general guidance for those developing code for use with weeWX.

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.
For more options, visit https://groups.google.com/d/optout.