MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. derick4963
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Groups 0

    derick4963

    @derick4963

    0
    Reputation
    1
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    derick4963 Unfollow Follow

    Latest posts made by derick4963

    • RE: hello lucy

      @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
          }
      },
      
      posted in Troubleshooting
      D
      derick4963
    • RE: hello lucy

      @sdetweil said in hello lucy:

      aplay test.wav

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

      posted in Troubleshooting
      D
      derick4963
    • RE: hello lucy

      @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

      posted in Troubleshooting
      D
      derick4963
    • RE: hello lucy

      @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 $

      posted in Troubleshooting
      D
      derick4963
    • RE: voice module help

      @sdetweil

      pi@raspberrypi:~ $ cd MagicMirror/
      pi@raspberrypi:~/MagicMirror $ npm run config:check

      magicmirror@2.14.0 config:check
      node js/check_config.js

      [20.02.2021 14:41.49.393] [INFO] Checking file… /home/pi/MagicMirror/config/config.js
      [20.02.2021 14:41.49.487] [INFO] Your configuration file doesn’t contain syntax errors :)
      pi@raspberrypi:~/MagicMirror $

      posted in Troubleshooting
      D
      derick4963
    • RE: voice module help

      @sdetweil

      Tested the mic and speaker is working

      Below is the pm2 log

      pi@raspberrypi:~ $ pm2 log
      [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 15 lines:
      PM2 | 2021-02-19T03:13:56: PM2 log: Stopping app:mm id:0
      PM2 | 2021-02-19T03:13:56: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2 | 2021-02-19T03:13:56: PM2 log: pid=6721 msg=process killed
      PM2 | 2021-02-19T03:13:56: PM2 log: App [mm:0] starting in -fork mode-
      PM2 | 2021-02-19T03:13:56: PM2 log: App [mm:0] online
      PM2 | 2021-02-19T03:16:29: PM2 log: Stopping app:mm id:0
      PM2 | 2021-02-19T03:16:29: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2 | 2021-02-19T03:16:29: PM2 log: pid=7359 msg=process killed
      PM2 | 2021-02-19T03:16:29: PM2 log: App [mm:0] starting in -fork mode-
      PM2 | 2021-02-19T03:16:29: PM2 log: App [mm:0] online
      PM2 | 2021-02-19T03:18:25: PM2 log: Stopping app:mm id:0
      PM2 | 2021-02-19T03:18:25: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2 | 2021-02-19T03:18:25: PM2 log: pid=7508 msg=process killed
      PM2 | 2021-02-19T03:18:25: PM2 log: App [mm:0] starting in -fork mode-
      PM2 | 2021-02-19T03:18:25: PM2 log: App [mm:0] online

      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm |
      0|mm | SyntaxError: Unexpected token ‘]’
      0|mm | at Module._compile (internal/modules/cjs/loader.js:896:18)
      0|mm | at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10)
      0|mm | at Module.load (internal/modules/cjs/loader.js:816:32)
      0|mm | at Module._load (internal/modules/cjs/loader.js:728:14)
      0|mm | at Function.Module._load (electron/js2c/asar.js:748:26)
      0|mm | at Module.require (internal/modules/cjs/loader.js:853:19)
      0|mm | at require (internal/modules/cjs/helpers.js:74:18)
      0|mm | at loadConfig (/home/pi/MagicMirror/js/app.js:70:12)
      0|mm | at App.start (/home/pi/MagicMirror/js/app.js:217:3)
      0|mm | at Object. (/home/pi/MagicMirror/js/electron.js:129:7)
      0|mm | [19.02.2021 03:16.32.176] [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
      0|mm | [19.02.2021 03:18.28.111] [WARN] You’re using a full whitelist configuration to allow for all IPs
      0|mm | [19.02.2021 03:18.28.414] [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

      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      0|mm | [19.02.2021 03:18.28.119] [LOG] Connecting socket for: MMM-Page-Selector
      0|mm | [19.02.2021 03:18.28.120] [LOG] Connecting socket for: updatenotification
      0|mm | [19.02.2021 03:18.28.121] [LOG] Connecting socket for: calendar
      0|mm | [19.02.2021 03:18.28.122] [LOG] Starting node helper for: calendar
      0|mm | [19.02.2021 03:18.28.123] [LOG] Connecting socket for: newsfeed
      0|mm | [19.02.2021 03:18.28.124] [LOG] Starting node helper for: newsfeed
      0|mm | [19.02.2021 03:18.28.124] [LOG] Sockets connected & modules started …
      0|mm | [19.02.2021 03:18.28.382] [LOG] Launching application.
      0|mm | [19.02.2021 03:18.30.718] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
      0|mm | [19.02.2021 03:18.30.742] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      0|mm | [19.02.2021 03:18.30.835] [INFO] Checking git for module: MMM-page-indicator
      0|mm | [19.02.2021 03:18.30.838] [INFO] Checking git for module: MMM-Page-Selector
      0|mm | [19.02.2021 03:18.30.839] [INFO] Checking git for module: MMM-Voice-Commands
      0|mm | [19.02.2021 03:18.31.483] [INFO] Newsfeed-Fetcher: Broadcasting 62 items.
      0|mm | [19.02.2021 03:18.32.670] [INFO] Calendar-Fetcher: Broadcasting 10 events.

      Below is my config file

      {
      module: ‘MMM-page-indicator’,
      position: ‘bottom_bar’,
      config: {
      pages: 4,
      }
      },

      {
      module: “MMM-Page-Selector”,
      position: “top_center”,
      config: {
      defaultPage: “main”,
      displayTitle: true,
      selectPageNotif: [“SELECT_PAGE”],
      incrementPageNotif: [“PAGE_UP”],
      decrementPageNotif: [“PAGE_DOWN”],
      persistentPages: true,

          }
      

      },

      {
      module: “MMM-Voice-Commands”,
      config: {
      debug: true, //Displays end results and errors from annyang in the Log
      autoStart: true, //Adds annyang commands when it first starts
      activateCommand: “hello mirror”, //Command to active all other commands
      deactivateCommand: “goodbye mirror”, //Command to deactivate all other commands
      alertHeard: true, //Whether an alert should be shown when annyang hears a phrase (mostly for debug)
      commands: {
      // “command statement :variable (optional statement)”: //“SOCKET_NOTIFICATION_NAME”,
      //The payload of the socket notification will be whatever is said in the :variable
      //“command statement *variable”: function(param){
      //alert("Whatever is said in the *variable space is given as the "+param);
      //These function’s ‘this’ are bound to the module’s ‘this’ so you can do stuff like:
      //this.sendNotification(“PAGE_SELECT”, “2”);
      “go to (page) :number”: “PAGE_SELECT”,
      “switch to (the) :page (page)”: “PAGE_SELECT”
      }
      }
      },

      	{
      		module: "alert",
      	},
      	{
      		module: "updatenotification",
      		position: "top_bar",
      	},
      	{
      		module: "clock",
      		name: "clock_module",
      		//pages: {"main": "top_left", "weather": "top_left"}
      		position: "top_left",			//module position is determine by page config
      	},
      
      
      {
      		module: "calendar",
      		name: "calendar_module",
      		header: "US Holidays",
      		position: "top_left",			//module position is determine by page config
      		config: {
      			calendars: [
      				{
      					symbol: "calendar-check",
      					url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"					}
      			]
      		}
      	},
      	{
      		module: "compliments",
      		name: "compliments_module",
      		position: "lower_third",
      	},
      	{
      		module: "currentweather",
      		name: "currentweather_module",
      		position: "top_right",		//module position is determine by page config
      		config: {
      			location: "New York",
      			locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      			appid: "YOUR_OPENWEATHER_API_KEY"
      		}
      	},
      	{
      		module: "weatherforecast",
      		name: "weatherforcast_module",
      		position: "top_right",		//module position is determine by page config
      		header: "Weather Forecast",
      		config: {
      			location: "New York",
      			locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      			appid: "YOUR_OPENWEATHER_API_KEY"
      		}
      	},
      	{
      		module: "newsfeed",
      		name: "newsfeed_module",
      		position: "bottom_bar",
      		config: {
      			feeds: [
      				{
      					title: "New York Times",
      					url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      				}
      			],
      			showSourceTitle: true,
      			showPublishDate: true,
      			broadcastNewsFeeds: true,
      			broadcastNewsUpdates: true
      		}
      	},	
      	
      ],
      

      pages: {
      main: {
      “clock”: “top_right”,
      “calendar_module”: “top_left”
      },
      compliment: {
      “compliments_module”: “lower_third”
      },
      weather: {
      “currentweather_module”: “top_left”,
      “weatherforcast_module”: “top_left”
      },

      information:	{
      		"newsfeed_module": "bottom_bar"
      		},
      

      },
      exclusions: {
      “MMM-page-indicator”: “bottom_bar”
      },

      @sdetweil said in voice module help:

      @derick4963 gotta get the voice command to work 1st…

      can u show any messages in the window where u start mm.

      npm start
      or if using pm2, pm2 logs
      command

      posted in Troubleshooting
      D
      derick4963
    • RE: hello lucy

      @mykle1

      I am new to programing stuff and MM. Not sure if the below log useful.

      Once i started MM, there is green color mic icon with command please then just a sec become white color mic icon with error

      WhatsApp Image 2021-02-19 at 02.27.56.jpeg

      Below is the log
      pi@raspberrypi:~/MagicMirror $ npm start dev

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

      [19.02.2021 02:17.31.097] [LOG] Starting MagicMirror: v2.14.0
      [19.02.2021 02:17.31.103] [LOG] Loading config …
      [19.02.2021 02:17.31.109] [LOG] Loading module helpers …
      [19.02.2021 02:17.31.111] [LOG] No helper found for module: MMM-ViewNotifications.
      [19.02.2021 02:17.32.415] [LOG] Initializing new module helper …
      [19.02.2021 02:17.32.416] [LOG] Module helper loaded: Hello-Lucy
      [19.02.2021 02:17.32.418] [LOG] No helper found for module: alert.
      [19.02.2021 02:17.32.554] [LOG] Initializing new module helper …
      [19.02.2021 02:17.32.555] [LOG] Module helper loaded: updatenotification
      [19.02.2021 02:17.32.557] [LOG] No helper found for module: clock.
      [19.02.2021 02:17.32.905] [LOG] Initializing new module helper …
      [19.02.2021 02:17.32.906] [LOG] Module helper loaded: calendar
      [19.02.2021 02:17.32.906] [LOG] No helper found for module: compliments.
      [19.02.2021 02:17.32.907] [LOG] No helper found for module: currentweather.
      [19.02.2021 02:17.32.908] [LOG] No helper found for module: weatherforecast.
      [19.02.2021 02:17.32.930] [LOG] Initializing new module helper …
      [19.02.2021 02:17.32.930] [LOG] Module helper loaded: newsfeed
      [19.02.2021 02:17.32.931] [LOG] All module helpers loaded.
      [19.02.2021 02:17.33.031] [LOG] Starting server on port 8080 …
      [19.02.2021 02:17.33.040] [WARN] You’re using a full whitelist configuration to allow for all IPs
      [19.02.2021 02:17.33.050] [LOG] Server started …
      [19.02.2021 02:17.33.051] [LOG] Connecting socket for: Hello-Lucy
      [19.02.2021 02:17.33.052] [LOG] Starting module helper: Hello-Lucy
      [19.02.2021 02:17.33.053] [LOG] Connecting socket for: updatenotification
      [19.02.2021 02:17.33.054] [LOG] Connecting socket for: calendar
      [19.02.2021 02:17.33.055] [LOG] Starting node helper for: calendar
      [19.02.2021 02:17.33.056] [LOG] Connecting socket for: newsfeed
      [19.02.2021 02:17.33.056] [LOG] Starting node helper for: newsfeed
      [19.02.2021 02:17.33.057] [LOG] Sockets connected & modules started …
      [19.02.2021 02:17.33.326] [ERROR] Whoops! There was an uncaught exception…
      [19.02.2021 02:17.33.333] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
      at Server.setupListenHandle [as _listen2] (net.js:1300:14)
      at listenInCluster (net.js:1348:12)
      at GetAddrInfoReqWrap.doListen [as callback] (net.js:1487:7)
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {
      code: ‘EADDRINUSE’,
      errno: ‘EADDRINUSE’,
      syscall: ‘listen’,
      address: ‘127.0.0.1’,
      port: 8080
      }
      [19.02.2021 02:17.33.335] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [19.02.2021 02:17.33.335] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [19.02.2021 02:17.33.353] [LOG] Launching application.
      [19.02.2021 02:17.33.397] [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
      [19.02.2021 02:18.24.112] [LOG] Shutting down server…
      [19.02.2021 02:18.24.117] [LOG] Stopping module helper: Hello-Lucy
      [19.02.2021 02:18.24.118] [LOG] Stopping module helper: updatenotification
      [19.02.2021 02:18.24.120] [LOG] Stopping module helper: calendar
      [19.02.2021 02:18.24.122] [LOG] Stopping module helper: newsfeed

      posted in Troubleshooting
      D
      derick4963
    • hello lucy

      hello lucy does not respond to the hotword that has been preconfig and i have confirm the mic and pseaker is working too.

      posted in Troubleshooting
      D
      derick4963
    • voice module help

      After installing the mmm-voice-commands module, the hello mirror hotword dont seem to be working. i have install MMM-Page-Selector using voice command to change the page but dont seem to work too.

      posted in Troubleshooting
      D
      derick4963