-
Notifications
You must be signed in to change notification settings - Fork 1
Weather Plugin
This plugin provides you the most important weather data for the following days. It is possible to get the weather forecast for today, tomorrow, the weekend and the current week.
The information given includes the temperature maximum and minimum as well as the probability and sort of precipitation. On top of that it shows you the time of the sunrise and the sunset.
This feature is also available in our web app.
For this plugin you will need an account on Dark Sky to get an API:
- Go to Console and copy your Secret Key.
- Create a new file called
io.github.amyassist.amy-plugin-weather.properties
, writeDARKSKY_API_SECRET=
then paste what you have copied before. - Save this file in
Amy/config
.
The following segments will explain the various features the plugin provides. The commands presented will have agf form as there are sometimes too many possible alternatives for one command to list them entirely. For all possible command variation see in WeatherSpeech.aim.xml You can read all about the agf form and dialogs here.
The command for Amy to get your weather report for today is [how is the] weather [like] today
.
The informations given include the temperature maximum and minimum as well as the probability and sort of precipitation. On top of that it shows you the time of the sunrise and the sunset.
The command for Amy to get your weather report for today is [how is the] weather [like] tomorrow
.
The informations given include the temperature maximum and minimum as well as the probability and sort of precipitation. On top of that it shows you the time of the sunrise and the sunset.
The command for Amy to get your weather report for the following week is [how is the] weather [like] [for the next] week
.
The informations given include the most important weather data for the next seven days.
The command for Amy to get your weather report for the following weekend is [how is the] weather [on the] weekend
.
The informations given include the temperature maximum and minimum as well as the probability and sort of precipitation. On top of that it shows you the time of the sunrise and the sunset for saturday and sunday.
There are two commands for Amy to get the rain propability:
[(will|is) it (gonna|going to)] rain (today|tomorrow|on the weekend) [(at|in) {locationname}]
[(will|is) it (gonna|going to)] rain [(at|in) {locationname}] (today|tomorrow|on the weekend)
The information given include the rain probability for your request.
This command reads the current weather at almost any location on earth. The full grammar is:
[(whats|what is)] [the] weather [like] in {locationname}
Examples: