A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • "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
    349 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
    993 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
    339 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
    2k 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
    32k Views
    L
    @jste84 I think this module died, mine stopped and never came back …
  • calendar event format

    2
    0 Votes
    2 Posts
    511 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
    321 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
    3k 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
    650 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 ;)
  • problems with starting

    2
    0 Votes
    2 Posts
    450 Views
    lavolp3L
    @karalica-kir A bit more explanation around all this would be helpful. You have an issue with the mentioned module MMM-GoogleMapsTraffic. It wants to read a json input that it cannot understand. MOst probably from the Google maps API. SO I would assume somethings wrong with your api key for the google maps api. But I can only guess.
  • MMM-xiaomi Best gateway?

    1
    0 Votes
    1 Posts
    333 Views
    M
    Hi Will a Xiaomi Gateway 3 (Global version) work with this module? What would you recommend?
  • Alignmend of modules

    11
    0 Votes
    11 Posts
    5k Views
    M
    @carstend I added the question to the DWD-Pollen thread, but no respond so far. https://forum.magicmirror.builders/topic/12247/mmm-dwd-pollen/19?_=1616656403635 text-align: right will move the text, so it is not centered anymore. But the goal is, to get rid of the space on the right side. Update: I now use: .MMM-DWD-Pollen table { margin-left: auto; margin-right: -40px; } Not sure if this is a good way, but it works for me at the moment.
  • Newsfeed Wrap with CSS

    13
    0 Votes
    13 Posts
    5k Views
    S
    @sdetweil said in Newsfeed Wrap with CSS: also, notice the leading dot (.) on the class name, this is required excellent!!! it works fine now :) Thank you! Nice supporter :)
  • Message: no signal

    6
    0 Votes
    6 Posts
    2k Views
    S
    @george i just replied to someone else on discord there are different commands to turn on/off display devices… and they work in different places tvservice is a pi only command https://www.raspberrypi.org/documentation/raspbian/applications/tvservice.md vcgencmd is one to control the hdmi port (turn off, and display MAY show ‘no input’) https://www.raspberrypi.org/documentation/raspbian/applications/vcgencmd.md and cec-utils (cec-client) can control the tv on the end of the hdmi cable (for cec compliant devices) https://pimylifeup.com/raspberrypi-hdmi-cec/ tv service works on pi4 to turn off hdmi port, but not back on. vcgencmd worked on pi 4, but montior displayed no input, cec-utils worked turned off/on monitor [11:45 AM] the PIR module has to use the right commands… I thought NEWPir supported cec-client… but haven’t tried it… sam — Today at 11:58 AM New-PIR does support the CEC commands, and vcgencmd and tvservice… using mode in the module config screen section screen: { } I think 5 modes are available: mode: 1 - use vgencmd (RPI only) mode: 2 - use dpms (version RPI) mode: 3 - use tvservice (RPI only) mode: 4 - use HDMI CEC mode: 5 - use dpms (linux version for debian, ubuntu, …) my advice to the other user was to logon to the pi via ssh and try the commands as documented in the links to figure out which on works and then use the mode in the NEW-Pir module config