RE: [weewx-user] FTP

2021-01-28 Thread orders
Seems as to have fixed it for now!!

Thanks

 

From: weewx-user@googlegroups.com  On Behalf Of 
Tom Keffer
Sent: Thursday, January 28, 2021 5:37 PM
To: weewx-user 
Subject: Re: [weewx-user] FTP

 

I believe you are being affected by a bug in the Python libraries that happens 
if you use a Pure-FTP server. 

 

In weewx.conf, try adding option reuse_ssl and set it to true. So, your [[FTP]] 
section will look something like this:

 

  [[FTP]]

enable = true

user = 
password = ""
server = www.billandcorena.com  # The ftp 
server name, e.g, www.myserver.org  
path = /public_html/weather/weewx# The destination directory, e.g., 
/weather
secure_ftp = true

port = 21
passive = 1

reuse_ssl = True # <-- Add this line

 

NB: This will only work for Python v3.6 or greater.

 

-tk

 

On Thu, Jan 28, 2021 at 4:14 PM mailto:ord...@billandcorena.com> > wrote:

 

Again

debug set at 2

 

pi@raspberrypi:~ $ sudo tail -f /var/log/syslog Jan 28 17:06:56 raspberrypi 
weewx[11629] INFO weewx.engine: Using binding 'wx_binding' to database 
'weewx.sdb'

Jan 28 17:06:56 raspberrypi weewx[11629] INFO weewx.manager: Starting backfill 
of daily summaries Jan 28 17:06:56 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Getting archive packets since 2021-01-28 17:05:00 MST 
(1611878700) Jan 28 17:06:57 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Gentle wake up of console successful Jan 28 17:06:58 
raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: Retrieving 21 page(s); 
starting index= 0 Jan 28 17:06:58 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Empty record page 0; index 0 Jan 28 17:06:58 raspberrypi 
weewx[11629] INFO weewx.engine: Starting main packet loop.

Jan 28 17:06:59 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: Gentle 
wake up of console successful Jan 28 17:06:59 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Requesting 200 LOOP packets.

Jan 28 17:07:00 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: Gentle 
wake up of console successful Jan 28 17:10:14 raspberrypi weewx[11629] INFO 
weewx.manager: Added record 2021-01-28 17:10:00 MST (1611879000) to database 
'weewx.sdb'

Jan 28 17:10:14 raspberrypi weewx[11629] INFO weewx.manager: Added record 
2021-01-28 17:10:00 MST (1611879000) to daily summary in 'weewx.sdb'

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Running 
reports for latest time in the database.

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Running 
report 'SeasonsReport'

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'

Jan 28 17:10:15 raspberrypi weewx[11629] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
'weewx.cheetahgenerator.Extras'] Jan 28 17:10:15 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:16 raspberrypi 
weewx[11629] INFO weewx.cheetahgenerator: Generated 8 files for report 
SeasonsReport in 1.85 seconds Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:17 raspberrypi 
weewx[11629] INFO weewx.imagegenerator: Generated 15 images for report 
SeasonsReport in 0.65 seconds Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Retry #0 failed Jan 28 17:10:17 raspberrypi weewx[11629] 
INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx Jan 28 17:10:17 
raspberrypi weewx[11629] DEBUG weewx.reportengine: Running report 
'SmartphoneReport'

Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Smartphone/skin.conf for report 
'SmartphoneReport'

Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
'weewx.cheetahgenerator.Extras'] Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:17 raspberrypi 
weewx[11629] INFO weewx.cheetahgenerator: Generated 6 files for report 
SmartphoneReport in 0.17 seconds Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:18 raspberrypi 
weewx[11629] INFO weewx.imagegenerator: Generated 6 images for report 
SmartphoneReport in 0.23 seconds Jan 28 17:10:18 raspberrypi weewx[11629] INFO 
weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Jan 28 

RE: [weewx-user] FTP

2021-01-28 Thread orders
It is working fine now thanks a lot

Bill

 

From: weewx-user@googlegroups.com  On Behalf Of 
Tom Keffer
Sent: Thursday, January 28, 2021 5:45 PM
To: weewx-user 
Subject: Re: [weewx-user] FTP

 

Let's try my solution first. If that doesn't work, on to something more 
sophisticated.

 

On Thu, Jan 28, 2021 at 4:41 PM vince mailto:vinceska...@gmail.com> > wrote:

 Tom - I'm going to guesstimate this one has something to do with ssl and 
secure ftp based on the logs. The icon in my browser looks like they might be 
hosted by HostMonster (my old provider years ago) and it might be worth 
checking whether they actually support sftp, or if the site owner needs to 
enable it in the HostMonster cpanel interface (if they still use that on that 
domain hosting provider).  A quick search led me to 
https://my.hostmonster.com/cgi/help/248 which says they at least have to enable 
ssh access to have sftp work.

 

 

-- 
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/3a83525e-9da5-4944-9803-ed6b14b0b37an%40googlegroups.com
 

 .

-- 
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/NufBr8qeEhc/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAPq0zECGVeb1eW1sc_2hknYqovfsOfDmZu6qw8vmCeGw-0h65A%40mail.gmail.com
 

 .

-- 
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/00ff01d6f5dc%2428c3a910%247a4afb30%24%40billandcorena.com.


Re: [weewx-user] FTP

2021-01-28 Thread vince
Yup.  For sure.

On Thursday, January 28, 2021 at 4:45:44 PM UTC-8 Tom Keffer wrote:

> Let's try my solution first. If that doesn't work, on to something more 
> sophisticated.
>
> On Thu, Jan 28, 2021 at 4:41 PM vince  wrote:
>
>>  Tom - I'm going to guesstimate this one has something to do with ssl and 
>> secure ftp based on the logs. The icon in my browser looks like they might 
>> be hosted by HostMonster (my old provider years ago) and it might be worth 
>> checking whether they actually support sftp, or if the site owner needs to 
>> enable it in the HostMonster cpanel interface (if they still use that on 
>> that domain hosting provider).  A quick search led me to 
>> https://my.hostmonster.com/cgi/help/248 which says they at least have to 
>> enable ssh access to have sftp work.
>>
>>
>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/3a83525e-9da5-4944-9803-ed6b14b0b37an%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/a0aea2df-613c-4a7b-befa-69144b1c93dan%40googlegroups.com.


Re: [weewx-user] FTP

2021-01-28 Thread Tom Keffer
Let's try my solution first. If that doesn't work, on to something more
sophisticated.

On Thu, Jan 28, 2021 at 4:41 PM vince  wrote:

>  Tom - I'm going to guesstimate this one has something to do with ssl and
> secure ftp based on the logs. The icon in my browser looks like they might
> be hosted by HostMonster (my old provider years ago) and it might be worth
> checking whether they actually support sftp, or if the site owner needs to
> enable it in the HostMonster cpanel interface (if they still use that on
> that domain hosting provider).  A quick search led me to
> https://my.hostmonster.com/cgi/help/248 which says they at least have to
> enable ssh access to have sftp work.
>
>
> --
> 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/3a83525e-9da5-4944-9803-ed6b14b0b37an%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zECGVeb1eW1sc_2hknYqovfsOfDmZu6qw8vmCeGw-0h65A%40mail.gmail.com.


Re: [weewx-user] FTP

2021-01-28 Thread vince
 Tom - I'm going to guesstimate this one has something to do with ssl and 
secure ftp based on the logs. The icon in my browser looks like they might 
be hosted by HostMonster (my old provider years ago) and it might be worth 
checking whether they actually support sftp, or if the site owner needs to 
enable it in the HostMonster cpanel interface (if they still use that on 
that domain hosting provider).  A quick search led me 
to https://my.hostmonster.com/cgi/help/248 which says they at least have to 
enable ssh access to have sftp work.


-- 
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/3a83525e-9da5-4944-9803-ed6b14b0b37an%40googlegroups.com.


Re: [weewx-user] FTP

2021-01-28 Thread Tom Keffer
I believe you are being affected by a bug in the Python libraries that
happens if you use a Pure-FTP server.

In weewx.conf, try adding option reuse_ssl and set it to true. So, your
[[FTP]] section will look something like this:

  [[FTP]]
enable = true
user = 
password = ""
server = www.billandcorena.com# The ftp server name, e.g,
www.myserver.org
path = /public_html/weather/weewx# The destination directory, e.g.,
/weather
secure_ftp = true
port = 21
passive = 1
reuse_ssl = True # <-- Add this line

NB: This will only work for Python v3.6 or greater.

-tk

On Thu, Jan 28, 2021 at 4:14 PM  wrote:

>
>
> Again
>
> debug set at 2
>
>
>
> pi@raspberrypi:~ $ sudo tail -f /var/log/syslog Jan 28 17:06:56
> raspberrypi weewx[11629] INFO weewx.engine: Using binding 'wx_binding' to
> database 'weewx.sdb'
>
> Jan 28 17:06:56 raspberrypi weewx[11629] INFO weewx.manager: Starting
> backfill of daily summaries Jan 28 17:06:56 raspberrypi weewx[11629] DEBUG
> weewx.drivers.vantage: Getting archive packets since 2021-01-28 17:05:00
> MST (1611878700) Jan 28 17:06:57 raspberrypi weewx[11629] DEBUG
> weewx.drivers.vantage: Gentle wake up of console successful Jan 28 17:06:58
> raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: Retrieving 21
> page(s); starting index= 0 Jan 28 17:06:58 raspberrypi weewx[11629] DEBUG
> weewx.drivers.vantage: Empty record page 0; index 0 Jan 28 17:06:58
> raspberrypi weewx[11629] INFO weewx.engine: Starting main packet loop.
>
> Jan 28 17:06:59 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage:
> Gentle wake up of console successful Jan 28 17:06:59 raspberrypi
> weewx[11629] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
>
> Jan 28 17:07:00 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage:
> Gentle wake up of console successful Jan 28 17:10:14 raspberrypi
> weewx[11629] INFO weewx.manager: Added record 2021-01-28 17:10:00 MST
> (1611879000) to database 'weewx.sdb'
>
> Jan 28 17:10:14 raspberrypi weewx[11629] INFO weewx.manager: Added record
> 2021-01-28 17:10:00 MST (1611879000) to daily summary in 'weewx.sdb'
>
> Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Running
> reports for latest time in the database.
>
> Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage:
> Requesting 200 LOOP packets.
>
> Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Running
> report 'SeasonsReport'
>
> Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/Seasons/skin.conf for report
> 'SeasonsReport'
>
> Jan 28 17:10:15 raspberrypi weewx[11629] DEBUG weewx.cheetahgenerator:
> Using search list ['weewx.cheetahgenerator.Almanac',
> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
> 'weewx.cheetahgenerator.Extras'] Jan 28 17:10:15 raspberrypi weewx[11629]
> DEBUG weewx.manager: Daily summary version is 3.0 Jan 28 17:10:16
> raspberrypi weewx[11629] INFO weewx.cheetahgenerator: Generated 8 files for
> report SeasonsReport in 1.85 seconds Jan 28 17:10:17 raspberrypi
> weewx[11629] DEBUG weewx.manager: Daily summary version is 3.0 Jan 28
> 17:10:17 raspberrypi weewx[11629] INFO weewx.imagegenerator: Generated 15
> images for report SeasonsReport in 0.65 seconds Jan 28 17:10:17 raspberrypi
> weewx[11629] DEBUG weewx.drivers.vantage: Retry #0 failed Jan 28 17:10:17
> raspberrypi weewx[11629] INFO weewx.reportengine: Copied 5 files to
> /var/www/html/weewx Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG
> weewx.reportengine: Running report 'SmartphoneReport'
>
> Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/Smartphone/skin.conf for report
> 'SmartphoneReport'
>
> Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG weewx.cheetahgenerator:
> Using search list ['weewx.cheetahgenerator.Almanac',
> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
> 'weewx.cheetahgenerator.Extras'] Jan 28 17:10:17 raspberrypi weewx[11629]
> DEBUG weewx.manager: Daily summary version is 3.0 Jan 28 17:10:17
> raspberrypi weewx[11629] INFO weewx.cheetahgenerator: Generated 6 files for
> report SmartphoneReport in 0.17 seconds Jan 28 17:10:17 raspberrypi
> weewx[11629] DEBUG weewx.manager: Daily summary version is 3.0 Jan 28
> 17:10:18 raspberrypi weewx[11629] INFO weewx.imagegenerator: Generated 6
> images for report SmartphoneReport in 0.23 seconds Jan 28 17:10:18
> raspberrypi weewx[11629] INFO weewx.reportengine: Copied 6 files to
> /var/www/html/weewx/smartphone Jan 28 17:10:18 raspberrypi weewx[11629]
> DEBUG weewx.reportengine: Running report 'MobileReport'
>
> Jan 28 17:10:18 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/Mobile/skin.conf for report
> 

RE: [weewx-user] FTP

2021-01-28 Thread orders
 

Again

debug set at 2

 

pi@raspberrypi:~ $ sudo tail -f /var/log/syslog Jan 28 17:06:56 raspberrypi 
weewx[11629] INFO weewx.engine: Using binding 'wx_binding' to database 
'weewx.sdb'

Jan 28 17:06:56 raspberrypi weewx[11629] INFO weewx.manager: Starting backfill 
of daily summaries Jan 28 17:06:56 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Getting archive packets since 2021-01-28 17:05:00 MST 
(1611878700) Jan 28 17:06:57 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Gentle wake up of console successful Jan 28 17:06:58 
raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: Retrieving 21 page(s); 
starting index= 0 Jan 28 17:06:58 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Empty record page 0; index 0 Jan 28 17:06:58 raspberrypi 
weewx[11629] INFO weewx.engine: Starting main packet loop.

Jan 28 17:06:59 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: Gentle 
wake up of console successful Jan 28 17:06:59 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Requesting 200 LOOP packets.

Jan 28 17:07:00 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: Gentle 
wake up of console successful Jan 28 17:10:14 raspberrypi weewx[11629] INFO 
weewx.manager: Added record 2021-01-28 17:10:00 MST (1611879000) to database 
'weewx.sdb'

Jan 28 17:10:14 raspberrypi weewx[11629] INFO weewx.manager: Added record 
2021-01-28 17:10:00 MST (1611879000) to daily summary in 'weewx.sdb'

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Running 
reports for latest time in the database.

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Running 
report 'SeasonsReport'

Jan 28 17:10:14 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'

Jan 28 17:10:15 raspberrypi weewx[11629] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
'weewx.cheetahgenerator.Extras'] Jan 28 17:10:15 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:16 raspberrypi 
weewx[11629] INFO weewx.cheetahgenerator: Generated 8 files for report 
SeasonsReport in 1.85 seconds Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:17 raspberrypi 
weewx[11629] INFO weewx.imagegenerator: Generated 15 images for report 
SeasonsReport in 0.65 seconds Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.drivers.vantage: Retry #0 failed Jan 28 17:10:17 raspberrypi weewx[11629] 
INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx Jan 28 17:10:17 
raspberrypi weewx[11629] DEBUG weewx.reportengine: Running report 
'SmartphoneReport'

Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Smartphone/skin.conf for report 
'SmartphoneReport'

Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
'weewx.cheetahgenerator.Extras'] Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:17 raspberrypi 
weewx[11629] INFO weewx.cheetahgenerator: Generated 6 files for report 
SmartphoneReport in 0.17 seconds Jan 28 17:10:17 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:18 raspberrypi 
weewx[11629] INFO weewx.imagegenerator: Generated 6 images for report 
SmartphoneReport in 0.23 seconds Jan 28 17:10:18 raspberrypi weewx[11629] INFO 
weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Jan 28 
17:10:18 raspberrypi weewx[11629] DEBUG weewx.reportengine: Running report 
'MobileReport'

Jan 28 17:10:18 raspberrypi weewx[11629] DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Mobile/skin.conf for report 'MobileReport'

Jan 28 17:10:18 raspberrypi weewx[11629] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
'weewx.cheetahgenerator.Extras'] Jan 28 17:10:18 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:18 raspberrypi 
weewx[11629] INFO weewx.cheetahgenerator: Generated 1 files for report 
MobileReport in 0.06 seconds Jan 28 17:10:18 raspberrypi weewx[11629] DEBUG 
weewx.manager: Daily summary version is 3.0 Jan 28 17:10:18 raspberrypi 
weewx[11629] INFO weewx.imagegenerator: Generated 4 images for report 
MobileReport in 0.17 seconds Jan 28 17:10:18 raspberrypi 

Re: [weewx-user] FTP

2021-01-28 Thread Tom Keffer
It was in another note, but please use debug=2. This will give additional
information about the FTP session.



On Thu, Jan 28, 2021 at 3:46 PM  wrote:

> Here is the log from start
>
>
>
>
>
> i@raspberrypi:~ $ sudo tail -f /var/log/syslog Jan 28 16:35:20
> raspberrypi weewx[11404] INFO weewx.restx: Wunderground: Posting not
> enabled.
>
> Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: PWSweather:
> Posting not enabled.
>
> Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: CWOP: Posting
> not enabled.
>
> Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: WOW: Posting
> not enabled.
>
> Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: AWEKAS: Posting
> not enabled.
>
> Jan 28 16:35:20 raspberrypi weewx[11404] INFO __main__: Starting up weewx
> version 4.3.0 Jan 28 16:35:21 raspberrypi weewx[11404] INFO weewx.engine:
> Clock error is 3.34 seconds (positive is fast) Jan 28 16:35:21 raspberrypi
> weewx[11404] INFO weewx.engine: Using binding 'wx_binding' to database
> 'weewx.sdb'
>
> Jan 28 16:35:21 raspberrypi weewx[11404] INFO weewx.manager: Starting
> backfill of daily summaries Jan 28 16:35:23 raspberrypi weewx[11404] INFO
> weewx.engine: Starting main packet loop.
>
> Jan 28 16:40:14 raspberrypi weewx[11404] INFO weewx.manager: Added record
> 2021-01-28 16:40:00 MST (1611877200) to database 'weewx.sdb'
>
> Jan 28 16:40:14 raspberrypi weewx[11404] INFO weewx.manager: Added record
> 2021-01-28 16:40:00 MST (1611877200) to daily summary in 'weewx.sdb'
>
> Jan 28 16:40:16 raspberrypi weewx[11404] INFO weewx.cheetahgenerator:
> Generated 8 files for report SeasonsReport in 1.81 seconds Jan 28 16:40:17
> raspberrypi weewx[11404] INFO weewx.imagegenerator: Generated 15 images for
> report SeasonsReport in 0.66 seconds Jan 28 16:40:17 raspberrypi
> weewx[11404] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
> Jan 28 16:40:17 raspberrypi weewx[11404] INFO weewx.cheetahgenerator:
> Generated 6 files for report SmartphoneReport in 0.16 seconds Jan 28
> 16:40:17 raspberrypi weewx[11404] INFO weewx.imagegenerator: Generated 6
> images for report SmartphoneReport in 0.24 seconds Jan 28 16:40:17
> raspberrypi weewx[11404] INFO weewx.reportengine: Copied 6 files to
> /var/www/html/weewx/smartphone Jan 28 16:40:18 raspberrypi weewx[11404]
> INFO weewx.cheetahgenerator: Generated 1 files for report MobileReport in
> 0.05 seconds Jan 28 16:40:18 raspberrypi weewx[11404] INFO
> weewx.imagegenerator: Generated 4 images for report MobileReport in 0.16
> seconds Jan 28 16:40:18 raspberrypi weewx[11404] INFO weewx.reportengine:
> Copied 2 files to /var/www/html/weewx/mobile Jan 28 16:40:18 raspberrypi
> weewx[11404] INFO user.belchertown: version 1.2 Jan 28 16:40:18 raspberrypi
> weewx[11404] ERROR user.belchertown: Error getting AQI from Aeris weather.
> The error was:#012list index out of range#012The response from the Aeris
> AQI server was:#012[{'success': True, 'error': {'code': 'warn_no_data',
> 'description': 'Valid request. No results available based on your query
> parameters.'}, 'response': []}]#012The URL being used is:#012
> https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
>
> Jan 28 16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error
> getting AQI from Aeris weather. The error was:#012list index out of
> range#012The response from the Aeris AQI server was:#012[{'success': True,
> 'error': {'code': 'warn_no_data', 'description': 'Valid request. No results
> available based on your query parameters.'}, 'response': []}]#012The URL
> being used is:#012
> https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
>
> Jan 28 16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error
> getting AQI from Aeris weather. The error was:#012list index out of
> range#012The response from the Aeris AQI server was:#012[{'success': True,
> 'error': {'code': 'warn_no_data', 'description': 'Valid request. No results
> available based on your query parameters.'}, 'response': []}]#012The URL
> being used is:#012
> https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
>
> Jan 28 16:40:19 raspberrypi weewx[11404] ERROR user.belchertown: Error
> getting AQI from Aeris weather. The error was:#012list index out of
> range#012The response from the Aeris AQI server was:#012[{'success': True,
> 'error': {'code': 'warn_no_data', 'description': 'Valid request. No results
> available based on your query parameters.'}, 'response': []}]#012The URL
> being used is:#012
> https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
>
> Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error
> 

RE: [weewx-user] FTP

2021-01-28 Thread orders
Here is the log from start

 

 

i@raspberrypi:~ $ sudo tail -f /var/log/syslog Jan 28 16:35:20 raspberrypi 
weewx[11404] INFO weewx.restx: Wunderground: Posting not enabled.

Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: PWSweather: Posting 
not enabled.

Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: CWOP: Posting not 
enabled.

Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: WOW: Posting not 
enabled.

Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: AWEKAS: Posting not 
enabled.

Jan 28 16:35:20 raspberrypi weewx[11404] INFO __main__: Starting up weewx 
version 4.3.0 Jan 28 16:35:21 raspberrypi weewx[11404] INFO weewx.engine: Clock 
error is 3.34 seconds (positive is fast) Jan 28 16:35:21 raspberrypi 
weewx[11404] INFO weewx.engine: Using binding 'wx_binding' to database 
'weewx.sdb'

Jan 28 16:35:21 raspberrypi weewx[11404] INFO weewx.manager: Starting backfill 
of daily summaries Jan 28 16:35:23 raspberrypi weewx[11404] INFO weewx.engine: 
Starting main packet loop.

Jan 28 16:40:14 raspberrypi weewx[11404] INFO weewx.manager: Added record 
2021-01-28 16:40:00 MST (1611877200) to database 'weewx.sdb'

Jan 28 16:40:14 raspberrypi weewx[11404] INFO weewx.manager: Added record 
2021-01-28 16:40:00 MST (1611877200) to daily summary in 'weewx.sdb'

Jan 28 16:40:16 raspberrypi weewx[11404] INFO weewx.cheetahgenerator: Generated 
8 files for report SeasonsReport in 1.81 seconds Jan 28 16:40:17 raspberrypi 
weewx[11404] INFO weewx.imagegenerator: Generated 15 images for report 
SeasonsReport in 0.66 seconds Jan 28 16:40:17 raspberrypi weewx[11404] INFO 
weewx.reportengine: Copied 5 files to /var/www/html/weewx Jan 28 16:40:17 
raspberrypi weewx[11404] INFO weewx.cheetahgenerator: Generated 6 files for 
report SmartphoneReport in 0.16 seconds Jan 28 16:40:17 raspberrypi 
weewx[11404] INFO weewx.imagegenerator: Generated 6 images for report 
SmartphoneReport in 0.24 seconds Jan 28 16:40:17 raspberrypi weewx[11404] INFO 
weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Jan 28 
16:40:18 raspberrypi weewx[11404] INFO weewx.cheetahgenerator: Generated 1 
files for report MobileReport in 0.05 seconds Jan 28 16:40:18 raspberrypi 
weewx[11404] INFO weewx.imagegenerator: Generated 4 images for report 
MobileReport in 0.16 seconds Jan 28 16:40:18 raspberrypi weewx[11404] INFO 
weewx.reportengine: Copied 2 files to /var/www/html/weewx/mobile Jan 28 
16:40:18 raspberrypi weewx[11404] INFO user.belchertown: version 1.2 Jan 28 
16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error getting AQI 
from Aeris weather. The error was:#012list index out of range#012The response 
from the Aeris AQI server was:#012[{'success': True, 'error': {'code': 
'warn_no_data', 'description': 'Valid request. No results available based on 
your query parameters.'}, 'response': []}]#012The URL being used 
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT

Jan 28 16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error getting 
AQI from Aeris weather. The error was:#012list index out of range#012The 
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code': 
'warn_no_data', 'description': 'Valid request. No results available based on 
your query parameters.'}, 'response': []}]#012The URL being used 
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT

Jan 28 16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error getting 
AQI from Aeris weather. The error was:#012list index out of range#012The 
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code': 
'warn_no_data', 'description': 'Valid request. No results available based on 
your query parameters.'}, 'response': []}]#012The URL being used 
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT

Jan 28 16:40:19 raspberrypi weewx[11404] ERROR user.belchertown: Error getting 
AQI from Aeris weather. The error was:#012list index out of range#012The 
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code': 
'warn_no_data', 'description': 'Valid request. No results available based on 
your query parameters.'}, 'response': []}]#012The URL being used 
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094=json=50mi=1_id=dgmFzs4Y5jdGxm1G8Nf1p_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT

Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting 
AQI from Aeris weather. The error was:#012list index out of range#012The 
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code': 
'warn_no_data', 'description': 'Valid request. No results available based on 
your query parameters.'}, 

Re: [weewx-user] FTP not working

2021-01-28 Thread Tom Keffer
See my other note about getting a better log.

However, instead of debug=1, use debug=2. This will give additional FTP
information.

On Thu, Jan 28, 2021 at 2:38 PM  wrote:

>Hi
>
> The file weekbarometer.png shows up in the right place as an empty file.
> Have tried
>
>
>
>
>
>
>
>
>
>
>
> enable = true
>
> user = bahr...@billandcorena.com
>
> password = ""
>
> server = www.billandcorena.com# The ftp server name, e.g,
> www.myserver.org
>
> path = /public_html/weather/weewx# The destination directory,
> e.g., /weather
>
>
>
> # Set to True for an FTP over TLS (FTPS) connection. Not all
> servers
>
> # support this.
>
> secure_ftp = true
>
>
>
> # To upload files from something other than what HTML_ROOT is set
>
> # to above, specify a different HTML_ROOT here.
>
> #  HTML_ROOT = /var/www/html/weewx
>
>
>
> # Most FTP servers use port 21
>
> port = 21
>
>
>
> # Set to 1 to use passive mode, zero for active mode
>
> passive = 1
>
>
>
>
>
>
>
>
>
>
>
>
>
> Jan 28 14:30:22 raspberrypi weewx[10448] INFO weewx.reportengine:
>
> Copied 37 files to /var/www/html/weewx/belchertown Jan 28 14:30:24
> raspberrypi weewx[10448] ERROR weeutil.ftpupload: Failed uploading
> /var/www/html/weewx/weekbarometer.png to server www.billandcorena.com.
> Reason: '[Errno 0] Error' Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
> weewx.reportengine: ftpgenerator: (0):
>
> caught exception '': [Errno 0] Error Jan 28 14:30:24
>
> raspberrypi weewx[10448] ERROR weewx.reportengine: 
>
> Traceback (most recent call last): Jan 28 14:30:24 raspberrypi
>
> weewx[10448] ERROR weewx.reportengine: File
>
> "/usr/share/weewx/weewx/reportengine.py", line 331, in run Jan 28
>
> 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
>
>   n = ftp_data.run() Jan 28 14:30:24 raspberrypi weewx[10448]
>
> ERROR weewx.reportengine: File
>
> "/usr/share/weewx/weeutil/ftpupload.py", line 163, in run Jan 28
>
> 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
>
>   ftp_server.storbinary(stor_cmd, fd) Jan 28 14:30:24
>
> raspberrypi weewx[10448] ERROR weewx.reportengine: File
>
> "/usr/lib/python3.7/ftplib.py", line 514, in storbinary Jan 28 14:30:24
>
> raspberrypi weewx[10448] ERROR weewx.reportengine: 
>
> conn.unwrap() Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
>
> weewx.reportengine: File "/usr/lib/python3.7/ssl.py",
>
> line 1094, in unwrap Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
>
> weewx.reportengine:   s = self._sslobj.shutdown() Jan
>
> 28 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
>
>   OSError: [Errno 0] Error Jan 28 14:30:25 raspberrypi weewx[10448]
> ERROR weeutil.ftpupload: Failed uploading
> /var/www/html/weewx/weekbarometer.png to server www.billandcorena.com.
> Reason: '[Errno 0] Error'
>
>
>
> --
> 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/008201d6f5be%2496172960%24c2457c20%24%40billandcorena.com
> 
> .
>

-- 
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/CAPq0zEABatqxktuNWsA1qS%3Dt7zuFE3RaaDtRD5_uRqUKEa0W_g%40mail.gmail.com.


[weewx-user] Re: New Units and Unit Groups for MQTT

2021-01-28 Thread bell...@gmail.com
Thanks, that is exactly what I was looking for. I know it is too late for 
you, but I thought other people might need to add units, unit groups, and 
observations. So, I was looking for a real world example. I’ve opened issue 
118  to work 
on this in MQTTSubscribe.

On Thursday, 28 January 2021 at 15:03:22 UTC-5 kk44...@gmail.com wrote:

> I am not sure that I understood what I am expected to post. The units and 
> unit group definition file I created is this:
>
> bell...@gmail.com schrieb am Montag, 25. Januar 2021 um 01:09:55 UTC+1:
>
>> Karen, 
>> If you pst what you have done, I’d be willing to look at updating 
>> MQTTSubscribe to have a configuration option. If we get something working, 
>> perhaps a pull request to WeeWX might result.
>> rich
>>
>> On Sunday, 24 January 2021 at 05:57:47 UTC-5 kk44...@gmail.com wrote:
>>
>>> @Rich: Yes, I was afraid that that is the only way to do it. So I guess, 
>>> I will do it the same way
>>>
>>> @Weatherl: Oh, I did not install devices of my own. Instead I got 
>>> permission to read the readings of the official level and flow meters from 
>>> the government. They provide an API in the Internet here. If you register 
>>> with them you can get the data live.
>>>
>>> bell...@gmail.com schrieb am Samstag, 23. Januar 2021 um 22:48:32 UTC+1:
>>>
 I'll be interested in hearing if there is a better way, but here is 
 what I did to add a new observation.
 1. Wrote this service.

 import weewx

 import weewx.units
 weewx.units.obs_group_dict['honeywell01'] = 'group_temperature'
 weewx.units.obs_group_dict['honeywell02'] = 'group_temperature'
 weewx.units.obs_group_dict['honeywell03'] = 'group_temperature'

 class Noop(weewx.engine.StdService):
 pass

 2. Updated weewx.conf
 prep_services = weewx.engine.StdTimeSynch , user.bellrichm.Noop

 rich

 On Saturday, 23 January 2021 at 16:18:28 UTC-5 kk44...@gmail.com wrote:

> I installed MQTTSubscribe service. In this case it provides data about 
> water level (unit cm) and water flow (unit cubic meter per second) of the 
> near river.
>
> As those units and unit group are not included in the standard weewx I 
> have to assign them elsewhere.
>
> Because I use the MQTTSubscribe service, there is no need to write an 
> extension. On the other hand, no extension file means no place to put the 
> assignment of the additional units and unit groups.
>
> Could I declare those units and unit groups somewhere in weewx.conf?
>
> Is there any other possibility?
>


-- 
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/9152f40d-0dc9-48c2-b8a3-8b83e91feafan%40googlegroups.com.


Re: [weewx-user] FTP

2021-01-28 Thread Tom Keffer
It is very difficult to read your log trace because of the formatting, and
you did not supply much of the log.

One possible problem: are you sure you want

path = /public_html/weather/weewx

This will be the *destination* directory on www.billandcorena.com. Is that
your intention?

If that's not the problem, then we will need to see more of the log. See
the wiki article *Help! Posting to weewx-user
* for how
to get a good log.



On Thu, Jan 28, 2021 at 1:53 PM billandcorena ahrens <
ord...@billandcorena.com> wrote:

> enable = true
>
> user = 
>
> password = ""
>
> server = www.billandcorena.com# The ftp server name, e.g,
> www.myserver.org
>
> path = /public_html/weather/weewx# The destination directory,
> e.g., /weather
>
>
>
> # Set to True for an FTP over TLS (FTPS) connection. Not all
> servers
>
> # support this.
>
> secure_ftp = true
>
>
>
> # To upload files from something other than what HTML_ROOT is set
>
> # to above, specify a different HTML_ROOT here.
>
> #  HTML_ROOT = /var/www/html/weewx
>
>
>
> # Most FTP servers use port 21
>
> port = 21
>
>
>
> # Set to 1 to use passive mode, zero for active mode
>
> passive = 1
>
>
>
>
>
>
>
>
>
>
>
>
>
> Jan 28 14:30:22 raspberrypi weewx[10448] INFO weewx.reportengine:
>
> Copied 37 files to /var/www/html/weewx/belchertown Jan 28 14:30:24
> raspberrypi weewx[10448] ERROR weeutil.ftpupload: Failed uploading
> /var/www/html/weewx/weekbarometer.png to server www.billandcorena.com.
> Reason: '[Errno 0] Error' Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
> weewx.reportengine: ftpgenerator: (0):
>
> caught exception '': [Errno 0] Error Jan 28 14:30:24
>
> raspberrypi weewx[10448] ERROR weewx.reportengine: 
>
> Traceback (most recent call last): Jan 28 14:30:24 raspberrypi
>
> weewx[10448] ERROR weewx.reportengine: File
>
> "/usr/share/weewx/weewx/reportengine.py", line 331, in run Jan 28
>
> 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
>
>   n = ftp_data.run() Jan 28 14:30:24 raspberrypi weewx[10448]
>
> ERROR weewx.reportengine: File
>
> "/usr/share/weewx/weeutil/ftpupload.py", line 163, in run Jan 28
>
> 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
>
>   ftp_server.storbinary(stor_cmd, fd) Jan 28 14:30:24
>
> raspberrypi weewx[10448] ERROR weewx.reportengine: File
>
> "/usr/lib/python3.7/ftplib.py", line 514, in storbinary Jan 28 14:30:24
>
> raspberrypi weewx[10448] ERROR weewx.reportengine: 
>
> conn.unwrap() Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
>
> weewx.reportengine: File "/usr/lib/python3.7/ssl.py",
>
> line 1094, in unwrap Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
>
> weewx.reportengine:   s = self._sslobj.shutdown() Jan
>
> 28 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
>
>   OSError: [Errno 0] Error Jan 28 14:30:25 raspberrypi weewx[10448]
> ERROR weeutil.ftpupload: Failed uploading
> /var/www/html/weewx/weekbarometer.png to server www.billandcorena.com.
> Reason: '[Errno 0] Error'
>
>
>
> --
> 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/1b5288f3-accd-466f-856a-16d3bf6739dfn%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEBkb%2BQfJNjcO4m%2BU7KfmiuBKfKYbAukYcrcZFHNTVQGwA%40mail.gmail.com.


[weewx-user] FTP not working

2021-01-28 Thread orders
   Hi

The file weekbarometer.png shows up in the right place as an empty file.
Have tried   

 

 

 

 

 

enable = true

user = bahr...@billandcorena.com  

password = ""

server = www.billandcorena.com  #
The ftp server name, e.g, www.myserver.org  

path = /public_html/weather/weewx# The destination directory,
e.g., /weather

 

# Set to True for an FTP over TLS (FTPS) connection. Not all servers

# support this.

secure_ftp = true

 

# To upload files from something other than what HTML_ROOT is set

# to above, specify a different HTML_ROOT here.

#  HTML_ROOT = /var/www/html/weewx

 

# Most FTP servers use port 21

port = 21

 

# Set to 1 to use passive mode, zero for active mode

passive = 1

 

 

 

 

 

 

Jan 28 14:30:22 raspberrypi weewx[10448] INFO weewx.reportengine:

Copied 37 files to /var/www/html/weewx/belchertown Jan 28 14:30:24
raspberrypi weewx[10448] ERROR weeutil.ftpupload: Failed uploading
/var/www/html/weewx/weekbarometer.png to server www.billandcorena.com
 . Reason: '[Errno 0] Error' Jan 28 14:30:24
raspberrypi weewx[10448] ERROR weewx.reportengine: ftpgenerator: (0):

caught exception '': [Errno 0] Error Jan 28 14:30:24

raspberrypi weewx[10448] ERROR weewx.reportengine: 

Traceback (most recent call last): Jan 28 14:30:24 raspberrypi

weewx[10448] ERROR weewx.reportengine: File

"/usr/share/weewx/weewx/reportengine.py", line 331, in run Jan 28

14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:

  n = ftp_data.run() Jan 28 14:30:24 raspberrypi weewx[10448]

ERROR weewx.reportengine: File

"/usr/share/weewx/weeutil/ftpupload.py", line 163, in run Jan 28

14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:

  ftp_server.storbinary(stor_cmd, fd) Jan 28 14:30:24

raspberrypi weewx[10448] ERROR weewx.reportengine: File

"/usr/lib/python3.7/ftplib.py", line 514, in storbinary Jan 28 14:30:24

raspberrypi weewx[10448] ERROR weewx.reportengine: 

conn.unwrap() Jan 28 14:30:24 raspberrypi weewx[10448] ERROR

weewx.reportengine: File "/usr/lib/python3.7/ssl.py",

line 1094, in unwrap Jan 28 14:30:24 raspberrypi weewx[10448] ERROR

weewx.reportengine:   s = self._sslobj.shutdown() Jan

28 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:

  OSError: [Errno 0] Error Jan 28 14:30:25 raspberrypi weewx[10448]
ERROR weeutil.ftpupload: Failed uploading
/var/www/html/weewx/weekbarometer.png to server www.billandcorena.com
 . Reason: '[Errno 0] Error'

 

-- 
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/008201d6f5be%2496172960%24c2457c20%24%40billandcorena.com.


[weewx-user] Minor and Moderate alert masking

2021-01-28 Thread didier....@gmail.com
hi

In Belchertown skin, I would like to display Severe and Extrem Aeris alerts 
only
Minor and Moderate will be masked.

Is it possible? in which file I have to test it?

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bab45737-681a-49d4-a0ac-9097a6209e86n%40googlegroups.com.


[weewx-user] SFTP problem

2021-01-28 Thread bgra...@umw.edu

Hello,
I am trying to help my son in Norway who is running weewx 4.3.0 on an RPI. 
Neither of us is a programmer and can't seem to figure out what is 
happening. I also run weewx on an ubuntu machine.

I am attaching some sections of his syslog showing errors and problems. 
Basically the system is running but no longer SFTPing to his remote site. 
Also it isn't updating his local Seasons page. However it is sending data 
to WU, which I assume doesn't use SFTP.

At one point, when I restarted weewx, it showed that the clock was about 25 
hours off but I'm not sure this was causing a problem as the clock reset 
and nothing much changed.

Also I found a message that pysftp was missing and installed it with pip3. 
No change.

His system seems to be running python3 but it's possible that something is 
missing there.

Anyway, I would appreciate it if someone with a trained eye could have a 
look at the attached and let me know if anything stands out that is wrong. 
I can send more detail if needed.  Thanks in advance.
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/aba971ed-a13b-43c8-a7c2-cc583a88ec87n%40googlegroups.com.
Linux raspberrypi 5.10.10-v7+ #1397 SMP Mon Jan 25 18:38:45 GMT 2021 armv7l 
GNU/Linux
weewx 4.3.0
===
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'user.sftp.SFTPGenerator'
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
Unable to connect to www.monkeybrewery.no: [Errno 101] network unreachable
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
Traceback (most recent call last):
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
  File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
obj.start()
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
  File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
self.run()
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
  File "/usr/share/weewx/user/sftp.py", line 259, in run
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
n = uploader.run()
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
  File "/usr/share/weewx/user/sftp.py", line 103, in run
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
cnopts=cnopts)
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
  File "/usr/local/lib/python3.7/dist-packages/pysftp/__init__.py", line 140, 
in __init__
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
self._start_transport(host, port)
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
  File "/usr/local/lib/python3.7/dist-packages/pysftp/__init__.py", line 176, 
in _start_transport
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
self._transport = paramiko.Transport((host, port))
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
  File "/usr/local/lib/python3.7/dist-packages/paramiko/transport.py", line 
416, in __init__
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
"Unable to connect to {}: {}".format(hostname, reason)
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
paramiko.ssh_exception.SSHException: Unable to connect to www.monkeybrewery.no: 
[Errno 101] network unreachable
Jan 28 22:10:44 raspberrypi weewx[5888] ERROR weewx.reportengine:   
Generator terminated
Jan 28 22:10:44 raspberrypi weewx[5888] INFO weewx.restx: Wunderground-RF: 
Published record 2021-01-28 22:10:44 CET (1611868244)
...
PING www.monkeybrewery.no (194.63.248.47) 56(84) bytes of data.
64 bytes from grand.domeneshop.no (194.63.248.47): icmp_seq=1 ttl=59 time=22.3 
ms
64 bytes from grand.domeneshop.no (194.63.248.47): icmp_seq=2 ttl=59 time=23.7 
ms
..
pi@raspberrypi:~ $ service weewx status
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (running) since Thu 2021-01-28 21:17:45 CET; 51min ago
 Docs: man:systemd-sysv-generator(8)
Tasks: 2 (limit: 2062)
   CGroup: /system.slice/weewx.service
   └─5888 python3 /usr/share/weewx/weewxd --daemon 
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

Jan 28 22:10:19 raspberrypi weewx[5888] INFO weewx.cheetahgenerator: 

[weewx-user] FTP

2021-01-28 Thread billandcorena ahrens


enable = true

user = 

password = ""

server = www.billandcorena.com# The ftp server name, e.g, 
www.myserver.org

path = /public_html/weather/weewx# The destination directory, 
e.g., /weather

 

# Set to True for an FTP over TLS (FTPS) connection. Not all servers

# support this.

secure_ftp = true

 

# To upload files from something other than what HTML_ROOT is set

# to above, specify a different HTML_ROOT here.

#  HTML_ROOT = /var/www/html/weewx

 

# Most FTP servers use port 21

port = 21

 

# Set to 1 to use passive mode, zero for active mode

passive = 1

 

 

 

 

 

 

Jan 28 14:30:22 raspberrypi weewx[10448] INFO weewx.reportengine:

Copied 37 files to /var/www/html/weewx/belchertown Jan 28 14:30:24 
raspberrypi weewx[10448] ERROR weeutil.ftpupload: Failed uploading 
/var/www/html/weewx/weekbarometer.png to server www.billandcorena.com. 
Reason: '[Errno 0] Error' Jan 28 14:30:24 raspberrypi weewx[10448] ERROR 
weewx.reportengine: ftpgenerator: (0):

caught exception '': [Errno 0] Error Jan 28 14:30:24

raspberrypi weewx[10448] ERROR weewx.reportengine: 

Traceback (most recent call last): Jan 28 14:30:24 raspberrypi

weewx[10448] ERROR weewx.reportengine: File

"/usr/share/weewx/weewx/reportengine.py", line 331, in run Jan 28

14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:

  n = ftp_data.run() Jan 28 14:30:24 raspberrypi weewx[10448]

ERROR weewx.reportengine: File

"/usr/share/weewx/weeutil/ftpupload.py", line 163, in run Jan 28

14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:

  ftp_server.storbinary(stor_cmd, fd) Jan 28 14:30:24

raspberrypi weewx[10448] ERROR weewx.reportengine: File

"/usr/lib/python3.7/ftplib.py", line 514, in storbinary Jan 28 14:30:24

raspberrypi weewx[10448] ERROR weewx.reportengine: 

conn.unwrap() Jan 28 14:30:24 raspberrypi weewx[10448] ERROR

weewx.reportengine: File "/usr/lib/python3.7/ssl.py",

line 1094, in unwrap Jan 28 14:30:24 raspberrypi weewx[10448] ERROR

weewx.reportengine:   s = self._sslobj.shutdown() Jan

28 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:

  OSError: [Errno 0] Error Jan 28 14:30:25 raspberrypi weewx[10448] 
ERROR weeutil.ftpupload: Failed uploading 
/var/www/html/weewx/weekbarometer.png to server www.billandcorena.com. 
Reason: '[Errno 0] Error'

 

-- 
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/1b5288f3-accd-466f-856a-16d3bf6739dfn%40googlegroups.com.


[weewx-user] Re: belchertown skin - error can't bring up skin in fresh install last master.zip - 26 jan.

2021-01-28 Thread 'jovo...@googlemail.com' via weewx-user
solved by 
Merge pull request 

 
#552  from 
uajqq/cloud_cover 

 
jovo...@googlemail.com schrieb am Mittwoch, 27. Januar 2021 um 15:58:55 
UTC+1:

> I try to bring up belchertown in a fresh new installation, 
> raspberry debian buster
> weewx 4.3.0 python3
> belchertown - master.zip  26 jan 2021
>
> it's a blank installation.
>
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: Caught 
> unrecoverable exception in generator 
> 'weewx.cheetahgenerator.CheetahGenerator'
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   local variable 'cloud_cover' referenced before assignment
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   Traceback (most recent call last):
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   obj.start()
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   self.run()
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 149, in run
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   ngen = self.generate(gen_dict[section_name], self.gen_ts)
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in 
> generate
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   ngen += self.generate(section[subsection], gen_ts)
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in 
> generate
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   ngen += self.generate(section[subsection], gen_ts)
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 308, in 
> generate
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   default_binding)
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 379, in 
> _getSearchList
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   searchList += obj.get_extension_list(timespan, db_lookup)
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
> File "/usr/share/weewx/user/belchertown.py", line 2124, in 
> get_extension_list
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   "cloud_cover": cloud_cover,
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   UnboundLocalError: local variable 'cloud_cover' referenced before 
> assignment
> Jan 27 15:55:19 wetterpi weewx[14298] ERROR weewx.reportengine: 
>   Generator terminated
>
> I try with enable or disable "aeris forcast" makes no differents.
>
> Any ideas?
>

-- 
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/4cc9c664-7a78-4a34-bd77-d368295ca502n%40googlegroups.com.


[weewx-user] Re: New Units and Unit Groups for MQTT

2021-01-28 Thread Karen K
I am not sure that I understood what I am expected to post. The units and 
unit group definition file I created is this:

bell...@gmail.com schrieb am Montag, 25. Januar 2021 um 01:09:55 UTC+1:

> Karen, 
> If you pst what you have done, I’d be willing to look at updating 
> MQTTSubscribe to have a configuration option. If we get something working, 
> perhaps a pull request to WeeWX might result.
> rich
>
> On Sunday, 24 January 2021 at 05:57:47 UTC-5 kk44...@gmail.com wrote:
>
>> @Rich: Yes, I was afraid that that is the only way to do it. So I guess, 
>> I will do it the same way
>>
>> @Weatherl: Oh, I did not install devices of my own. Instead I got 
>> permission to read the readings of the official level and flow meters from 
>> the government. They provide an API in the Internet here. If you register 
>> with them you can get the data live.
>>
>> bell...@gmail.com schrieb am Samstag, 23. Januar 2021 um 22:48:32 UTC+1:
>>
>>> I'll be interested in hearing if there is a better way, but here is what 
>>> I did to add a new observation.
>>> 1. Wrote this service.
>>>
>>> import weewx
>>>
>>> import weewx.units
>>> weewx.units.obs_group_dict['honeywell01'] = 'group_temperature'
>>> weewx.units.obs_group_dict['honeywell02'] = 'group_temperature'
>>> weewx.units.obs_group_dict['honeywell03'] = 'group_temperature'
>>>
>>> class Noop(weewx.engine.StdService):
>>> pass
>>>
>>> 2. Updated weewx.conf
>>> prep_services = weewx.engine.StdTimeSynch , user.bellrichm.Noop
>>>
>>> rich
>>>
>>> On Saturday, 23 January 2021 at 16:18:28 UTC-5 kk44...@gmail.com wrote:
>>>
 I installed MQTTSubscribe service. In this case it provides data about 
 water level (unit cm) and water flow (unit cubic meter per second) of the 
 near river.

 As those units and unit group are not included in the standard weewx I 
 have to assign them elsewhere.

 Because I use the MQTTSubscribe service, there is no need to write an 
 extension. On the other hand, no extension file means no place to put the 
 assignment of the additional units and unit groups.

 Could I declare those units and unit groups somewhere in weewx.conf?

 Is there any other possibility?

>>>

-- 
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/314e2573-22bb-4798-9990-f0b039f9f1bfn%40googlegroups.com.
# water level and water flow units and unit groups

import weewx.units
import weeutil.weeutil 

# add groups for water level and water flow
weewx.units.USUnits.extend(
  {'group_flow':'cubic_foot_per_second',
   'group_level':'foot'})

# add groups for water level and water flow
weewx.units.MetricUnits.extend(
  {'group_flow':'cubic_meter_per_second',
   'group_level':'cm'})
   
# add groups for water level and water flow
weewx.units.MetricWXUnits.extend(
  {'group_flow':'cubic_meter_per_second',
   'group_level':'cm'})

# default format for flow units   
weewx.units.default_unit_format_dict['cubic_meter_per_second']='%.1f'
weewx.units.default_unit_format_dict['cubic_foot_per_second']='%.0f'
  
# default unit label for flow units
weewx.units.default_unit_label_dict['cubic_meter_per_second']=u" m³/s"
weewx.units.default_unit_label_dict['cubic_foot_per_second']=u" ft³/s"

# Note: default format and unit labels for water level units are
# already defined within weewx.units. No need to do it here.

# add conversion functions between cm and foot for water level
weewx.units.conversionDict['cm']['foot']= lambda x : x / 30.48
weewx.units.conversionDict['foot']['cm']= lambda x : x * 30.48

# add conversion functions for flow units
if 'cubic_meter_per_second' not in weewx.units.conversionDict:
weewx.units.conversionDict['cubic_meter_per_second']={'cubic_foot_per_second': lambda x : x * 35.3147 }
else:
weewx.units.conversionDict['cubic_meter_per_second']['cubic_foot_per_second']= lambda x : x * 35.3147 
if 'cubic_foot_per_second' not in weewx.units.conversionDict:
weewx.units.conversionDict['cubic_foot_per_second']={'cubic_meter_per_second': lambda x : x / 35.3147 }
else:
weewx.units.conversionDict['cubic_foot_per_second']['cubic_meter_per_second']= lambda x : x / 35.3147 

# water level and flow measurements
weewx.units.obs_group_dict.extend(
  {'Q566055v':'group_flow',
   'W566055v':'group_level',
   'W566055a':'group_count',
   'Q567470v':'group_flow',
   'W567470v':'group_level',
   'W567470a':'group_count'})


class Noop(weewx.engine.StdService):
  pass
  

[weewx-user] Re: ProWeatherStation TP3000WC Professional Wireless WiFi Solar Weather Station?

2021-01-28 Thread William Lucid
Credit goes to lang for detailing the process; to make everything work!

William

On Thursday, January 28, 2021 at 12:58:48 PM UTC-5 William Lucid wrote:

> No modification was required for the "Interceptor" driver;   to use with 
> the  "TP3000WC."
>
> William   .
>
> On Thursday, January 28, 2021 at 10:53:06 AM UTC-5 sjr4...@gmail.com 
> wrote:
>
>> i use the same client software, but interceptor did not work without 
>> modification. 
>> if it doesn't work, take a look at my post here 
>> https://groups.google.com/g/weewx-user/c/9tWaYfvIyWg
>>
>>
>> On Thursday, January 28, 2021 at 3:33:31 PM UTC+1 ab9nq@gmail.com 
>> wrote:
>>
>>> Yes, "weewx" can access the TP3000WC over wifi.
>>>
>>> Steps I followed:
>>>
>>> Tycon Systems, TP3000WC and installing “weewx”
>>>
>>>  EasyWeather firmware needs to be version 1.5.6 for this procedure to 
>>> work.  Firmware version can be found in the “WS View.” “Customized” 
>>> screen.  TP3000WC, anemometer (wind speed cups) need to be on top of the 
>>> sensor arrary.
>>>
>>>  1. Downloaded and installed Linux Mint:  Linux Mint Download 
>>> 
>>>
>>>  2. Installed “weewx” using:   Debian install instructions 
>>> 
>>>
>>> This will insure paths are correct.
>>>
>>>  3. Downloaded and installed “weewx” driver:  Interceptor driver 
>>> 
>>>
>>> Follow driver install instructions; stop after doing:  
>>>
>>> *sudo wee_config --reconfigure 
>>> --driver=user.interceptor –no-prompt*
>>>
>>>  4. Configured “Interceptor” driver in “weewx.conf:”  *sudo 
>>> nano /etc/weewx/weewx.conf*
>>>
>>> Near the top of “weew.conf;” change “debug = 0” to “debug = 
>>> 1”  Next; in section “[Interceptor]” modify the following to 
>>> match:
>>>
>>> 
>>> ##
>>>
>>> *[Interceptor]*
>>>
>>> # This section is for the network traffic interceptor driver.
>>>
>>>  # The driver to use:
>>>
>>> *driver = user.interceptor*
>>>
>>>  # Specify the hardware device to capture.  Options include:
>>>
>>> #   acurite-bridge - acurite internet bridge, smarthub, or access
>>>
>>> #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
>>>
>>> #   lw30x - oregon scientific LW301/LW302
>>>
>>> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>>>
>>> #   ecowitt-client - any hardware that uses the ecowitt protocol
>>>
>>> #   wu-client - any hardware that uses the weather underground 
>>> protocol
>>>
>>> *device_type = ecowitt-client*
>>>
>>> *port = 8000*
>>>
>>> *iface = eth0*
>>>
>>>
>>> ##
>>>
>>>  Note:  iface may be different:  *sudo ifconfig*; look for your 
>>> computer ip, on left will be the iface.
>>>
>>>  5. Installed Android app and install:  WS View app for Android 
>>> Smartphone 
>>> 
>>>
>>>  6. Installed device; select icon that looks like your TP3000WC, 
>>> display. Followed on screen instructions.  Consult TP3000WC 
>>> manual, page 33:  “Connecting the Weather Station   Console to Wi-Fi” 
>>> for additional information if needed.
>>>
>>>  7. When device appears in the device list of the “WS View” app 
>>> tap on device, tapped “Next” in  the upper right corner four times.  
>>> This will be the “Customized” screen. 
>>>
>>>  8. Modified “Customized” screen; as shown in this image, except 
>>> for the ip address --should be   the ip address of computer where 
>>> “weewx” is  running.  Find the ip address by entering :
>>> *sudo 
>>> ifconfig* in terminal; on the computer where  “weewx” is running.
>>>
>>>  [image: WS View --settings.JPG] 
>>>
>>> Later I changed Upload interval to 30 seconds.
>>>
>>> 9. Make sure “weewx” service is stopped:  *sudo 
>>> /etc/init.d/weewx stop*
>>>
>>> 10.   Start “weewx:”  *sudo /etc/init.d/weewx start 
>>> /etc/weewx/weewx.conf*
>>>
>>> 11.   Back in terminal; type:  *sudo tail -f /var/log/syslog | grep 
>>> weewx*  You should see data comingint
>>>
>>> William
>>> On Wednesday, September 26, 2018 at 5:15:20 PM UTC-4 jeff@gmail.com 
>>> wrote:
>>>
 Hi,

 Pretty new to weewx and I'm looking to replace my Accurite 5 in 1 with 
 something better.

 This is now available on amazon


 https://www.amazon.com/ProWeatherStation-TP3000WC-Professional-Wireless-Weather/dp/B07G7DHG4L/ref=sr_1_2?s=lawn-garden=UTF8=1537994372=1-2=Tycon+Power+Systems

 for a really good price, too.

 I believe that it is a Fine Offset device but it doesn't seem to have a 
 USB port--only wifi.  Can weewx access 

[weewx-user] Re: ProWeatherStation TP3000WC Professional Wireless WiFi Solar Weather Station?

2021-01-28 Thread William Lucid
No modification was required for the "Interceptor" driver;   to use with 
the  "TP3000WC."

William   .

On Thursday, January 28, 2021 at 10:53:06 AM UTC-5 sjr4...@gmail.com wrote:

> i use the same client software, but interceptor did not work without 
> modification. 
> if it doesn't work, take a look at my post here 
> https://groups.google.com/g/weewx-user/c/9tWaYfvIyWg
>
>
> On Thursday, January 28, 2021 at 3:33:31 PM UTC+1 ab9nq@gmail.com 
> wrote:
>
>> Yes, "weewx" can access the TP3000WC over wifi.
>>
>> Steps I followed:
>>
>> Tycon Systems, TP3000WC and installing “weewx”
>>
>>  EasyWeather firmware needs to be version 1.5.6 for this procedure to 
>> work.  Firmware version can be found in the “WS View.” “Customized” 
>> screen.  TP3000WC, anemometer (wind speed cups) need to be on top of the 
>> sensor arrary.
>>
>>  1. Downloaded and installed Linux Mint:  Linux Mint Download 
>> 
>>
>>  2. Installed “weewx” using:   Debian install instructions 
>> 
>>
>> This will insure paths are correct.
>>
>>  3. Downloaded and installed “weewx” driver:  Interceptor driver 
>> 
>>
>> Follow driver install instructions; stop after doing:  
>>
>> *sudo wee_config --reconfigure --driver=user.interceptor 
>> –no-prompt*
>>
>>  4. Configured “Interceptor” driver in “weewx.conf:”  *sudo nano 
>> /etc/weewx/weewx.conf*
>>
>> Near the top of “weew.conf;” change “debug = 0” to “debug = 
>> 1”  Next; in section “[Interceptor]” modify the following to 
>> match:
>>
>> 
>> ##
>>
>> *[Interceptor]*
>>
>> # This section is for the network traffic interceptor driver.
>>
>>  # The driver to use:
>>
>> *driver = user.interceptor*
>>
>>  # Specify the hardware device to capture.  Options include:
>>
>> #   acurite-bridge - acurite internet bridge, smarthub, or access
>>
>> #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
>>
>> #   lw30x - oregon scientific LW301/LW302
>>
>> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>>
>> #   ecowitt-client - any hardware that uses the ecowitt protocol
>>
>> #   wu-client - any hardware that uses the weather underground 
>> protocol
>>
>> *device_type = ecowitt-client*
>>
>> *port = 8000*
>>
>> *iface = eth0*
>>
>>
>> ##
>>
>>  Note:  iface may be different:  *sudo ifconfig*; look for your computer 
>> ip, on left will be the iface.
>>
>>  5. Installed Android app and install:  WS View app for Android 
>> Smartphone 
>> 
>>
>>  6. Installed device; select icon that looks like your TP3000WC, 
>> display. Followed on screen instructions.  Consult TP3000WC 
>> manual, page 33:  “Connecting the Weather Station   Console to Wi-Fi” 
>> for additional information if needed.
>>
>>  7. When device appears in the device list of the “WS View” app 
>> tap on device, tapped “Next” in  the upper right corner four times.  
>> This will be the “Customized” screen. 
>>
>>  8. Modified “Customized” screen; as shown in this image, except 
>> for the ip address --should be   the ip address of computer where 
>> “weewx” is  running.  Find the ip address by entering :
>> *sudo 
>> ifconfig* in terminal; on the computer where  “weewx” is running.
>>
>>  [image: WS View --settings.JPG] 
>>
>> Later I changed Upload interval to 30 seconds.
>>
>> 9. Make sure “weewx” service is stopped:  *sudo 
>> /etc/init.d/weewx stop*
>>
>> 10.   Start “weewx:”  *sudo /etc/init.d/weewx start 
>> /etc/weewx/weewx.conf*
>>
>> 11.   Back in terminal; type:  *sudo tail -f /var/log/syslog | grep 
>> weewx*  You should see data comingint
>>
>> William
>> On Wednesday, September 26, 2018 at 5:15:20 PM UTC-4 jeff@gmail.com 
>> wrote:
>>
>>> Hi,
>>>
>>> Pretty new to weewx and I'm looking to replace my Accurite 5 in 1 with 
>>> something better.
>>>
>>> This is now available on amazon
>>>
>>>
>>> https://www.amazon.com/ProWeatherStation-TP3000WC-Professional-Wireless-Weather/dp/B07G7DHG4L/ref=sr_1_2?s=lawn-garden=UTF8=1537994372=1-2=Tycon+Power+Systems
>>>
>>> for a really good price, too.
>>>
>>> I believe that it is a Fine Offset device but it doesn't seem to have a 
>>> USB port--only wifi.  Can weewx access a weather station over wifi?
>>>
>>> Jeff Ross
>>>
>>

-- 
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 

Re: [weewx-user] How to change weewx service from python2 to python3 on Debian

2021-01-28 Thread Gordon Dickens
Hi Vince,

Your advice worked!  I already had the python3 version of paho-mqtt 
installed and all that I had to do to get it to work was to reinstall the 
mqtt extension with "sudo wee_extension --install weewx-mqtt.zip" and 
everything was fixed.  Previously, I didn't think that I needed to 
reinstall the mqtt extension since it appeared to be the same code base as 
was installed with python2, however, reinstalling it fixed it.

FYI,

Gordon


On Thursday, January 28, 2021 at 12:24:05 PM UTC-5 vince wrote:

> On Thursday, January 28, 2021 at 8:10:05 AM UTC-8 gldic...@gmail.com 
> wrote:
>
>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>>> __main__:   except Exception, e:
>>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>>> __main__:   ^
>>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>>> __main__:   SyntaxError: invalid syntax
>>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>>> __main__:   Exiting.
>>>
>>
> As I said yesterday, when you see that error, you need to 'upgrade' the 
> extension throwing the error to a newer python3-compliant version.  Don't 
> 'remove' the extension or skin.  'Upgrade' it to the current version. 
> Belchertown with MQTT works just fine under python3 if you go to the latest 
> version of the MQTT extension.
>
> The webpage you're looking at is a bit confusingly written.
>
> You want to simply do "sudo pip3 install paho-mqtt" to install the 
> prerequisite python3 library since you are running weewx under python3.   
> Then upgrade your weewx-mqtt extension with wee_extension as the webpage 
> shows.  Then restart weewx.
>
> It's that simple.
>  
>

-- 
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/aa2ba6d9-96d4-49d3-b339-586c1ae0bbdcn%40googlegroups.com.


[weewx-user] Re: Database vs MQTT published data

2021-01-28 Thread vince
If you continue to not do what we ask, we're eventually going to give up 
trying to help.

Find a time period where you're getting data, then it stops, then it 
restarts.
Query your weewx database and get us the archive table records for that 
period (sorry, I don't recall mysqld syntax for that, I use sqlite3)
Query your influxdb for the same time period and get us the data for that 
same time period
Compare the timestamps on both.   During your 'lost data' time period did 
both databases miss the data ?

Do not use grafana.  Use direct db queries for both databases please.


On Wednesday, January 27, 2021 at 5:56:05 PM UTC-8 lop...@gmail.com wrote:

> The dropouts have no pattern. I have a few days without any issues, and 
> then for 24hrs mysql starts choking.
> At the beginning I didn't have the influx/grafana part. I've set it up for 
> testing purposes, to see if mqtt is pushing out data even if the mysql is 
> behaving.
> Previously I tried setting up a vm/ct just for weewx, but I didn't manage 
> to get interceptor working on virtual interfaces. 
>
> For now I've set the debug flag to 1, so as soon as I see any issue I'll 
> mark the time and start looking and posting the syslog.
>
>
> On Thursday, January 28, 2021 at 2:41:43 PM UTC+13 vince wrote:
>
>> On Wednesday, January 27, 2021 at 4:33:25 PM UTC-8 lop...@gmail.com 
>> wrote:
>>
>>> As an extra info, weewx is failing to generate the html during these 
>>> periods, but interceptor and mqtt are able to function.
>>>
>>
>> As Tom asked, we're going to need to see your syslogs with weewx debug=1 
>> set in order to work this one.
>>
>> You have a lot of things running on that pi.  Pat's skin is pretty 
>> heavyweight.  Do you have other skins enabled too ?  You have the box 
>> acting as an access point.  You're running interceptor.  You're running 
>> mysql.   You're feeding influxdb in your remote vm.   That's a lot of 
>> things expecting the pi network stack to work with multiple NICs and the 
>> processor to be able to keep up with.  And it's a pi3 so it's 2.4 GHz which 
>> can be bouncy as well.  That's a lot of things to have to be perfect.
>>
>> So we need to see some syslogs for the weewx stuff, but I'd suggest 
>> taking grafana out of the picture completely and just doing influxdb 
>> queries and weewx db queries for the same time periods so we can verify 
>> that there really is data missing in one db or the other.   Find a one-hour 
>> period and just query each directly.
>>
>>

-- 
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/7a155251-488a-4020-b911-840d8b90b4f6n%40googlegroups.com.


Re: [weewx-user] How to change weewx service from python2 to python3 on Debian

2021-01-28 Thread vince
On Thursday, January 28, 2021 at 8:10:05 AM UTC-8 gldic...@gmail.com wrote:

> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:   except Exception, e:
>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:   ^
>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:   SyntaxError: invalid syntax
>> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
>> __main__:   Exiting.
>>
>
As I said yesterday, when you see that error, you need to 'upgrade' the 
extension throwing the error to a newer python3-compliant version.  Don't 
'remove' the extension or skin.  'Upgrade' it to the current version. 
Belchertown with MQTT works just fine under python3 if you go to the latest 
version of the MQTT extension.

The webpage you're looking at is a bit confusingly written.

You want to simply do "sudo pip3 install paho-mqtt" to install the 
prerequisite python3 library since you are running weewx under python3.   
Then upgrade your weewx-mqtt extension with wee_extension as the webpage 
shows.  Then restart weewx.

It's that simple.
 

-- 
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/9327a9f8-b2a8-4491-961f-bb3e37e61f51n%40googlegroups.com.


Re: [weewx-user] Re: ERROR weewx.cheetahgenerator: **** MemoryError

2021-01-28 Thread garrya...@gmail.com
The Cheetah folks have asked for a pure Cheetah method to reproduce the 
problem, which I do not have.

Perhaps someone else can assist them.

The issue report is 
at: https://github.com/CheetahTemplate3/cheetah3/issues/34

Regards,

Garry

On Wednesday, January 27, 2021 at 11:39:39 PM UTC-8 garrya...@gmail.com 
wrote:

>
> I just entered an issue against Cheetah3.
>
> On Saturday, January 23, 2021 at 7:47:59 AM UTC-8 wes...@gmail.com wrote:
>
>> has anyone filed an issue on the github project for cheetah?
>>
>>

-- 
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/07bac1e0-51ba-4f98-b02f-15a76532b121n%40googlegroups.com.


Re: [weewx-user] How to change weewx service from python2 to python3 on Debian

2021-01-28 Thread Gordon Dickens
Thanks Vince for pointing out the problem!  I removed the Weather34 skin 
and the errors stopped.  However, I am now getting a very similar error but 
for my mqtt extension.  The command "systemctl status weewx" is now 
generating the following error dialog:

● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated)
   Active: active (exited) since Thu 2021-01-28 10:56:59 EST; 4s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 29276 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCESS)

Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__:   self.loadServices(config_dict)
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__: File "/usr/share/weewx/weewx/engine.py", line 161, in 
loadServices
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__:   obj = weeutil.weeutil.get_object(svc)(self, 
config_dict)
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__: File "/usr/share/weewx/weeutil/weeutil.py", line 
1093, in get_object
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__:   mod = __import__(module)
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__: File "/usr/share/weewx/user/mqtt.py", line 197
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__:   except KeyError, e:
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__:  ^
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__:   SyntaxError: invalid syntax
Jan 28 10:56:59 zeebytes.org python3[29292]: weewx[29292] CRITICAL 
__main__:   Exiting.

So, it appears  that weewx is now using python3 to attempt to execute 
python2 code for the mqtt extension.   The weewx mqtt documentation states 
that one of the weewx/mqtt dependencies, python-cjson, is optional, and 
currently not supported with python3.  So, how do I get weewx/Belchertown's 
mqtt extension to work with python3 or is that possible?

Thanks again in advance for everybody's advice.

Gordon



On Wednesday, January 27, 2021 at 2:53:30 PM UTC-5 Gordon Dickens wrote:

> In my previous post I thought that it would be better to send the errors 
> via an image, however, I am not sure that was the best way.  In any event, 
> here are the errors from the output of "systemctl status weewx":
>
> root@zeebytes:/etc/weewx# systemctl status weewx 
> ● weewx.service - LSB: weewx weather system
>Loaded: loaded (/etc/init.d/weewx; generated)
>Active: active (exited) since Wed 2021-01-27 14:34:43 EST; 10s ago
>  Docs: man:systemd-sysv-generator(8)
>   Process: 31379 ExecStart=/etc/init.d/weewx start (code=exited, 
> status=0/SUCCESS)
>
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__:   self.loadServices(config_dict)
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__: File "/usr/share/weewx/weewx/engine.py", lin
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__:   obj = weeutil.weeutil.get_object(svc)(self
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__: File "/usr/share/weewx/weeutil/weeutil.py", 
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__:   mod = __import__(module)
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__: File "/usr/share/weewx/user/weather34.py", l
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__:   except Exception, e:
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__:   ^
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__:   SyntaxError: invalid syntax
> Jan 27 14:34:43 zeebytes.org python3[31396]: weewx[31396] CRITICAL 
> __main__:   Exiting.
>
> Please reply with any suggestions.
>
> Thanks,
>
> Gordon Dickens
>
> On Wednesday, January 27, 2021 at 2:44:40 PM UTC-5 Gordon Dickens wrote:
>
>> Thanks to Tom, Rainer and Colin for your prompt replies!
>>
>> I followed the instructions verbatim in the Debian guide as Tom 
>> suggested.  Afterwards, I get the following dialog with the command 
>> "systemctl status weewx":
>> [image: weewx_status_errors.png]
>>
>> I also tried to reinstall with the command "apt --reinstall install 
>> weewx"  but the results were the same.
>>
>> Tom, where did I go wrong and what do you recommend?
>>
>> I made a complete system backup before I attempted the migration. So, if 
>> I need to, I can revert to the Python2 version but I would rather fix it 
>> now.
>>
>> Thanks,
>>
>> Gordon
>>
>> On Tuesday, January 26, 2021 at 5:17:17 PM UTC-5 

[weewx-user] Re: ProWeatherStation TP3000WC Professional Wireless WiFi Solar Weather Station?

2021-01-28 Thread S R
i use the same client software, but interceptor did not work without 
modification. 
if it doesn't work, take a look at my post here 
https://groups.google.com/g/weewx-user/c/9tWaYfvIyWg


On Thursday, January 28, 2021 at 3:33:31 PM UTC+1 ab9nq@gmail.com wrote:

> Yes, "weewx" can access the TP3000WC over wifi.
>
> Steps I followed:
>
> Tycon Systems, TP3000WC and installing “weewx”
>
>  EasyWeather firmware needs to be version 1.5.6 for this procedure to 
> work.  Firmware version can be found in the “WS View.” “Customized” 
> screen.  TP3000WC, anemometer (wind speed cups) need to be on top of the 
> sensor arrary.
>
>  1. Downloaded and installed Linux Mint:  Linux Mint Download 
> 
>
>  2. Installed “weewx” using:   Debian install instructions 
> 
>
> This will insure paths are correct.
>
>  3. Downloaded and installed “weewx” driver:  Interceptor driver 
> 
>
> Follow driver install instructions; stop after doing:  
>
> *sudo wee_config --reconfigure --driver=user.interceptor 
> –no-prompt*
>
>  4. Configured “Interceptor” driver in “weewx.conf:”  *sudo nano 
> /etc/weewx/weewx.conf*
>
> Near the top of “weew.conf;” change “debug = 0” to “debug = 
> 1”  Next; in section “[Interceptor]” modify the following to 
> match:
>
> 
> ##
>
> *[Interceptor]*
>
> # This section is for the network traffic interceptor driver.
>
>  # The driver to use:
>
> *driver = user.interceptor*
>
>  # Specify the hardware device to capture.  Options include:
>
> #   acurite-bridge - acurite internet bridge, smarthub, or access
>
> #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902
>
> #   lw30x - oregon scientific LW301/LW302
>
> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>
> #   ecowitt-client - any hardware that uses the ecowitt protocol
>
> #   wu-client - any hardware that uses the weather underground protocol
>
> *device_type = ecowitt-client*
>
> *port = 8000*
>
> *iface = eth0*
>
>
> ##
>
>  Note:  iface may be different:  *sudo ifconfig*; look for your computer 
> ip, on left will be the iface.
>
>  5. Installed Android app and install:  WS View app for Android 
> Smartphone 
> 
>
>  6. Installed device; select icon that looks like your TP3000WC, 
> display. Followed on screen instructions.  Consult TP3000WC 
> manual, page 33:  “Connecting the Weather Station   Console to Wi-Fi” 
> for additional information if needed.
>
>  7. When device appears in the device list of the “WS View” app 
> tap on device, tapped “Next” in  the upper right corner four times.  
> This will be the “Customized” screen. 
>
>  8. Modified “Customized” screen; as shown in this image, except 
> for the ip address --should be   the ip address of computer where 
> “weewx” is  running.  Find the ip address by entering :
> *sudo 
> ifconfig* in terminal; on the computer where  “weewx” is running.
>
>  [image: WS View --settings.JPG] 
>
> Later I changed Upload interval to 30 seconds.
>
> 9. Make sure “weewx” service is stopped:  *sudo /etc/init.d/weewx 
> stop*
>
> 10.   Start “weewx:”  *sudo /etc/init.d/weewx start 
> /etc/weewx/weewx.conf*
>
> 11.   Back in terminal; type:  *sudo tail -f /var/log/syslog | grep 
> weewx*  You should see data comingint
>
> William
> On Wednesday, September 26, 2018 at 5:15:20 PM UTC-4 jeff@gmail.com 
> wrote:
>
>> Hi,
>>
>> Pretty new to weewx and I'm looking to replace my Accurite 5 in 1 with 
>> something better.
>>
>> This is now available on amazon
>>
>>
>> https://www.amazon.com/ProWeatherStation-TP3000WC-Professional-Wireless-Weather/dp/B07G7DHG4L/ref=sr_1_2?s=lawn-garden=UTF8=1537994372=1-2=Tycon+Power+Systems
>>
>> for a really good price, too.
>>
>> I believe that it is a Fine Offset device but it doesn't seem to have a 
>> USB port--only wifi.  Can weewx access a weather station over wifi?
>>
>> Jeff Ross
>>
>

-- 
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/cf7ce443-43e0-477f-8030-857e2eee10bbn%40googlegroups.com.


[weewx-user] Re: ProWeatherStation TP3000WC Professional Wireless WiFi Solar Weather Station?

2021-01-28 Thread William Lucid
Yes, "weewx" can access the TP3000WC over wifi.

Steps I followed:

Tycon Systems, TP3000WC and installing “weewx”

 EasyWeather firmware needs to be version 1.5.6 for this procedure to 
work.  Firmware version can be found in the “WS View.” “Customized” 
screen.  TP3000WC, anemometer (wind speed cups) need to be on top of the 
sensor arrary.

 1. Downloaded and installed Linux Mint:  Linux Mint Download 


 2. Installed “weewx” using:   Debian install instructions 


This will insure paths are correct.

 3. Downloaded and installed “weewx” driver:  Interceptor driver 


Follow driver install instructions; stop after doing:  

*sudo wee_config --reconfigure --driver=user.interceptor 
–no-prompt*

 4. Configured “Interceptor” driver in “weewx.conf:”  *sudo nano 
/etc/weewx/weewx.conf*

Near the top of “weew.conf;” change “debug = 0” to “debug = 1”  
Next; in section “[Interceptor]” modify the following to match:


##

*[Interceptor]*

# This section is for the network traffic interceptor driver.

 # The driver to use:

*driver = user.interceptor*

 # Specify the hardware device to capture.  Options include:

#   acurite-bridge - acurite internet bridge, smarthub, or access

#   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902

#   lw30x - oregon scientific LW301/LW302

#   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge

#   ecowitt-client - any hardware that uses the ecowitt protocol

#   wu-client - any hardware that uses the weather underground protocol

*device_type = ecowitt-client*

*port = 8000*

*iface = eth0*

##

 Note:  iface may be different:  *sudo ifconfig*; look for your computer 
ip, on left will be the iface.

 5. Installed Android app and install:  WS View app for Android 
Smartphone 


 6. Installed device; select icon that looks like your TP3000WC, 
display. Followed on screen instructions.  Consult TP3000WC 
manual, page 33:  “Connecting the Weather Station   Console to Wi-Fi” 
for additional information if needed.

 7. When device appears in the device list of the “WS View” app tap 
on device, tapped “Next” in  the upper right corner four times.  This 
will be the “Customized” screen. 

 8. Modified “Customized” screen; as shown in this image, except 
for the ip address --should be   the ip address of computer where 
“weewx” is  running.  Find the ip address by entering :
*sudo 
ifconfig* in terminal; on the computer where  “weewx” is running.

 [image: WS View --settings.JPG] 

Later I changed Upload interval to 30 seconds.

9. Make sure “weewx” service is stopped:  *sudo /etc/init.d/weewx 
stop*

10.   Start “weewx:”  *sudo /etc/init.d/weewx start 
/etc/weewx/weewx.conf*

11.   Back in terminal; type:  *sudo tail -f /var/log/syslog | grep 
weewx*  You should see data comingint

William
On Wednesday, September 26, 2018 at 5:15:20 PM UTC-4 jeff@gmail.com 
wrote:

> Hi,
>
> Pretty new to weewx and I'm looking to replace my Accurite 5 in 1 with 
> something better.
>
> This is now available on amazon
>
>
> https://www.amazon.com/ProWeatherStation-TP3000WC-Professional-Wireless-Weather/dp/B07G7DHG4L/ref=sr_1_2?s=lawn-garden=UTF8=1537994372=1-2=Tycon+Power+Systems
>
> for a really good price, too.
>
> I believe that it is a Fine Offset device but it doesn't seem to have a 
> USB port--only wifi.  Can weewx access a weather station over wifi?
>
> Jeff Ross
>

-- 
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/34192c58-ab21-4ba8-a561-b60a68998de8n%40googlegroups.com.


[weewx-user] TP3000WC Works with "weewx"

2021-01-28 Thread William Lucid
Lang developed instructions for a procedure to use; along with "WS View" 
app' and "ecowitt-client" of the "Interceptor" driver, for "weewx" to 
receive data from the "TP2000WC."

#

 Tycon Systems, TP3000WC and installing “weewx”

ab9nq.william @gmail.com and developed by Rainer, Lang


EasyWeather firmware needs to be version 1.5.6 for this procedure to work. 
Firmware version can be found in the “WS View,.” “Customized” screen. 
TP3000WC, anemometer (wind speed cups) need to be on top of the sensor 
array.

1. Downloaded and installed Linux Mint: Linux Mint Download 


2. Installed “weewx” using: Debian install instructions 


This will insure paths are correct.

3. Downloaded and installed “weewx” driver: Interceptor driver 


Follow driver install instructions; stop after doing:

*sudo wee_config --reconfigure --driver=user.interceptor –no-prompt*

4. Configured “Interceptor” driver in “weewx.conf:” *sudo nano 
/etc/weewx/weewx.conf*

Near the top of “weew.conf;” change “debug = 0” to “debug = 1” Next; in 
section “[Interceptor]” modify the following to match:

###

*[Interceptor]*

# This section is for the network traffic interceptor driver.

# The driver to use:

*driver = user.interceptor*

# Specify the hardware device to capture. Options include:

# acurite-bridge - acurite internet bridge, smarthub, or access

# observer - fine offset WH2600/HP1000/HP1003, ambient WS2902

# lw30x - oregon scientific LW301/LW302

# lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge

# ecowitt-client - any hardware that uses the ecowitt protocol

# wu-client - any hardware that uses the weather underground protocol

*device_type = ecowitt-client*

*port = 8000*

*iface = **eth0*

###

Note: iface may be different: *sudo ifconfig*; look for your computer ip, 
on left will be the iface.

5. Installed Android app and install: WS View app for Android Smartphone 


6. Installed device; select icon that looks like your TP3000WC, display. 
Followed on screen instructions. Consult TP3000WC manual, page 33: 
“Connecting the Weather Station Console to Wi-Fi” for additional 
information if needed.

7. When device appears in the device list of the “WS View” app tap on 
device, tapped “Next” in the upper right corner four times. This will be 
the “Customized” screen.

8. Modified “Customized” screen; as shown in this image, except for the ip 
address --should be the ip address of computer where “weewx” is running. 
Find the ip address by entering : *sudo ifconfig* in terminal; on the 
computer where “weewx” is running.

[image: WS View --settings.JPG]

Later I changed Upload interval to 30 seconds.

9. Make sure “weewx” service is stopped: *sudo /etc/init.d/weewx stop*

10. Start “weewx:” *sudo /etc/init.d/weewx start /etc/weewx/weewx.conf*

11. Back in terminal; type: *sudo tail -f /var/log/syslog | grep weewx* iyou 
should see data coming into “weewx.”

-- 
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/ee1e6dff-3701-46ee-992b-30462a9cc927n%40googlegroups.com.