Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hemtjanst/trafikvader

A Hemtjänst sensor using the Trafikinfo API to retrieve weather data
https://github.com/hemtjanst/trafikvader

sensor trafikinfo weather

Last synced: about 1 month ago
JSON representation

A Hemtjänst sensor using the Trafikinfo API to retrieve weather data

Awesome Lists containing this project

README

        


🚦 Trafikväder ☀️


A Hemtjänst sensor using the Trafikinfo API to retrieve weather data



Release
License: Apache-2

The trafikväder daemon exposes air temperature, relative humidity and
precipitation from a weather station as Hemtjänst sensors.

## Usage

In order to get station names, go to
https://www.trafikverket.se/trafikinformation/vag. Enable `Vägväder` in the
sidebar and click on your station. A card will pop up with information and in its
header you'll find the name. Copy that value and pass it verbatim to `-name`.

```
Usage of trafikvader:

Parameters:

-name value
station name to query for, needs to be passed at least 1 time
[..]
-token string
Trafikinfo API token (default "REQUIRED")
[..]
```