You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Charles 5de32cdb75
Merge pull request #4 from snipsco/update-documentation
3 years ago
.gitignore Clean up 4 years ago
LICENSE Update skill to python3 3 years ago
README.md Update README.md 3 years ago
action-weatherIntentTtsParser-weather.py Update skill to python3 3 years ago
requirements.txt Update hermes_python requirements version 3 years ago
setup.sh Update skill to python3 3 years ago

README.md

Snips Weather TTS action

MIT License

This is a Snips weather action written in Python and is compatible with snips-skill-server. It is meant to be used as a demo in the snips-platform-demo package. This action subscribes to all intents and only parses the weather intents. The result is then spoken through TTS.

This action won't give you a weather result, check snips-skill-owm for this.

Skill Setup

Prerequisites

You'll need to add the Weather english skill in your assistant. It's available on Snips' console

SAM (preferred)

To install the action on your device, you can use Sam

sam install action -g https://github.com/snipsco/snips-skill-weather-tts.git

Manually

Copy it manually to the device to the folder /var/lib/snips/skills/ You'll need snips-skill-server installed on the pi

sudo apt-get install snips-skill-server

Stop snips-skill-server & generate the virtual environment

sudo systemctl stop snips-skill-server
cd /var/lib/snips/skills/snips-skill-weather-tts/
sh setup.sh
sudo systemctl start snips-skill-server

Setup with APT

The APT package contains only the weather assistant. The assistant will be placed in /usr/share/snips/assistant.

sudo apt-get install snips-platform-demo

The skill need to be installed manually.

Full demo installation with SAM

sam install demo install the assistants and this skill on your device.

How to trigger

Hey Snips

What will be the weather in London in two days?

Logs

Show snips-skill-server logs with sam:

sam service log snips-skill-server

Or on the device:

journalctl -f -u snips-skill-server

Check general platform logs:

sam watch

Or on the device:

snips-watch