sakirtemel / mmm-alexa Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I got this error with installation:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN [email protected] No repository field.
And the next when i launch MagicMirror
Whoops! There was an uncaught exception...
Error: Module version mismatch. Expected 50, got 48.
at Error (native)
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:583:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at bindings (/home/pi/MagicMirror/modules/MMM-alexa/node_modules/bindings/bindings.js:76:44)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
Red button shows up, button pressing the fysic button nothing..
How can find avsInitialCode?
I do not know where can I see a avsInitialCode
Hi and THANK YOU for writing this module.
I think my status indicator is yellow (a yellow square in the top right corner).
Alexa doesn't seem to be responding.
I've purged pulseaudio and followed the instructions in the readme.md file setting the audio devices.
What other info can I look at to determine what the problem is?
BTW - I was able to use the same raspberry pi, speakers, and mic with this other Alexa project (on a different sd card jessie installation): https://youtu.be/frH9HaQTFL8
Thanks in advance for the help!
Hi,
thank you for this great piece of code. I'm trying to wrap my head around it, and I wonder if you know if it is possible to do something else with alexa's response?
Now it's : you as a question, send the question, receive the answer, output the answer through the speaker.
But if for example I want to ask "Show me a picture of george michael". I would want it to just send an "OK here you go" back, and I would write functionality to get the picture from google and display it on the mirror.
Is that at all possible, and how would I have to do that?
I presume I would have to use skill kit? But how do I parse alexa's answer to know that it's "george michael" I have to search for?
thanks!
Hello, I'm having a hard time with the installation. I have an AVS account set up on Amazon, but I can't seem to figure out how to generate the Initial Code for my config.js. I have tried this link
https://sakirtemel.github.io/MMM-alexa/
but when I use the information provided by Amazon and click "Request Code" it takes me to an Amazon page where I receive the following error:
"We're sorry!
An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly."
Any help will be appreciated!
I install the MMM-Alexa and MMM-AlexaPi,and i don’t work
MMM-Alexa give me a yellow-orange square and MMM-AlexaPi give me a strikethrough microphone.
What im doing bad?
I need to use the button to get Alexa start listening?
In that case,can somebody say me where the button goes,which pins?
Magicmirror start correctly, i have the red square but the buton on GPIO 4 do nothing.
Commande "gpio read 4" report 1 or 0 when i press it.
I try to launch "npm start dev" to debug, i have an error.
Whoops! There was an uncaught exception...
{ Error: Cannot find module 'onoff'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-alexa/node_helper.js:15:28)
at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:98:10)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:503:12 code: 'MODULE_NOT_FOUND' }
I try to install all dependancy "onoff" with the command "npm install" but after, i had this error
Error: The module '/home/pi/MagicMirror/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 53. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at bindings (/home/pi/MagicMirror/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/epoll/epoll.js:1:192)
I try npm rebuild or npm install but nothing work. Have you got an idea ?
Hey,
when i use this module I always get a black screen when i start the mirror.
I already tried it with a fresh install of magic mirror only with default modules (and alexa)
but its not working.
Please help me
Hello, my status indicator is red.
In alexa.css file says .alexa-tokenSet
I don't know how to fix it, can someone help me?
Thank you.
Will there be Wake Word 'Alexa' feature in the future?
This announcement from Amazon enables Wake Words for their AVS
It would be great to be able to say 'Alexa' instead of pressing a button on the magic mirror!
Hi ,
I am in the process of configuring the module, but wondering how should I get avsInitialCode: and from where. And another question is that Did I need the Button ?? or it will work without it??Please guide
Thanks,
Manoj
I have tried installing this module, and after coping my client ID and secret ID I found the initial ID. What is this? Where can I find it? Thanks
Hi there,
first of all: Thanks!
We always receive the error 'empty response'.
All demos are working well. When we start the mirror (dev-mode), the status-indicator is red. When we type alexastart() in the console, the color changes to green. After typing alexastop() we get the error "empty response..."
We also tried uninstalling pulseaudio as it is recommended in another issue-thread.
Do you have any ideas?
Thank you!
Is it possible to use a different GPIO pin (other than 4) for the button to record to Alexa?
Reason: I'm using PowerBlock as an on/off switch for the Raspberry Pi 3.
It utilizes installs on the top six GPIO pins (See attached).
Would love to be able to use any of the GPIO pins highlighted in the green bounding box in the attached screenshot.
Thanks for any advice!
Hi, two question for you. I'm just starting to code and already installed the MM2 and 'stand alone' alexa. Can you exemplify how for exemple we hide or show the hello world module with the alexa module?
Does the alexa module still have all the skills and capabilities off the 'stand alone'?
Thanks
Hi everybody,
sorry for my poor English. Im using Magic Mirror and my configuration is good. I'm using Alexa voice service on the same Raspberry pi3. It works too. But i'd like to have just the detection Windows to see when alexa 's speaking or not. I don't want command Mirror with Alexa.
I have seen some video with a microphone on the wall but i don't know the MMM. Thanks for help (and so sorry for English. So far for me)..See you
I open the MagicMirror with npm start dev
. When I put startAlexa() in the console, the status indicator switch from red to green. After a few seconds it's schwitched back to red. Now I can read "Error: Empty response. at XMLHttpRequest.xh.onload {alexaRunner.babel.is:618}" in the console. Can anyone help me ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.