A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MMM-NowPlayingOnSpotify - retrieveCurrentlyPlaying

    1
    0 Votes
    1 Posts
    225 Views
    J
    I have a problem with this module. The module itself runs fine, but this message is breaking my magic mirror, as it is flooding my log and creating huge docker logs files (4.1 tb). How do I suppress this message or make it go away? git pull & npm install says that is nothing to update. Running docker image. {"log":"[2020-06-12 23:12:23.838] [ERROR] TypeError: Cannot read property 'retrieveCurrentlyPlaying' of undefined\r\n","stream":"stdout","time":"2020-06-13T04:12:23.841885149Z"} {"log":" at Class.retrieveCurrentSong (/opt/magic_mirror/modules/MMM-NowPlayingOnSpotify/node_helper.js:29:20)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.847190262Z"} {"log":" at Class.socketNotificationReceived (/opt/magic_mirror/modules/MMM-NowPlayingOnSpotify/node_helper.js:22:14)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.859870587Z"} {"log":" at Socket.\u003canonymous\u003e (/opt/magic_mirror/js/node_helper.js:113:11)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.862610449Z"} {"log":" at Socket.emit (events.js:182:13)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.864744237Z"} {"log":" at /opt/magic_mirror/node_modules/socket.io/lib/socket.js:528:12\r\n","stream":"stdout","time":"2020-06-13T04:12:23.867760099Z"} {"log":" at process.internalTickCallback (internal/process/next_tick.js:70:11)\r\n","stream":"stdout","time":"2020-06-13T04:12:23.868429924Z"}
  • Hide module based on content | MMM-AfterShip

    1
    0 Votes
    1 Posts
    263 Views
    P
    Hi everyone, I would like to hide the AfterShip module once there are no active deliveries to be tracked. As far as I can tell, the existing code already checks for a certain threshold of maximum allowed trackings at the same time: for (var t in this.shipments) { var shipments = this.shipments[t]; displayedParcels++; if (displayedParcels > this.config.maximumEntries){ break; } var row = document.createElement("tr"); table.appendChild(row); ... } I thought of something like this to check for the number of active deliveries and hide the module if there are none: for (var t in this.shipments) { var shipments = this.shipments[t]; displayedParcels++; if (displayedParcels > this.config.maximumEntries){ break } else if (displayedParcels = 0 ){ this.hide() } else { this.show() } var row = document.createElement("tr"); table.appendChild(row); ... } Unfortunately this does not work. Any ideas how to hide a module based on the content? Many thanks in advance!
  • Config code not working?

    8
    0 Votes
    8 Posts
    1k Views
    S
    @johnnyboy https://forum.magicmirror.builders/topic/6808/css-101-getting-started-with-css-and-understanding-how-css-works?_=1592231548825
  • 3-Day Forecast Location

    4
    0 Votes
    4 Posts
    926 Views
    S
    @blacter could make the results very different!! thanks for the feedback
  • Mirror display not showing changes made to config filedock

    9
    0 Votes
    9 Posts
    2k Views
    P
    I’ve given up docker. Runs fine with standard install. I’ll try docker with my next MM.
  • Calendar module is not working right

    8
    0 Votes
    8 Posts
    1k Views
    YannikZockerY
    @sdetweil yes default and with a Google Calendar cal and a Cal for Holidays
  • No 3rd party modules working

    5
    0 Votes
    5 Posts
    1k Views
    S
    @jocke-almgren no problem, just MOVE the folder out of there cd ~/MagicMirror/modules/default mv MMM-JokeAPI .. then restart mm again
  • Update?

    Moved
    2
    0 Votes
    2 Posts
    493 Views
    StoffbeuteluweS
    @magicmonkey https://github.com/ferferga/MMM-GoogleCast
  • Module Current Weather Hidden on Start Up

    10
    0 Votes
    10 Posts
    2k Views
    Mykle1M
    @Stoffbeuteluwe said in Module Current Weather Hidden on Start Up: mmm-earth and mmm-lunartic are nice modules Hey, thanks for the commendation! :thumbsup:
  • module: remote control issue

    4
    0 Votes
    4 Posts
    963 Views
    L
    @hawkeye yeah thx man! Worked again :))
  • OMXPlayer not working any more?

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    bheplerB
    Just an FYI - I tried it today and it played the video first time, with no issues on an RPI 4. It would appear that something has changed in the default Buster installation.
  • Replace LCD control board component?

    short circuit pcb control board lcd power
    4
    2
    0 Votes
    4 Posts
    1k Views
    S
    @camshell said in Replace LCD control board component?: What does the jumper block do allow someone to change operating characteristics… no idea what THIS one does… just pins onto the circuit board… the jumper makes some connection between the two pins. or the others etc… no idea what it does here without a board circuit diagram… you could have burned the circuit board connections under the jumper block… none of us will know (unless u accidentally found the people that designed and built the board. shortest path is find another like monitor to get the board, or find another monitor
  • what Error is this

    9
    0 Votes
    9 Posts
    922 Views
    S
    @Pielo said in what Error is this: Kann ein Profi, wie sie es sind, sich evtl vorstellen, was da die Ursache sein kann? ist an meiner Vorgehensweise etwas nicht richtig? Beginnen Sie von vorne und verwenden Sie das automatisierte Skript. Den Befehl zum Kopieren / Einfügen finden Sie hier unter https://github.com/sdetweil/MagicMirror_scripts dann haben Sie keines dieser Probleme english for others start over and use the automated script … see here https://github.com/sdetweil/MagicMirror_scripts for the command to copy / paste then you won’t have any of these problems
  • MMM-awesome-alexa

    1
    0 Votes
    1 Posts
    267 Views
    H
    My stupid thing is talking in Chinese or Japanese and i cant see where to change it to English all my settings are set to English in the pi and and MM config https://www.hellotech.com/guide/for/how-to-change-alexa-voice even did what that says still Japanese haha
  • config.js problem and display of modules

    3
    0 Votes
    3 Posts
    915 Views
    K
    @Mykle1 ok i’m retest it
  • Another No upcoming events MMM-Calendar

    3
    0 Votes
    3 Posts
    536 Views
    D
    I think the problem was somewhere in my mailserver. After a reboot all the appointments magicly reappeared. Thank you for responding.
  • Control MMM-Podcast2 with MMM-KeyBindings / MMM-Remote-Control

    2
    0 Votes
    2 Posts
    621 Views
    B
    Hi guys, would like to check again if anybody can help on my described topic to trigger the MMM-Podcast2 with the Fire TV Remote? Best regards Bill
  • Black screen: need help

    20
    0 Votes
    20 Posts
    3k Views
    Cr4z33C
    @Bugsounet OK thanks.
  • mmm assistant mk2

    112
    0 Votes
    112 Posts
    53k Views
    D
    @mcretu Hi . Lost in the Post. I think you refer to youtube not being displayed. If that is the case, as @Bugsounet keeps saying (he said it to me about this…), red the wiki. It’s all there. you need to change the config.js in config as follows: https://github.com/bugsounet/MMM-Assistant2Display/wiki/Configuration Assistant2Display need electron special configuration for web link displaying and Youtube functionality start of the config.js configuration file var config = { address: "localhost", electronOptions: { webPreferences: { webviewTag: true } }, port: 8080, ... address should be localhost for playing YouTube video electronOptions is need if you want to display the link and Cast module
  • Cannot run "MMM-Face-Reco-DNN" with "MMM-GoogleAssistant"

    1
    0 Votes
    1 Posts
    333 Views
    K
    Hello everyone First of all Thank you so much for this amazing system, it is amazing to see what beautiful things you can do with it, many thanks to all the developers. I’m new here so I apologize if the question is unclear or my English is not the best. The system works on RPI4 4GB When I ask a question the google assistant it’s responds very slowly, sometimes getting stuck and not understanding what I asked, but when I remove the MMM-Face-Reco-DNN from theconfig.js then google assistant works perfectly without any problems. i have the same problem with the older module MMM AssistantMk2 i can’t see any error when run npm run start dev Does anyone have the same problem? I am attaching logs that can help you help me, thank you very much in advance kobi pi@raspberrypi:~/MagicMirror $ npm run start dev > magicmirror@2.11.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev" [2020-06-06 01:45:36.510] [LOG] Starting MagicMirror: v2.11.0 [2020-06-06 01:45:36.517] [LOG] Loading config ... [2020-06-06 01:45:36.522] [LOG] Loading module helpers ... [2020-06-06 01:45:36.527] [LOG] No helper found for module: alert. [2020-06-06 01:45:36.568] [LOG] Initializing new module helper ... [2020-06-06 01:45:36.569] [LOG] Module helper loaded: updatenotification [2020-06-06 01:45:36.570] [LOG] No helper found for module: clock. [2020-06-06 01:45:36.993] [LOG] Initializing new module helper ... [2020-06-06 01:45:36.994] [LOG] Module helper loaded: calendar [2020-06-06 01:45:36.995] [LOG] No helper found for module: compliments. [2020-06-06 01:45:37.024] [LOG] Initializing new module helper ... [2020-06-06 01:45:37.025] [LOG] Module helper loaded: newsfeed [2020-06-06 01:45:38.150] [LOG] Initializing new module helper ... [2020-06-06 01:45:38.151] [LOG] Module helper loaded: MMM-GoogleAssistant [2020-06-06 01:45:38.151] [LOG] All module helpers loaded. [2020-06-06 01:45:38.284] [LOG] Starting server on port 8080 ... [2020-06-06 01:45:38.300] [LOG] Server started ... [2020-06-06 01:45:38.301] [LOG] Connecting socket for: updatenotification [2020-06-06 01:45:38.302] [LOG] Connecting socket for: calendar [2020-06-06 01:45:38.303] [LOG] Starting node helper for: calendar [2020-06-06 01:45:38.303] [LOG] Connecting socket for: newsfeed [2020-06-06 01:45:38.304] [LOG] Starting module: newsfeed [2020-06-06 01:45:38.304] [LOG] Connecting socket for: MMM-GoogleAssistant [2020-06-06 01:45:38.305] [LOG] Sockets connected & modules started ... [2020-06-06 01:45:38.405] [LOG] Launching application. [2020-06-06 01:45:43.204] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 [2020-06-06 01:45:43.268] [LOG] Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [2020-06-06 01:45:43.426] [LOG] [ASSISTANT] MMM-GoogleAssistant Version: 2.0.0 [2020-06-06 01:45:43.430] [LOG] [SNOWBOY] Model selected: jarvis [2020-06-06 01:45:43.435] [LOG] [SNOWBOY] snowboy v1.5.0 Initialized... [2020-06-06 01:45:43.450] [LOG] [ASSISTANT] RECIPE_LOADED: with-MMM-TelegramBot.js [2020-06-06 01:45:43.452] [LOG] [ASSISTANT] Google Assistant is initialized. [2020-06-06 01:47:08.720] [LOG] Shutting down server... [2020-06-06 01:47:08.721] [LOG] Stopping module helper: updatenotification [2020-06-06 01:47:08.722] [LOG] Stopping module helper: calendar [2020-06-06 01:47:08.722] [LOG] Stopping module helper: newsfeed [2020-06-06 01:47:08.723] [LOG] Stopping module helper: MMM-GoogleAssistant part of my config.js { module: "MMM-GoogleAssistant", position: "fullscreen_above", classes: 'default everyone', config: { debug: false, assistantConfig: { lang: "en-US", projectId: "", // Required to use gaction. modelId: "", // (OPTIONAL for gaction) instanceId: "", // (OPTIONAL for gaction) latitude: 51.508530, longitude: -0.076132, }, responseConfig: { useScreenOutput: true, screenOutputCSS: "screen_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, newChime: false // !!!DEV!!! }, micConfig: { // put there configuration generated by auto-installer recorder: "arecord", device: "plughw:3", }, customActionConfig: { autoMakeAction: false, autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not. actionLocale: "en-US", // At this moment, multi-languages are not supported, sorry. Someday I'll work. }, snowboy: { audioGain: 2.0, Frontend: true, Model: "jarvis", Sensitivity: null }, snowboy: { audioGain: 2.0, Frontend: true, Model: "jarvis", Sensitivity: null }, A2DServer: { useA2D: false, stopCommand: "stop" }, recipes: [ "with-MMM-TelegramBot.js" ] } }, { module: 'MMM-Face-Reco-DNN', classes: 'default everyone', config: { // Logout 15 seconds after user was not detected any more // If they are detected within this period, the delay will start again logoutDelay: 15000, // How often the recognition starts in milliseconds // With a Raspberry Pi 3+ it works well every 2 seconds checkInterval: 2000, // Module set used for strangers or if no user is detected defaultClass: 'default', // Set of modules which should be shown for every recognised user everyoneClass: 'everyone', // XML to recognize with haarcascade cascade: 'modules/MMM-Face-Reco-DNN/tools/haarcascade_frontalface_default.xml', // Pre-encoded pickle with the faces encodings: 'modules/MMM-Face-Reco-DNN/tools/encodings.pickle', // Use Raspberry Pi camera or another type // 1 = RasPi camera, 0 = other camera usePiCamera: 0, // Rotate camera rotateCamera: 0, // Method of facial recognition // dnn = deep neural network, haar = haarcascade method: 'dnn', // Which face detection model to use // "hog" is less accurate but faster on CPUs // "cnn" is a more accurate deep-learning model which is GPU/CUDA accelerated detectionMethod: 'hog', // How long in milliseconds modules take to hide and show animationSpeed: 0, // Path to Python to run the face recognition // null or '' means default path pythonPath: null, // Should a welcome message be shown using the MagicMirror alerts module? welcomeMessage: true, // Capture new pictures of recognized people, if unknown we save it in folder "unknown" // So you can extend your dataset and retrain it afterwards for better recognitions extendDataset: false, // If extendDataset is true, you need to set the full path of the dataset dataset: 'modules/MMM-Face-Reco-DNN/dataset/' } }