Skip to content

Commit

Permalink
📝 Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
daenney committed Nov 19, 2023
1 parent 80a1e0f commit 698551c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,23 @@
<a href="LICENSE"><img src="https://img.shields.io/github/license/hemtjanst/trafikvader" alt="License: Apache-2"></a>
</p>

The trafikväder daemon exposes air temperature and relative humidity data from
a weather station as Hemtjänst sensors.
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:
-id value
station ID to query for, needs to be passed at least 1 time
-name value
station name to query for, needs to be passed at least 1 time
[..]
-token string
Trafikinfo API token (default "REQUIRED")
Expand Down

0 comments on commit 698551c

Please sign in to comment.