Giter Site home page Giter Site logo

iluque / adriansmartassistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theadrianproject/adriansmartassistant

0.0 2.0 0.0 43.75 MB

Introducing Adrian, your advanced open source Smart Home Assistant. Bringing simplicity to your home through voice automation. Get a morning news update, stream music, control your smart devices & ask just about anything. www.theadrianproject.com

License: Apache License 2.0

JavaScript 98.52% Shell 1.48%

adriansmartassistant's Introduction

AdrianSmartAssistant


Copyright [2016] [Gergely Hajcsak & Jamie Deakin - The Adrian Team]

Webiste : www.theadrianproject.com

Email : [email protected]

Licence : Licensed under the Apache License, Version 2.0


Introducing Adrian, your advanced open source Home Smart Assistant. Bringing simplicity to your home through voice automation. Get a morning news update, stream music, control your smart devices & ask just about anything.

How to configure

To start playing with Adrian the core modules need to be configured. There are three core modules:

1.  Google Speech to Text Service Module
2.  Ivona Text to Speech Module
3.  SnowBoy hotword file configuration (optional)

There are then three main commands to start, stop and update adrian:

4.  Start Adrian
5.  Stop Adrian
6.  Update Adrian

All module configuration changes can be done in the constants.js file

  1. Configuring Google Speech to Text Service Module

All users need a Google Speech Service Account which can be obtained online. If you don't have one yet get it from https://cloud.google.com/speech . Google Speech Service is free up to a certain monthly limit.

Once you have registered you will be issued a: - project_id - google application credential file

The google application credential file can be downloaded at https://console.developers.google.com/project/_/apis/credentials . Once you have your google application credential file copy it to the '/Library/googleSpeech/Account/' folder . Then Change the constants.js replacing the values starting with 'YOUR_' below:

define("GOOGLE_APPLICATION_CREDENTIALS", __dirname  + "/Library/googleSpeech/Account/YOUR_PROJECT_FILE_NAME_COMES_HERE")
define("GCLOUD_PROJECT", "YOUR_PROJECTN_NAME_COMES_HERE")
  1. Configuring Ivona Text to Speech Module

All users also need an Ivona account. If you dont have one get it at https://www.ivona.com . It is a very easy process, just pick the free plan option and register. Once you have your Ivona credentials change the constants.js repacling the values starting with 'YOUR_' below:

define("IVONA_ACCESSKEY", "YOUR_IVONA_ACCESSKEY_COMES_HERE");
define("IVONA_SECRETKEY", "YOUR_IVONA_SECRETKEY_COMES_HERE");
  1. SnowBoy hotword file configuration

The great Snowboy offline hotword recognition gives Adrian the ability to recognize and wake up when you say the name Adrian. Every persons pronunciation is different but Adrian must recognize all of us. For this Adrian needs a good configuration. The configuration is an audio module file created by snoboy. if Adrian is not able to recognize you when you say Adrian then you need to record your voice on the showboy website. https://snowboy.kitt.ai/dashboard The whole process takes about 3 minutes but gives almost 100% recognition rate.

Go to the dashboard and search for "Adrian". Set up your personal model with the microphone icon. Follow the steps and download the output file and replace the file below with the new file. Keep the name of the file.

Library/Showboy/Adrian.pmdl
  1. Start Application

./adrian.sh
  1. Stop Appilication

The application can be stopped any time pressing CTRL+C . To then clear memory & kill all depedencies the below command can be run:

./stop.sh
  1. Update Adrian

in the AdrianSmartAssistant folder execute the below command. Before execution commit all of your local changes.

./update.sh

adriansmartassistant's People

Contributors

hgergely avatar jamiedeakin avatar adrianhome avatar cryptocake avatar

Watchers

James Cloos avatar Iker avatar

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.