v5 weewx just dropped over the weekend so these are the commands literally cut+pasted from their quickstart docs. This gets you a vanilla Simulator system running.
I might add that you should probably run over the 32bit raspios if possible. You can check your system via:
sudo dpkg --print-architecture
INSTALL WEEWX
sudo apt install -y wget gnupg
wget -qO - https://weewx.com/keys.html \
| sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg
echo "deb [arch=all] https://weewx.com/apt/python3 buster main" \
| sudo tee /etc/apt/sources.list.d/weewx.list
sudo apt update
sudo apt install weewx
# (just hit return when prompted)
INSTALL THE DRIVER
Next install the weatherflowUDP driver. The commands in v5 weewx have changed since the driver was released years ago. The following uses a fork I created that populates a default sensor map into weewx.conf for you so you don’t have to cut+paste…
This does a git clone of my repo and checks out the branch with my installer patch therein.
sudo apt-get install -y git
cd
git clone https://github.com/vinceskahan/weatherflow-udp
cd weatherflow-udp
git checkout install_example_sensor_map
sudo weectl extension install .
# (hit return when prompted)
CONFIGURE THE DRIVER
At this point, you have the driver installed, but not enabled. Edit weewx.conf and change the example
ST-00000025 values in the [[sensor_map]] at the bottom of weewx.conf to match your sensor id so the driver will listen for ‘your’ Tempest rather than the ‘example’ sensor id.
ENABLE THE DRIVER
sudo weectl station reconfigure
# (enter your description,altitude,lat/lon,units if you want)
# (choose the number next to the WeatherFlowUDP driver
# which is likely 0 to enable that)
RESTART WEEWX
sudo systemctl stop weewx ### so we can clean out the simulated data
sudo rm /var/lib/weewx/weewx.sdb ### delete the old Simulator database
sudo systemctl start weewx ### restart weewx using the WeatherFlowUDP driver
At this point you’re running with the WeatherFlowUDP driver and you should have it successfully listening to, and hearing, the Tempest data. You might want to edit /etc/weewx/weewx.conf to set debug=1 at least temporarily to have it log more verbosely until you’re happy it’s working. Remember to restart weewx after editing weewx.conf
TO CHECK YOUR LOGS
Modern debian os use systemctl to log so the commands can be difficult to figure out. This should work…
sudo journalctl -xe -f -u weewx
# (hit control-C to exit)