Capture your data with a simple device like a Raspberry Pi and post the measurements to your hosting provider so you can display your data in real-time on your own website. As from version 1.0.2 it is possible to run PWdashboard from the local device using the original Weewx database. As all graph creation and calculations are done on the fly on the client, the load on the local device is kept to a minimum. The dashboard is cross-browser & cross-platform compatible.
3GB webspace for free
Check out the live station on: PWdashboard
Getting startedDownload and unzip the PWdashboard.zip package and edit the pwdashboard.php file. You have to provide the name of your weather station and a password which will be used for importing data.
// Personal Weather Dashboard ID
Create a directory on your webserver (for example 'pwdashboard') and upload all PWdashboard files and the empty directory 'database' (it contains a .htaccess file). You can exclude the pwdashboard.py file as this will be required on your home server which is connected to your weatherstation.
Install Weewx on your home server. Just follow the standard 'out-of-the-box' Weewx installation instructions. Note: PWdashboard expects the 'raw' data which it receives from Weewx to be in the imperial data format (Fahrenheit, inHg, etc.). Once you have Weewx up and running, add the pwdashboard.py extension to the weewx/bin directory. Edit the weewx.conf file and add the following lines to the StdRESTful section:
Stop Weewx (sh /etc/init.d/weewx stop) and restart (sh /etc/init.d/weewx start) to load the new configuration and RESTful extension. You can watch the syslog to verify if Weewx is running properly and data is posted to your webserver (watch tail /var/log/syslog).
Weewx and PWdashboard on the same server
There is no need to export/import data if you run your dashboard on the same server as Weewx. The original Weewx database will be used.
Create a symbolic link in the database directory to the weewx.sdb file on your server, as an example (could be different on your installation):
Note: No changes are needed to Weewx (pwdashboard.py is not used and weewx.conf remains unchanged)
That should be it, data should be coming in and you can watch your weatherstation on your own HTML5/SVG website from anywhere in the world, even on your mobile phone!
Changelog:Version 1.0.1 - Added rotating background image
Version 1.0.2 - Added support for local database (running PWdashboard and weewx on the same server)