Giter Club home page Giter Club logo

weatherfetch's Introduction

WeatherFetch

Command line tool for fetching Ambientweather.net weather data from your Personal Weather Station (PWS) and storing it in a local sqlite database.

Adding your device and keys to Settings.json

  1. Obtain an API Key and Application Key for AmbientWeather.net. Refer to https://help.ambientweather.net/help/api/ for information on obtaining this information.
  2. Obtain your Weather Station's Device MAC Address, displayed in the "Devices" page (https://ambientweather.net/devices) in AmbientWeather.net
  3. 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:

Create a new SQLite Database

  1. Download and install an application such as SQLite Browser https://sqlitebrowser.org/
  2. Create a new database named WeatherStation.sqlite
  3. Execute the WeatherStation.sqlite.sql script to create the database schema

Build the Solution

  1. Open WeatherFetch.csproj in Microsot Visual Studio
  2. Build solution

Command Line Usage

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)

weatherfetch's People

Contributors

josemoliver avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.