A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Calendar Date Formats Not Working.

    7
    0 Votes
    7 Posts
    898 Views
    ?
    @tippon Thanks this now working perfectly.
  • Python and MagicMirro

    magicmirror python troubleshoot
    3
    1
    0 Votes
    3 Posts
    1k Views
    S
    @caxapok I created a module for this https://github.com/sdetweil/MMM-PythonPrint.git
  • MMM-videoplayer

    5
    0 Votes
    5 Posts
    1k Views
    SnilleS
    @sceetch Hi, This is what I’m running with 8 gigs of ram and an SSD. :)
  • MMM-CalendarExt2: Black Screen

    30
    0 Votes
    30 Posts
    8k Views
    J
    @sdetweil Here you go: install starting - Fri Apr 9 08:58:51 EDT 2021 installing on armv7l processor system the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) $ ^[[96mUpdating packages ...^[[90m Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspb$ apt-get update completed ok apt-get upgrade started apt upgrade result =rc=0 Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ^[[96mInstalling helper tools ...^[[90m Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.6). curl is already the newest version (7.64.0-4+deb10u2). git is already the newest version (1:2.20.1-2+deb10u3). unzip is already the newest version (6.0-23+deb10u2). wget is already the newest version (1.20.1-1.1). wget set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ^[[96mCheck current Node installation ...^[[0m ^[[93mNode.js is not installed.^[[0m ^[[96mInstalling Node.js ...^[[90m Node release info = ## Installing the NodeSource Node.js 10.x repo... ## Popula$ v10.24.1 ^[[92mNode.js installation Done! version=v10.24.1^[[0m ^[[96mCheck current NPM installation ...^[[0m ^[[0mNPM currently installed. Checking version number. ^[[0mMinimum npm version: ^[[1mV6.0.0^[[0m ^[[0mInstalled npm version: ^[[1mV6.14.12^[[0m ^[[92mNo npm upgrade necessary.^[[0m ^[[96mCloning MagicMirror ...^[[90m ^[[92mCloning MagicMirror Done!^[[90m package.json update for armv7l completed ok ^[[96mInstalling dependencies ...^[[90m ^[[92mDependencies installation Done!^[[90m fixing sandbox permissions setting up initial config.js ^[[96mCheck plymouth installation ...^[[0m ^[[90mSplashscreen: Checking themes directory.^[[0m ^[[90mSplashscreen: Create theme directory if not exists.^[[0m ^[[92mSplashscreen: Changed theme to MagicMirror successfully.^[[0m install and setup pm2 pm2 not installed, installing pm2 install result /usr/bin/pm2 -> /usr/lib/node_modules/pm2/bin/pm2 /usr/bin/p$ get the pm2 platform specific startup command startup command = sudo env PATH=$PATH:/usr/bin:/bin /usr/lib/node_modules/pm2/b$ ------------- __/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____ _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___ _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__ _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___ _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____ _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________ _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________ _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_ _\///______________\///______________\///__\///////////////__ Runtime Edition PM2 is a Production Process Manager for Node.js applications with a built-in Load Balancer. Start and Daemonize any application: $ pm2 start app.js Load Balance 4 instances of api.js: $ pm2 start api.js -i 4 Monitor in production: $ pm2 monitor Make pm2 auto-boot at server restart: $ pm2 startup To go further checkout: http://pm2.io/ ------------- [PM2] Init System found: systemd Platform systemd Template [Unit] Description=PM2 process manager Documentation=https://pm2.keymetrics.io/ After=network.target [Service] Type=forking User=pi LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity Environment=PATH=$PATH:/usr/bin:/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/s$ Environment=PM2_HOME=/home/pi/.pm2 PIDFile=/home/pi/.pm2/pm2.pid Restart=on-failure ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill [Install] WantedBy=multi-user.target Target path /etc/systemd/system/pm2-pi.service Command list [ 'systemctl enable pm2-pi' ] [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service [PM2] Making script booting at startup... [PM2] [-] Executing: systemctl enable pm2-pi... [PM2] [v] Command successfully executed. +---------------------------------------+ [PM2] Freeze a process list on reboot via: $ pm2 save [PM2] Remove init script via: $ pm2 unstartup systemd pm2 startup command done configure the pm2 config file for MagicMirror start MagicMirror via pm2 now save MagicMirror pm2 config now stop MagicMirror via pm2 now disable screensaver via gsettings was true and uint32 300 disable screensaver via lightdm.conf disable screensaver via lxsession ^[[92mWe're ready! Run ^[[1m^[[97mpm2 start MagicMirror^[[0m^[[92m from the ~/M$ install completed - Fri Apr 9 09:04:39 EDT 2021
  • Add MagicMorror as a device in Google Home app

    1
    0 Votes
    1 Posts
    242 Views
    K
    How to add MagicMorror as a device in Google Home app?
  • "Not that WWI!" - Trouble with Weather WIthout Icons module

    8
    0 Votes
    8 Posts
    2k Views
    C
    @mykle1 Only thing I can think is my PiHole is catching something and blocking it. I’ll disable and give it a try. Thanks for checking!
  • Config error with MMM-TelegramBot - Parenthesized pattern

    1
    0 Votes
    1 Posts
    289 Views
    D
    Hello, I’m having error when checking my config file : [07.04.2021 18:28.20.938] [ERROR] Line 115 column 93: Parsing error: Parenthesized pattern It seems to be caused by the customCommand. Could someone help me finding out what is wrong in my syntax ? customCommands: [ { command: "nextpage", description: "Passe à la page suivante", callback: (command, handler) => { self.sendNotification("PAGE_INCREMENT"), handler.reply("TEXT", "Voici la page suivante!") } }, { command: "previouspage", description: "Passe à la page précédente", callback: (command, handler, self) => { self.sendNotification("PAGE_DECREMENT") handler.reply("TEXT", "Voici la page précédente!") } }, { command: "pronote", description: "Passe à la page PRONOTE", callback: (command, handler, self) => { self.sendNotification("PAGE_CHANGED",6) handler.reply("TEXT", "Voici ProNote!") } }, { command: "pause", description: "Stop la rotation automatique", callback: (command, handler, self) => { self.sendNotification("PAUSE_ROTATION") handler.reply("TEXT", "OK, rotation arretée") } }, { command: "resume", description: "Redémarre la rotation automatique", callback: (command, handler, self) => { self.sendNotification("RESUME_ROTATION") handler.reply("TEXT", "OK, rotation démarrée") } } ] Thanks
  • Calendar module fetching errors since 2.15

    3
    0 Votes
    3 Posts
    793 Views
    S
    @lavolp3 hm… if u turn on debug ( add “DEBUG” to the logLevel variable array in config.js can u identify the calendar entry causing trouble… and be willing to share with me… (chat is good)
  • MMM-Face-Reco-DNN Adding New Person

    2
    0 Votes
    2 Posts
    279 Views
    S
    @ujwalreddy267 i don’t know… the doc says all, i don’t think we know what the pickle file looks like
  • NEED HELP FOR CREATING OUR OWN MODULE...

    7
    0 Votes
    7 Posts
    2k Views
    S
    @robinsin17 I am home now from the hospital, but your task is still a big one. amazon is supporting their avs ask google has their assistant api.
  • Scheduling a blackscreen?

    6
    0 Votes
    6 Posts
    1k Views
    S
    @oberfragger ah… got it…
  • googlephotos stop changing

    photos google api slideshow
    6
    0 Votes
    6 Posts
    1k Views
    C
    @sdetweil Well… we are here again: npm run start errors: [03.04.2021 21:46.00.432] [ERROR] (node:2588) UnhandledPromiseRejectionWarning: Error: invalid_grant at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) [03.04.2021 21:46.00.435] [ERROR] (node:2588) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) [03.04.2021 21:46.00.439] [ERROR] (node:2588) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [03.04.2021 21:47.03.919] [ERROR] (node:2588) UnhandledPromiseRejectionWarning: Error: invalid_grant at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) [03.04.2021 21:47.03.922] [ERROR] (node:2588) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4) [03.04.2021 21:47.59.391] [ERROR] (node:2588) UnhandledPromiseRejectionWarning: Error: invalid_grant at createError (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/core/settle.js:18:12) at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/google-auth-library/node_modules/axios/lib/adapters/http.js:202:11) at IncomingMessage.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) [03.04.2021 21:47.59.392] [ERROR] (node:2588) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6) developers window: Load script: modules/MMM-GoogleAssistant/MMM-GoogleAssistant.js module.js:508 Check MagicMirror version for module 'MMM-GoogleAssistant' - Minimum version: 2.14.0 - Current version: 2.15.0 module.js:516 Module registered: MMM-GoogleAssistant loader.js:157 Bootstrapping module: MMM-GoogleAssistant loader.js:185 Load script: /modules/MMM-GoogleAssistant/components/response.js loader.js:162 Scripts loaded for: MMM-GoogleAssistant loader.js:204 Load stylesheet: /modules/MMM-GoogleAssistant/MMM-GoogleAssistant.css loader.js:164 Styles loaded for: MMM-GoogleAssistant translator.js:107 MMM-GoogleAssistant - Load translation fallback: translations/en.json loader.js:166 Translations loaded for: MMM-GoogleAssistant MMM-Assistant2Display.js:687 [A2D] Found: GoogleAssistant loader.js:185 Load script: modules/MMM-GooglePhotos/MMM-GooglePhotos.js module.js:516 Module registered: MMM-GooglePhotos loader.js:157 Bootstrapping module: MMM-GooglePhotos loader.js:162 Scripts loaded for: MMM-GooglePhotos loader.js:204 Load stylesheet: modules/MMM-GooglePhotos/MMM-GooglePhotos.css loader.js:164 Styles loaded for: MMM-GooglePhotos loader.js:166 Translations loaded for: MMM-GooglePhotos module.js:199 MMM-GoogleAssistant is suspended. module.js:199 MMM-GooglePhotos is suspended. main.js:297 Will not show MMM-GoogleAssistant. LockStrings active: GA_LOCKED main.js:297 I will create a new token Edit: Just deleted token.js, and did again “node generate_token.js”, pasted the code, and everything works again
  • 0 Votes
    4 Posts
    1k Views
    S
    @saltedcod I can’t answer on the module info.
  • es language to uppercase

    6
    0 Votes
    6 Posts
    1k Views
    lavolp3L
    @scumbelly great solution! css is really powerful!
  • Text to config.js

    12
    0 Votes
    12 Posts
    2k Views
    L
    Hi again ! Thanks for help .Think I beginn to under stand now : [image: 1617127391162-2021-03-30-195853_1920x1080_scrot.png] Litek :)
  • I can't get mmm-screencast to work

    Unsolved
    59
    0 Votes
    59 Posts
    27k Views
    L
    @jste84 I think this module died, mine stopped and never came back …
  • calendar event format

    2
    1
    0 Votes
    2 Posts
    442 Views
    S
    @sceetch I don’t think you will have that much control. there are two date/time types normal and full day events with timeFormat:“absolute”, you can set the formats dateFormat and fulldateFormat see this cheatsheet for the values of the format string https://devhints.io/moment
  • PIR Sensor Monitor Doesn't Stay Off

    2
    0 Votes
    2 Posts
    280 Views
    S
    @d0zza the monitor is energy star compliant,and is warning you that it will turn off if no input is received on 15 minutes. you cannot change this but this means the module turned off the hdmi port and not the monitor. as I posted in discord, there are different commands that do different things tvservice, vcgencmd, dpms, and cec-utils if your monitor is also cec compliant, software can turn it off and on. none of my monitors can be controlled w software, so I end up blanking the screen by hiding all the modules https://discord.com/channels/545884423703494657/793511982103134211/824322810385006592
  • Weather Module not showing with weather.gov api

    5
    0 Votes
    5 Posts
    2k Views
    S
    @CloakingTorin this module has a small design problem… it gets the urls for the different data types FROM the api. the 1st time the top level calls the provider for the forecast, it doesn’t have the urls yet, but can’t tell the top to call again then the top level waits 600,000 milliseconds before it calls again , 600 seconds , 10 minutes… so it shows loading for 10 minutes… then it will show the forecast… u can change it to 2 minutes, by adding this to the config section… it will still look dead for 2 minutes… AND it will call the api EVERY 2 minutes to get the forecast… updateInterval: 2*60*1000, I sumitted an issue, https://github.com/MichMich/MagicMirror/issues/2505
  • problems with hot word

    6
    0 Votes
    6 Posts
    521 Views
    bugsounetB
    @Karalica-Kir : I have deprecied this module, last year. I code another very more simple Now, I think you use a very old source (When i close MMM-Hotword it’s the v2.4.0… and you use v1) Good luck for using it ;)