2.4 KiB
title | summary | date | coverCaption | categories | tags | draft | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
Upgrade my weatherstation to WeeWX 5 | 2024-06-09T08:54:06+0200 | Ecowitt WS69 |
|
|
true |
I will move the weatherstation software again to another computer, this time a virtual one -- that means one Raspberry Pi less on the windowsill.
The installation process is also covered in the 5.0 docs.
Creating the virtual environment
$ sudo pacman -S python-pip
$ python -m venv ~/weewx-venv
$ source ~/weewx-venv/bin/activate
$ python -m pip install weewx
The installation is complete, let's create the station. I like doing upgrades "from scratch" because I can use an up-to-date configuration file -- although it is more work to add the old changes to the new file.
Create the new station
$ weectl station create took 8s via 🐍 v3.12.3 weewx-venv
Follow the instructions on the command line. Edit the freshly created configuration file.
$ nvim ~/weewx-data/weewx.conf
Including my old settings and add the GW1000 configuration for the plugin that I will soon install.
Installing the extensions
Install the GW1000 driver:
$ weectl extension install https://github.com/gjr80/weewx-gw1000/releases/latest/download/gw1000.zip
Install the WDC theme:
$ wget -O "/tmp/weewx-wdc.zip" https://github.com/Daveiano/weewx-wdc/releases/download/v3.5.1/weewx-wdc-v3.5.1.zip
$ mkdir /tmp/weewx-wdc/
$ unzip /tmp/weewx-wdc.zip -d /tmp/weewx-wdc/
$ weectl extension install -y /tmp/weewx-wdc/
Install the XAGGS extension:
$ weectl extension install https://github.com/tkeffer/weewx-xaggs/archive/master.zip
Install forecast plugin:
$ wget https://github.com/chaunceygardiner/weewx-forecast/releases/download/v3.4.0b12/weewx-forecast-3.4.0b12.zip
$ weectl extension install weewx-forecast-3.4.0b12.zip
Install Systemd and udev files
$ sudo sh ~/weewx-data/scripts/setup-daemon.sh
Again, adopt configuration file
Again, to include the latest changes and themes.
$ nvim ~/weewx-data/weewx.conf
$ nvim ~/weewx-data/skins/weewx-wdc/skin.conf
Start WeeWX and test the configuration:
$ weewxd