Giter Site home page Giter Site logo

mmm-alexapi's People

Contributors

dgonano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mmm-alexapi's Issues

MMM-AlexaPi not showing in Magic Mirror v2.1.1

Hi dgonano

  • I updated my MagicMirror to version 2.1.1
  • Then I installed AlexaPi, got it working on debug mode and service mode.
  • I downloaded MMM-AlexaPi, installed the module and configured the Mirror
  • Configured AlexaPi tu output for 'magicmirror' instead of 'raspberrypi'

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:

screen shot 2017-04-27 at 9 36 03 pm

Help will be greatly appreciated.

Thanks a lot!

Gerardo
Mexico City

AlexaPi Sound problems

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

[Solved] Icon not changing on magic mirror module

Setup:

  • raspbian: jessie (full version with pixel)
  • raspberry pi 2
  • Installed Alexa (via https://github.com/alexa-pi/AlexaPi/)
  • Usb microphone
  • Using hdmi monitor speakers
  • Uninstalled pulse audio to get Alexa to work

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.

Choppy Audio

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?

Connection Refused Error: Alexa pi

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?

Microphone icon?

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.

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.