Run python alexa.py to interact with Alexa. Make sure you have whitelisted the the above URL (with not in your app profile) Run python auth_web.py and open It will redirect you to Amazon to sign in. You might also need these depdencies if you got errors at the above step: sudo apt-get install python-dev portaudio19-dev swig libpulse-dev. snipver specifies a version of the snippet, so that we can warn when the snippet needs to be updated. It also understands some options from the query string: host, port, snipver, mindelay and maxdelay. Run sudo pip install cherrypy requests pyaudio webrtcvad pocketsphinx respeaker to get required python packages. LiveReload.js finds a script tag that includes /livereload.js and uses it to determine the hostname/port to connect to. Rename example_creds.py to creds.py and fill ProductID, Security_Profile_Description, Security_Profile_ID, Client_ID and Client_Secret with your Alexa device information. Register for an Amazon Developer Account. etc/init.d/alexa start will run alexa on background. etc/init.d/mopidy disable will disable it to auto-run. You can stop mopidy by running /etc/init.d/mopidy stop. To review, open the file in an editor that reveals hidden Unicode characters. Note: if you get error IOError: Invalid number of channels, It's likely that mopidy-hallo or alexa is running and using the audio input channel. livereload-server.py This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. Run alexa or /etc/init.d/alexa start to start Alexa Voice ServiceĪt the first time, you need to authorize the application.Ĭonnect ReSpeaker's Access Point, go to and tt will redirect you to Amazon to sign up or login in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |