dolanmiu / MMM-awesome-alexa

Turn your MagicMirror into an 'Amazon Echo'. Activated when you say 'Alexa'.
https://awesome-alexa.js.org
MIT License
157 stars 51 forks source link

alexa not responding #177

Open aak2003 opened 5 years ago

aak2003 commented 5 years ago

/ Magic Mirror Config Sample

var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

language: "en",
timeFormat: 24,
units: "metric",

modules: [

    {
        module: "updatenotification",
        position: "top_bar"
    },
    {
        module: "clock",
        position: "top_left"
    },
    {
        module: "calendar",
        header: "Indian Holidays",
        position: "top_left",
        config: {
            calendars: [
                {
                    symbol: "calendar-check",
                    url: "webcal://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics"                    }
            ]
        }
    },
    {
        module: "currentweather",
        position: "top_right",
        config: {
            location: "Chennai,India",
            locationID: "1264527",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            appid: ""
        }
    },
            {
            module: 'MMM-Screencast',
            position: 'center', // This position is for a hidden <div /> and not the screencast window
            config: {
                 position: 'center',
                 height: 400,
                 width: 500,}
             },
             {
        module: "weatherforecast",
        position: "top_right",
        header: "Weather Forecast",
        config: {
            location: "Chennai,India",
            locationID: "1264527",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
            appid: ""
        }
    },
            {       module: 'MMM-awesome-alexa',
                    position: 'bottom_bar',
                    config:
                     { wakeWord: 'Alexa',
                       clientId:
                         '',
                       clientSecret:'',
                       deviceId: '',
                       refreshToken:'',
                       lite: false,
                       isSpeechVisualizationEnabled: true } 
            },
            {

            module: 'MMM-Times-Of-India-Feed',
        position: "bottom_bar",
        showSourceTitle: true,
        showPublishDate: true,

    },
]

};

/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") {module.exports = config;}

this is my config file... all blanks are filled... when i say alexa there is no response please help.... when installing snowboy also there were some errors. please help me i am using raspberry pi 3

ricardpous commented 5 years ago

Hello, check if you are put correctly Client ID "is ubicated on a diferent screen" (not Amazon ID) for adquiere the tokens. I lose 2-3 hours for these.. if the tokens are not good the aplication not work.

aak2003 commented 5 years ago

Yes it is there..I have put it correctly

On Thu, Aug 15, 2019, 4:54 AM ricardpous notifications@github.com wrote:

Hello, check if you are put correctly Client ID "is ubicated on a diferent screen" (not Amazon ID) for adquiere the tokens. I lose 2-3 hours for these.. if the tokens are not good the aplication not work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dolanmiu/MMM-awesome-alexa/issues/177?email_source=notifications&email_token=AHWUZUKL5BCX62BUDQN7AMLQESH37A5CNFSM4IK5YTM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4KMSKY#issuecomment-521455915, or mute the thread https://github.com/notifications/unsubscribe-auth/AHWUZUOQ2VTXVOMKKLELJCDQESH37ANCNFSM4IK5YTMQ .

djcors commented 5 years ago

i got same problem { module: 'MMM-awesome-alexa', position: 'bottom_bar', config: { wakeWord: 'Alexa', clientId:'amzn1.application-oa2-client.xxxxxxxxxxxx', clientSecret:'xxxxxxxxxxxxxxxxx', deviceId: 'PrototypePi', refreshToken:'xxxxxxxxxx', lite: false, isSpeechVisualizationEnabled: true } }

Alexa settings its OK -> sampleapp from avs-device-sdk works correctly, same Alexa configuration

MagicMirror its ok-> another modules like calendar, newsfeed, etc works correctly

Electron warnings:

Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
    protocols.This exposes users of this app to unnecessary security risks.
    Consider loading the following resources over HTTPS or FTPS