Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hemtjanst/trafikvader
- Owner: hemtjanst
- License: apache-2.0
- Created: 2022-06-22T15:41:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T16:11:12.000Z (12 months ago)
- Last Synced: 2024-01-17T18:11:24.655Z (12 months ago)
- Topics: sensor, trafikinfo, weather
- Language: Go
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🚦 Trafikväder ☀️A Hemtjänst sensor using the Trafikinfo API to retrieve weather data
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")
[..]
```