MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. DarrenHill
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 85
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Failed update

      @sdetweil said in Failed update:

      @DarrenHill said in Failed update:

      tr

      rerun, I had to fix the order of parms on the npm install

      just updated use force at the end now as 2.21 is installed but not setup

      I assume you mean

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      

      It ran, but didn’t seem to help. Still got the same in the logs. Also tried “apply force” at the end just in case, no different.

      The script also did display Unknown command: “dev” after each module listing, which may relate to your second post above? An example below - the same appears for all the modules.

      No LSB modules are available.
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v16.9.1
      Installed Node version: v16.17.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V7.11.2
      Installed npm version: V8.15.0
      No npm upgrade necessary.
      
      saving custom.css
      (23) Failed writing body
      upgrading from version 2.21.0 to 2.21.0
      fetching latest revisions
      updating MagicMirror runtime, please wait
      Unknown command: "dev"
      
      To see a list of supported npm commands, run:
        npm help
      Checking for modules with removed libraries
      processing dependency changes for active modules with package.json files
      
      processing for module MMM-ModuleScheduler please wait
      ----------------------------------
      Unknown command: "dev"
      
      
      posted in Troubleshooting
      D
      DarrenHill
    • Failed update

      Just tried to update my mirror (running on a Pi3) using the update script and now just getting the RaspiOS desktop.

      In the error log I’m getting this:

      /tmp/start-ae66716a.sh: 1: /tmp/start-ae66716a.sh: ./node_modules/.bin/electron: not found
      /tmp/start-5f9bf958.sh: 1: /tmp/start-5f9bf958.sh: ./node_modules/.bin/electron: not found
      /tmp/start-61e117a4.sh: 1: /tmp/start-61e117a4.sh: ./node_modules/.bin/electron: not found
      /tmp/start-d066481b.sh: 1: /tmp/start-d066481b.sh: ./node_modules/.bin/electron: not found
      /tmp/start-e2a8c45b.sh: 1: /tmp/start-e2a8c45b.sh: ./node_modules/.bin/electron: not found
      /tmp/start-811c1067.sh: 1: /tmp/start-811c1067.sh: ./node_modules/.bin/electron: not found
      /tmp/start-0200e581.sh: 1: /tmp/start-0200e581.sh: ./node_modules/.bin/electron: not found
      /tmp/start-b6c97c53.sh: 1: /tmp/start-b6c97c53.sh: ./node_modules/.bin/electron: not found
      /tmp/start-1e98fa17.sh: 1: /tmp/start-1e98fa17.sh: ./node_modules/.bin/electron: not found
      /tmp/start-e0978d33.sh: 1: /tmp/start-e0978d33.sh: ./node_modules/.bin/electron: not found
      /tmp/start-23891cd1.sh: 1: /tmp/start-23891cd1.sh: ./node_modules/.bin/electron: not found
      /tmp/start-425db6c2.sh: 1: /tmp/start-425db6c2.sh: ./node_modules/.bin/electron: not found
      /tmp/start-4430a341.sh: 1: /tmp/start-4430a341.sh: ./node_modules/.bin/electron: not found
      /tmp/start-be15a75e.sh: 1: /tmp/start-be15a75e.sh: ./node_modules/.bin/electron: not found
      

      And there is indeed no electron in there, although there is .electron-7jst2j2U -> …/electron/cli.js ?

      pi@mirrorpi:~/MagicMirror/node_modules/.bin $ ls -al
      total 44
      drwxr-xr-x   2 pi pi  4096 Oct  2 17:59 .
      drwxr-xr-x 587 pi pi 36864 Oct  2 17:59 ..
      lrwxrwxrwx   1 pi pi    18 Jul  3 12:40 .acorn-IIB8cHVa -> ../acorn/bin/acorn
      lrwxrwxrwx   1 pi pi    18 Jul  3 12:40 .electron-7jst2j2U -> ../electron/cli.js
      lrwxrwxrwx   1 pi pi    23 Jul  3 12:40 .eslint-UE4ITVWN -> ../eslint/bin/eslint.js
      lrwxrwxrwx   1 pi pi    21 Sep  2  2020 extract-zip -> ../extract-zip/cli.js
      lrwxrwxrwx   1 pi pi    25 Jan  9  2022 js-yaml -> ../js-yaml/bin/js-yaml.js
      lrwxrwxrwx   1 pi pi    14 Jul  3 12:40 mime -> ../mime/cli.js
      lrwxrwxrwx   1 pi pi    20 Apr  2  2022 mkdirp -> ../mkdirp/bin/cmd.js
      lrwxrwxrwx   1 pi pi    23 Jul 25  2021 node-which -> ../which/bin/node-which
      lrwxrwxrwx   1 pi pi    16 Jul 25  2021 rimraf -> ../rimraf/bin.js
      lrwxrwxrwx   1 pi pi    23 Jul 25  2021 semver -> ../semver/bin/semver.js
      lrwxrwxrwx   1 pi pi    21 Jul 25  2021 uuid -> ../uuid/dist/bin/uuid
      

      Any tips to get things up and running again?
      The script itself seemed to run fine and finished back to the command prompt as expected.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      To add - I checked via the web link (in Chrome) and both keys give exactly the same response:

      Original:

      {"status":"ok","totalResults":10,"articles":[{"title":"Charles formally confirmed as king in ceremony televised for first time","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-10T09:22:16.0519529Z","url":"http://www.bbc.co.uk/news/uk-62860893"},{"title":"Kharkiv offensive: Russia surprised as Ukraine takes several towns - UK","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-10T08:37:17.1082493Z","url":"http://www.bbc.co.uk/news/world-europe-62860774"},{"title":"Sir Elton John pays tribute to Queen Elizabeth II","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-10T01:22:23.3573709Z","url":"http://www.bbc.co.uk/news/entertainment-arts-62860047"},{"title":"In pictures: Queen Elizabeth II in North America","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T21:37:18.1845741Z","url":"http://www.bbc.co.uk/news/world-us-canada-62854864"},{"title":"What do we call the Royal Family now?","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T18:22:20.0913328Z","url":"http://www.bbc.co.uk/news/uk-62854804"},{"title":"In pictures: King Charles' first full day on the throne","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T17:07:22.1996941Z","url":"http://www.bbc.co.uk/news/in-pictures-62797450"},{"title":"Six times the Queen made us laugh","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T16:22:20.8594645Z","url":"http://www.bbc.co.uk/news/uk-62849166"},{"title":"Outpouring of sympathy across the Commonwealth","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T12:52:20.8883515Z","url":"http://www.bbc.co.uk/news/world-62852412"},{"title":"Queen Elizabeth II: Your tributes to UK's longest-reigning monarch","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T09:07:26.059624Z","url":"http://www.bbc.co.uk/news/live/uk-62847455"},{"title":"Royal rebranding: What will happen to stamps, coins, banknotes and passports?","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T07:22:20.9827975Z","url":"http://www.bbc.co.uk/news/uk-59596996"}]}
      

      New:

      {"status":"ok","totalResults":10,"articles":[{"title":"Charles formally confirmed as king in ceremony televised for first time","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-10T09:22:16.0519529Z","url":"http://www.bbc.co.uk/news/uk-62860893"},{"title":"Kharkiv offensive: Russia surprised as Ukraine takes several towns - UK","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-10T08:37:17.1082493Z","url":"http://www.bbc.co.uk/news/world-europe-62860774"},{"title":"Sir Elton John pays tribute to Queen Elizabeth II","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-10T01:22:23.3573709Z","url":"http://www.bbc.co.uk/news/entertainment-arts-62860047"},{"title":"In pictures: Queen Elizabeth II in North America","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T21:37:18.1845741Z","url":"http://www.bbc.co.uk/news/world-us-canada-62854864"},{"title":"What do we call the Royal Family now?","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T18:22:20.0913328Z","url":"http://www.bbc.co.uk/news/uk-62854804"},{"title":"In pictures: King Charles' first full day on the throne","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T17:07:22.1996941Z","url":"http://www.bbc.co.uk/news/in-pictures-62797450"},{"title":"Six times the Queen made us laugh","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T16:22:20.8594645Z","url":"http://www.bbc.co.uk/news/uk-62849166"},{"title":"Outpouring of sympathy across the Commonwealth","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T12:52:20.8883515Z","url":"http://www.bbc.co.uk/news/world-62852412"},{"title":"Queen Elizabeth II: Your tributes to UK's longest-reigning monarch","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T09:07:26.059624Z","url":"http://www.bbc.co.uk/news/live/uk-62847455"},{"title":"Royal rebranding: What will happen to stamps, coins, banknotes and passports?","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-09T07:22:20.9827975Z","url":"http://www.bbc.co.uk/news/uk-59596996"}]}
      

      So the data is there, it’s not the module or the code, so it must be the API response specifically to my IP address or set-up. And if it is, we’re stuck and I guess I’ll just have to remove the module from my set-up.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @sdetweil - thanks - tried your API key and it gives exactly the same results as my original one.

      I also put my original API key into the chat, if you have time and are able could you test it for me?

      I’m starting to think that for some reason NewsAPI cannot provide a proper service to UK IP addresses or something like that.

      And I guess if that’s the case then we’re stuck, as everything provided by MM and you guys is all working fine, it’s just their API data that is for some reason messed up.

      By the way, can I take this moment to also thank both you and @mumblebaj for the support to look into this.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @mumblebaj - Yes, as I said I’m starting to think that your modules are both working fine, but the API feed I’m getting from NewsAPI is somehow corrupted and they are universally having issues with it.

      I can’t create a new API key as it won’t let me (it says they don’t support UK now if you try and create a new key from here), and I guess that might be related somehow?

      4223b88d-2348-4c14-8963-bdfe989b087c-image.png

      So I think we might be at a dead end here unfortunately with anything that’s using that API as its source.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @mumblebaj - Thanks for the support, and for both modules.

      Unfortunately that gives me a headline in Spanish (I think) about Apple iPhone 14 with “undefined” below it.

      I also tried your everything example configs from your GH page and got a similar layout (headline and undefined).

      I’m beginning to think NewsAPI itself is screwed for me unfortunately, so we may be onto a loser here regardless of module.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @mumblebaj - Thanks, no need to apologise.

      I tried the other module, and it also doesn’t show anything besides it’s “News” header title.

      The config I tried was:

              {
                  module: "MMM-NewsAPI",
                  header: "News",
                  position: "bottom_center",
                  config: {
                      apiKey : "<my API key>",
                      domains: "bbc.co.uk",
                      language: "en"
                      }
              },
      
      

      And also I tried replacing the domains: with sources: “bbc-news” and that gave the same results.

      There’s nothing in the logs, aside from confirming that the module is loading (as can be seen from the displayed title too).

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      I tried to register for a new api key, but when I tried it told me that they don’t support the UK (where I am) so I wonder if that somehow has something to do with it.

      This has obviously changed since I first registered, and given I’m getting some response from the API it is at least partially working, but besides that I have no idea…

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @MMRIZE said in MMM-News and BBC:

      @DarrenHill
      Ok, I found something. I don’t know why, but your result has “articles.source.Name” instead of “articles.source.name” that makes this error.

      Anything I can do to overcome that?

      No idea why I’m getting different API returns to you guys…?

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @sdetweil I get this (for the relevant bit):

      
      [06.09.2022 21:11.46.552] [LOG]   fetch result= {
        status: 'ok',
        totalResults: 10,
        articles: [
          {
            title: 'Vaping: Juul to pay $438.5 m in youth marketing probe',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T19:52:21.045172Z',
            url: 'http://www.bbc.co.uk/news/business-62813896'
          },
          {
            title: 'Eliza Fletcher: Police identify body found in search for heiress',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T16:52:18.6995928Z',
            url: 'http://www.bbc.co.uk/news/world-us-canada-62811661'
          },
          {
            title: 'Ukraine war: Russians to pay €45 more to enter EU under new rules',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T16:37:23.3671715Z',
            url: 'http://www.bbc.co.uk/news/world-europe-62811675'
          },
          {
            title: 'Fat Leonard: Malaysian businessman linked to US Navy scandal escapes',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T16:22:22.2671956Z',
            url: 'http://www.bbc.co.uk/news/world-us-canada-62764226'
          },
          {
            title: 'Canada stabbings: Police hunt remaining suspect after Saskatchewan attacks',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T15:22:24.1190163Z',
            url: 'http://www.bbc.co.uk/news/live/world-us-canada-62811629'
          },
          {
            title: 'Ukraine: Ben Stiller and Sean Penn latest Americans banned from Russia',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T12:52:14.8462267Z',
            url: 'http://www.bbc.co.uk/news/world-europe-62806655'
          },
          {
            title: "Canada stabbings: Relatives identify 'random' victims of Saskatchewan attack",
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T11:07:21.1055569Z',
            url: 'http://www.bbc.co.uk/news/world-us-canada-62804826'
          },
          {
            title: 'Liz Truss: Boris Johnson to give farewell speech before new PM takes office',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-06T04:37:21.3806544Z',
            url: 'http://www.bbc.co.uk/news/live/uk-politics-62802807'
          },
          {
            title: 'Keith Davis: He was protecting the oceans - then he disappeared',
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-05T20:52:23.0241991Z',
            url: 'http://www.bbc.co.uk/news/world-us-canada-62603911'
          },
          {
            title: "Timed Teaser: How did Putin mark Gorbachev's death?",
            author: 'BBC News',
            source: [Object],
            publishedAt: '2022-09-05T20:37:23.1798468Z',
            url: 'http://www.bbc.co.uk/news/world-us-canada-62763889'
          }
        ]
      }
      [06.09.2022 21:11.46.635] [LOG]   [NEWS] Error :  https://newsapi.org/v2/top-headlines?sources=bbc-news&pageSize=100&apiKey=<redacted> TypeError: Cannot read properties of undefined (reading 'toString')
          at slugify (/home/pi/MagicMirror/modules/MMM-News/node_helper.js:24:17)
          at cb (/home/pi/MagicMirror/modules/MMM-News/node_helper.js:89:33)
          at getArticles (/home/pi/MagicMirror/modules/MMM-News/node_helper.js:136:22)
          at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
      
      
      
      
      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @MMRIZE said in MMM-News and BBC:

      https://newsapi.org/v2/top-headlines?sources=bbc-news&pageSize=100&apiKey=YOUR_KEY

      I get this, which looks slightly different to yours? :

      {"status":"ok","totalResults":10,"articles":[{"title":"Vaping: Juul to pay $438.5 m in youth marketing probe","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T19:52:21.045172Z","url":"http://www.bbc.co.uk/news/business-62813896"},{"title":"Eliza Fletcher: Police identify body found in search for heiress","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T16:52:18.6995928Z","url":"http://www.bbc.co.uk/news/world-us-canada-62811661"},{"title":"Ukraine war: Russians to pay €45 more to enter EU under new rules","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T16:37:23.3671715Z","url":"http://www.bbc.co.uk/news/world-europe-62811675"},{"title":"Fat Leonard: Malaysian businessman linked to US Navy scandal escapes","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T16:22:22.2671956Z","url":"http://www.bbc.co.uk/news/world-us-canada-62764226"},{"title":"Canada stabbings: Police hunt remaining suspect after Saskatchewan attacks","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T15:22:24.1190163Z","url":"http://www.bbc.co.uk/news/live/world-us-canada-62811629"},{"title":"Ukraine: Ben Stiller and Sean Penn latest Americans banned from Russia","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T12:52:14.8462267Z","url":"http://www.bbc.co.uk/news/world-europe-62806655"},{"title":"Canada stabbings: Relatives identify 'random' victims of Saskatchewan attack","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T11:07:21.1055569Z","url":"http://www.bbc.co.uk/news/world-us-canada-62804826"},{"title":"Liz Truss: Boris Johnson to give farewell speech before new PM takes office","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-06T04:37:21.3806544Z","url":"http://www.bbc.co.uk/news/live/uk-politics-62802807"},{"title":"Keith Davis: He was protecting the oceans - then he disappeared","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-05T20:52:23.0241991Z","url":"http://www.bbc.co.uk/news/world-us-canada-62603911"},{"title":"Timed Teaser: How did Putin mark Gorbachev's death?","author":"BBC News","source":{"Id":"bbc-news","Name":"BBC News"},"publishedAt":"2022-09-05T20:37:23.1798468Z","url":"http://www.bbc.co.uk/news/world-us-canada-62763889"}]}
      

      @sdetweil I’ll do your test now…

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @sdetweil OK.

      So I guess I’m stuck for now unless you or the others have any suggestions.

      I was wondering as you say if the incoming info format had changed when it started throwing the #null text, but it’s weird that it works for others?

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @sdetweil OK, although from what @mumblebaj posted above it still works for him with my config?

      I’ll try removing it and reinstalling it and see if that helps.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @sdetweil OK I’ve found a News module error in the MagicMirror-out.log:

      [06.09.2022 20:26.46.502] [LOG]   [NEWS] Error :  https://newsapi.org/v2/top-headlines?sources=bbc-news&pageSize=100&apiKey=<redacted> TypeError: Cannot read properties of undefined (reading 'toString')
      
          at slugify (/home/pi/MagicMirror/modules/MMM-News/node_helper.js:24:17)
          at cb (/home/pi/MagicMirror/modules/MMM-News/node_helper.js:89:33)
          at getArticles (/home/pi/MagicMirror/modules/MMM-News/node_helper.js:135:22)
          at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
      
      

      I’ve removed my API key string, but the rest is copy/paste.

      I tried a git pull on the module the other day before my first post here, and it’s up to date.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      @sdetweil Thanks - I just found the wiki page about auto starting and saw I had somehow got it running twice.

      That’s now fixed, but after a reboot the module issue still remains.

      I’ll go check logs and console now.

      posted in Troubleshooting
      D
      DarrenHill
    • RE: MMM-News and BBC

      Thanks gents. Nice to know support is still there.

      It was working a while back (several weeks) then it started showing images with #null and no other text, and now it doesn’t show anything in the area assigned to it.

      In mm-error.log after a reboot, all I see is this:

      [06.09.2022 20:13.58.974] [ERROR] Whoops! There was an uncaught exception...
      [06.09.2022 20:13.58.990] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
          at Server.setupListenHandle [as _listen2] (node:net:1330:16)
          at listenInCluster (node:net:1378:12)
          at doListen (node:net:1516:7)
          at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
        code: 'EADDRINUSE',
        errno: -98,
        syscall: 'listen',
        address: '0.0.0.0',
        port: 8080
      }
      [06.09.2022 20:13.58.992] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [06.09.2022 20:13.58.993] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [29786:0906/201403.366075:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [29882:0906/201403.754866:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
      [29803:0906/201403.845480:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      

      (I renamed the log file and started a fresh log file with a reboot, as the old one is large and full of stuff).

      The mirror has a static IP address which hasn’t changed, and I haven’t knowingly changed anything in the config, at least since the problem arose.

      Can you remind me how to access the console?

      posted in Troubleshooting
      D
      DarrenHill
    • MMM-News and BBC

      I’ve had MMM-News running on my mirror for a while, displaying headlines from the BBC.

      Unfortunately in the last few weeks it’s stopped working, so I was wondering if anyone else has seen this and/or got it working again?

      My config.js section for the module is this:

              {
                  module: "MMM-News",
                  position: "bottom_center",
                  config: {
                      apiKey : "<redacted>",
                      type: "vertical",
                      touchable: false,
                      items: 100,
                      drawInterval: 1000*15,
                      query: [ { sources: "bbc-news" } ],
                      templateFile: "template.html"
                      }
              },
      
      

      Looking on NewsAPI it’s still I think the correct setting, and it shows there that things are still being downloaded via my API key.

      Anyone have any ideas, as this module for me looks nicer than the default newsfeed one as I want the images and short text rather than the single text line that the default module shows.

      I know MMM-News hasn’t been updated for a while on GH, but is it now defunct?

      posted in Troubleshooting
      D
      DarrenHill
    • RE: New Weather Module - Migration

      For reference, this is one of the entries in my config.js (I use the module twice, once for now and once for forecast):

              {
                  module: "weather",
                  position: "top_left",
                  config: {
                      type: "current",
                      location: "Manchester",
                      locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                      apiKey: "#####f59935f34cea0bf3c1aa82#####",
                      units: "metric",
                      degreeLabel: true,
                      showHumidity: true,
                      tableClass: "medium"
                      }
              },
      
      

      Where the #'s in the apiKey are actually other letters and numbers (full key redacted).

      posted in Forum
      D
      DarrenHill
    • RE: New Weather Module - Migration

      @Canguingo said in New Weather Module - Migration:

      apiKey: “abcde12345abcde12345abcde12345ab” //this is the old appi that i had

      Is that really your actual key, or did you just put that as a redaction of your actual key?

      Just to ask a basic question, as that doesn’t look like a valid key to me.

      As the others have noted, all you should need to do is change the module name and swap the key label from appid: to apiKey: , The key value itself is valid for both.

      posted in Forum
      D
      DarrenHill
    • RE: New Weather Module - Migration

      @Canguingo Nothing needs to be done in the module, it should already have been there in parallel to the old ones for the last few versions of MM.

      All you need to do is make the changes in config.js as detailed on the migration/depreciation part of the documentation. That will switch you over from the old modules to the new one.

      What has happened with the 2.19 update is the old modules have basically been removed and just replaced with the notification that you see on the mirror screen now (and that will also presumably be removed going forward).

      The config.js entry should look something like the template version you posted originally, except of course you will need to use your own specific API key rather than the abcde12345 placeholder and your specific location (unless you happen to be in Amsterdam).

      posted in Forum
      D
      DarrenHill
    • 1
    • 2
    • 3
    • 4
    • 5
    • 2 / 5