This is an updated and streamlined guide for the installation of Weewx 4.x, with the Belchertown 1.1 GUI, Nginx, the MQTT/WebSockets extension, mosquitto, and Let’s Encrypt, because well – WebSockets require SSL… on a new Debian 10 installation. The old guide can be found here – which is a mess and shouldn’t be used. Things to keep in mind… Fresh Debian 10 server installation – only thing installed apart from the default packages: SSH Server. Using Nginx, MySQL (MariaDB) for the general heave-ho’ing of data. No need for PHP or FPM here! Note: MySQL in my instance is on a […]
This is a mostly completed version of weewx.conf. See the weewx category for details of this config. DO NOT BLINDLY USE THIS CONFIG – IT’LL LIKELY FAIL.
This is for raw, real time, loop data from a davis weather station. It’s been ever so slightly modified to persist data forever at a value of 0 via weewx.conf. [Raw] data_binding = raw_binding data_limit = 0 The following code goes in place to /usr/share/weewx/user/raw.py
The configurations that is! Some Notes Before Going to Town With Copy Pastes… Please note that my setup for WeeWx, BelcherTown Weather Theme / Template, the web servers, and database are not a normal method of serving and storing data. Many configuration options listed below will need to be modified to suit your own installation. This particular configuration below uses three machines, two being a virtual machine, and one being dedicated. The dedicated machine is for the SQL databases. The two virtual machines are for 1) the nginx reverse proxy / load balancer and 2) the weewx VM instance with […]
Back in 2016, WeeWx murdered one of my many Raspberry Pi 3’s… all because it kept throwing loop and archive data bits into the database…. on the pi. Oops. Here in 2019, as of this writing, the mySQL database has 1,130,399 rows logged, with various bits of data logged, totalling about 408MB. I was a numpty however, and was not logging the real time data properly since 2016… doh! That was fixed early-on in 2019. Realtime data table and associated rows is already huge – 7,130,258 rows huge, or about 1.4GB!! Lesson learned however, SD Cards do not make for […]