Re: [weewx-user] FTP Not working

2024-05-21 Thread Tom Keffer
If you're sure the two FTP sections are identical, it must be a firewall /
network issue.

Can you FTP directly from the new RPi using the ftp utility
?

On Tue, May 21, 2024 at 5:29 PM Rich Strle  wrote:

> I have installed the latest version of weewx on a fresh RasberryPi and
> almost everything is working as expected.
>
> I also have a different Pi running weewx 4.x. It's been running perfectly
> for years. I shut down weewx on that Pi. After everything is working, I can
> see the files getting created on the new 5.x Pi, in weewx.conf I turned on
> upload to WeatherUnderground and FTP to my GoDaddy hosted domain Strle.com.
> WeatherUnderground is getting through but the FTP to GoDaddy isn't.
> the ftp section of the two Pi's are identical.
> I set debug to 1, and restarted.
> I used journalctl --since "2 hours ago" > \tmp\weewx.log to grab the log.
> I looked through the log and didn't see anything related to FTP or FTP
> errors.
> I reviewed the wiki and saw a section on additional logging but it looks
> like v4 code.
>
> --
> 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/6d236f5c-a7e0-4f52-86f1-6980d471d0dan%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/CAPq0zEB0zM4MZAAWbOOFLX0sKfYasxdo43XtZ2_NWP7iRXpM9w%40mail.gmail.com.


[weewx-user] FTP Not working

2024-05-21 Thread Rich Strle
I have installed the latest version of weewx on a fresh RasberryPi and 
almost everything is working as expected.

I also have a different Pi running weewx 4.x. It's been running perfectly 
for years. I shut down weewx on that Pi. After everything is working, I can 
see the files getting created on the new 5.x Pi, in weewx.conf I turned on 
upload to WeatherUnderground and FTP to my GoDaddy hosted domain Strle.com. 
WeatherUnderground is getting through but the FTP to GoDaddy isn't.
the ftp section of the two Pi's are identical.
I set debug to 1, and restarted.
I used journalctl --since "2 hours ago" > \tmp\weewx.log to grab the log.
I looked through the log and didn't see anything related to FTP or FTP 
errors.
I reviewed the wiki and saw a section on additional logging but it looks 
like v4 code.

-- 
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/6d236f5c-a7e0-4f52-86f1-6980d471d0dan%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2024 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero.
debug = 1

# Whether to log successful operations. May get overridden below.
log_success = True

# Whether to log unsuccessful operations. May get overridden below.
log_failure = True

# This configuration file was created by ...
version = 5.0.2

##

#   This section is for information about the station.

[Station]

# Description of the station location, such as your town.
location = Strle's Vantage Pro 2 Station

# Latitude in decimal degrees. Negative for southern hemisphere.
latitude = 40.2621
# Longitude in decimal degrees. Negative for western hemisphere.
longitude = -88.5876

# Altitude of the station, with the unit it is in. This is used only
# if the hardware cannot supply a value.
altitude = 829, foot# Choose 'foot' or 'meter' for unit

# Set to type of station hardware. There must be a corresponding stanza
# in this file, which includes a value for the 'driver' option.
station_type = WeatherLinkLive

# If you have a website, you may specify an URL
station_url = http://strle.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 6

##

[WeatherLinkLive]
# This section configures the WeatherLink Live driver.

# Driver module
driver = user.weatherlink_live

# Host name or IP address of WeatherLink Live
host = 192.168.68.86

# Mapping of transmitter ids to WeeWX records
mapping = th:8, rain:8, wind:8, uv:8, solar:8, windchill:8, thw:8, 
thsw:8:appTemp, th_indoor, baro, battery:1

##

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

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

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

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

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

# Serial baud rate (usually 19200)
baudrate = 19200

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

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

# The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both
loop_request = 1

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

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

# How long to wait before trying again (in 

Re: [weewx-user] Error in Weewx

2024-05-21 Thread jon...@gmail.com
weewx.debug


System info
  Platform:   Linux-5.10.103-v7+-armv7l-with-debian-10.13
  Python Version: 3.7.3

Load Information
   1 minute load average:  0.30
   5 minute load average:  0.19
  15 minute load average:  0.25

General Weewx info
  Weewx version 5.0.1 detected.

Currently installed extensions
Extension NameVersion   Description
Hfw   0.3.2 WeeWX support for plotting observational data 
using Highcharts.
StackedWindRose   3.0.1 Stacked windrose image generator for WeeWX.
forecast  3.4.0b11  Generate and display weather and tide forecasts.
mem   1.1   Collect and display process memory usage.
xaggs 0.7   XTypes extension that calculates historical 
highs and lows for a date, or days above or below a mean value

Archive info
  Database name:weewx.sdb
  Table name:   archive
  Version   4.0
  Unit system:  1 (US)
  First good timestamp: 1970-01-01 01:00:00 CET (0)
  Last good timestamp:  2024-05-21 17:00:00 CEST (1716303600)
  (no archive records found)
  weewx (weewx.conf) is set to use an archive interval of 900 seconds.
  The station hardware was not interrogated to determine the archive 
interval.

Supported SQL keys
  dateTime usUnits  interval
  barometerpressure altimeter   
  inTemp   outTemp  inHumidity  
  outHumidity  windSpeedwindDir 
  windGust windGustDir  rainRate
  rain dewpoint windchill   
  heatindexET   radiation   
  UV   extraTemp1   extraTemp2  
  extraTemp3   soilTemp1soilTemp2   
  soilTemp3soilTemp4leafTemp1   
  leafTemp2extraHumid1  extraHumid2 
  soilMoist1   soilMoist2   soilMoist3  
  soilMoist4   leafWet1 leafWet2
  rxCheckPercent   txBatteryStatus  consBatteryVoltage  
  hail hailRate heatingTemp 
  heatingVoltage   supplyVoltagereferenceVoltage
  windBatteryStatusrainBatteryStatusoutTempBatteryStatus
  inTempBatteryStatus  appTemp 

Databases configured in weewx.conf:
  archive_sqlite:
 database_name weewx.sdb   
driver weedb.sqlite
   SQLITE_ROOT /var/lib/weewx  
  archive_mysql:
 database_name weewx   
driver weedb.mysql 
  host localhost   
  user weewx   
  password weewx   

--- Start configuration file /etc/weewx/weewx.conf ---
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2024 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /etc/weewx

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 5.0.1
config_path = /etc/weewx/weewx.conf
WEEWX_ROOT_CONFIG = /

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = "Girona, Catalunya"

# Latitude in decimal degrees. Negative for southern hemisphere
latitude = 41.58

# Longitude in decimal degrees. Negative for western hemisphere.
longitude = 2.49

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 80, meter

# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be 
used.
station_type = Vantage

# If you have a website, you may specify an URL
#station_url = http://www.example.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 0

##

[Simulator]
# This section is for the weewx weather station simulator

# The time (in seconds) between LOOP packets.
loop_interval = 2.5

# The simulator mode can 

Re: [weewx-user] Error in Weewx

2024-05-21 Thread Tom Keffer
The messages that look like, "Skipping template index.html.tmpl: cannot
find start time" are saying that there is nothing in the database. Yet, the
Vantage put something in the database.

One possibility is that the Vantage is putting data into a different
database than what the Seasons report is using.

Could you please use the tool "weectl debug" to create a sanitized version
of your weewx.conf, then post? For example,

*weectl debug --output /var/tmp/weewx.debug*


then post /var/tmp/weewx.debug.

-tk


On Mon, May 20, 2024 at 11:51 PM jon...@gmail.com  wrote:

> I deleted yesterday's files. I think I was wrong. Now it seems to work,
> but it doesn't update the seassons skin
>
> May 21 08:30:14 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage:
> Getting archive packets since 2024-05-21 08:15:00 CEST (1716272100)
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage:
> Successfully woke up Vantage console
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage:
> Retrieving 1 page(s); starting index= 4
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.manager: Added record
> 2024-05-21 08:30:00 CEST (1716273000) to database 'weewx.sdb'
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.manager: Added record
> 2024-05-21 08:30:00 CEST (1716273000) to daily summary in 'weewx.sdb'
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running
> reports for latest time in the database.
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running
> report 'SeasonsReport'
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage:
> Requesting 200 LOOP packets.
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/Seasons/skin.conf for report
> 'SeasonsReport'
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running
> generators for report 'SeasonsReport' in directory
> '/etc/weewx/skins/Seasons'
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.cheetahgenerator:
> Using search list ['user.historygenerator.MyXSearch',
> 'user.forecast.ForecastVariables', 'weewx.cheetahgenerator.Almanac',
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions',
> 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext',
> 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo',
> 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station',
> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.manager: Daily
> summary version is 4.0
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template NOAA/NOAA-%Y-%m.txt.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template NOAA/NOAA-%Y.txt.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template index.html.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template statistics.html.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template telemetry.html.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template tabular.html.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template celestial.html.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Skipping template rss.xml.tmpl: cannot find start time
> May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator:
> Generated 0 files for report SeasonsReport in 0.05 seconds
> May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.manager: Daily
> summary version is 4.0
> May 21 08:30:16 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage:
> Successfully woke up Vantage console
> May 21 08:30:19 raspberrypi weewxd[389]: INFO weewx.imagegenerator:
> Generated 15 images for report SeasonsReport in 3.94 seconds
> May 21 08:30:19 raspberrypi weewxd[389]: INFO weewx.reportengine: Copied 0
> files to /var/www/html/weewx
> May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report
> 'SmartphoneReport' not enabled. Skipping.
> May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report
> 'MobileReport' not enabled. Skipping.
> May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report
> 'StandardReport' not enabled. Skipping.
> May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running
> report 'StackedWindRose'
> May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/StackedWindRose/skin.conf for report
> 'StackedWindRose'
> May 21 08:30:19 raspberrypi weewxd[389]: DEBUG 

Re: [weewx-user] Error in Weewx

2024-05-21 Thread jon...@gmail.com
I deleted yesterday's files. I think I was wrong. Now it seems to work, but 
it doesn't update the seassons skin

May 21 08:30:14 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage: 
Getting archive packets since 2024-05-21 08:15:00 CEST (1716272100)
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage: 
Retrieving 1 page(s); starting index= 4
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.manager: Added record 
2024-05-21 08:30:00 CEST (1716273000) to database 'weewx.sdb'
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.manager: Added record 
2024-05-21 08:30:00 CEST (1716273000) to daily summary in 'weewx.sdb'
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running 
reports for latest time in the database.
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running 
report 'SeasonsReport'
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/Seasons/skin.conf for report 
'SeasonsReport'
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running 
generators for report 'SeasonsReport' in directory 
'/etc/weewx/skins/Seasons'
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.cheetahgenerator: 
Using search list ['user.historygenerator.MyXSearch', 
'user.forecast.ForecastVariables', 'weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 
'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 
'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.manager: Daily summary 
version is 4.0
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template NOAA/NOAA-%Y-%m.txt.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template NOAA/NOAA-%Y.txt.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template index.html.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template statistics.html.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template telemetry.html.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template tabular.html.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template celestial.html.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Skipping template rss.xml.tmpl: cannot find start time
May 21 08:30:15 raspberrypi weewxd[389]: INFO weewx.cheetahgenerator: 
Generated 0 files for report SeasonsReport in 0.05 seconds
May 21 08:30:15 raspberrypi weewxd[389]: DEBUG weewx.manager: Daily summary 
version is 4.0
May 21 08:30:16 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
May 21 08:30:19 raspberrypi weewxd[389]: INFO weewx.imagegenerator: 
Generated 15 images for report SeasonsReport in 3.94 seconds
May 21 08:30:19 raspberrypi weewxd[389]: INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx
May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report 
'SmartphoneReport' not enabled. Skipping.
May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report 
'MobileReport' not enabled. Skipping.
May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report 
'StandardReport' not enabled. Skipping.
May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running 
report 'StackedWindRose'
May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Found 
configuration file /etc/weewx/skins/StackedWindRose/skin.conf for report 
'StackedWindRose'
May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Running 
generators for report 'StackedWindRose' in directory 
'/etc/weewx/skins/StackedWindRose'
May 21 08:30:19 raspberrypi weewxd[389]: DEBUG weewx.manager: Daily summary 
version is 4.0
May 21 08:30:20 raspberrypi weewxd[389]: INFO user.stackedwindrose: 
Generated 4 images for StackedWindRose in 0.62 seconds
May 21 08:30:20 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report 
'FTP' not enabled. Skipping.
May 21 08:30:20 raspberrypi weewxd[389]: DEBUG weewx.reportengine: Report 
'RSYNC' not enabled. Skipping.
May 21 08:36:52 raspberrypi weewxd[389]: DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
May 21 08:36:53 raspberrypi weewxd[389]: DEBUG