A local personal weather station database and dashboard for ambient weather devices!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
With the recent release of the Ambient Weather android app (AWNET), it now allows a custom server setup without intercepting network traffic. I needed a way to create a local database of the weather data coming from my Ambient Weather station, so I decided to look into a way of getting the data to my local server, luckily just recently Ambient Weather released a way of doing just this by posting the data to a local server.
I created this dashboard and some history graphs to look at the available data in the DB. You would need an already setup web server and MariaDB, the program should handle the rest perfectly fine. Please note that this project is still in development and would probably contain bugs. This has only been tested with the Ambient Weather WS-2902c, but it should work with other devices aswell.
A list of commonly used resources that I find helpful are listed in the acknowledgements.
This section should list any major frameworks that you built your project using.
To get a local copy up and running follow these simple steps.
Please ensure that you already have the following on your server:
- PHP web server
- MariaDB
- Clone the repo
git clone https://github.com/armysarge/AmbientWeatherPWS
- Copy all the files in the 'Dist' directory to your web server
- Enter your server & other details in
config.php$servername = "servername"; $username = "user"; $password = "pass"; $dbname = "DB"; $dbtable = "Weather"; $PWS_IP = "192.168.0.2"; // Ambient Weather Device IP Address $timezone = 2; $hemisphere = "south"; // 'north' or 'south'
- Download the AWNET app on your phone and connect to your Ambient Weather device
- Enter the server details and path exactly like below:
[
] - If you did everything right, it should start posting and show the information on the dashboard
Its pretty simple just view the index.php on your server
- Need to add a rain gauge
- Optimize code
- Maybe add some code to predict forecasts
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Shaun Scholtz - armysarge.ss@gmail.com
Project Link: https://github.com/armysarge/AmbientWeatherPWS