Giter Club home page Giter Club logo

snips-skill-weather-tts's Introduction

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

snips-skill-weather-tts's People

Contributors

cpoisson avatar nebuto avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

snips-skill-weather-tts's Issues

Discourage python2 use!

Seeing new python2 code committed in 2018 makes me sad :-(

You may be interested in snipsco/snips-issues#26 - which explains that hermes-python works with very little modification in python 3. If the code was still on github I'd be putting a patch up for it.

Maybe with a little pressure we can get hermes-python published for python 3! :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.