Add weather section to configuration page
This commit is contained in:
parent
da49dff76f
commit
46e1fad742
@ -120,3 +120,17 @@ This section contains options for music control
|
|||||||
#### vol.interval
|
#### vol.interval
|
||||||
|
|
||||||
This field is an integer indicating how much the volume should be changed for each volume up or down event from the music control app.
|
This field is an integer indicating how much the volume should be changed for each volume up or down event from the music control app.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### weather
|
||||||
|
|
||||||
|
This section contains options for ITD's weather support
|
||||||
|
|
||||||
|
#### weather.enabled
|
||||||
|
|
||||||
|
This field is a boolean indicating whether the weather support should be enabled.
|
||||||
|
|
||||||
|
#### weather.location
|
||||||
|
|
||||||
|
This field is a string. It is given to OpenStreetMap Nominatim to retrieve coordinates to feed into the Norwegian Meteorological Institute's API. Anything that can be found on OpenStreetMap should also work here. It will always use the first result.
|
@ -31,6 +31,10 @@ Music control is implemented using `playerctl` which uses the MPRIS DBus interfa
|
|||||||
|
|
||||||
ITD exposes a UNIX socket at `/tmp/itd/socket` by default. This socket can be used to control the daemon. It is how `itctl` and `itgui` work. This can be used in any language which supports UNIX sockets which is nearly all of them. Even bash can be used with `netcat`.
|
ITD exposes a UNIX socket at `/tmp/itd/socket` by default. This socket can be used to control the daemon. It is how `itctl` and `itgui` work. This can be used in any language which supports UNIX sockets which is nearly all of them. Even bash can be used with `netcat`.
|
||||||
|
|
||||||
|
### Weather
|
||||||
|
|
||||||
|
ITD uses data from OpenStreetMap Nominatim to get coordinates for a location, and then feeds those to the Norwegian Meteorological Institute's API to retrieve weather for that location.
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
|
|
||||||
New features are added whenever I find out they exist from InfiniTime's repo or developers. This means ITD's master branch may contain features not yet released in InfiniTime.
|
New features are added whenever I find out they exist from InfiniTime's repo or developers. This means ITD's master branch may contain features not yet released in InfiniTime.
|
Loading…
Reference in New Issue
Block a user