MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Awesome-Alexa isn't working

    Scheduled Pinned Locked Moved Troubleshooting
    17 Posts 2 Posters 3.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      LukeTheWalker
      last edited by LukeTheWalker

      @sdetweil here are all the logs from the console:

      main.js:487 Initializing MagicMirror.
      translator.js:129 Loading core translation file: translations/it.json
      translator.js:154 Loading core translation fallback file: translations/en.json
      loader.js:176 Load script: modules/default/alert//alert.js
      module.js:513 Module registered: alert
      loader.js:148 Bootstrapping module: alert
      loader.js:176 Load script: modules/default/alert/notificationFx.js
      loader.js:153 Scripts loaded for: alert
      loader.js:195 Load stylesheet: modules/default/alert/notificationFx.css
      loader.js:195 Load stylesheet: vendor/css/font-awesome.css
      loader.js:155 Styles loaded for: alert
      translator.js:102 alert - Load translation fallback: translations/en.json
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 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. 
       - http://localhost:8080/css/main.css
      - http://localhost:8080/fonts/roboto.css
      - http://localhost:8080/socket.io/socket.io.js
      - http://localhost:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
      - http://localhost:8080/js/defaults.js
      - http://localhost:8080/config/config.js
      - http://localhost:8080/vendor/vendor.js
      - http://localhost:8080/modules/default/defaultmodules.js
      - http://localhost:8080/js/logger.js
      - http://localhost:8080/translations/translations.js
      - http://localhost:8080/js/translator.js
      - http://localhost:8080/js/class.js
      - http://localhost:8080/js/module.js
      - http://localhost:8080/js/loader.js
      - http://localhost:8080/js/socketclient.js
      - http://localhost:8080/js/main.js
      - http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
      - http://localhost:8080/translations/it.json
      - http://localhost:8080/translations/en.json
      - http://localhost:8080/modules/default/alert//alert.js
      - http://localhost:8080/modules/default/alert/notificationFx.js
      - http://localhost:8080/modules/default/alert/notificationFx.css
      - http://localhost:8080/vendor/css/font-awesome.css
      - http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css
      - http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css
        
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
          Policy set or a policy with "unsafe-eval" enabled. This exposes users of
          this app to unnecessary security risks.
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      (anonymous) @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145
      loader.js:157 Translations loaded for: alert
      loader.js:176 Load script: modules/default/updatenotification//updatenotification.js
      module.js:513 Module registered: updatenotification
      loader.js:148 Bootstrapping module: updatenotification
      loader.js:153 Scripts loaded for: updatenotification
      loader.js:155 Styles loaded for: updatenotification
      loader.js:157 Translations loaded for: updatenotification
      loader.js:176 Load script: modules/default/clock//clock.js
      module.js:513 Module registered: clock
      loader.js:148 Bootstrapping module: clock
      loader.js:176 Load script: vendor/node_modules/moment/min/moment-with-locales.js
      loader.js:176 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
      loader.js:176 Load script: vendor/node_modules/suncalc/suncalc.js
      loader.js:153 Scripts loaded for: clock
      loader.js:195 Load stylesheet: modules/default/clock/clock_styles.css
      loader.js:155 Styles loaded for: clock
      loader.js:157 Translations loaded for: clock
      loader.js:176 Load script: modules/default/calendar//calendar.js
      module.js:513 Module registered: calendar
      loader.js:148 Bootstrapping module: calendar
      loader.js:236 File already loaded: moment.js
      loader.js:153 Scripts loaded for: calendar
      loader.js:195 Load stylesheet: modules/default/calendar/calendar.css
      loader.js:236 File already loaded: font-awesome.css
      loader.js:155 Styles loaded for: calendar
      loader.js:157 Translations loaded for: calendar
      loader.js:176 Load script: modules/default/compliments//compliments.js
      module.js:513 Module registered: compliments
      loader.js:148 Bootstrapping module: compliments
      loader.js:236 File already loaded: moment.js
      loader.js:153 Scripts loaded for: compliments
      loader.js:155 Styles loaded for: compliments
      loader.js:157 Translations loaded for: compliments
      loader.js:176 Load script: modules/default/currentweather//currentweather.js
      module.js:513 Module registered: currentweather
      loader.js:148 Bootstrapping module: currentweather
      loader.js:236 File already loaded: moment.js
      loader.js:153 Scripts loaded for: currentweather
      loader.js:195 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
      loader.js:195 Load stylesheet: modules/default/currentweather/currentweather.css
      loader.js:155 Styles loaded for: currentweather
      loader.js:157 Translations loaded for: currentweather
      loader.js:176 Load script: modules/MMM-awesome-alexa//MMM-awesome-alexa.js
      module.js:513 Module registered: MMM-awesome-alexa
      loader.js:148 Bootstrapping module: MMM-awesome-alexa
      loader.js:153 Scripts loaded for: MMM-awesome-alexa
      loader.js:195 Load stylesheet: modules/MMM-awesome-alexa/styles/global.css
      loader.js:155 Styles loaded for: MMM-awesome-alexa
      loader.js:157 Translations loaded for: MMM-awesome-alexa
      loader.js:176 Load script: modules/default/weatherforecast//weatherforecast.js
      module.js:513 Module registered: weatherforecast
      loader.js:148 Bootstrapping module: weatherforecast
      loader.js:236 File already loaded: moment.js
      loader.js:153 Scripts loaded for: weatherforecast
      loader.js:236 File already loaded: weather-icons.css
      loader.js:195 Load stylesheet: modules/default/weatherforecast/weatherforecast.css
      loader.js:155 Styles loaded for: weatherforecast
      loader.js:157 Translations loaded for: weatherforecast
      loader.js:176 Load script: modules/default/newsfeed//newsfeed.js
      module.js:513 Module registered: newsfeed
      loader.js:148 Bootstrapping module: newsfeed
      loader.js:236 File already loaded: moment.js
      loader.js:153 Scripts loaded for: newsfeed
      loader.js:155 Styles loaded for: newsfeed
      loader.js:157 Translations loaded for: newsfeed
      loader.js:195 Load stylesheet: css/custom.css
      (index):1 Refused to apply style from 'http://localhost:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      loader.js:206 Error on loading stylesheet: css/custom.css
      stylesheet.onerror @ loader.js:206
      alert.js:162 Starting module: alert
      updatenotification.js:19 Start updatenotification
      clock.js:46 Starting module: clock
      calendar.js:81 Starting module: calendar
      compliments.js:38 Starting module: compliments
      currentweather.js:97 Starting module: currentweather
      weatherforecast.js:87 Starting module: weatherforecast
      newsfeed.js:57 Starting module: newsfeed
      main.js:508 All modules started!
      module.js:199 currentweather is suspended.
      module.js:199 weatherforecast is suspended.
      MMM-awesome-alexa.js:1 MMM-awesome-alexa received a notification: idle - Payload: [object Object]
      api.openweathermap.org/data/2.5/forecast/daily?id=2525065&cnt=40&units=metric&lang=it&APPID=8dbb79dbda0a167be34484549a620503:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
      weatherforecast.js:261 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.
      weatherRequest.onreadystatechange @ weatherforecast.js:261
      (index):1 Refused to apply style from 'http://localhost:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      

      The only place where the module is mentioned seems to be when a notification is sent to the module, which remains in idle

      Here is a screen of just the errors and warnings
      2020-11-09-233612_1280x720_scrot.png

      I have in fact one last idea to debug this, could you please send me your MMM-awesome-alexa folder with everything builded and working, in order to try it with my setup ?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @LukeTheWalker
        last edited by

        @LukeTheWalker I am away doing some photography. will be back this weekend, and I will try to package up something

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          LukeTheWalker @sdetweil
          last edited by

          @sdetweil
          Thank you very much, anyway I am really thankful for all the time you spent trying to debug this with me

          Really looking forward this weekend, have some nice shots!

          1 Reply Last reply Reply Quote 0
          • L Offline
            LukeTheWalker
            last edited by

            @sdetweil may I remind you of our discussion?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @LukeTheWalker
              last edited by sdetweil

              @LukeTheWalker thanks for the nudge

              here is a link to the zip of the working MMM-awesome-alexa folder on my pi4.

              https://www.dropbox.com/s/2qma8jcnglbbrcg/alexa.zip?dl=0

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • L Offline
                LukeTheWalker
                last edited by

                @sdetweil update if interested, the problem was with the Bluetooth device I was using, switched to a usb to combo jack adaptor and now it work!

                Any idea on how to play music since amazon music is locked ?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @LukeTheWalker
                  last edited by

                  @LukeTheWalker far as I know, you cannot play music thru the awesome Alexa module.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy