Difference between revisions of "WeeWX"
Line 15: | Line 15: | ||
Also:, If you wish to use MySQL as the database, you'll need to either install it on this machine or connect to the DB on your Database server. | Also:, If you wish to use MySQL as the database, you'll need to either install it on this machine or connect to the DB on your Database server. | ||
+ | *<code>sudo apt install mysql-client</code> | ||
*<code>sudo apt-get install python3-pymysql</code> | *<code>sudo apt-get install python3-pymysql</code> | ||
Line 46: | Line 47: | ||
Restarting: | Restarting: | ||
− | * <code>sudo /etc/init.d/weewx restart</code> | + | *<code>sudo /etc/init.d/weewx restart</code> |
==Links== | ==Links== |
Revision as of 14:11, 22 July 2020
This particular set of instructions is based on building a standalone VM to handle WeeWX. On my network, I have an existing WebServer & an existing Automation Server. The intent is to have the weather information served up as a web page (Default WeeWX thing...) by the WebServer and also be used by the Automation Server.
There is also a dedicated Database Server which will eventually be used.
(Based on: WeeWX: Installation on Debian-based systems)
Contents
Installation
(based on an install under Mint 20)
wget -qO - http://weewx.com/keys.html | sudo apt-key add -
wget -qO - http://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
sudo apt-get update
sudo apt-get install weewx
Also:, If you wish to use MySQL as the database, you'll need to either install it on this machine or connect to the DB on your Database server.
sudo apt install mysql-client
sudo apt-get install python3-pymysql
Will be useful. (actually, mandatory :P )
Configuration
ComingTM SoonTM
Setting up the database (using MySQL)
Webserver Updating
ComingTM SoonTM
MQTT
ComingTM SoonTM
Administration
Checking status:
sudo tail -f /var/log/syslog | weewx
Starting:
sudo /etc/init.d/weewx start
Stopping:
sudo /etc/init.d/weewx stop
Restarting:
sudo /etc/init.d/weewx restart
Links
- Acurite 5 in 1 Weather Station Using a Raspberry Pi and Weewx (other Weather Stations Are Compatible)
- Display for 5-in-1 Weather Sensor (model 06006) Instruction Manual
- AcuRite 01035 Weather Station User Manual
- WeeWX
- (on GitHub)
- Actual, Functional install instructions!!!
- WeeWX Customization Guide
- WeeWX Utilities Guide
- Supported Hardware
- Weather Station Hardware Comparison
- station_meteo: Weewx homemade weather station, with MQTT, ESP8266 and nice sensors
- Solar Powered Wifi Temperature Sensor For Weewx
- weewx-sdr-arduino: Sketches, PHP, and Weewx service to use SDR Driver and this service to replace Acurite console
- weewxMQTT
- Extensions to weewx
- NodeRed flow from Weewx to Domoticz
- WeeWX Wiki
Troubleshooting
- weewx[10206]: acurite: Failed attempt 1 of 10 to get LOOP data: [Errno 32] Pipe error
- USB hardware issues
- Bloody cheapass USB extensions... :P
- weewx[951]: acurite: Cannot find USB device with VendorID=0x24c0 ProductID=0x0003 DeviceID=None
- Unit is completely unplugged...
- weewx[5181]: acurite: Failed attempt 1 of 10 to get LOOP data: [Errno 5] Input/Output Error