A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • 0 Votes
    1 Posts
    486 Views
    B
    I received this error while building opencv: make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:128: modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:8811: modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 It was after entering “make -j4” in the command line. There were a few red marked words before the code up here. Let me know if you would like to take a look.
  • Help Me To Get Lucy Working

    18
    0 Votes
    18 Posts
    7k Views
    Mykle1M
    @racampbellky Rename your current Hello-Lucy folder. (just in case) Open a new terminal window Type cd MagicMirror/modules and Enter Type git clone https://github.com/mykle1/Hello-Lucy and Enter Type cd Hello-Lucy/installers and Enter Type bash dependencies.sh and Enter This does NOT solve your issues with github but it does get you the most recent Lucy.
  • Issues after update - restoring?

    Solved
    13
    0 Votes
    13 Posts
    3k Views
    N
    I saw that - the new fitbit module looks great, I am going to try it later today. Thanks!
  • MMM-Fitbit throwing an error

    Unsolved
    5
    0 Votes
    5 Posts
    762 Views
    S
    @nakulbende there is no ‘error’… just warnings and dumb warnings (no package.json file, yeh so what!),. sadly it looks like this module is way out of date and not updated… there was another user here creating a new fitbit module see here https://forum.magicmirror.builders/topic/12029/what-is-the-procedure-for-reviving-a-dead-module
  • Error with MMM-Hotword use

    Unsolved
    1
    0 Votes
    1 Posts
    325 Views
    A
    i finally achieve the installation and configuration of the module but when i run the mirror i got this error WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module './snowboy/lib/node/index.js' and yet in my config.js I don’t specify any path. In the package.json of my snowboy folder the path specified in the main is lib / node / index.js so I don’t understand where the problem may come from
  • Fresh install but pm2 error

    Solved
    37
    0 Votes
    37 Posts
    11k Views
    S
    @Hubschra01 yes, askimet is a pain… thanks for your information… I suspect the other bad failure info is reboot after just npm start
  • problems with communication between modules

    Unsolved
    1
    0 Votes
    1 Posts
    287 Views
    A
    hi everyone who could explain to me how to set up the voice control modules. The one I would like to use is MMM-Hotword and I am already having trouble integrating the library. I manually copied the downloaded files on snowboy.kit.ai but its use created problems when importing dynamic modules j have corrected some files and I am correcting those which remain but once finished how to make interact the modules between them starting from the voice command?
  • No sound input and no sound output from the MagicMirror

    Unsolved
    2
    0 Votes
    2 Posts
    515 Views
    S
    @vinck6927 look at the output of two commands list recording devices (microphones) arecord -l list output devices (speakers) aplay -l which device did u use for MMM Assistant config? see https://www.raspberrypi.org/forums/viewtopic.php?t=110302 for speakers
  • MM stuck on boot up - cant connect via remote

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    K
    @sdetweil Well the issue with the Pi being stuck at the splash was already happening before the console… maybe it was multiple things? The pi started up and forced me to log in suddenly (no clue why). That is what got me started on checking the SD card. Since i didnt get access via remote (“wrong” username) I had to swap to console, deleted files and couldnt figure out how to get back. It works again ^^ – Regarding the disk-space. I got a 16 gb sd card. However it was the 3-4 previous versions of MM2 I forgot to delete from the bin. I will keep an eye on it and hopefully never run into that problem ^^’ – Really appreciate the help! Thanks alot and big thumbs up to the community here! Also added the “solutions” to the first post so people may be able to find a quick solution as well.
  • normal update (git pull) for modules does not work...

    Solved
    4
    0 Votes
    4 Posts
    990 Views
    StoffbeuteluweS
    @Varguit and @sdetweil thank you very much
  • custom JS file (JQUERY)

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    D
    If you have a git hub account you can fork the module’s repo to your own github account and then install/clone it to your modules folder from your own git. Make the change, push it to your remote repo. When there’s an update, you can merge the update with your changed code on github and update the module afterwards. Or not even bother with updates anymore at all, if you want that.
  • How to display start and end times/dates of events in calendar

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    M
    Thanks that was really useful. My revised config is: (start and end date/time, one of many possible formats) config: { dateFormat: "llll", // dateEndFormat: “YYYY-MMDDTHH:mm:ss”, dateEndFormat: “llll”, timeFormat: ‘absolute’, showEnd: true, urgency: 0, getRelative: 0, fetchInterval: 2 * 60000, calendars: [ { I found this site a bit easier to follow: https://devhints.io/moment
  • Error [ERR_STREAM_DESTROYED]

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    S
    @jorgnyg this is a bug in the run-start.sh script get a new one here cd !/MagicMirror curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/run-start.sh >run-start.sh
  • erro MMM-HASS

    Solved
    19
    0 Votes
    19 Posts
    6k Views
    S
    @iorifly said in erro MMM-HASS: I haven’t tested the spotify model yet. it won’t fail for the run-start script problem… can’t guarantee anything beyond that
  • Making my first module: issue with notifications

    Unsolved notifications module magicmirror
    8
    0 Votes
    8 Posts
    2k Views
    S
    @rico24 and here is an updated node_helper, that rejects connecting clients if they don’t send the right kind of identifier (ends with a digit) var NodeHelper = require('node_helper'); var request = require('request'); module.exports = NodeHelper.create({ initial_counter:10000, start: function() { this.countDown = {} }, isDigit: function(x){ return (x>='0' && x< ='9') // watch out for spaces after < , forum hides it all }, socketNotificationReceived: function(notification, payload) { console.log("Payload: =" + JSON.stringify(payload)); switch(notification){ case "DO_YOUR_JOB": if(this.isDigit(payload.identifier.slice(-1))){ if(!this.countDown.hasOwnProperty(payload.identifier+this.ourpage)){ this.countDown[payload.identifier]=this.initial_counter; } let return_payload={identifier: payload.identifier, value:(this.countDown[payload.identifier] - payload.value)} this.sendSocketNotification("I_DID",return_payload ) console.log("Payload 2: = " + JSON.stringify(return_payload)); } else this.sendSocketNotification("I_DID_REJECTED_INVALID_IDENTIFIER",payload ) break } }, });
  • MagicMirror stuck at installation

    Unsolved
    2
    0 Votes
    2 Posts
    481 Views
    S
    @T-v-A which script are you executing? there was a bug in the 1st version… see here https://github.com/sdetweil/MagicMirror_scripts
  • Text stysle

    Unsolved
    1
    0 Votes
    1 Posts
    290 Views
    I
    Hi i need help with text style How can i align it to right and max width with 50%, Because now when i make it top_right or top_left its moving all my modules to other side. I guess this is the code for text changes. getDom: function () { let wrapper = document.createElement(“div”); let quoteTextDiv = document.createElement(“div”); let quoteAuthorDiv = document.createElement(“div”); quoteTextDiv.className = "normal"; quoteAuthorDiv.className = "small dimmed"; if (this.result.quoteText && this.result.quoteAuthor){ quoteTextDiv.innerHTML = this.result.quoteText; quoteAuthorDiv.innerHTML = this.result.quoteAuthor; }else{ quoteTextDiv.innerHTML = "Loading"; quoteAuthorDiv.innerHTML = ""; } wrapper.appendChild(quoteTextDiv); wrapper.appendChild(quoteAuthorDiv); return wrapper; },
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    30 Views
  • Third-Party Module - how to get help?

    Solved
    64
    0 Votes
    64 Posts
    33k Views
    S
    @ember1205 passing on observations is what it’s all about! Many eyes looking see different things. All contribute to the whole view.
  • MMM-CalendarEXT2 - Event color changes

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    C
    @suspect24 Here is how I implemented the transform function. Background: my daughter plays on a softball team that contains the word “Panic”. I want to change the background color to match the team color and I want to include a softball icon for the event. I add the following code to the defaultSet section in MMM-CalendarExt2. This means every time the word “Panic” is found in an event title that the commands following are executed. Note: I have an If…else If structure here so I can actually transform a number of items. defaultSet: { calendar: { maxItems: 500, scanInterval: 1000*60*1, beforeDays: 5, afterDays: 60, maxIterations: 100, }, view: { timeFormat: "h:mm A", transform: function(event) { if (event.title.search("Panic") > -1) { event.icon = "noto-softball"; event.className = "view_panic"; } else if (event.title.search("Arin") > -1) { event.icon = "noto-softball"; } else if (event.title.search("Violin") > -1) { event.icon = "emojione-monotone:violin"; } return event; }, }, scene: {} }, Now that I have assigned a className object to the events that contain the word “Panic” I can use that object in the custom. css file. .CX2 .event.view_panic { background-color:rgba(139,0,139,1); } There may be other ways to do this but this one worked out well for me.