incomplete data due to internet interuptions

135 views
Skip to first unread message

Artvd

unread,
Mar 15, 2021, 9:27:08 AM3/15/21
to weewx-user

Hello

I work with Vantage Vue and WeatherlinkLive (WLL) using weewx with weatherlinliveupd driver to upload data to my weather website withe Neoground skin.

I have daily interruptions in my internet connection. This cause holes in the reports on the website. I believe data is stored in the WLL. Does somebody have a solution for this? Perhpaps there is a setting to change. I also thought of perhaps use wunderfixer to complete the missing data to WU and then reimporting the full data from WU to my website? 

Karen K

unread,
Mar 15, 2021, 9:55:38 AM3/15/21
to weewx-user
I had a discussion with Davis when I bought the device, and they stated that they require to use it with their cloud. The target is to get you into their subscription plans. And if you do so you can download all the data stored within the device. And if you don't do so (like me) ... they don't like it.

So you have to ensure that the WLL device can always send its data to WeeWX, even if the internet is down. WeeWX saves the data and can display it on the skin afterwards. No problem if the internet is down for some time.

Artvd

unread,
Mar 15, 2021, 10:01:24 AM3/15/21
to weewx-user
I thought so too but i don't  get that working.
By the way I also don't want the incur additional cost on top of the purchase price for the equipment.

Op maandag 15 maart 2021 om 14:55:38 UTC+1 schreef kk44...@gmail.com:

Karen K

unread,
Mar 15, 2021, 10:25:24 AM3/15/21
to weewx-user
So that sounds like a network issue. Could you provide a layout of your network including WLL, the WeeWX computer, the Internet router, and may be the switch?

Artvd

unread,
Mar 15, 2021, 10:46:38 AM3/15/21
to weewx-user
The WLL and a RPI Weewx computer are on the same switch which goes to the internet router

Op maandag 15 maart 2021 om 15:25:24 UTC+1 schreef kk44...@gmail.com:

Karen K

unread,
Mar 15, 2021, 10:52:42 AM3/15/21
to weewx-user
Which device provides the IP addresses? Or are they manually set? Do you use UPv4 or IPv6?

The router may revoke the IP address leases if Internet is down. That is especially possible if you use IPv6.

Artvd

unread,
Mar 15, 2021, 11:01:48 AM3/15/21
to weewx-user
i am not sure about which device issues the ip-address , but i know they stay the same also after internet interruption (by using advanced ip scanner). I have IPv4.


Op maandag 15 maart 2021 om 15:52:42 UTC+1 schreef kk44...@gmail.com:

Artvd

unread,
Mar 15, 2021, 1:47:58 PM3/15/21
to weewx-user
If the internet is available, it works like it should. Does that not mean that this is probably not a network issue?

Op maandag 15 maart 2021 om 16:01:48 UTC+1 schreef Artvd:

Karen K

unread,
Mar 15, 2021, 2:08:53 PM3/15/21
to weewx-user
No. 

The router may shut down the internal network if the Internet is down. And IPv6, even if not used, can cause such behavior. That is, because IPv6 receives an address from the internet and derived from that address it gives addresses to the clients. Those addresses become invalid immediately when the Internet goes down. And some clients tend to prefer IPv6 over IPv4.

Did you try to switch off IPv6 in the router?

Artvd

unread,
Mar 15, 2021, 3:13:27 PM3/15/21
to weewx-user
I think i do not get IPv6 from my provider. Can not find it in the router, but that's what i recall. 

If i (deliberately) turn the router off ,  the network  is gone  (as i can see when i scan with advanced ip scanner on my desktop pc which is in the same switch).




Op maandag 15 maart 2021 om 19:08:53 UTC+1 schreef kk44...@gmail.com:

Artvd

unread,
Mar 16, 2021, 11:05:38 AM3/16/21
to weewx-user
I have a switch which connects WLL and RPI. In the log you can see it continously adds current records. And they are published with FTP. But it stops when take of the internetcable from the switch. But afterwards the data is not updated. Here is the log (from starting up the RPI). I removed the internet cable At 15.48 h and put i back at 15.50

:~ $ sudo tail -f /var/log/syslog
Mar 16 15:17:15 raspberrypi dbus-daemon[574]: [session uid=1000 pid=574] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.7' (uid=1000 pid=680 comm="pcmanfm --desktop --profile LXDE-pi ")
Mar 16 15:17:15 raspberrypi systemd[555]: Starting Virtual filesystem service - GNOME Online Accounts monitor...
Mar 16 15:17:15 raspberrypi dbus-daemon[574]: [session uid=1000 pid=574] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
Mar 16 15:17:15 raspberrypi systemd[555]: Started Virtual filesystem service - GNOME Online Accounts monitor.
Mar 16 15:17:15 raspberrypi dbus-daemon[574]: [session uid=1000 pid=574] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.7' (uid=1000 pid=680 comm="pcmanfm --desktop --profile LXDE-pi ")
Mar 16 15:17:15 raspberrypi systemd[555]: Starting Virtual filesystem service - Apple File Conduit monitor...
Mar 16 15:17:15 raspberrypi gvfs-afc-volume-monitor[798]: Volume monitor alive
Mar 16 15:17:15 raspberrypi dbus-daemon[574]: [session uid=1000 pid=574] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
Mar 16 15:17:15 raspberrypi systemd[555]: Started Virtual filesystem service - Apple File Conduit monitor.
Mar 16 15:17:19 raspberrypi systemd[1]: systemd-rfkill.service: Succeeded.
Mar 16 15:17:35 raspberrypi systemd[1]: systemd-fsckd.service: Succeeded.
Mar 16 15:44:38 raspberrypi systemd-timesyncd[318]: Synchronized to time server for the first time 45.87.77.15:123 (2.debian.pool.ntp.org).
Mar 16 15:44:46 raspberrypi systemd[1]: systemd-hostnamed.service: Succeeded.
Mar 16 15:44:55 raspberrypi weewx[527] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 1660.61 seconds
Mar 16 15:44:56 raspberrypi weewx[527] INFO weewx.reportengine: Copied 97 files to /var/www/html/weewx
Mar 16 15:45:12 raspberrypi weewx[527] INFO weewx.reportengine: ftpgenerator: Ftp'd 104 files in 15.72 seconds
Mar 16 15:45:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:45:00 CET (1615905900) to database 'weewx.sdb'
Mar 16 15:45:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:45:00 CET (1615905900) to daily summary in 'weewx.sdb'
Mar 16 15:45:45 raspberrypi weewx[527] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 28.17 seconds
Mar 16 15:45:45 raspberrypi weewx[527] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 16 15:45:46 raspberrypi weewx[527] INFO weewx.reportengine: ftpgenerator: Ftp'd 12 files in 1.78 seconds
Mar 16 15:46:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:46:00 CET (1615905960) to database 'weewx.sdb'
Mar 16 15:46:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:46:00 CET (1615905960) to daily summary in 'weewx.sdb'
Mar 16 15:47:00 raspberrypi weewx[527] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 44.14 seconds
Mar 16 15:47:00 raspberrypi weewx[527] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 16 15:47:02 raspberrypi weewx[527] INFO weewx.reportengine: ftpgenerator: Ftp'd 12 files in 1.76 seconds
Mar 16 15:47:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:47:00 CET (1615906020) to database 'weewx.sdb'
Mar 16 15:47:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:47:00 CET (1615906020) to daily summary in 'weewx.sdb'
Mar 16 15:47:45 raspberrypi weewx[527] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 28.35 seconds
Mar 16 15:47:45 raspberrypi weewx[527] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:48:00 CET (1615906080) to database 'weewx.sdb'
Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:48:00 CET (1615906080) to daily summary in 'weewx.sdb'
Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.engine: Launch of report thread aborted: existing report thread still running
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: Upload failed
Mar 16 15:49:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:49:00 CET (1615906140) to database 'weewx.sdb'
Mar 16 15:49:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:49:00 CET (1615906140) to daily summary in 'weewx.sdb'
 Mar 16 15:47:45 raspberrypi weewx[527] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:48:05 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:48:00 CET (1615906080) to database 'weewx.sdb'
Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:48:00 CET (1615906080) to daily summary in 'weewx.sdb'
Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.engine: Launch of report thread aborted: existing report thread still running
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:48:25 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:48:45 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: Upload failed
Mar 16 15:49:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:49:00 CET (1615906140) to database 'weewx.sdb'
Mar 16 15:49:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:49:00 CET (1615906140) to daily summary in 'weewx.sdb'
Mar 16 15:49:51 raspberrypi weewx[527] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 34.27 seconds
Mar 16 15:49:51 raspberrypi weewx[527] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 16 15:50:09 raspberrypi systemd-timesyncd[318]: Timed out waiting for reply from 45.87.77.15:123 (2.debian.pool.ntp.org).
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:50:11 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:50:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:50:00 CET (1615906200) to database 'weewx.sdb'
Mar 16 15:50:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:50:00 CET (1615906200) to daily summary in 'weewx.sdb'
Mar 16 15:50:16 raspberrypi weewx[527] INFO weewx.engine: Launch of report thread aborted: existing report thread still running
Mar 16 15:50:20 raspberrypi systemd-timesyncd[318]: Timed out waiting for reply from 84.199.86.247:123 (2.debian.pool.ntp.org).
Mar 16 15:50:30 raspberrypi systemd-timesyncd[318]: Timed out waiting for reply from 84.199.86.248:123 (2.debian.pool.ntp.org).
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine: ftpgenerator: (1): caught exception '<class 'socket.gaierror'>': [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      n = ftp_data.run()
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      ftp_server.connect(self.server, self.port)
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/ftplib.py", line 152, in connect
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      source_address=self.source_address)
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
Mar 16 15:50:31 raspberrypi weewx[527] ERROR weewx.reportengine:         ****  socket.gaierror: [Errno -3] Tijdelijk probleem in naamsherleiding
Mar 16 15:50:31 raspberrypi systemd-timesyncd[318]: Synchronized to time server for the first time 51.255.138.215:123 (2.debian.pool.ntp.org).
Mar 16 15:50:33 raspberrypi weewx[527] INFO weewx.reportengine: ftpgenerator: Ftp'd 12 files in 42.57 seconds
Mar 16 15:51:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:51:00 CET (1615906260) to database 'weewx.sdb'
Mar 16 15:51:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:51:00 CET (1615906260) to daily summary in 'weewx.sdb'
Mar 16 15:52:15 raspberrypi weewx[527] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 58.71 seconds
Mar 16 15:52:15 raspberrypi weewx[527] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 16 15:52:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:52:00 CET (1615906320) to database 'weewx.sdb'
Mar 16 15:52:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:52:00 CET (1615906320) to daily summary in 'weewx.sdb'
Mar 16 15:52:16 raspberrypi weewx[527] INFO weewx.engine: Launch of report thread aborted: existing report thread still running
Mar 16 15:52:18 raspberrypi weewx[527] INFO weewx.reportengine: ftpgenerator: Ftp'd 12 files in 3.18 seconds
Mar 16 15:53:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:53:00 CET (1615906380) to database 'weewx.sdb'
Mar 16 15:53:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:53:00 CET (1615906380) to daily summary in 'weewx.sdb'
Mar 16 15:53:54 raspberrypi weewx[527] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 37.44 seconds
Mar 16 15:53:54 raspberrypi weewx[527] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 16 15:53:56 raspberrypi weewx[527] INFO weewx.reportengine: ftpgenerator: Ftp'd 12 files in 1.78 seconds


Op maandag 15 maart 2021 om 20:13:27 UTC+1 schreef Artvd:

Karen K

unread,
Mar 16, 2021, 12:14:32 PM3/16/21
to weewx-user
The log says

Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:48:00 CET (1615906080) to database 'weewx.sdb'
Mar 16 15:48:16 raspberrypi weewx[527] INFO weewx.manager: Added record 2021-03-16 15:48:00 CET (1615906080) to daily summary in 'weewx.sdb'

That means, data are saved to the database of WeeWX. You can do nothing more to save your data.

The ERROR messages you see are normal if Internet is down. As soon as Internet is up again, WeeWX uploads the reports again. And those reports include all the data collected while the Internet was down.

Could you provide some info where there are "holes" within the data?

Artvd

unread,
Mar 16, 2021, 3:08:15 PM3/16/21
to weewx-user
Round 12 hours i did the same exercise i.e. have WLL and RPI on a switch and then take away the internet for more then an hour. On my website the holes of the time without internet are not filled later on as you can see here:  https://bit.ly/3vuDmDT

Op dinsdag 16 maart 2021 om 17:14:32 UTC+1 schreef kk44...@gmail.com:

Karen K

unread,
Mar 16, 2021, 3:23:12 PM3/16/21
to weewx-user
What I see from you link is that you are using NeoWX skin. I looked into the Github repository of NeoWX, especially into skin.conf, and found out, that this skin does not use WeeWX's image generator but some other plot generator. Unfortunately I do not know how that generator works. So I can only say, that the problem is some NeoWX issue. Maybe, they do not create the whole plot every archive cycle but save some data by themselves. You need to ask the NeoWX people.

Artvd

unread,
Mar 16, 2021, 3:42:25 PM3/16/21
to weewx-user
Thank you for looking in to this. I will ask NeoWX.

Op dinsdag 16 maart 2021 om 20:23:12 UTC+1 schreef kk44...@gmail.com:

gary....@gmail.com

unread,
Mar 17, 2021, 9:31:00 PM3/17/21
to weewx-user
During a AWS outage a few months back, my WLL failed to update WeeWX. Nothing wrong with the WLL, my Internet, WeeWX. It seemed to depend on the Internet though I only was looking for local data.

It's my understanding that the WLL does have a logger function, saves data until it can be transmitted.
That is NOT available to you. There is no call to the WLL that a user can use to get the data. It will only send to Davis.
The data is available from Davis with some WLL driver, I forget which one. That needs a paid account and it goes to the Davis website/server to get the historical data.
Reply all
Reply to author
Forward
0 new messages