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-AlexaPi

    Scheduled Pinned Locked Moved Solved Troubleshooting
    48 Posts 8 Posters 35.2k Views 9 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.
    • D Offline
      Davepre
      last edited by

      For what its worth, I have posted the log below. I cannot find anything wrong with it.

      Best regards/ Dave

      main.js:408 Initializing MagicMirror.
      translator.js:182 Loading core translation file: translations/en.json
      translator.js:204 Loading core translation fallback file: translations/en.json
      loader.js:182 Load script: modules/MMM-AlexaPi//MMM-AlexaPi.js
      module.js:407 Check MagicMirror version for module 'MMM-AlexaPi' - Minimum version:  2.0.0 - Current version: 2.1.0
      module.js:409 Version is ok!
      module.js:415 Module registered: MMM-AlexaPi
      loader.js:152 Bootstrapping module: MMM-AlexaPi
      loader.js:157 Scripts loaded for: MMM-AlexaPi
      loader.js:159 Styles loaded for: MMM-AlexaPi
      loader.js:161 Translations loaded for: MMM-AlexaPi
      loader.js:182 Load script: modules/motiondetector//motiondetector.js
      module.js:415 Module registered: motiondetector
      loader.js:152 Bootstrapping module: motiondetector
      loader.js:182 Load script: modules/motiondetector//diff-cam-engine.js
      loader.js:157 Scripts loaded for: motiondetector
      loader.js:159 Styles loaded for: motiondetector
      loader.js:161 Translations loaded for: motiondetector
      loader.js:182 Load script: modules/default/alert//alert.js
      module.js:415 Module registered: alert
      loader.js:152 Bootstrapping module: alert
      loader.js:182 Load script: modules/default/alert//classie.js
      loader.js:182 Load script: modules/default/alert//modernizr.custom.js
      loader.js:182 Load script: modules/default/alert//notificationFx.js
      loader.js:157 Scripts loaded for: alert
      loader.js:192 Load stylesheet: modules/default/alert//ns-default.css
      loader.js:159 Styles loaded for: alert
      translator.js:155 alert - Load translation fallback: translations/en.json
      loader.js:161 Translations loaded for: alert
      loader.js:182 Load script: modules/default/updatenotification//updatenotification.js
      module.js:415 Module registered: updatenotification
      loader.js:152 Bootstrapping module: updatenotification
      loader.js:157 Scripts loaded for: updatenotification
      loader.js:159 Styles loaded for: updatenotification
      loader.js:161 Translations loaded for: updatenotification
      loader.js:182 Load script: modules/default/clock//clock.js
      module.js:415 Module registered: clock
      loader.js:152 Bootstrapping module: clock
      loader.js:182 Load script: vendor/moment/moment-with-locales.js
      loader.js:182 Load script: vendor/moment/moment-timezone.js
      loader.js:157 Scripts loaded for: clock
      loader.js:192 Load stylesheet: modules/default/clock//clock_styles.css
      loader.js:159 Styles loaded for: clock
      loader.js:161 Translations loaded for: clock
      loader.js:182 Load script: modules/default/calendar//calendar.js
      module.js:415 Module registered: calendar
      loader.js:152 Bootstrapping module: calendar
      loader.js:227 File already loaded: moment.js
      loader.js:157 Scripts loaded for: calendar
      loader.js:192 Load stylesheet: modules/default/calendar//calendar.css
      loader.js:192 Load stylesheet: vendor/font-awesome-4.5.0/css/font-awesome.min.css
      loader.js:159 Styles loaded for: calendar
      loader.js:161 Translations loaded for: calendar
      loader.js:182 Load script: modules/default/compliments//compliments.js
      module.js:415 Module registered: compliments
      loader.js:152 Bootstrapping module: compliments
      loader.js:227 File already loaded: moment.js
      loader.js:157 Scripts loaded for: compliments
      loader.js:159 Styles loaded for: compliments
      loader.js:161 Translations loaded for: compliments
      loader.js:182 Load script: modules/default/currentweather//currentweather.js
      module.js:415 Module registered: currentweather
      loader.js:152 Bootstrapping module: currentweather
      loader.js:227 File already loaded: moment.js
      loader.js:157 Scripts loaded for: currentweather
      loader.js:192 Load stylesheet: vendor/weather-icons/css/weather-icons.css
      loader.js:192 Load stylesheet: modules/default/currentweather//currentweather.css
      loader.js:159 Styles loaded for: currentweather
      loader.js:161 Translations loaded for: currentweather
      loader.js:182 Load script: modules/default/weatherforecast//weatherforecast.js
      module.js:415 Module registered: weatherforecast
      loader.js:152 Bootstrapping module: weatherforecast
      loader.js:227 File already loaded: moment.js
      loader.js:157 Scripts loaded for: weatherforecast
      loader.js:227 File already loaded: weather-icons.css
      loader.js:192 Load stylesheet: modules/default/weatherforecast//weatherforecast.css
      loader.js:159 Styles loaded for: weatherforecast
      loader.js:161 Translations loaded for: weatherforecast
      loader.js:182 Load script: modules/default/newsfeed//newsfeed.js
      module.js:415 Module registered: newsfeed
      loader.js:152 Bootstrapping module: newsfeed
      loader.js:227 File already loaded: moment.js
      loader.js:157 Scripts loaded for: newsfeed
      loader.js:159 Styles loaded for: newsfeed
      loader.js:161 Translations loaded for: newsfeed
      loader.js:192 Load stylesheet: css/custom.css
      MMM-AlexaPi.js:22 Starting module: MMM-AlexaPi
      motiondetector.js:26 Starting module: motiondetector
      alert.js:150 Starting module: alert
      updatenotification.js:10 Start updatenotification
      clock.js:38 Starting module: clock
      calendar.js:63 Starting module: calendar
      compliments.js:111 Starting module: compliments
      currentweather.js:89 Starting module: currentweather
      weatherforecast.js:87 Starting module: weatherforecast
      newsfeed.js:50 Starting module: newsfeed
      main.js:426 All modules started!
      module.js:117 motiondetector received a system notification: ALL_MODULES_STARTED
      module.js:117 clock received a system notification: ALL_MODULES_STARTED
      module.js:117 calendar received a system notification: ALL_MODULES_STARTED
      module.js:117 newsfeed received a system notification: ALL_MODULES_STARTED
      module.js:117 motiondetector received a system notification: DOM_OBJECTS_CREATED
      module.js:117 clock received a system notification: DOM_OBJECTS_CREATED
      module.js:117 calendar received a system notification: DOM_OBJECTS_CREATED
      module.js:117 newsfeed received a system notification: DOM_OBJECTS_CREATED
      module.js:135 updatenotification is suspended.
      module.js:135 currentweather is suspended.
      module.js:135 weatherforecast is suspended.
      module.js:142 currentweather is resumed.
      MMM-AlexaPi.js:34 MMM-AlexaPi received a module notification: CURRENTWEATHER_DATA from sender: currentweather
      module.js:115 motiondetector received a module notification: CURRENTWEATHER_DATA from sender: currentweather
      module.js:115 clock received a module notification: CURRENTWEATHER_DATA from sender: currentweather
      module.js:115 calendar received a module notification: CURRENTWEATHER_DATA from sender: currentweather
      module.js:115 newsfeed received a module notification: CURRENTWEATHER_DATA from sender: currentweather
      MMM-AlexaPi.js:34 MMM-AlexaPi received a module notification: CALENDAR_EVENTS from sender: calendar
      module.js:115 motiondetector received a module notification: CALENDAR_EVENTS from sender: calendar
      module.js:115 clock received a module notification: CALENDAR_EVENTS from sender: calendar
      module.js:115 newsfeed received a module notification: CALENDAR_EVENTS from sender: calendar
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      module.js:142 weatherforecast is resumed.
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      motiondetector.js:71 score:0
      MMM-AlexaPi.js:34 MMM-AlexaPi received a module notification: CALENDAR_EVENTS from sender: calendar
      module.js:115 motiondetector received a module notification: CALENDAR_EVENTS from sender: calendar
      module.js:115 clock received a module notification: CALENDAR_EVENTS from sender: calendar
      module.js:115 newsfeed received a module notification: CALENDAR_EVENTS from sender: calendar
      motiondetector.js:71 score:0
      
      lucallmonL 1 Reply Last reply Reply Quote 0
      • lucallmonL Offline
        lucallmon @Davepre
        last edited by

        @Davepre ask for help here: https://gitter.im/alexa-pi/Lobby
        These guys helped me. I recommend installing v1.4, instead of the current 1.5. Then during installation, install it as magicmirror instead of raspberrypi. After installation, open the config.yaml file and change the output handler from vlc to sox.

        D johnnyboyJ 2 Replies Last reply Reply Quote 1
        • D Offline
          Davepre @lucallmon
          last edited by

          @lucallmon Thanks for the recommendation! I will give it a try and report back!

          Best regards / David

          1 Reply Last reply Reply Quote 0
          • johnnyboyJ Offline
            johnnyboy @lucallmon
            last edited by johnnyboy

            This post is deleted!
            D 1 Reply Last reply Reply Quote 0
            • D Offline
              Davepre @johnnyboy
              last edited by

              @johnnyboy I will report back once I got the chance to test it out tonight. I am still stuck at work but hope to have positive news still later on.

              Best regards / David

              johnnyboyJ 1 Reply Last reply Reply Quote 1
              • johnnyboyJ Offline
                johnnyboy @Davepre
                last edited by johnnyboy

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • D Offline
                  Davepre
                  last edited by

                  Hi everyone, heres to report that I was successful.
                  In a nutshell i did exactly what @lucallmon recommended but for others to follow my procedures in order to fix this issue i will go step by step.

                  Initially I had installed AlexaPi on the raspberry pi 3 and during the installation process i was asked to name the platform. Since its a pi i selected “raspberrypi” which (looking back now) seemed to have caused the issue.

                  However as a first step I changed the Output handler from “vlc” to “sox” to see whether that would do the trick:

                  I opened the console and typed in

                  Sudo nano /etc/opt/AlexaPi/config.yaml
                  

                  Under the 4th paragraph there is the line “playback_handler: “vlc””

                  I changed “vlc” to read “sox”

                  (At this stage i saved, restarted and noticed that i could run magic mirror and alexa would also respond but the mic icon was still crossed out so i went back to config.yaml again and continued as follows)

                  Furthermore the device named in the config file was still “raspberrypi” and i wanted to change that too.

                  So wherever I saw the words "device: “raspberrypi” i changed that simply to “device: “magicmirror””

                  I changed 4 entries in total:

                  • In the “sound” paragraph in the very beginning (line 3 of the paragraph),
                  • in the paragraph following the playback_handler (line 4 of the paragraph ) “# output device:…”
                  • 2 paragraphs below that (line 1 of the paragraph ) "# some device:…#
                  • and finally towards the bottom theres a paragraph called “Platform” (line 2 of the paragraph )

                  After changing those lines I hit ctrl, x confirmed to save the file with yes and confirmed the file name with enter.

                  I rebooted the pi and started up magic mirror and now everything is working!!!

                  One thing to note though is that the changing from “vlc” to “sox” in my case caused alexa not to greet me with “hello” upon startup anymore. But since everything else seems to be working now I can live with that.

                  Hope this helps everyone who encounters a similar problem. Thanks again for all the tips!

                  Best regards / Dave

                  johnnyboyJ lucallmonL 3 Replies Last reply Reply Quote 3
                  • johnnyboyJ Offline
                    johnnyboy @Davepre
                    last edited by johnnyboy

                    This post is deleted!
                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cyberphox @johnnyboy
                      last edited by

                      @johnnyboy i reinstalled the module and selected MagicMirror as the device and its been working since. I’ll be switching to my Kinobo USB mic this weekend…

                      Full time Dad, DJ and entertainer and lover of technology.

                      lucallmonL johnnyboyJ 2 Replies Last reply Reply Quote 0
                      • lucallmonL Offline
                        lucallmon @cyberphox
                        last edited by

                        Solid! Good job guys!

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 1 / 5
                        • 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