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

Subcategories

  • update

    3
    0 Votes
    3 Posts
    1k Views
    F
    @justjim1220 thanks …reboot …jajajjajaajja thanks
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    7 Views
  • I can't upload pictures in a forum post

    3
    0 Votes
    3 Posts
    1k Views
    qu1queQ
    thanks @Mykle1, I will try it.
  • 0 Votes
    1 Posts
    838 Views
    P
    It’s always bugged me that instead of the actual title of a news item being displayed by the default newsfeed module, every item is preceded by the text in the ‘title’ field of the feed’s config in the newsfeed module’s section of the config.js file. To try and explain that, the feeds section of my config.js file is: config: { feeds: [ { title: "BBC UK", url: "http://feeds.bbci.co.uk/news/uk/rss.xml" }, { title: "BBC World", url: "http://feeds.bbci.co.uk/news/world/rss.xml", }, ], showSourceTitle: true, showPublishDate: false, showDescription: true } And the ‘Title’ shown on the mirror for every news item that comes from “http://feeds.bbci.co.uk/news/uk/rss.xml” is “BBC UK”, instead of the actual title of the item. I looked in the newsfeed.js file and there’s a line that says: if (this.config.showSourceTitle && this.newsItems[this.activeItem].sourceTitle !== '') sourceAndTimestamp.innerHTML = this.newsItems[this.activeItem].sourceTitle I then loaded the feed in Chrome & had a look at the xml source. In there the name of the title ‘field’ is “title”. I went to that line in the newsfeed.js file, changed .sourceTitle to title, rebooted the mirror and, yes! Each item in the feed has its proper title. So, my question is - Is this an issue specific to the BBC newsfeeds, or is it a more general ‘bug’ in the newsfeed module please?
  • Viewing Mirror from Browser

    7
    0 Votes
    7 Posts
    6k Views
    bheplerB
    @zimmerjo1 - Glad to hear it! Which part worked? The 127.0.0.1 address or the IP of your Pi?
  • MMM Remote & MMM-Admin-Interface Error: ipwhitelist error: Access Denied Error

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    N
    It doesn’t look like you have any IPs specifically whitelisted… you have to change your line: //ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, 192.168.2.1, ::ffff:192.168.2.15"], // Set [] to allow all IP addresses To something like this: ipWhitelist: [“127.0.0.1”, “192.168.2.15"], // Set [] to allow all IP addresses So basically uncomment the line and make sure to add your IP. You may want to just whitelist the entire subnet, to do that you would add "192.168.2.0/24"
  • Error Proto-List after reboot !?

    1
    0 Votes
    1 Posts
    896 Views
    B
    after reboot i can’t start MagicMirror. The Log show me: /home/pi/.pm2/logs/MagicMirror-error-0.log last 15 lines: 0|MagicMir | internal/modules/cjs/loader.js:550 0|MagicMir | throw err; 0|MagicMir | ^ 0|MagicMir | 0|MagicMir | Error: Cannot find module 'proto-list' 0|MagicMir | at Function.Module._resolveFilename (internal/modules/cjs/loade r.js:548:15) 0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:475:25 ) 0|MagicMir | at Module.require (internal/modules/cjs/loader.js:598:17) 0|MagicMir | at require (internal/modules/cjs/helpers.js:11:18) 0|MagicMir | at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/c onfig-chain/index.js:1:79) 0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:654:30) 0|MagicMir | at Object.Module._extensions..js (internal/modules/cjs/loader.j s:665:10) 0|MagicMir | at Module.load (internal/modules/cjs/loader.js:566:32) 0|MagicMir | at tryModuleLoad (internal/modules/cjs/loader.js:506:12) 0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:498:3)
  • EyeCandy and out-of-memory

    12
    0 Votes
    12 Posts
    6k Views
    M
    np had the same problem and figured I could solve it that way ;)
  • Error on update module

    1
    0 Votes
    1 Posts
    897 Views
    S
    Hi everyone, I’m doing a module (display data from Habitica ) . I got the following errors but not at every update. I happened like about 1 time every 5 min (i haven’t seen any regular pattern, it can happen several time in 1 minute and nothing for 10 minutes). And the error can be one of the 3 following : Error: read ECONNRESET (or Error: read ETIMEDOUT) at TLSWrap.onread UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘hash’ of null Error: getaddrinfo ENOTFOUND habitica.com This is what i have coded : MMM-Habitica.js : updateHabitica => sendSocketNotification(myConfig) node_helper.js : reload() => forEach (members in config.members) => send https request ; on requestResult.end => sendSocketNotification(returnData) MMM-Habitica.js : socketNotificationReceived => gather data and construct dom object Does anybody has a clue about what could go wrong? (https request with forEach, wrong data from api, other? ) Any help would be greatly welcome Guillaume **UPDATE : ** :man_dancing_light_skin_tone: It seems enclosing the https request in a promise resolve the issue no error so far return new Promise((resolve, reject) => { var req = https.request(requestOptions, (res) => { res.setEncoding('utf8'); res.on('data', (chunk) => { try{ JSONParsed = JSON.parse(chunk); }catch(error) { } }); res.on('end', () => { self.sendSocketNotification(reloadType, JSONParsed); }); req.on('error', (e) => { console.log(`problem with request: ${e.message}`); }); }); req.end(); })
  • [A Fix] The "Feels" Weather Condition in Metric is calculated improperly

    4
    0 Votes
    4 Posts
    2k Views
    MichMichM
    I just released a new master release. So this should be fixed. :)
  • MMM-iFrame Modul wird nicht angezeigt

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    yawnsY
    Please do not post the same question multiple times in different categories, this does not speed up responses.
  • Unable to clone git clone https://github.com/MichMich/MagicMirror

    3
    0 Votes
    3 Posts
    2k Views
    idoodlerI
    @chinnu_2012 You shouldn’t need to enter your credentials when cloning the repository. Please try: git clone git@github.com:MichMich/MagicMirror.git
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    8 Views
  • Memory leak in Clock analog style?

    1
    0 Votes
    1 Posts
    860 Views
    F
    Hi I’m having a problem with a memory leak (or at least my MM keeps eating up memory). I found that this could possible be caused by the clock module when using analog mode. I’ve tested two scenarios with only the clock module activated; one with digital and one with analoge. => Digital is stable while analoge keeps eating memory. I’ve attempted a few possible solutions but I’m not a good enough javascript programmer. Possible cause: This code keeps loading the face-00n.svg every second, could that be a cause? if (this.config.analogFace != "" && this.config.analogFace != "simple" && this.config.analogFace != "none") { clockCircle.style.background = "url("+ this.data.path + "faces/" + this.config.analogFace + ".svg)"; clockCircle.style.backgroundSize = "100%"; Other possible cause could be the beginning of the getDom elements for digital clock is created. These elements are never appended to the dom when used in analog style. Anyone else seen this? Any other ideas for the problem and solution?? /Fredrik
  • Error when trying to start with PM2

    2
    0 Votes
    2 Posts
    2k Views
    ?
    I just tried to run serveronly mode and get this error. pi@raspberrypi:~/MagicMirror $ node serveronly /home/pi/MagicMirror/node_modules/escape-html/index.js:14 Var ma�chHtmlRegExp = /[#'&<>]/; ^^ SyntaxError: Unexpected identifier at new Script (vm.js:51:7) at createScript (vm.js:136:10) at Object.runInThisContext (vm.js:197:10) at Module._compile (internal/modules/cjs/loader.js:618:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18)
  • MMM-voice aftects on MMM-GoogleAssistant ??

    1
    0 Votes
    1 Posts
    1k Views
    4lice4
    hello i installboth of MMM-GA and MMM-voice but when i run the MMM-GA igot error undefined on MMM-voice and its veeery lazy to recognize my speach i didnt know why !? do you know ? and then when i say ok google and ask , it is silent at first but when i say ok google again it wants talk but cut the first one ! so how ?
  • Current Weather and Weather Forecast modules gone after update

    2
    0 Votes
    2 Posts
    1k Views
    Mykle1M
    @ryanvox https://forum.magicmirror.builders/topic/6878/changing-units-from-metric-to-imperial-breaks-currentweather-module/3
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    1 Views
  • Calendar module width limit

    3
    0 Votes
    3 Posts
    3k Views
    Y
    Thank you ninjjabreadman ! Exactly what I need ! .module.MMM-MyCalendar { max-width: 300px; }
  • 0 Votes
    8 Posts
    3k Views
    cruunnerrC
    I have a wifi watchdog installed because my wifi connection sometimes breaks off. It automatically turn the wifi controller off and on again, when the pi can’t ping my router. Maybe u should check this out: http://alexba.in/blog/2015/01/14/automatically-reconnecting-wifi-on-a-raspberrypi/ I just replaced the used IP Adresse from this Tutorial with my routers IP adress. Brainstorming again. Maybe your Pi doesnt have enough power for the wifi controller when u turn on your alexa, magicmirror and such other stuff. So it cannot hold the connection with the -71db. Maybe a repeater would help, so with e.g. -49db the wifi Controller doesnt need too much power