Updated Guide: Weewx, Nginx, Belchertown, MQTT/WS

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 […]

Installing & running TrunkRecorder

Pretense before installation… please do read this first section. TrunkRecorder, an amazing, or nifty, or stalkerish tool… all depending on your outlook with the compiled final product. TrunkRecorder, as it name says, records digital trunked radio. It does not record encrypted audio (well, it can, if you use a forked build – but honestly, it’s a waste of drive space and possibly illegal to store such encrypted audio), just clear-air audio. So if you’ve an active radio system, that doesn’t slap AES256 encryption on everything under the sun (Wyandotte KS, Cass MO and Jackson MO – I’m looking at you), […]

weewx.conf

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.

raw.py

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

My WeeWx Setup

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 […]