Skip to content

Commit

Permalink
Merge pull request #158 from MycroftAI/make-weather-great-again
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
krisgesling committed Jun 14, 2021
2 parents 2036533 + 37de4a5 commit c9244c2
Show file tree
Hide file tree
Showing 1,942 changed files with 4,175 additions and 4,969 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.qmlc
settings.json
.vscode
.idea/**
31 changes: 24 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,43 @@
# <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
Weather conditions and forecasts

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## About
Get weather conditions, forecasts, expected precipitation and more! By default it will tell
you about your default location, or you can ask for other cities around the world.
Get weather conditions, forecasts, expected precipitation and more! By default, it will tell
you about your device's configured location. You can also ask for other cities around the world.

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

For **enclosures** with screen support, conditions are briefly shown using visemes.

The temperature is shown in Celsius or Fahrenheit depending on the preferences set in your [https://home.mycroft.ai](https://home.mycroft.ai) account.
The temperature is shown in Celsius or Fahrenheit depending on the preferences
set in your [https://home.mycroft.ai](https://home.mycroft.ai) account. You can ask
specifically for a unit that differs from your configuration.

## Examples
### Current Conditions
* "What is the weather?"
* "What is the weather in Houston?"

### Daily Forecasts
* "What is the forecast tomorrow?"
* "What is the forecast in London tomorrow?"
* "What is the weather going to be like Tuesday?"
* "What is the weather in Houston?"
* "What is the weather for the next three days?"
* "What is the weather this weekend?"

### Temperatures
* "What's the temperature?"
* "What's the temperature in Paris tomorrow in Celsius?"
* "What's the high temperature tomorrow"
* "Will it be cold on Tuesday"

### Specific Weather Conditions
* "When will it rain next?"
* "How windy is it?"
* "What's the humidity?"
* "Is it going to snow?"
* "What's the temperature?"
* "Is it going to snow in Baltimore?"
* "When is the sunset?"

## Credits
Mycroft AI (@MycroftAI)
Expand Down
Loading

0 comments on commit c9244c2

Please sign in to comment.