From 40b89a26fd89e658b03437d5cef20c3b45c24a51 Mon Sep 17 00:00:00 2001 From: enkore Date: Mon, 14 Oct 2013 17:26:22 +0200 Subject: [PATCH] Update README with docs for weather module --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 532f07c..3fb24d9 100644 --- a/README.md +++ b/README.md @@ -503,7 +503,7 @@ __Settings:__ * `host` — (default: `localhost`) * `port` — MPD port (default: `6600`) * `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