A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MirrorMirrorOnTheWallSkill - Lambda Response Service Simulator Error

    1
    0 Votes
    1 Posts
    829 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
    9k 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
    14k 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
    21k Views
    AlvingerA
    @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.
  • MMM-MyCommute ERROR traveling time

    1
    0 Votes
    1 Posts
    2k Views
    M
    Hey Guys, I have a problem with the MMM-MyCommute module,. My traveling time, on transit, driving and walking directions keeps on ERROR. It worked for 3 days and then suddenly stopped working. Already changed the APIKEY but that’s not the problem. Can anyone help me ? thank you guys ! Re: 2 problems with MMM-MyCommute module
  • What module or turorial did you use to manage getting iCloud data?

    2
    0 Votes
    2 Posts
    1k Views
    N
    Hi @Gailby – check out @Beh’s post. It’s a very very detailed walkthrough. That method syncs/downloads your iCloud calendar locally and then displays it with the Calendar module (although you could use any module that supports iCal).
  • MMM-PIR does not shutoff sometimes

    pir sensor
    4
    0 Votes
    4 Posts
    2k Views
    D
    Depends on position and deflective angle of the sensor. If you think there is nothing it should detect, try it out, leave the room, set a timer and check after 120 (+10) seconds.
  • MMM-AlarmClock append / push to alarms array

    5
    1
    0 Votes
    5 Posts
    2k Views
    axellejamousA
    @strawberry-3.141 changed, thank you!
  • Calendar module won't show all events

    7
    0 Votes
    7 Posts
    4k Views
    ?
    @ninjabreadman said in Calendar module won’t show all events: I just edited run-start.sh:4 to the following, and just got MMM-CalendarExt working again: electron --js-flags=“–harmony-async-await” js/electron.js $1 It’s a great fix for this issue. Anyway, I’m almost finishing my vacation and my current business a few days. I should have to join the summit for business in mid of January in Seoul and Paris. After that, I will release fix of this issue.
  • Module: Calendar VCF-Support

    1
    0 Votes
    1 Posts
    876 Views
    C
    Hallo, I was wondering if I’m the only one who would love to have the possibility to add the birthdays of contacts from CardDAV-server to the calendar module. I have a radicale server which can give me the informations as vcf file. I only have to parse the file and insert into the calender. Maybe there is an existing solution otherwise I’m starting coding and make a pull request. Greets Christian
  • [SOLVED] Anyone tried MMM-mqtt?

    19
    0 Votes
    19 Posts
    16k Views
    axellejamousA
    Hello, I was wondering if any of you know how to actually subscribe and publish to a topic using this module? I currently tried adding two different modules to the config file and have one set as sending and one as receiving but that just causes the module to crash. Has anyone figured out how to do both of these at the same time?
  • Use MMM-Buttons to hide/show modules

    3
    0 Votes
    3 Posts
    3k Views
    cruunnerrC
    @ninjabreadman said in Use MMM-Buttons to hide/show modules: Hope that helps. Works. Thank u very much :)
  • MMM-CalenderExt self signed ssl certificate

    1
    1 Votes
    1 Posts
    1k Views
    B
    Hello, I have the following problem: I have MagicMirror running on my corporate network and want to access our Kerio calendars. These can be accessed via an https page. Unfortunately, the SSL encryption is self-signed. MMM issues an error message here and does not retrieve the page. How can I handle this? Thanks for your help
  • wrapper.innerHTML

    4
    0 Votes
    4 Posts
    3k Views
    D
    I was interrupted when I wrote my answer and forgot to add what I was initially going to say. I decided to write a new reply instead of editing the above, not to confuse anyone and keep the two apart. There is another way to update the content of an element (that has been created in getDom before): Example 3, .innerHTML: start: function() { // stays the same as above setTimeout(function() { this.magicContent(self); // this will call the function "magicContent" }, 10 * 1000); // 10 seconds after the start, 5 seconds after "buildContent" }, // we don't touch getDom or buildContent! magicContent: function() { document.getElementById("my-content").innerHTML = "Changed <i><b>yet again!"; } document.getElementById(“my-content”).innerHTML = “content”; will update the selected element (the div with the id “my-content”) with the selected content without having to call updateDom(). Keep in mind that this will only work on elements that were created before in getDom, so it will not work within start: function() … Caution! This can also update elements of other modules, so be careful and use unique IDs.
  • MMM-Facial-Recognition-Tools error

    2
    0 Votes
    2 Posts
    2k Views
    A
    @acabrera2012 SOLVED! I changed “model.save(config.TRAINING_FILE)” to “model.write(config.TRAINING_FILE)” in train.py
  • SOLVED

    1
    0 Votes
    1 Posts
    788 Views
    A
    Re: MMM-Facial-Recognition-Tools error Solved: I changed “model.save(config.TRAINING_FILE)” to “model.write(config.TRAINING_FILE)” in train.py.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    1 Views
  • MMM-NOAA

    noaa
    10
    0 Votes
    10 Posts
    5k Views
    cowboysdudeC
    @Peter Glad you got it working !