A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Default Calendar Module Off by a Day

    1
    1
    0 Votes
    1 Posts
    2k Views
    T
    [image: 1518324323215-119b0e09-c82d-4736-9d15-abacc5663e24-image.png] As you can see, everything is a day off. Any suggestions of how to fix this?
  • Notice for MMM-CalendarEXT and MMM-Assistant

    5
    5 Votes
    5 Posts
    3k Views
    cruunnerrC
    i freshly installed a MagicMirror with the newest version and the CalendarEXT works without any mods :)
  • Voice Controlled Wake/Sleep Function

    Unsolved voice control motion module troubleshoot
    9
    0 Votes
    9 Posts
    8k Views
    S
    Hey guys I’m pretty new to this whole magic mirror thing. I don’t want my mirror on all the time so I wanted to turn the display on and off with my voice. This is the only post I could find trying to accomplish that. So once i get the Voice Control module from alexyak working, how do I get this to work? I’m confused as to where to put the files.
  • Maximum File Size of ics FIle?

    10
    0 Votes
    10 Posts
    5k Views
    N
    @Stef That’s awesome, congrats. Thanks for letting us know! If anything, comment on @Beh’s post with any edits or additions you suggest to help others. Cheers!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
  • Config Question to MMM-Wunderground

    5
    0 Votes
    5 Posts
    3k Views
    V
    @bhepler Setting this to 1 = > i have 1 hour forecast and 1 day forecast But i want to have 3 hourly forecasts and not daily forecast Thanks
  • MMM-Assistant not Installing

    1
    0 Votes
    1 Posts
    879 Views
    E
    hello , i am installing mmm-assistant following the instructions on the wiki exactly i get stuck in step 4 , you can see the console output here [image: H5LSWzg.png] https://pasteboard.co/H5LSWzg.png please help , i am fairly new to this, i have tried to do it a few times but always get stuck here thanks
  • MMM-Podcast error

    1
    0 Votes
    1 Posts
    920 Views
    F
    Thank you @PtrBld for the module. I installed MMM-Podcast but it shows me only the message module_0_MMM-Podcast Could you help me?
  • MMM-FHEM Problem after Update

    1
    0 Votes
    1 Posts
    763 Views
    S
    Hi Folks, I have the module MMM-Fhem. After i updated FHEM and MagicMirror there is no more Status from FHEM. All other Things works fine. But no Action with FHEM. I have no basicAuth in Fhem. any ideas? THX
  • This topic is deleted!

    4
    0 Votes
    4 Posts
    48 Views
  • Module Swapping very slow

    2
    0 Votes
    2 Posts
    1k Views
    L
    I’m sorry i got that wrong the time delay was because it waited till it logged out. But I still have a problem: When i start the Magicmirror all modules are shown eventough i didn’t mark them as default or everyone. It recognizes me (Hello User 1) but all modules appear wether they are marked for User 1 or User 2. so it seems it can not differ between the Users. Anyone familiar or does anybody knows where to troubleshoot? Snippet from config file: modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_right", }, { module: 'MMM-germanwordclock', position: 'bottom_left', classes: 'User1', }, { module: 'MMM-ethereum', position: 'top_right', classes: 'User2', config: { updateInterval: 30000, exchange: "kraken", } }, { module: 'MMM-Facial-Recognition', config: { // 1=LBPH | 2=Fisher | 3=Eigen recognitionAlgorithm: 1, // Threshold for the confidence of a recognized face before it's considered a // positive match. Confidence values below this threshold will be considered // a positive match because the lower the confidence value, or distance, the // more confident the algorithm is that the face was correctly detected. lbphThreshold: 110, fisherThreshold: 250, eigenThreshold: 3000, // force the use of a usb webcam on raspberry pi (on other platforms this is always true automatically) useUSBCam: false, // Path to your training xml trainingFile: 'modules/MMM-Facial-Recognition/training.xml', // recognition intervall in seconds (smaller number = faster but CPU intens!) interval: 3, // Logout delay after last recognition so that a user does not get instantly logged out if he turns away from the mirror for a few seconds logoutDelay: 5, // Array with usernames (copy and paste from training script) users: ['User1', 'User2'], //Module set used for strangers and if no user is detected defaultClass: "default", //Set of modules which should be shown for every user everyoneClass: "everyone", // Boolean to toggle welcomeMessage welcomeMessage: true } },
  • node_helper and python communication

    3
    0 Votes
    3 Posts
    2k Views
    J
    @ninjabreadman yap python_start is called by an event from the modules (script is not complete) In the MMM-PIR-Sensor the GPIO is used. In my case I would like to use usb. So i should require node-serial port. That’s what one way I can try it. But I also thought of doing the complete logic, like switching on/off the screen, in my python script. So the only job of the module is to call python.
  • MMM-PIR-Sensor: "Welcome back" message

    2
    0 Votes
    2 Posts
    2k Views
    D
    I don’t have a PIR to test, but looking at the code, I’d suggest trying something like this: You need a DOM element to show the message in. You can borrow it from the default module helloworld and modify it: getDom: function() { var wrapper = document.createElement("div"); wrapper.setAttribute("id", "welcome-message"); wrapper.innerHTML = ""; return wrapper; } And then, based on self.sendSocketNotification("USER_PRESENCE", true); in the node_helper.js you add this to the MMM-PIR-Sensor.js : socketNotificationReceived: function(notification, payload) { if (notification === "USER_PRESENCE"){ this.sendNotification(notification, payload) // new: if (payload === true) { document.getElementById("welcome-message").innerHTML = "Welcome back!"; setTimeout(() => { this.removeMessage(); }, (1*60*1000); // = 60 seconds } }, removeMessage: function(payload) { document.getElementById("welcome-message").innerHTML = ""; } If you use it like this, the message is only shown for 1 * 60 * 1000 miliseconds = 60 seconds (set as desired) and then removed. This is all untested but hopefully gives you some clues where to look and work on the code.
  • MMM-MirrorOnTheWall

    1
    0 Votes
    1 Posts
    817 Views
    F
    Hello guys, i have a problem with this module MMM-MirrorOnTheWall i follow the instructions but after ./start.sh i get a error: Error: Cannot find module '/home/pi/MagicMirror/connect_device_package/node_modules/aws-iot-device-sdk/examples/device-example.js' can someone help me please?
  • MirrorMirrorOnTheWallSkill - Lambda Response Service Simulator Error

    1
    0 Votes
    1 Posts
    866 Views
    Q
    This is a copy of an Issue I created on the MirrorMirrorOnTheWallSkill Github page. It seems that there are a few other issues addressing this issue that don’t have fixes, so I’d figure I’d post my issue with as a detailed report. The Lambda Response from the service simulator in the Skill test returns the following error. The remote endpoint could not be called, or the response it returned was invalid. My lambda request is as follows with a few fields omitted: { "session": { "new": true, "sessionId": "MY-SESSION-ID", "application": { "applicationId": "MY-APP-ID" }, "attributes": {}, "user": { "userId": "MY-USER-ID" } }, "request": { "type": "IntentRequest", "requestId": "EdwRequestId.486a3b43-cf13-46c0-a696-cfc9ba39725a", "intent": { "name": "MirrorMirrorHelloIntent", "slots": {} }, "locale": "en-US", "timestamp": "2018-01-23T03:04:11Z" }, "context": { "AudioPlayer": { "playerActivity": "IDLE" }, "System": { "application": { "applicationId": "MY-CORRECT-APP-ID" }, "user": { "userId": "MY-USER-ID" }, "device": { "supportedInterfaces": {} } } }, "version": "1.0" } Diving further into the Invocation Logs in AWS lambda (as seen through CloudWatch), I get the following error stack trace: module initialization error: Error at new DeviceClient (/var/task/node_modules/aws-iot-device-sdk/device/index.js:445:13) at Object.DeviceClient [as device] (/var/task/node_modules/aws-iot-device-sdk/device/index.js:216:14) at Object.app.setup (/var/task/MirrorMirror.js:11:23) at Object. (/var/task/index.js:21:14) at Module._compile (module.js:570:32) at Object.Module._extensions…js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) On the last bit of the exception in /node_modules/aws-iot-device-sdk/device/index.js, the error that is being throw is from if (isUndefined(option.host)) { throw new Error(exceptions.INVALID_CONNECT_OPTIONS); } Perhaps this can offer some insight as to where I’m going wrong here. I feel that there are many users here like myself who are still struggling to get past this point, so any help is greatly appreciated!
  • MMM-SwissTransport

    14
    0 Votes
    14 Posts
    10k Views
    V
    There seems to be an update whitch changes the functionality from showing all the trains of one station to showing a specific connection. For me it didn’t work any more, so i created a new module with the new Search API if you are interrested: MMM-swisstransport
  • MMM-PlexDeck

    1
    0 Votes
    1 Posts
    1k Views
    W
    After installing MMM-PlexDeck, and adding/modifying the config file, the module does not load. Checking the console logs, i see this: Load script: modules/plexdeck//plexdeck.js loader.js:182 Failed to load resource: the server responded with a status of 404 (Not Found) plexdeck.js Error on loading script: modules/plexdeck//plexdeck.js loader.js:190 The path in the log above seems to have an extra / after plexdeck, but I’m not seeing where this is called to correct it. Can anyone give me some guidance on how to either resolve this, or how to gain access to more granular logs so I can dig in deeper on this?
  • 0 Votes
    3 Posts
    3k Views
    S
    Thanks man!
  • MMM-CalendarExt cant get the calendar to show

    23
    0 Votes
    23 Posts
    16k Views
    T
    Hello my name is TL and I’m very very very new. I’m just trying to get something to show up and it seems that when I start the MagicMirror that I get all the other modules but the CalendarExt module. For some odd reason I have a feeling I’m missing something rather simple. Below is a copy of my config file and my npm start dev below:. * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate 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, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // 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"], language: "en", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: 'MMM-CalendarExt', position: "top_left", //anywhere. It is not related to real position of view config: { // Read below system:{ show: ['daily'], locale: '', //when omitted, default value would be your system default locale by moment.js showEmptyView: 1, fullDayEventLocalize: 1, redrawInterval: 30*60*1000, //minimum 60000 useProfileConfig: 0, startProfile: '' }, defaultView: { position: 'bottom_bar', positionOrder: -1, overflowRolling: 0, overflowHeight: 0, overflowDuration: 2, timeFormat: 'HH:mm', dateFormat: "MMM Do", fullDayEventDateFormat: "MMM Do", ellipsis: 0, limit:0, oneLineEvent:0, replaceTitle:[], classPattern:[], classPatternWhere:["title"], symbolPattern:[], symbolPatternWhere:["title"] }, views: { month: { showWeeks: 1, weeksTitle: 'weeks', weeksFormat: 'wo', weekdayFormat: 'dd', titleFormat : 'D', overTitleFormat : 'MMM D', monthTitleFormat: "MMMM", }, weeks: { showWeeks: 1, weeksTitle: 'weeks', weeksFormat: 'wo', weekdayFormat: 'dd', titleFormat : 'MMM D', overTitleFormat : 'MMM D', counts: 4, }, daily: { direction: 'row', counts: 5, titleFormat: "D", overTitleFormat: "MMM D", subtitleFormat: "ddd", }, weekly: { direction: 'row', counts: 4, titleFormat: "wo", overTitleFormat: "gggg wo", subtitleFormat: "MMM Do", }, monthly: { direction: 'row', counts: 3, titleFormat: "MMMM", overTitleFormat: "YYYY MMM", subtitleFormat: "YYYY", }, current: { title: 'Current', useRelative: 1 }, upcoming: { title: 'Upcoming', useRelative: 1 }, }, defaultCalendar: { profiles: [], views: [], symbol: "", styleName: "", replaceTitle:[], classPattern: [], classPatternWhere: ["title"], symbolPattern: [], symbolPatternWhere: ["title"], maxEntries:50, maxDays:180, interval: 1800000, }, calendars: [ { name: "Schooldays of John", url: "https://school.com/schedule.ics", auth: { user:'john', pass:'abcd1234', method:'bearer' } }, { name: "US Holiday", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics", profile: ['daddy'], views: ['month', 'upcoming'], styleName: "style1", symbol: 'us@fi', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, } ], profileConfigs: { "Tom" : {}, } }, }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "New York", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "New York", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} Here is my npm start dev: pi@raspberrypi:~/MagicMirror $ npm start dev npm ERR! Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/node_modules/dev/package.json' npm ERR! at Error (native) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! npm ERR! System Linux 4.9.59-v7+ npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start" "dev" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v4.8.2 npm ERR! npm -v 1.4.21 npm ERR! path /home/pi/MagicMirror/node_modules/dev/package.json npm ERR! syscall open npm ERR! code ENOENT npm ERR! errno -2 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/MagicMirror/npm-debug.log npm ERR! not ok code 0 pi@raspberrypi:~/MagicMirror $ Thank you.
  • Problem with MMM-ResRobot, it wont start(?)

    Moved
    31
    0 Votes
    31 Posts
    23k Views
    A
    @ayeball Bra att det funkar. Du ska bara behöva ändra i den config.js som ligger i MagicMirror-mappen, inte i de andra. För att ange flera rutter lägger du bara till en ny rad med: {from:“”, to:“”}, På din config ser det ut som att fu använger en gammal version. Gör en git pull för att uppdatera. En av ändringarna är just formatet för att ange flera rutter. Se README.md för dokumentation.