Update README with docs for weather module
This commit is contained in:
parent
537d662691
commit
40b89a26fd
22
README.md
22
README.md
@ -503,7 +503,7 @@ __Settings:__
|
|||||||
* `host` — (default: `localhost`)
|
* `host` — (default: `localhost`)
|
||||||
* `port` — MPD port (default: `6600`)
|
* `port` — MPD port (default: `6600`)
|
||||||
* `format` — formatp string (default: `{title} {status}`)
|
* `format` — formatp string (default: `{title} {status}`)
|
||||||
* `status` — Dictionary mapping pause, play and stop to output (default: `{'stop': '◾', 'play': '▶', 'pause': '▷'}`)
|
* `status` — Dictionary mapping pause, play and stop to output (default: `{'play': '▶', 'pause': '▷', 'stop': '◾'}`)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -653,6 +653,26 @@ __Settings:__
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### weather
|
||||||
|
|
||||||
|
|
||||||
|
This module gets the weather from weather.com using pywapi module
|
||||||
|
First, you need to get the code for the location from the www.weather.com
|
||||||
|
Available formatters:
|
||||||
|
{current_temp}
|
||||||
|
{humidity}
|
||||||
|
|
||||||
|
Requires pywapi from PyPI.
|
||||||
|
|
||||||
|
|
||||||
|
__Settings:__
|
||||||
|
|
||||||
|
* `location_code` — (required)
|
||||||
|
* `units`
|
||||||
|
* `format` — (default: `{current_temp}`)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### wireless
|
### wireless
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user