Dear Weewx users.
I'd like to ask how can I prevent Rsync called by Weewx from deleting a
directory or file on a remote server when refreshing the site with weather
observations?
The problem is: I wrote short documentation for people visiting my PWS
site. It is in directory called 'docs'. I pu
OK, sorry for a noise. I found instructions on the
wiki: https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data
But it's strange that I see April's values in history section despite
weewx.sdb oldest data is 2024-05-01 00:00:00.
środa, 1 maja 2024 o 06:55:45 UTC+2 Tomasz Lewicki napisał
Dear Weewx users.
My station was in "test mode" until midnight May 1. Now I want to remove
all data before this date. SQLite database is modified and has only data
after May 1, 00:00:00. But in my archive (history) data on website I see
earlier months and max/min values too. How to get rid of t
In my weewx.conf I have a section:
[[RSYNC]]
enable = true
server = XYZ # It's only identifier needed for file described below.
Can be anything, for example MY_SECRET_SERVER
path = /path/to/files/on/my/remote/server # for example:
/domains/my-domain/public_html/pws
And in /root/
That's strange message. When you manualy decompress ZIP (I suppose
downloaded from GitHub) and look into install.py, last line says:
*files=[('bin/user', ['bin/user/interceptor.py'])]*
I don't know why in your case there is / (slash) in error message:
*FileNotFoundError: [Errno 2] No such file
Mystery solved.
But answering to vince question, my system is rather typical - Raspbian on
Raspberry Pi, only WLAN interface is active. Weewx was unwillingly updated
from 4.10.2 to 5.0.0. I checked all point of failure: Python version,
permissions (thank you Gary!), network traffic. As I wrote
Just one more thought. Maybe interceptor driver is "too new" for my WiFi
console? Maybe I should try some older version? But unfortunately I don't
see any releases on driver's GitHub page
(https://github.com/matthewwall/weewx-interceptor).
środa, 24 stycznia 2024 o 22:22:37 UTC+1 vince napisał(
I attach PCAP file with packets captured for 120 seconds. TCP/80 only.
Weewx was shut down. No traffic on this port until I manually have done the
operation described in one of me previous posts (browser
query): https://groups.google.com/g/weewx-user/c/O8DTjzeeQcg/m/psrDaMHoAAAJ
środa, 24 styc
My mistake. These packets were captured when Weewx was running with HP1000
driver. When I changed the driver to interceptor, I didn't captured *any*
packets from WiFi console. I don't understand it...
środa, 24 stycznia 2024 o 21:06:53 UTC+1 vince napisał(a):
> You need something to send traffic
I used command line version of Wireshark - Tshark - and collected packets
for 15 minutes. Then loaded the PCAP file into Wireshark and filtered by
source IP of weather station console. Every 2 seconds I see:
b8 27 eb dd 86 34 08 d8 33 53 93 a9 08 00 45 00 .'...4..3SE.
0010 00 90
By hardware do you mean WiFi console from my weather station? If yes, it
has very simple (almost none) configuration. It sends weather data to WU
only. But I hijacked DNS on my router:
pi@meteo:~ $ rtupdate.wunderground.com
PING rtupdate.wunderground.com (192.168.0.106) 56(84) bytes of data.
64
Previously I had strange problems with Python but finally I realized that I
have Python2 and Python3 installed. When I called commands begining with
'python', v2 was started. But 'sudo update-alternatives --install
/usr/bin/python python /usr/bin/python3 10' has made the trick:
pi@meteo:~ $ pyt
Here it comes:
# systemd service configuration file for WeeWX
[Unit]
Description=WeeWX
Documentation=https://weewx.com/docs
Requires=time-sync.target
After=time-sync.target
[Service]
ExecStart=weewxd /etc/weewx/weewx.conf
StandardOutput=null
StandardError=journal+console
RuntimeDirectory=weewx
R
OK, I changed user and group to root in /etc/weewx/systemd/weewx.service,
weewx now starts with port 80 and interceptor driver. But nevermind which
option I use - observer or wu-client - I always get:
weewxd[27966]: DEBUG user.interceptor: empty queue
But I found this wiki article
-> https://
14 matches
Mail list logo