Skip to content

Commit c9244c2

Browse files
authored
Merge pull request #158 from MycroftAI/make-weather-great-again
Major refactor / rewrite of the Weather Skill. Includes update to latest version of the OWM API. Retains existing locale files so Skill should continue to work for all languages.
2 parents 2036533 + 37de4a5 commit c9244c2

File tree

1,942 files changed

+4175
-4969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,942 files changed

+4175
-4969
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.qmlc
33
settings.json
44
.vscode
5+
.idea/**

README.md

+24-7
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,43 @@
11
# <img src='https://rawgithub.com/FortAwesome/Font-Awesome/master/svgs/solid/sun.svg' card_color='#FEE255' width='50' height='50' style='vertical-align:bottom'/> Weather
22
Weather conditions and forecasts
33

4+
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
5+
46
## About
5-
Get weather conditions, forecasts, expected precipitation and more! By default it will tell
6-
you about your default location, or you can ask for other cities around the world.
7+
Get weather conditions, forecasts, expected precipitation and more! By default, it will tell
8+
you about your device's configured location. You can also ask for other cities around the world.
79

810
Current conditions and weather forecasts come from [Open Weather Map](https://openweathermap.org).
911

10-
For **enclosures** with screen support, conditions are briefly shown using visemes.
11-
12-
The temperature is shown in Celsius or Fahrenheit depending on the preferences set in your [https://home.mycroft.ai](https://home.mycroft.ai) account.
12+
The temperature is shown in Celsius or Fahrenheit depending on the preferences
13+
set in your [https://home.mycroft.ai](https://home.mycroft.ai) account. You can ask
14+
specifically for a unit that differs from your configuration.
1315

1416
## Examples
17+
### Current Conditions
1518
* "What is the weather?"
19+
* "What is the weather in Houston?"
20+
21+
### Daily Forecasts
1622
* "What is the forecast tomorrow?"
23+
* "What is the forecast in London tomorrow?"
1724
* "What is the weather going to be like Tuesday?"
18-
* "What is the weather in Houston?"
25+
* "What is the weather for the next three days?"
26+
* "What is the weather this weekend?"
27+
28+
### Temperatures
29+
* "What's the temperature?"
30+
* "What's the temperature in Paris tomorrow in Celsius?"
31+
* "What's the high temperature tomorrow"
32+
* "Will it be cold on Tuesday"
33+
34+
### Specific Weather Conditions
1935
* "When will it rain next?"
2036
* "How windy is it?"
2137
* "What's the humidity?"
2238
* "Is it going to snow?"
23-
* "What's the temperature?"
39+
* "Is it going to snow in Baltimore?"
40+
* "When is the sunset?"
2441

2542
## Credits
2643
Mycroft AI (@MycroftAI)

0 commit comments

Comments
 (0)