![]() ![]() ![]() Run python alexa.py to interact with Alexa. The compiled code won't include some utils that are otherwise added for dev tools and HMR, it will be minified. What you need is a production build, that you get with npm run build. In the official template, that your project seems based on, that's what you get with npm run dev. Make sure you have whitelisted the the above URL (with not in your app profile) The code you've published on GH pages is a dev build. 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. 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. 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. |