update post (wx station)

main
Dominic Reich 2 years ago
parent a2135b64b2
commit e94d5c36b1
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -5,6 +5,7 @@ summary: >
creates the [weather page](https://wx.oe7drt.com/) and also uploads my weather creates the [weather page](https://wx.oe7drt.com/) and also uploads my weather
data to the [APRS-IS network](http://www.aprs-is.net/). data to the [APRS-IS network](http://www.aprs-is.net/).
date: 2022-01-08T14:34:54+01:00 date: 2022-01-08T14:34:54+01:00
lastmod: 2022-12-25T23:26:41+01:00
categories: [amateur-radio] categories: [amateur-radio]
tags: ["wx","linux"] tags: ["wx","linux"]
@ -155,3 +156,96 @@ The link is also on the bottom of every page aswell and the website looks
something like this: something like this:
{{< figure src="wx-main.png" alt="website preview" >}} {{< figure src="wx-main.png" alt="website preview" >}}
## Update on December 25, 2022
My station runs for a while now and I wasn't sure if I continue using Netatmo
for my weather station, but since the stations works quite well I bought a rain
and wind sensor the recent days. The first test run went good and it was easy
to implement the new devices.
But there are a few notes to remember. As there are more than one point, I'll
put them down into separate headings.
### Change the comment visible on the aprs.fi website
If you want to change the comment that is visible on `aprs.fi` you have to change
the source of a python file within the WeeWX package. As I upgraded WeeWX when
I installed the new devices that file got overwritten and it took me (again) a
few moments to find the right place again. Now, for the future: the file I
talk about is `/usr/share/weewx/weewx/restx.py` and you may look somewhere near
the line 1285. I show you an excerpt of my current (already modified) file:
~~~py {linenos=table,hl_lines="5-6",linenostart=1281}
else:
_radiation_str = ""
# Station equipment
#_equipment_str = ".weewx-%s-%s" % (weewx.__version__, self.station_type)
_equipment_str = "https://wx.oe7drt.com/"
_tnc_packet = ''.join([_prefix, _time_str, _latlon_str, _wt_str,
_rain_str, _baro_str, _humid_str,
_radiation_str, _equipment_str, "\r\n"])
# show the packet in the logs for debug
if weewx.debug >= 2:
log.debug("CWOP: packet: '%s'", _tnc_packet.rstrip('\r\n'))
return _tnc_packet
~~~
Line 5 and 6 (highlighted) shows the old and new line. Should work fine.
### Install a new (and more modern) theme
That actually looks like a modern website. Although, I had to re-create some
entries for the sensor-images. As this sucks pain, I'll leave it with only
having 1-day images. They are quite useless, but I may find another day.
Or not, we will see...
The name of the skin is [**NeoWX Material**](https://neoground.com/projects/neowx-material)
and I like it very much. Another nice skin would be
[Rabenwetter](https://rabenwetter.de/info.html) that you might have a look on too.
But back to business :grin:
The installation is very easy:
- download
<https://neoground.com/projects/neowx-material#section-download>
- install
~~~console
# wee_extension --install=neowx-material.zip
~~~
- restart
~~~console
# systemctl restart weewx
~~~
I usually don't give this hint: note the `#` at the beginning of these command
lines. That means to run those commands as **root**.
Read [the docs](https://github.com/neoground/neowx-material#installation) and
you should be good to go.
I did already had the `python3-ephem` package installed, I used the Almanac pages
already in the older (default) Seasons skin.
~~~console
# dnf install python3-ephem
~~~
The new theme looks like this:
{{< figure src="wx-main_new.png" alt="preview of the new theme/skin" >}}
### Some other thoughs
I never got the correct information working on the
[CWOP information page](https://weather.gladstonefamily.net/site/AV859) but I've
seen this page showing the correct information now. Also the map is now filled
with weather stations around my area (this has always been a place in the US
that I wasn't able to change).

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

Loading…
Cancel
Save