A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • 0 Votes
    16 Posts
    3k Views
    @olesoncrypto yes, that will get you general rules for config.js the thing to the left of : does not need quotes for the thing to the right of : if it is a number (9, -1.234) or true/false , no quotes if it contains a letter 12ff234, bob, then needs quotes, single or double doesn't matter as long as they are the same start and end every { needs a matching } every [ needs a matching ] [] is a list [ 1,2,3,4] or [ first,second,third] {} is a structure/object with name/value pairs { x: value, y: othervalue } u can write lists and objects all on one line (what a pain) or across multiple lines... (much more readable) BUT, you STILL need the commas between items in either if u get an error, unexpected token, 99% of the time, u forgot a trailing comma on the line ABOVE the one reported (error on line 45, look at line 44) a good debug process is to join the list or object to a single line in your editor, and get the , between the items, then split it again after each comma... so u have a separate item on each line.
  • 0 Votes
    5 Posts
    836 Views
    @sdetweil SOLVED you are the man! Thank you kindly Sam
  • 0 Votes
    5 Posts
    368 Views
    @sdetweil It did the job. Had two more Errors with modules: “has-binary2” “after” But I could install them with npm install. Thank you very much!
  • Stream Mjpeg-Cam?

    May 19, 2021, 4:40 PM
    0 Votes
    1 Posts
    302 Views
    Hi, i currently using MMM-Motioneye to stream from a Motioneye stream (mjpeg). Unfortunatly sometime its not properly loaded on start (some “broken” icon is shown). But after some hours, the module didint show up anthing. There is the option via http-request to show the stream… if this was hidden. But at that moment- its not showing anything. I switched to MMM-RemoteControl to hide/ show the module. But like i described- it stops working after some time. WIth that experience- i want to switch to another mudule. Any suggestions?
  • 0 Votes
    5 Posts
    405 Views
    @sdetweil said in calendar module: "displayRepeatingCountTitle" doesn't show peoples age: @thefoster I’m just repeating what the code is expecting… I added the ’ years’ just to demonstrate a string as required. i didn’t get that requirement from the documentation I don’t know where the firstYear comes from… event is a manipulated object after parsing not just the text as shown in the ics. this is yearly repeating events only, so maybe firstYear comes from the start of the repeating event (but if u make it oh, since feb of this year then the count will be wrong for anyone born before then …) but, if you don’t supply a template for the title string, you get nothing Thanks, indeed even the string " " (one blank) makes the year appear, without the need for “firstYear” in ICS. I think now i can switch to finish the MM hardware :) Again trhanks for the fast reply and solution :-D
  • 0 Votes
    16 Posts
    3k Views
    I think the weather.gov API using /points/ has been deprecated. It switched to gridpoints/{wfo}/{x}/{y}. I am not skilled enough to know what to switch in the config file to make it work.
  • MM crashing (after pi os update?)

    Apr 22, 2021, 4:34 PM
    0 Votes
    14 Posts
    2k Views
    @sdetweil yes, this is the only module I’m using that generates a graph/chart. My config.js is sent to you by mail.
  • Development Branch -- MMM-Unsplash

    Mar 5, 2021, 9:59 PM
    0 Votes
    19 Posts
    3k Views
    @yk said in Development Branch -- MMM-Unsplash: obj.urls.custom for all out there as stupid as I am… :-) its this which has to be modified from .custom to .raw (row 130 in my WallberryTheme.js file). from: p.url = photoData.urls.custom; to: p.url = photoData.urls.raw; Cheers and thanks for the hack mates! Patrick
  • 0 Votes
    13 Posts
    2k Views
    @sdetweil let’s close this one. There was a need to pass through a height or width value when using MMM-Unsplash. Passing nothing seems to have grabbed the raw file and chewed up a good deal of memory. I’m still monitoring. I’d love to setup a log element that drops memory usage into the pm2 logs. Just fear monitoring memory may eat up too much memory ;) (but I should have plenty of it) I’m using MMM-Tools to display stats, may leverage that.
  • 0 Votes
    1 Posts
    195 Views
    Hello, Im trying Raspbian Desktop in VirtualBox to do some debugging faster. Everything works so far except for the keyboar shortcuts. When MM is in fullscreen no CTRL+q / CTRL+m / CTRL+SHIFT+i is working. Only ALT+space does work. Tested it with hardware keyboard and VirtualBox’s screen keyboard. Is there a setting or is it something with virtualbox?
  • Google Calendar Sat Evening Shift

    Mar 7, 2021, 3:52 PM
    0 Votes
    4 Posts
    466 Views
    @memphismark thanks for the cal entries… the ‘problem’ is the time in the cal entries… according to the ICAL spec IF the timezone is specified (yes) then the CLOCK value MUST BE UTC time. but these entries don’t have Z on the end… so its confusing without the Z the cal entries are on the 19th, but sat is the 20th. add the Z on the end of the clock and it works correctly
  • Unreliable sockets

    Mar 4, 2021, 10:51 PM
    0 Votes
    2 Posts
    326 Views
    @mystara yes it’s possible for the socket to die without informing the application layer. I spent about a year debugging a hang on one of my modules in a similar situation. I added MMM-WatchDog, which also exhibited the same problem. in the end I replaced the networking w a google wifi cluster and have not seen the problem since. altho I could never trace down to a network failure. I don’t know if socket.io can inform the application layer of a problem. it does all kinds of recovery under the covers.
  • 0 Votes
    7 Posts
    902 Views
    @pade2204 also, as soon as an event starts it is not upcoming. you could turn on showEnd… and split the event into a start and end event, and the end will be an upcoming event all day
  • 0 Votes
    20 Posts
    4k Views
    @chethan I suggest you contact the module developer. Can’t help with it :)
  • 0 Votes
    3 Posts
    782 Views
    @sdetweil yes everything is complete at the end i get this error
  • MMM-MplayerRadio - No sound

    Jan 30, 2021, 9:25 PM
    0 Votes
    4 Posts
    640 Views
    I confirm that your workaround worked fine. customCommand: “/usr/bin/cvlc”, customCommandArgs: [“###URL###”], Thanks !
  • 0 Votes
    1 Posts
    155 Views
    hello Everyone I was facing some issues I successfully install the spotify and the icon is also showing in magic mirror but i cant able to connect to my phone why please help me any one I post lot of quirey but didnt get any solution from this forum i hope i will get responce for this post Thanks Chethan P
  • .region table in main.css

    Jan 29, 2021, 12:01 PM
    0 Votes
    2 Posts
    327 Views
    In the main.css is: .region table { width: 100%; border-spacing: 0; border-collapse: separate; } shouldn’t it look like this? : .region.table { width: 100%; border-spacing: 0; border-collapse: separate; }
  • 0 Votes
    4 Posts
    449 Views
    @pintail105 no idea. away from my system for weeks already. no timeline to get back. all my fixes were in 2.14
  • 0 Votes
    1 Posts
    266 Views
    [config.js es bellow] Im working with this 3rd party modules: MMM-Spotify, MMM-GmailFeed, MMM-Screencast, MMM-MotionDetector. I must say that i also configure the auto start magic mirror. Ive tried to put those modules together like three times and every time ive got the same error, my screen starts to blink every 10 seconds approximately (but once i have restarted the raspberry pi 4). At first i thought that it might be the screen but then ive tried with others and stays the same. The last time ive tried to go and install just one module at a time and wait for it to fail (this time I got to install and use in the config file this modules: MMM-Spotify, MMM-MotionDetector (i must say that i also do not install the auto starting magic mirror thing)), and in that way try to identify the module that its causing the mal functioning, but then i realize that i can ask you guys cause if it fails i will have to install every this again. I have suspicions about the auto starting magic mirror cause this starts to fail when i restart the raspberry pi 4. I also must say that everything works fine, its just the screen issue. Some passwords and id have been erased. /* Magic Mirror Config Sample * * By Michael Teeuw https://michaelteeuw.nl * MIT Licensed. * * For more information on how you can configure this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: [], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "es", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "MMM-Spotify", position: "top_bar", config: { debug: false, } }, { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left", config: { displaySeconds: false, } }, { module: 'MMM-GmailFeed', position: 'top_left', config: { username: '', password: '', updateInterval: 30000, maxEmails: 5, maxSubjectLength: 20, maxFromLength: 10, playSound: true, autoHide: true, displayMode: "table", } }, { module: 'MMM-GmailFeed', position: 'top_left', config: { username: '', password: '', updateInterval: 30000, maxEmails: 5, maxSubjectLength: 20, maxFromLength: 10, playSound: true, autoHide: true, displayMode: "table", } }, { module: "currentweather", position: "top_right", config: { location: "Viña del Mar", locationID: "3868121", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "" } }, { module: "weatherforecast", position: "top_right", header: "Pronóstico del clima", config: { location: "Viña del Mar", locationID: "3868121", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "" } }, { module: "newsfeed", position: "bottom_bar", // This can be any of the regions. Best results in center regions. config: { // The config property is optional. // If no config is set, an example calendar is shown. // See 'Configuration options' for more information. feeds: [ { title: "Internacional", url: "https://www.elmostrador.cl/noticias/mundo/feed/", }, { title: "Chile", url: "https://www.elmostrador.cl/destacado/feed/", }, { title: "Ciencia", url: "https://www.investigacionyciencia.es/rss/noticias", }, { title: "Tecnología", url: "https://es.digitaltrends.com/noticias/feed/", }, ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true, showDescription: true, updateInterval: 15000 }, }, { module: 'MMM-Screencast', position: 'lower_third', // This position is for a hidden <div /> and not the screencast window config: { position: 'middle', height: 1050, width: 1280, } }, { module: "MMM-MotionDetector", //position: "lower_third", // Optional. This can be any of the regions. Displays debug informations. config: { timeout: "60000", }, }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}