A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MagicMirror keeps crashing within 1 minute of starting up

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    J
    @sdetweil that did the trick, thank you! Bummer about watchdog, the auto restart was nice
  • Cron Job Question

    Solved
    22
    0 Votes
    22 Posts
    7k Views
    S
    @plainbroke yes, but just call my script with ended (motion stopped) started (motion started) same as my doc says for the motion config
  • Compliment from calendar event

    Unsolved
    5
    0 Votes
    5 Posts
    997 Views
    S
    @MMRIZE { classes: "default scheduler", module: "compliments_plus", position: "middle_center", disabled: false, config: { module_schedule: {from: '0-59/10 * * * *', to: '5-59/10 * * * *'}, updateInterval: 30000, remoteFile: null, fadeSpeed: 4000, random: true, mockDate: null, classes: "compliments_plus thin large pre-line", // the beginning of the day period morning: 5, noon: 12, afternoon: 15, evening: 18, night: 22, midnight: 1, compliments: { "AQI_1" : [ "<i class=\"fa fa-leaf lime\"></i> Air Quality Good", ], "AQI_2" : [ "<i class=\"fa fa-leaf yellow\"></i> Air Quality Fair, mask on", ], "AQI_3" : [ "<i class=\"fa fa-leaf orange\"></i> Air Quality Moderate, mask on", ], "AQI_4" : [ "<i class=\"fa fa-leaf orangered\"></i> Air Quality Poor, need air purifier", ], "AQI_5" : [ "<i class=\"fa fa-leaf redrf\"></i> Air Quality Unhealty, dont breathe", ], "25-12-...." : [ "<i class=\"fa fa-snowman\"></i> Marry Christmas!" ], "01-01-....": [ function() {return "<i class=\"fa fa-glass-cheers\"></i> Happy New Year! " + moment().format("YYYY")} ], "..-..-....": [ function() {return moment().locale(config.language).format("dddd, D MMMM")} ], } }, }, The config for the module
  • MODULE TELEGRAM (2)

    Unsolved
    1
    0 Votes
    1 Posts
    364 Views
    A
    Hello, The chat bot doesn’t appear in the mm. Is there a way to validate the device as we do for a desktop via the qr code ? Thanks for your answer, acd,
  • ERROR:node_controller.cc(585)] Trying to re-add dropped peer

    Solved
    19
    0 Votes
    19 Posts
    5k Views
    S
    @travishardiman cool
  • Warning Notice

    Unsolved
    3
    0 Votes
    3 Posts
    583 Views
    BKeyportB
    @Robtrowb More information would be useful for help. always include the module name in the title. always include a screenshot if available. Thanks.
  • Fetch is not a function

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    Hein-JanH
    @sdetweil Thanks for the clarification. Will try the script next time. Hein-Jan
  • Update fail

    Solved
    28
    0 Votes
    28 Posts
    9k Views
    T
    after updating my MM installation I had also an electron problem and MM didn’t start. This topic works for my fine and fixed my installation: https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more?page=1
  • Three module issues from a new user

    Unsolved
    27
    2
    0 Votes
    27 Posts
    10k Views
    kayakbabeK
    @luisestrada I’ll swing it back to this thread… I got access to the extra fontawesome 6 by just copying the contents over the font awesome 4 in the vendors folder. NOT the right way to do it because it will get wiped out if I ever update my mirror. Correct me if I"m wrong, but I think it should have been a subfolder in the mm css folder in order to preserve it. Also I copied the provider file for openweathermap.js (and gave it a new name) and changed the constants for the weathertype to the following. (note, i have access to the pro fontawesome so I can use the duotone icons in my mirror). /* * Convert the OpenWeatherMap icons to a more usable name. */ convertWeatherType(weatherType) { const weatherTypes = { "01d": "fa-duotone fa-sun", "02d": "fa-duotone fa-sun-cloud", "03d": "fa-duotone fa-cloud-sun", "04d": "fa-duotone fa-clouds-sun", "09d": "fa-duotone fa-cloud-sun-rain", "10d": "fa-duotone fa-cloud-showers-heavy", "11d": "fa-duotone fa-cloud-bolt", "13d": "fa-duotone fa-snowflake fa-spin-pulse", "50d": "fa-duotone fa-sun-haze", "01n": "fa-duotone fa-moon-stars night", "02n": "fa-duotone fa-moon-cloud night", "03n": "fa-duotone fa-clouds-moon night", "04n": "fa-duotone fa-cloud-moon-rain night", "09n": "fa-duotone fa-cloud-showers night", "10n": "fa-duotone fa-cloud-moon-rain night", "11n": "fa-duotone fa-cloud-bolt night", "13n": "fa-duotone fa-snowflake fa-spin-pulse night", "50n": "fa-duotone fa-cloud-fog night" }; I think these used to be configurable for the old weather modules in the config.js, but now they are constants defined in the provider file. Make sense because each profider sends differnt weathertype codes and it would be really confusing for people help one another. But then you have geeks like us who ust keep digging and we can usually figure it out maybe with nudges in the right direction. For Openweathermap (OWM) those constands/weathertypes are based on the “icon” info that OWM sends. I thought about changing that to use the codes that OWM provides since ErikFlowers weathericons now have so many more weathericons and he actually provides a definition for the OWM codes to his icons too. I did the kickstarter to help Fontawesome create 6, so have all the paid version 6 icons too without subscription fees. I love their weather duotone icons and they do work on the mm if the css is set correctly. They work in the calendar too. I’m sure they’d also work with the same fixes in the third party modules. I think a lot of folks just used the default modules as models of how to build their own so a lot of the hard coded stuff (that should have been config enabled instead) just carried through to their own modules. All of us need to remember that Mich did this for himself and knew what he wanted. I probably would have hard coded it myself in that situation. We are lucky we have free access to what he began and gave to the public for free. I’m so glad he did. This is a great learning project with a great looking usable end product.
  • Errors with newest update

    Solved
    3
    0 Votes
    3 Posts
    722 Views
    N
    @sdetweil Thank you Sam
  • Default weather module not showing after MM update

    Solved
    25
    0 Votes
    25 Posts
    9k Views
    T
    @01ZerosOnes01 said in Default weather module not showing after MM update: @mumblebaj Okay this is what I get when I run shift + ctrl + i Load script: modules/default/weather/weather.js :8080/modules/default/weather/weather.js:159 Uncaught SyntaxError: Unexpected token . I’m running into the exact same issue as explained above since I updated my MM. However, I only get this error message in chromium on the rasperry pi itself when I call the URL of the MM. All other devices in my network can display the Weather Module cleanly when I access the page via LAN IP. Both chromium and firefox on my notebook and my smartphone are displaying the default weather module cleanly.
  • Config modules from external file (JSON)

    config modules json file
    14
    0 Votes
    14 Posts
    5k Views
    T
    @sdetweil thanks for the tip. Unfortunately, I couldn’t find a good js/python script example for that. For a while, I ended up creating a simple batch script to append multiple json config files for each module in between the config header and footer. In case you remember a place were I can find a thread for that discussion, please let me know.
  • Unable to start MM after updates

    Unsolved
    2
    0 Votes
    2 Posts
    638 Views
    S
    @Richard238 pm2 status will show u the defined apps to monitor if you used my script to install the name is MagicMirror. u can also use the row number pm2 start 0 or if more than one app is define, pm2 start all your status from above says 0 | MagicMirror | fork | 1 | stopped | 0%
  • How to fix npm install errors on Gateway?

    Unsolved gateway npm error
    2
    0 Votes
    2 Posts
    922 Views
    AssassinsA
    @Untitled Is not the right Forum. Ask here : https://forum.bugsounet.fr
  • Struggling with Weather... module

    Solved
    34
    3
    0 Votes
    34 Posts
    13k Views
    S
    @D3dl3g glad u got it working. we are all noobs at some of this stuff…
  • Git with MM

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    S
    @MagicBeginner when you git clone you copy the repository too your module should NOT be added to the MM git repo (unless u are creating a new default module which would be shipped as part of MM) and you don’t NEED ANY of MM to create and use a git repo for your module
  • Building mirror without programing

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    S
    @plainbroke no, sorry. neither support bash scripting in Chromebook, if u install a real os, like gallium, then the script works., but not on chromeos… windows 10/11, manual install works, with extra steps…
  • Newfeed & Bring not updating

    Unsolved
    4
    0 Votes
    4 Posts
    650 Views
    M
    @sdetweil Many thanks!. That seemed to work so far :) !
  • help with Google Calendar, No upcoming events

    Unsolved
    3
    0 Votes
    3 Posts
    629 Views
    ankonaskiff17A
    @sdetweil Sounds a lot like same problem I had with Google calendar that was some odd date and time format that Google was using. Did that exact thing. No upcoming events. I punted on Google in end and am sending Outlook calendar to MM
  • MagicMirror Raspberry 3B

    Unsolved
    2
    0 Votes
    2 Posts
    511 Views
    S
    @beliar Googlemapstraffic has not been updated in a while. I found and fixed a bug like this, so try my copy https://github.com/sdetweil/MMM-GoogleMapsTraffic the other issues sound like a networking problem on restart…