Command line tool for fetching Ambientweather.net weather data from your Personal Weather Station (PWS) and storing it in a local sqlite database.
- Obtain an API Key and Application Key for AmbientWeather.net. Refer to https://help.ambientweather.net/help/api/ for information on obtaining this information.
- Obtain your Weather Station's Device MAC Address, displayed in the "Devices" page (https://ambientweather.net/devices) in AmbientWeather.net
- Open the Settings.json file in a text editor such as Notepad and add your MAC Address Value, API Key and Application Key.
You can create a new SQLite Database and Build using the following steps:
- Download and install an application such as SQLite Browser https://sqlitebrowser.org/
- Create a new database named WeatherStation.sqlite
- Execute the WeatherStation.sqlite.sql script to create the database schema
- Open WeatherFetch.csproj in Microsot Visual Studio
- Build solution
WeatherFetch.exe -days=NUM
where NUM is the number of days past from the time the application was executed to retrieve weather station data from AmbientWeather.net
.Net 6 is required (https://dotnet.microsoft.com/download/dotnet-core)