A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • What to do with package-lock.json

    2
    0 Votes
    2 Posts
    445 Views
    BKeyportB
    @EveningStarNM Ignore it, if an update won’t happen because of it, delete it then.
  • My weather forecast keeps changing vertical size.

    5
    0 Votes
    5 Posts
    903 Views
    R
    @sdetweil Just set my pictures from RANDOM to OLD and watched it scan through them twice with no change in weather forecast size. I was hoping I could see it do something. Nope, nothing…
  • Symbolic Link fault Question

    3
    0 Votes
    3 Posts
    579 Views
    S
    @sdetweil i also wouldn’t copy the node_modules folder, but redo npm install. Or zip the whole thing and unzip on target, instead of copy
  • Issues enabling https on RP 4

    1
    0 Votes
    1 Posts
    236 Views
    P
    Hi all, I found myself working on my first Smart Mirror this week and I loved how easy it is to download new modules and have them running in no time. I was interested in enabling https by creating the certificates and changing the variable under config.js: useHttps: false -> useHttps: true Nevertheless I only got a black screen afterwards. I tried everything I could think of, but, being that Im not much of a programmer, it basically meant hitting the keyboard with one hand while having another coffee hoping that would do it. Eventually, I managed to find out that I could connect to the https://localhost:port via a browser, which made me realise the keyboard-hitting works… and that it was running… just not with electron. Well, tonight, after many an hour in front of this, I was able to get it to work, so I can narrow it down to the following: Create your certificates correctly Make sure you put the right address where they are located Not enough coffee There is a piece of code in electron.js that seems to be checking the wrong variable: // if (config[“tls”] !== null && config[“tls”]) { if (config.useHttps) { prefix = “https://”; } else { prefix = “http://”; } The line in “//” was commented out by me. I couldnt find much of a reference to tls anywhere. Finally, as the certificate is self signed, these lines had to be added also to electron.js: app.on(‘certificate-error’, (event, webContents, url, error, certificate, callback) => { event.preventDefault(); callback(true); }); I hope it helps someone else! Thanks Regards JP
  • MM fails regularly

    raspberry pi 1 chromium network
    7
    0 Votes
    7 Posts
    2k Views
    M
    @GuyWithAQuestion That actually sounds like a good solution, thanks! I’ve already got a cronjob that turns the screen off at night so I’ll try to add one to reboot every so often
  • Outlook.com calendar

    Solved
    8
    0 Votes
    8 Posts
    5k Views
    B
    hello, I am using an outlook addon which is gsyncit to synchronize my outlook calendar to gmail calendar. no problem with the mirror which contains the gmail calendar.
  • Acces IP Whitelist

    5
    0 Votes
    5 Posts
    1k Views
    G
    Thanks it’s ok now.
  • npm istall problem

    3
    0 Votes
    3 Posts
    342 Views
    S
    @sdetweil if u had run the install script, it would have done this for you
  • No stream output from webcam. No errors raised.

    12
    1
    0 Votes
    12 Posts
    4k Views
    Y
    @hsalas After thinking about it, I came to the conclusion that it had more to do with the power usage of the raspberry pi than any sort of code/module issue. I noticed I was getting low power notices while just trying to use the webcam. Even using webcamoid would lag, stutter, and give those errors. So I installed Ubuntu 20.04 on a mini desktop, installed MM and the modules (with some tweaking to get pyaudio working) I had no issues, and everything worked perfectly. Which means it’s either the pi itself not having enough power, the webcam you are using is drawing too much power, or a combination of both. Might be worth exploring
  • Socket Error on Server Mode

    4
    0 Votes
    4 Posts
    868 Views
    S
    @emrah_asl again. What do u mean publish? U are uploading all the files and running mm from there, or a live link to your home server, or???
  • problem after switching rpi4

    3
    0 Votes
    3 Posts
    501 Views
    R
    @sdetweil it works back, i reinstalled the mirror and copied the modules folder back from the win pc to the pi and restarted the config.js and it worked
  • MagicMirror server get info through proxy

    3
    0 Votes
    3 Posts
    547 Views
    L
    @sdetweil Sadly, no lock with tsocks or proxychains. I had already attempted proxychains, but I kept getting an error and crash when using that, and tsocks doesn’t crash, but I just get the same errors as above. Pretty sure I’ve got everything configured correctly otherwise in their respective conf files, and I’ve tried a few variations just to make sure. Proxychains: pi@PI-GW-3BPlus:~/MagicMirror $ proxychains npm run server ProxyChains-3.1 (http://proxychains.sf.net) > magicmirror@2.13.0 server /home/pi/MagicMirror > node ./serveronly [2020-11-16 08:25:40.797] [LOG] Starting MagicMirror: v2.13.0 [2020-11-16 08:25:40.819] [LOG] Loading config ... [2020-11-16 08:25:40.829] [LOG] Loading module helpers ... [2020-11-16 08:25:40.865] [LOG] Initializing new module helper ... [2020-11-16 08:25:40.867] [LOG] Module helper loaded: MMM-BackgroundSlideshow [2020-11-16 08:25:41.561] [LOG] Initializing new module helper ... [2020-11-16 08:25:41.562] [LOG] Module helper loaded: newsfeed [2020-11-16 08:25:41.639] [LOG] Initializing new module helper ... [2020-11-16 08:25:41.640] [LOG] Module helper loaded: updatenotification [2020-11-16 08:25:41.642] [LOG] No helper found for module: clock. [2020-11-16 08:25:41.643] [LOG] No helper found for module: calendar_monthly. [2020-11-16 08:25:41.894] [LOG] Initializing new module helper ... [2020-11-16 08:25:41.895] [LOG] Module helper loaded: calendar [2020-11-16 08:25:41.896] [LOG] No helper found for module: currentweather. [2020-11-16 08:25:41.896] [LOG] No helper found for module: weatherforecast. [2020-11-16 08:25:41.897] [LOG] No helper found for module: MMM-DarkSkyRadar. [2020-11-16 08:25:41.898] [LOG] All module helpers loaded. [2020-11-16 08:25:42.087] [LOG] Starting server on port 8081 ... [2020-11-16 08:25:42.111] [LOG] Server started ... [2020-11-16 08:25:42.113] [LOG] Connecting socket for: MMM-BackgroundSlideshow [2020-11-16 08:25:42.115] [LOG] Connecting socket for: newsfeed [2020-11-16 08:25:42.116] [LOG] Starting node helper for: newsfeed [2020-11-16 08:25:42.118] [LOG] Connecting socket for: updatenotification [2020-11-16 08:25:42.119] [LOG] Connecting socket for: calendar [2020-11-16 08:25:42.120] [LOG] Starting node helper for: calendar [2020-11-16 08:25:42.121] [LOG] Sockets connected & modules started ... [2020-11-16 08:25:42.122] [LOG] Ready to go! Please point your browser to: http://192.168.7.1:8081 [2020-11-16 08:25:46.112] [LOG] Create new news fetcher for url: https://www.espn.com/espn/rss/ncf/news - Interval: 300000 |DNS-request| www.espn.com [2020-11-16 08:25:46.305] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 [2020-11-16 08:25:46.321] [INFO] Checking git for module: MMM-BackgroundSlideshow |DNS-response|: www.espn.com does not exist node: ../deps/uv/src/unix/getaddrinfo.c:93: uv__getaddrinfo_translate_error: Assertion `!"unknown EAI_* error code"' failed. Aborted npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR! magicmirror@2.13.0 server: `node ./serveronly` npm ERR! Exit status 134 npm ERR! npm ERR! Failed at the magicmirror@2.13.0 server script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-11-16T13_25_46_466Z-debug.log Tsocks: pi@PI-GW-3BPlus:~/MagicMirror $ tsocks npm run server > magicmirror@2.13.0 server /home/pi/MagicMirror > node ./serveronly [2020-11-16 08:23:12.072] [LOG] Starting MagicMirror: v2.13.0 [2020-11-16 08:23:12.094] [LOG] Loading config ... [2020-11-16 08:23:12.107] [LOG] Loading module helpers ... [2020-11-16 08:23:12.145] [LOG] Initializing new module helper ... [2020-11-16 08:23:12.147] [LOG] Module helper loaded: MMM-BackgroundSlideshow [2020-11-16 08:23:12.823] [LOG] Initializing new module helper ... [2020-11-16 08:23:12.824] [LOG] Module helper loaded: newsfeed [2020-11-16 08:23:12.895] [LOG] Initializing new module helper ... [2020-11-16 08:23:12.896] [LOG] Module helper loaded: updatenotification [2020-11-16 08:23:12.899] [LOG] No helper found for module: clock. [2020-11-16 08:23:12.900] [LOG] No helper found for module: calendar_monthly. [2020-11-16 08:23:13.154] [LOG] Initializing new module helper ... [2020-11-16 08:23:13.155] [LOG] Module helper loaded: calendar [2020-11-16 08:23:13.156] [LOG] No helper found for module: currentweather. [2020-11-16 08:23:13.157] [LOG] No helper found for module: weatherforecast. [2020-11-16 08:23:13.158] [LOG] No helper found for module: MMM-DarkSkyRadar. [2020-11-16 08:23:13.158] [LOG] All module helpers loaded. [2020-11-16 08:23:13.349] [LOG] Starting server on port 8081 ... [2020-11-16 08:23:13.377] [LOG] Server started ... [2020-11-16 08:23:13.380] [LOG] Connecting socket for: MMM-BackgroundSlideshow [2020-11-16 08:23:13.381] [LOG] Connecting socket for: newsfeed [2020-11-16 08:23:13.383] [LOG] Starting node helper for: newsfeed [2020-11-16 08:23:13.384] [LOG] Connecting socket for: updatenotification [2020-11-16 08:23:13.386] [LOG] Connecting socket for: calendar [2020-11-16 08:23:13.387] [LOG] Starting node helper for: calendar [2020-11-16 08:23:13.388] [LOG] Sockets connected & modules started ... [2020-11-16 08:23:13.389] [LOG] Ready to go! Please point your browser to: http://192.168.7.1:8081 [2020-11-16 08:23:16.623] [LOG] Create new news fetcher for url: https://www.espn.com/espn/rss/ncf/news - Interval: 300000 [2020-11-16 08:23:16.823] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 [2020-11-16 08:23:16.852] [ERROR] Calendar Error. Could not fetch calendar: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics { Error: getaddrinfo EAI_AGAIN www.calendarlabs.com www.calendarlabs.com:80 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26) errno: 'EAI_AGAIN', code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'www.calendarlabs.com', host: 'www.calendarlabs.com', port: 80 } [2020-11-16 08:23:16.901] [INFO] Checking git for module: MMM-BackgroundSlideshow [2020-11-16 08:23:17.027] [INFO] Checking git for module: calendar_monthly [2020-11-16 08:23:17.052] [INFO] Checking git for module: MMM-DarkSkyRadar [2020-11-16 08:23:17.231] [ERROR] fatal: unable to access 'https://github.com/KirAsh4/calendar_monthly/': Could not resolve host: github.com [2020-11-16 08:23:17.234] [ERROR] fatal: unable to access 'https://github.com/vincep5/MMM-DarkSkyRadar/': Could not resolve host: github.com [2020-11-16 08:23:17.240] [ERROR] fatal: unable to access 'https://github.com/darickc/MMM-BackgroundSlideshow/': Could not resolve host: github.com [2020-11-16 08:23:17.263] [ERROR] fatal: unable to access 'https://github.com/MichMich/MagicMirror/': Could not resolve host: github.com ^C[2020-11-16 08:25:28.626] [LOG] [SIGINT] Received. Shutting down server... [2020-11-16 08:25:28.629] [LOG] Stopping module helper: MMM-BackgroundSlideshow [2020-11-16 08:25:28.630] [LOG] Stopping module helper: newsfeed [2020-11-16 08:25:28.631] [LOG] Stopping module helper: updatenotification [2020-11-16 08:25:28.632] [LOG] Stopping module helper: calendar
  • After reboot RPI no changes are saved?

    15
    0 Votes
    15 Posts
    6k Views
    P
    @daenick @wizz Mine was a bad mem card. I created an image of it with win32Diskimager, Now I can just write the complete setup to a new card anytime I need to. In my case it requires a lot of redoing the image since I cant leave well enough alone. Constant changing things on my MagicMirror.
  • Cannot get my Google Photos at the top of the screen???

    5
    0 Votes
    5 Posts
    990 Views
    R
    @chassain-0 Thanks! For the record, I’ve been looking in google for days. Never could find anything that would help. Guess my google-fu isn’t that good.
  • google assistant foto's problem

    1
    0 Votes
    1 Posts
    215 Views
    R
    when I ask the google assistant to show my photos he only shows about 30 of the 100, where do I know this setting that he shows them all (photos are on google drive)
  • black image after update google assistant

    5
    0 Votes
    5 Posts
    750 Views
    R
    @sdetweil okay Sam thanks again it works back
  • Copy & paste question

    4
    0 Votes
    4 Posts
    549 Views
    S
    @norwestie do npm run config:check from the MagicMirror folder, work from the top down, one error at a time unexpected token usually means a missing comma on the line before the one reported
  • Calender updated to show 2021 holidays?

    6
    0 Votes
    6 Posts
    1k Views
    S
    @jca2112 guess u will have to ask them, cause the ics doesn’t have any 2021 dates in it, although it’s listed as 2021.
  • Default Calendar and Daylight Savings Problems

    Unsolved
    13
    0 Votes
    13 Posts
    3k Views
    S
    @DaHarry great, that’s what I am looking for…
  • MMM-Carousel w/ Slide Navigation

    15
    0 Votes
    15 Posts
    5k Views
    R
    @banbutcher module installed (MMM-Keybindings) but not added in the config and it works (my knowledge is also very limited because I also have to figure everything out) I normally work in the concrete so that is something completely different huh