• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

hello lucy

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 3 Posters 1.3k Views 3 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @derick4963
    last edited by Feb 19, 2021, 11:07 PM

    @derick4963 said in hello lucy:

    EADDRINUSE

    You have a conflict with port 8080 that needs to be resolved

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdetweil @derick4963
      last edited by Feb 19, 2021, 11:21 PM

      @derick4963 maybe u have an instance running already w pm2

      pm2 status
      pm2 stop all

      then try your npm start

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Feb 20, 2021, 7:37 AM Reply Quote 0
      • D Offline
        derick4963 @sdetweil
        last edited by Feb 20, 2021, 7:37 AM

        @sdetweil
        @ Mykle1

        I have reformat with clean MM with only Hello-lucy and default module but still getting white mic with ERROR.

        pi@raspberrypi:~/MagicMirror $ npm start dev

        magicmirror@2.14.0 start
        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js “dev”

        [20.02.2021 15:27.50.505] [LOG] Starting MagicMirror: v2.14.0
        [20.02.2021 15:27.50.511] [LOG] Loading config …
        [20.02.2021 15:27.50.516] [LOG] Loading module helpers …
        [20.02.2021 15:27.51.806] [LOG] Initializing new module helper …
        [20.02.2021 15:27.51.808] [LOG] Module helper loaded: Hello-Lucy
        [20.02.2021 15:27.51.810] [LOG] No helper found for module: alert.
        [20.02.2021 15:27.51.925] [LOG] Initializing new module helper …
        [20.02.2021 15:27.51.927] [LOG] Module helper loaded: updatenotification
        [20.02.2021 15:27.51.928] [LOG] No helper found for module: clock.
        [20.02.2021 15:27.52.265] [LOG] Initializing new module helper …
        [20.02.2021 15:27.52.266] [LOG] Module helper loaded: calendar
        [20.02.2021 15:27.52.266] [LOG] No helper found for module: compliments.
        [20.02.2021 15:27.52.267] [LOG] No helper found for module: currentweather.
        [20.02.2021 15:27.52.268] [LOG] No helper found for module: weatherforecast.
        [20.02.2021 15:27.52.288] [LOG] Initializing new module helper …
        [20.02.2021 15:27.52.289] [LOG] Module helper loaded: newsfeed
        [20.02.2021 15:27.52.290] [LOG] All module helpers loaded.
        [20.02.2021 15:27.52.367] [LOG] Starting server on port 8080 …
        [20.02.2021 15:27.52.381] [LOG] Server started …
        [20.02.2021 15:27.52.382] [LOG] Connecting socket for: Hello-Lucy
        [20.02.2021 15:27.52.383] [LOG] Starting module helper: Hello-Lucy
        [20.02.2021 15:27.52.384] [LOG] Connecting socket for: updatenotification
        [20.02.2021 15:27.52.385] [LOG] Connecting socket for: calendar
        [20.02.2021 15:27.52.386] [LOG] Starting node helper for: calendar
        [20.02.2021 15:27.52.387] [LOG] Connecting socket for: newsfeed
        [20.02.2021 15:27.52.388] [LOG] Starting node helper for: newsfeed
        [20.02.2021 15:27.52.389] [LOG] Sockets connected & modules started …
        [20.02.2021 15:27.52.656] [LOG] Launching application.
        [20.02.2021 15:27.52.689] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
        [20.02.2021 15:27.56.904] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
        [20.02.2021 15:27.57.027] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
        [20.02.2021 15:27.57.082] [INFO] Checking git for module: Hello-Lucy
        [20.02.2021 15:27.58.320] [INFO] Newsfeed-Fetcher: Broadcasting 56 items.
        [20.02.2021 15:27.58.952] [INFO] Calendar-Fetcher: Broadcasting 10 events.
        [20.02.2021 15:32.58.623] [INFO] Newsfeed-Fetcher: Broadcasting 56 items.
        [20.02.2021 15:33.00.255] [INFO] Calendar-Fetcher: Broadcasting 10 events.
        ^C
        pi@raspberrypi:~/MagicMirror $

        M 1 Reply Last reply Feb 20, 2021, 3:34 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @derick4963
          last edited by Mykle1 Feb 20, 2021, 8:15 PM Feb 20, 2021, 3:34 PM

          @derick4963 said in hello lucy:

          I have reformat with clean MM with only Hello-lucy and default module but still getting white mic with ERROR.

          I don’t know why you would have done that yet. Did you attempt to rectify the port conflict? Did you follow the instructions given by sdetweil? When given help, it is customary (and polite) to let the helper know if you followed their directions and the result. Anyway . .

          What hardware are you using?
          What OS is on the hardware?
          How did you install MM?

          Run arecord -l in a terminal and post the output.

          Please use a code block when posting any code on the forum. It makes the code much easier to read for people trying to help you.

          Screenshot from 2021-02-20 10-28-07.png

          Click the icon with the yellow box around it and post your code accordingly.

          Create a working config
          How to add modules

          D 1 Reply Last reply Feb 20, 2021, 8:49 PM Reply Quote 0
          • D Offline
            derick4963 @Mykle1
            last edited by sdetweil Feb 20, 2021, 8:58 PM Feb 20, 2021, 8:49 PM

            @mykle1

            pi@raspberrypi:~ $ arecord -l
            **** List of CAPTURE Hardware Devices ****
            card 2: UM02 [UM02], device 0: USB Audio [USB Audio]
              Subdevices: 1/1
              Subdevice #0: subdevice #0
            pi@raspberrypi:~ $ 
            
            

            I don’t know why you would have done that yet. Did you attempt to rectify the port conflict?
            Yes, by changing the the port from 8080 to 8188.

            Did you follow the instructions given by sdetweil?
            Yes, but didnt work.

            When given help, it is customary (and polite) to let the helper know if you followed their directions and the result. Anyway . .
            Sorry first time using the forum and new to all these. Will take note of it when using the forum.

            What hardware are you using?
            raspberry pi 4b, 4GB ram. 32GB sd card

            What OS is on the hardware?
            pi@raspberrypi:~ $ uname -a
            Linux raspberrypi 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux
            pi@raspberrypi:~ $ cat /etc/os-release
            PRETTY_NAME=“Raspbian GNU/Linux 10 (buster)”
            NAME=“Raspbian GNU/Linux”
            VERSION_ID=“10”
            VERSION=“10 (buster)”
            VERSION_CODENAME=buster
            ID=raspbian
            ID_LIKE=debian
            HOME_URL=“http://www.raspbian.org/”
            SUPPORT_URL=“http://www.raspbian.org/RaspbianForums”
            BUG_REPORT_URL=“http://www.raspbian.org/RaspbianBugs”

            How did you install MM?
            By following the offical Magic mirror website

            S M 2 Replies Last reply Feb 20, 2021, 11:11 PM Reply Quote 0
            • S Offline
              sdetweil @derick4963
              last edited by Feb 20, 2021, 11:11 PM

              @derick4963 how did u confirm mic?

              arecord test.wav
              speak something
              ctrl-c to stop recording
              aplay test.wav
              do u hear what u said before,?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Feb 21, 2021, 5:36 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @derick4963
                last edited by Feb 21, 2021, 1:28 AM

                @derick4963 said in hello lucy:

                card 2: UM02 [UM02], device 0: USB Audio [USB Audio]

                Just confirming your microphone entry in the Lucy config entry

                microphone: "2,0", - Yes?

                Create a working config
                How to add modules

                D 1 Reply Last reply Feb 21, 2021, 6:25 AM Reply Quote 0
                • D Offline
                  derick4963 @sdetweil
                  last edited by Feb 21, 2021, 5:36 AM

                  @sdetweil said in hello lucy:

                  aplay test.wav

                  Yes i have record and able to hear the recoded audio.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    derick4963 @Mykle1
                    last edited by Feb 21, 2021, 6:25 AM

                    @mykle1

                    Yes

                    below is my config

                    	{
                    disabled: false,
                    module: "Hello-Lucy",
                    position: "top_center",
                    config: {
                        keyword: 'HELLO LUCY',              // keyword to activate listening for a command/sentence
                        timeout: 15,                        // timeout listening for a command/sentence
                        standByMethod: 'DPMS',              // 'DPMS' = anything else than RPi or 'PI'
                        microphone: "2,0",                  // run "arecord -l" card # and device # mine is "0,0"
                        sounds: ["1.mp3", "11.mp3"],        // welcome sound at startup. Add several for a random greetings
                        confirmationSound: "ding.mp3",      // name and extension of sound file
                        startHideAll: true,                 // All modules start as hidden EXCEPT PAGE ONE
                        //*** Page One is your default startup page *** This overrides startHideAll: true,
                        pageOneModules: ["Hello-Lucy","MMM-EasyPix"],                     // default modules to show on page one/startup
                        //pageTwoModules: ["Hello-Lucy", "MMM-BMW-DS", "MMM-EventHorizon"], // modules to show on page two
                        //pageThreeModules: ["Hello-Lucy", "MMM-Lunartic"],                 // modules to show on page three
                        //pageFourModules: ["Hello-Lucy", "MMM-PC-Stats"],                  // modules to show on page four
                        //pageFiveModules: ["Hello-Lucy", "MMM-Searchlight"],               // modules to show on page five
                        //pageSixModules: ["Hello-Lucy", "MMM-NOAA3"],                      // modules to show on page six
                        //pageSevenModules: ["Hello-Lucy", "MMM-Recipe"],                   // modules to show on page seven
                        //pageEightModules: ["Hello-Lucy", "MMM-rfacts"],                   // modules to show on page eight
                        //pageNineModules: ["Hello-Lucy", "MMM-History"],                   // modules to show on page nine
                        //pageTenModules: ["Hello-Lucy", "MMM-HardwareMonitor"]             // modules to show on page ten
                        }
                    },
                    
                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    1 / 2
                    • First post
                      8/12
                      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