Author: Matt Way March 2024 (https://github.com/matt-kiwi)
This python script polls the RS485 sensor once every five minutes ( settable by adding a cron job ).
This script was written for and tested with a Raspberry Pi, but should work on other Linux machines.
Update Linux with APT system
apt-get update
apt-get upgrade
Check python version is geater than 3.1
Python -V
Install pip
apt-get install pip
Install required Python modules for weather station
pip install paho.mqtt pyyaml influxdb-client