This app is a skill for the the private-by-design self-hosted voice assistant Snips.ai.
The skill uses the OpenWeatherMap as data provider to say the current weather or weather forecast for a passed location.
The skill currently supports following languages:
- german
- a configured Snips.ai device (Getting started)
- an OpenWeatherMap API key (free for up to 60 calls / minute)
-
In the german app store add the app Mein Wetter to your assistant.
-
In the console execute the following command:
sam install assistant
You will be asked to enter two values:
openweathermap_api_key
default_location
This is the default location which is used when you do not pass a location by speech
At the moment you can ask for the current weather or a weather forecast for your default or a given location.
- Wie wird das Wetter am Donnerstag
- Wetter am Donnerstag
- Wettervorhersage für Neckarsulm am Samstag
- Wetter heute in Heilbronn: Klarer Himmel bis Starker Regen mit Temperaturen von 10 Grad.
- Wetter heute in Neckarsulm: Klarer Himmel mit Temperaturen von 10 bis 20 Grad.
- Wetter morgen in Heilbronn: Klarer Himmel mit Temperaturen von 10 bis 20 Grad.
- Wetter morgen in Heilbronn: Klarer Himmel mit Temperaturen von 20 Grad.
The app already has lots of unit tests which can be run by ./run_tests.py
-
Clone repository
-
Run
source setup_dev.sh
to install dev dependencies -
Run tests
./run_tests.py
Feel free to fork and open up pull requests.