dgonano / mmm-alexapi Goto Github PK
View Code? Open in Web Editor NEWMagic Mirror module for the AlexaPi
Magic Mirror module for the AlexaPi
Hi dgonano
Everything is configured as it should, but for some reason the MMM-AlexaPi statuses are not being displayed in the Magic Mirror interface.
Heartbeat responses are successful:
2017-04-27 21:45:39 DEBUG: Stopped play. [Errno 3] No such process
2017-04-27 21:45:39 DEBUG: Indicate Stop Playing
2017-04-27 21:45:39 DEBUG: Calling URL: http://localhost:8080/alexapi?action=AVSSTATUS&status=idle
2017-04-27 21:45:39 DEBUG: Response: {"status":"success"}
2017-04-27 21:45:39 DEBUG: Playing audio: file:///tmp/AlexaPi-runtime-mwcsYW/WeatherPrompt.feb8f0d4-4180-4b0a-adcb-ef55688b9302_353890041.mp3 2017-04-27 21:45:39 DEBUG: Started play. sox -q /tmp/AlexaPi-runtime-mwcsYW/WeatherPrompt.feb8f0d4-4180-4b0a-adcb-ef55688b9302_353890041.mp3 -t alsa default vol -6 dB pad 0 0
2017-04-27 21:45:39 DEBUG: Indicate Start Playing
2017-04-27 21:45:39 DEBUG: Calling URL: http://localhost:8080/alexapi?action=AVSSTATUS&status=playback
2017-04-27 21:45:39 DEBUG: Response: {"status":"success"}
2017-04-27 21:45:43 DEBUG: Sending MM Heatbeat
2017-04-27 21:45:43 DEBUG: Response: {"status":"success"}
2017-04-27 21:45:48 DEBUG: Sending MM Heatbeat
2017-04-27 21:45:48 DEBUG: Response: {"status":"success"}
2017-04-27 21:45:49 DEBUG: Finished play.
2017-04-27 21:45:49 DEBUG: Indicate Stop Playing
2017-04-27 21:45:49 DEBUG: Calling URL: http://localhost:8080/alexapi?action=AVSSTATUS&status=idle
2017-04-27 21:45:49 DEBUG: Response: {"status":"success"}
2017-04-27 21:45:53 DEBUG: Sending MM Heatbeat
2017-04-27 21:45:53 DEBUG: Response: {"status":"success"}
Magic Mirror Running OK:
Connecting socket for: MMM-AlexaPi
Starting node helper for: MMM-AlexaPi
Connecting socket for: updatenotification
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started ...
Fontconfig warning: ignoring UTF-8: not a valid region tag
Launching application.
Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
And Alexa responding fine to commands, I can hear it and it responds well through my HDMI output.
I don't know if this is a CSS issue or HTML displaying in Electron, I attach my debug window as well. For some reason there is no text being written within the <i class="fa fa-microphone fa-stack-1x"></i>
element:
<div class="container" style="display: block;"><br>
<div id="module_1_MMM-AlexaPi" class="module MMM-AlexaPi MMM-AlexaPi">
<div class="module-content">
<div class="normal large light">
<span class="fa fa-stack">
<i class="fa fa-microphone fa-stack-1x"></i>
</span></div></div></div></div>
Screenshot of browser inspector attaced:
Help will be greatly appreciated.
Thanks a lot!
Gerardo
Mexico City
Hy. Ich am Michael.
Ich Installed AlexaPi.I hear Alexa at start And say yes. When i start the mirror, then i cant hear AlexaPi. She is in The Background but i have no voice. I think The mirror Block The voice? Is anyone WHO have the same Problem?
Thanks Michael
Mirror 2.1.1
AlexaPi in /opt installed
Hi
As per the title, can alexapi and magic mirror be run on the same raspberry pi?
Thanks.
Setup:
I installed the module and I'm using the default settings. I see a microphone icon with a line through it but it never changes. Alexa is running and working. I looked in the Alexa config.yaml file but I didn't see anything that I thought needed changing in the module section.
Is there anywhere I can look for errors that might help? Or maybe changing the default settings to something else?
Thanks in advance.
P.S. This Alexa project is amazing! I had a little trouble getting the audio/microphone setup but after that everything has worked pretty flawlessly.
I've got it working. But there are some notable bugs in the playback of audio. As soon as I log in, it says "hello" all broken. It sounds more like "lo oh." Then when it's running and I say "alexa", she sometimes says, "yes?" When I ask the question, she gives the answer broken and unreadable most of the time. Is there a fix for this?
I'm running the Raspbian Full from NOOBS install.
Thoughts?
Hi, I was wondering if you could help me with an error that I cannot work out. It has been since updated MMM-AlexaPi to the current build. I am receiving the following when I sudo systemctl status AlexaPi.service -l
`● AlexaPi.service - Alexa client for all your devices
Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled)
Active: active (running) since Thu 2017-04-13 17:06:00 BST; 22min ago
Docs: https://github.com/alexa-pi/AlexaPi/wiki
Main PID: 559 (python)
CGroup: /system.slice/AlexaPi.service
└─559 /usr/bin/python /opt/AlexaPi/src/main.py --daemon
Apr 13 17:06:46 raspberrypi python[559]: INFO: Connection OK
Apr 13 17:06:46 raspberrypi python[559]: INFO: AVS token: Requesting a new one
Apr 13 17:06:47 raspberrypi python[559]: INFO: AVS token: Obtained successfully
Apr 13 17:06:47 raspberrypi python[559]: ERROR: URLError: [Errno 111] Connection refused
Apr 13 17:06:47 raspberrypi python[559]: ERROR: URLError: [Errno 111] Connection refused
Apr 13 17:06:50 raspberrypi python[559]: ERROR: URLError: [Errno 111] Connection refused
Apr 13 17:06:50 raspberrypi python[559]: ERROR: URLError: [Errno 111] Connection refused
Apr 13 17:06:52 raspberrypi python[559]: ERROR: URLError: [Errno 111] Connection refused
Apr 13 17:06:57 raspberrypi python[559]: ERROR: URLError: [Errno 111] Connection refused
Apr 13 17:07:02 raspberrypi python[559]: ERROR: URLError: [Errno 111] Connection refused
`
I have been advised by the guys over on the AlexaPi gitter that this is to do with the MMM-AlexaPi module, but I can't seem to find a fix, any help would be greatly appreciated.
My "Allowed Origins" and "Allowed Return URL's" are all correct complete with /code
localhost
and 192.168.x.x
both with port 5050
My build has worked previously so I am pretty sure it is something in the updating process?
Added the module to my config file but when I run Magic Mirror all I see is a Microphone crossed out. The status doesn't seem to change at all.
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.