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

    Posts

    Recent Best Controversial
    • RE: MMM-DynamicWeather Failed getting api: 401

      @sdetweil – Thanks, Sam.

      If I want to try this, can I just do it in the module folder now, or do I go back in there first and undo the edits I performed manually? I’m not clear on whether it does or doesn’t make a difference.

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-DynamicWeather Failed getting api: 401

      @wishmaster270 --Thanks! I appreciate the effort, but it didn’t work for me. I will wait for your PR to go thru…

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-DynamicWeather Failed getting api: 401

      @wishmaster270 – Thanks for the quick reply. I do already have the ver 3.0 API key, so I guess we will see if the module gets updated.

      Meanwhile, would you happen to already know where the 2.5 call is hard-coded? I’d be willing to tinker and see if I can get it to work while waiting for an/the update to accommodate ver 3.0 APIs.

      posted in Troubleshooting
      J
      JohnGalt
    • MMM-DynamicWeather Failed getting api: 401

      Each time this module tries to check the weather, I see the following using pm2 logs:

      0|MagicMirror  | [2024-10-26 10:13:25.994] [INFO]  [MMM-DynamicWeather] Getting Weather API data
      0|MagicMirror  | [2024-10-26 10:13:26.195] [ERROR] [MMM-DynamicWeather] Failed getting api:  401
      

      At the last restart I got these errors at startup - the gbm_wrapper errors before the MMM-DynamicWeather specific errors may or may not be connected, I have no idea.

      0|MagicMir | [2505:1026/090323.361257:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMir | [2505:1026/090323.363120:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMir | [2505:1026/090323.363549:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMir | [2505:1026/090323.363873:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMir | [2024-10-26 09:03:28.184] [ERROR] [MMM-DynamicWeather] Failed getting api:  AggregateError [ETIMEDOUT]:
      0|MagicMir |     at internalConnectMultiple (node:net:1117:18)
      0|MagicMir |     at internalConnectMultiple (node:net:1185:5)
      0|MagicMir |     at Timeout.internalConnectMultipleTimeout (node:net:1711:5)
      0|MagicMir |     at listOnTimeout (node:internal/timers:575:11)
      0|MagicMir |     at process.processTimers (node:internal/timers:514:7) {
      0|MagicMir |   code: 'ETIMEDOUT',
      0|MagicMir |   [errors]: [
      0|MagicMir |     Error: connect ETIMEDOUT 38.89.70.158:443
      0|MagicMir |         at createConnectionError (node:net:1647:14)
      0|MagicMir |         at Timeout.internalConnectMultipleTimeout (node:net:1706:38)
      0|MagicMir |         at listOnTimeout (node:internal/timers:575:11)
      0|MagicMir |         at process.processTimers (node:internal/timers:514:7) {
      0|MagicMir |       errno: -110,
      0|MagicMir |       code: 'ETIMEDOUT',
      0|MagicMir |       syscall: 'connect',
      0|MagicMir |       address: '38.89.70.158',
      0|MagicMir |       port: 443
      0|MagicMir |     },
      0|MagicMir |     Error: connect ENETUNREACH 2604:86c0:5001:b::2:443 - Local (:::0)
      0|MagicMir |         at internalConnectMultiple (node:net:1181:16)
      0|MagicMir |         at Timeout.internalConnectMultipleTimeout (node:net:1711:5)
      0|MagicMir |         at listOnTimeout (node:internal/timers:575:11)
      0|MagicMir |         at process.processTimers (node:internal/timers:514:7) {
      0|MagicMir |       errno: -101,
      0|MagicMir |       code: 'ENETUNREACH',
      0|MagicMir |       syscall: 'connect',
      0|MagicMir |       address: '2604:86c0:5001:b::2',
      0|MagicMir |       port: 443
      0|MagicMir |     }
      0|MagicMir |   ]
      0|MagicMir | }
      

      Config code for this module is:

      {module: 'MMM-DynamicWeather', // https://github.com/scottcl88/MMM-DynamicWeather
              disabled: false,
              position: "fullscreen_above",
              config: {
                apiKey: "123456789xxx", // 19 Sep 2024 Ver 3
                lat: "12.34567", lon: "-123.4567, // Hometown
                weatherInterval: 600000, // 10 minutes
                hideFlower: false, //display animation at the bottom of a flower growing if the current weather is >
                realisticClouds: true,
                      }
                      },
      

      Any ideas on troubleshooting this?

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-WeatherAlerts

      @Gjones93 + @sdetweil – Is there any reason why openweathermap.org would not be returning alerts with the rest of the weather data? I have seen this behavior for some weeks/months now, and wonder whether it might be connected to the new API ver 3.0.

      I currently am running both MMM-WeatherAlerts and MMM-OpenWeatherMapForecast. Both used to deliver alerts and neither currently do. I am currently under a wind warning, but no warning displays on either module. I have also found a location in Utah that is currently under a winter storm warning [22 inches of snow falling!], and set the lon/lat there in one MM instance, still with no alert output.

      I see no errors in pm2 logs, and do see various other modules showing successful fetching of weather and news - so it looks like this is not a lack of network connection.

      Since multiple modules are failing to fetch alerts, it feels like the problem is at the source - openweathermap - or the operation of its API.

      Config code for the dev instance follows. Any thoughts?

      {module: "MMM-WeatherAlerts",
            disabled: false,
            position: "top_left", // top_right
           // header: "Weather Alerts",
          config: {
           appendLocationNameToHeader: false,
           calendarClass: "calendar",
           tableClass: "small", // small
           // lat: "36.131148",  lon: "-115.241867", //Las Vegas = 36.131148
           lat: "38.549194", lon: "-111.709464", // Fish Lk, Ut - For testing
           // lat: "42.295568", lon: "-83.782281",// Ann Arbor, Mi - for testing
           // lat: "35.152661", lon: "-114.456767", // Lake Mead Rec Area - For testing
           // lat: "36.753342", lon: "-98.355930", // Alfalfa County, Oklahoma - for testing
           // lat: "40.924102", lon: "-115.122002", // Northern Nevada - for testing
           weatherAlertProvider: "openweathermapalerts",
           weatherEndpoint: "/onecall",
           type: "alerts",
           updateInterval: 10800000, // Fetch content every 3 hours
           apiKey: "xxxx", // 19 Sep 2024 Ver 3
           animationSpeed: 10000, // Default = 1000 (1 second)
           alertTimeFormat: "relative", // absolute
           alertDateFormat: "llll",
           alertDescriptionScrollDelay: 100, // Default = 85, Lower = faster alert description will move
           colored: false }, }, // true
      
      posted in Utilities
      J
      JohnGalt
    • RE: MMM-Gas

      @sdetweil – Huh, good to know. Thanks.

      posted in Transport
      J
      JohnGalt
    • RE: MMM-Gas

      @MarcLandis yes, that’s what I found too when I tried accessing the data directly. I was confused though that there is/was no error in the pm2 logs…

      posted in Transport
      J
      JohnGalt
    • RE: MMM-OpenWeatherForecast

      @Ray – Just for the sake of completeness for you or others I will mention here that the provider will count ALL calls, from ALL modules.

      As an example I can have this module running for a comprehensive look at my local weather, plus an instance of the default weather module telling me what’s happening with a friend or relatives, plus I’m running MMM-DynamicWeather.

      The API will count all the calls from all sources. It would be great if the MM system could pull the data and broadcast it to modules as needed, but that’s not how it works.

      posted in Troubleshooting
      J
      JohnGalt
    • RE: MMM-Gas

      @DDE12 – No, still nothing displayed from this module.

      posted in Transport
      J
      JohnGalt
    • RE: MMM-Gas

      @sdetweil
      @cowboysdude
      So i reinstalled this module, and it still does not display on the Magic Mirror. [

      It now it does appear to load the module:

      0|MagicMirror  | [2024-09-30 16:19:22.987] [LOG]   Connecting socket for: MMM-Gas
      0|MagicMirror  | [2024-09-30 16:19:22.988] [LOG]   Starting module: MMM-Gas
      

      And check the status of the module along with others:

      0|MagicMirror  | [2024-09-30 16:19:32.585] [INFO]  Newsfeed-Fetcher: Broadcasting 38 items.
      0|MagicMirror  | [2024-09-30 16:19:32.936] [INFO]  Checking git for module: MMM-Pollen
      0|MagicMirror  | [2024-09-30 16:19:33.379] [INFO]  Checking git for module: MMM-Gas
      0|MagicMirror  | [2024-09-30 16:19:33.570] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
      0|MagicMirror  | [2024-09-30 16:19:33.724] [INFO]  Checking git for module: MMM-DynamicWeather
      0|MagicMirror  | [2024-09-30 16:19:34.030] [INFO]  Checking git for module: MagicMirror
      

      But there is still something missing.

      Could it has something to do with the dependency issues?

      pi@mirror1:~/MagicMirror/modules $ git clone https://github.com/cowboysdude/MMM-Gas
      Cloning into 'MMM-Gas'...
      remote: Enumerating objects: 135, done.
      remote: Counting objects: 100% (6/6), done.
      remote: Compressing objects: 100% (6/6), done.
      remote: Total 135 (delta 2), reused 0 (delta 0), pack-reused 129 (from 1)
      Receiving objects: 100% (135/135), 89.19 KiB | 553.00 KiB/s, done.
      Resolving deltas: 100% (67/67), done.
      pi@mirror1:~/MagicMirror/modules $ cd MMM-Gas
      pi@mirror1:~/MagicMirror/modules/MMM-Gas $ NPM INSTALL
      -bash: NPM: command not found
      pi@mirror1:~/MagicMirror/modules/MMM-Gas $ npm install
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 67 packages, and audited 68 packages in 12s
      
      17 packages are looking for funding
        run `npm fund` for details
      
      2 moderate severity vulnerabilities
      
      Some issues need review, and may require choosing
      a different dependency.
      
      Run `npm audit` for details.
      
      posted in Transport
      J
      JohnGalt
    • RE: MMM-Gas

      @sdetweil – True. I’m not sure why that is. I will try reinstalling it.

      posted in Transport
      J
      JohnGalt
    • RE: MMM-Gas

      @sdetweil Sam - thanks for the confirmation. I posted the question before installing it, and went ahead and installed just to see how it might look.

      It gave me some warnings on install regarding deprecated dependencies, then displayed… nothing. I tried to manually pull the gas price data using the url in code in the github repository but that just comes back as a 404, and the site map doesn’t give any hint that the site serves up this data.

      The odd part is I don’t see any error specific to this module in the pm2 logs [see below]. At this point I have removed the module folder and config.js code and life goes on. If there happens to be a way to get it to work, great - but let’s not spend a lot of time on it.

      Partial output from pm2 logs:

      PM2            | Change detected on path config/config.js for app MagicMirror - restarting
      PM2            | Stopping app:MagicMirror id:0
      0|MagicMirror  | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      PM2            | pid=28762 msg=failed to kill - retrying in 100ms
      PM2            | App [MagicMirror:0] exited with code [0] via signal [SIGINT]
      PM2            | pid=28762 msg=process killed
      PM2            | App [MagicMirror:0] starting in -fork mode-
      PM2            | App [MagicMirror:0] online
      0|MagicMirror  | > magicmirror@2.28.0 start
      0|MagicMirror  | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMirror  | [2024-09-29 17:35:29.657] [LOG]   Starting MagicMirror: v2.28.0
      0|MagicMirror  | [2024-09-29 17:35:29.716] [LOG]   Loading config ...
      0|MagicMirror  | [2024-09-29 17:35:29.720] [LOG]   config template file not exists, no envsubst
      0|MagicMirror  | [2024-09-29 17:35:29.726] [LOG]   Loading module helpers ...
      0|MagicMirror  | [2024-09-29 17:35:29.727] [LOG]   No helper found for module: alert.
      0|MagicMirror  | [2024-09-29 17:35:29.737] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:29.739] [LOG]   Module helper loaded: MMM-WeatherAlerts
      0|MagicMirror  | [2024-09-29 17:35:29.743] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:29.743] [LOG]   Module helper loaded: MMM-WeatherAlerts2
      0|MagicMirror  | [2024-09-29 17:35:29.752] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:29.752] [LOG]   Module helper loaded: updatenotification
      0|MagicMirror  | [2024-09-29 17:35:29.754] [LOG]   No helper found for module: clock.
      0|MagicMirror  | [2024-09-29 17:35:29.755] [LOG]   No helper found for module: MMM-Worldclock.
      0|MagicMirror  | [2024-09-29 17:35:29.924] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:29.925] [LOG]   Module helper loaded: calendar
      0|MagicMirror  | [2024-09-29 17:35:29.926] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:29.927] [LOG]   Module helper loaded: calendar
      0|MagicMirror  | [2024-09-29 17:35:29.996] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:29.996] [LOG]   Module helper loaded: MMM-Tools
      0|MagicMirror  | [2024-09-29 17:35:29.997] [LOG]   No helper found for module: MMM-Multimonth.
      0|MagicMirror  | [2024-09-29 17:35:30.017] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:30.017] [LOG]   Module helper loaded: MMM-OpenWeatherMapForecast
      0|MagicMirror  | [2024-09-29 17:35:30.280] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:30.281] [LOG]   Module helper loaded: MMM-Pollen
      0|MagicMirror  | [2024-09-29 17:35:30.283] [LOG]   No helper found for module: weather.
      0|MagicMirror  | [2024-09-29 17:35:30.391] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:30.392] [LOG]   Module helper loaded: newsfeed
      0|MagicMirror  | [2024-09-29 17:35:30.398] [LOG]   Initializing new module helper ...
      0|MagicMirror  | [2024-09-29 17:35:30.399] [LOG]   Module helper loaded: MMM-DynamicWeather
      0|MagicMirror  | [2024-09-29 17:35:30.401] [LOG]   All module helpers loaded.
      0|MagicMirror  | [2024-09-29 17:35:30.415] [LOG]   Starting server on port 8080 ...
      0|MagicMirror  | [2024-09-29 17:35:31.199] [LOG]   Server started ...
      0|MagicMirror  | [2024-09-29 17:35:31.214] [LOG]   Connecting socket for: MMM-WeatherAlerts
      0|MagicMirror  | [2024-09-29 17:35:31.217] [LOG]   Starting module helper: MMM-WeatherAlerts
      0|MagicMirror  | [2024-09-29 17:35:31.219] [LOG]   Connecting socket for: MMM-WeatherAlerts2
      0|MagicMirror  | [2024-09-29 17:35:31.220] [LOG]   Starting module helper: MMM-WeatherAlerts2
      0|MagicMirror  | [2024-09-29 17:35:31.222] [LOG]   Connecting socket for: updatenotification
      0|MagicMirror  | [2024-09-29 17:35:31.224] [LOG]   Starting module helper: updatenotification
      0|MagicMirror  | [2024-09-29 17:35:31.226] [LOG]   Connecting socket for: calendar
      0|MagicMirror  | [2024-09-29 17:35:31.228] [LOG]   Starting node helper for: calendar
      0|MagicMirror  | [2024-09-29 17:35:31.230] [LOG]   Connecting socket for: calendar
      0|MagicMirror  | [2024-09-29 17:35:31.231] [LOG]   Starting node helper for: calendar
      0|MagicMirror  | [2024-09-29 17:35:31.246] [LOG]   Connecting socket for: MMM-Tools
      0|MagicMirror  | [2024-09-29 17:35:31.250] [LOG]   [Tools] MMM-Tools Version: 2.1.7
      0|MagicMirror  | [2024-09-29 17:35:31.252] [LOG]   Connecting socket for: MMM-OpenWeatherMapForecast
      0|MagicMirror  | [2024-09-29 17:35:31.254] [LOG]   Starting node_helper for MMM-OpenWeatherMapForecast
      0|MagicMirror  | [2024-09-29 17:35:31.255] [LOG]   Connecting socket for: MMM-Pollen
      0|MagicMirror  | [2024-09-29 17:35:31.273] [LOG]   MMM-Pollen helper started ...
      0|MagicMirror  | [2024-09-29 17:35:31.275] [LOG]   Connecting socket for: newsfeed
      0|MagicMirror  | [2024-09-29 17:35:31.277] [LOG]   Starting node helper for: newsfeed
      0|MagicMirror  | [2024-09-29 17:35:31.279] [LOG]   Connecting socket for: MMM-DynamicWeather
      0|MagicMirror  | [2024-09-29 17:35:31.281] [LOG]   Sockets connected & modules started ...
      0|MagicMirror  | [2024-09-29 17:35:32.168] [LOG]   Launching application.
      0|MagicMirror  | [2843:0929/173533.164645:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.166603:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.167945:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.169873:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.171528:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.172716:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.174129:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.175313:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.176763:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.178279:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.180011:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.181255:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.182716:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.183904:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.185245:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.187096:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.188547:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.190111:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.191549:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.193083:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.194679:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.196231:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.197720:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.199227:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.200454:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.201574:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.202846:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.204087:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.207329:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.208602:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.209921:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.211042:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.212311:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.213479:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.215374:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.216465:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.217793:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.219444:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.221185:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.222712:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.224067:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|MagicMirror  | [2843:0929/173533.225628:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|MagicMirror  | [2024-09-29 17:35:36.587] [INFO]  System information:
      0|MagicMirror  | ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.1; raspberry: [object Object]; virtual: false
      0|MagicMirror  | ### OS:       platform: linux; distro: Raspbian GNU/Linux; release: 11; arch: arm; kernel: 6.1.21-v8+
      0|MagicMirror  | ### VERSIONS: electron: 31.1.0; used node: 20.14.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.1
      0|MagicMirror  | ### OTHER:    timeZone: America/Los_Angeles; ELECTRON_ENABLE_GPU: undefined
      
      posted in Transport
      J
      JohnGalt
    • RE: MMM-Gas

      @cowboysdude - We have a car that only takes premium, and a car that only requires regular. Is it possible to show prices for multiple grades of fuel in a single instance of the module? {Obviously I could install one instance, rename a bunch of stuff and then install a 2nd instance, but I’m wondering whether it can do it natively? Thanks in advance.

      posted in Transport
      J
      JohnGalt
    • RE: newsfeed

      @sdetweil - Thanks for both the update on the pm2 restart and on the reminder that the OP’s system structure is different.

      OK, back to newsfeed behavior…

      posted in Troubleshooting
      J
      JohnGalt
    • RE: newsfeed

      @foggy - @sdetweil may be onto something. I jsut added your url to my config.js file and I now get the BBC just fine.

      I also wonder whether the "{ " and “}” brackets are required but missing in your feeds array? I have each feed url in its own brackets and it works for me. See my config below, modified to add your BBC url.

      @sdetweil - related question: In the[recent] past my system has always restarted Magic Mirror when i commit a change to config.js using control-O, but lately it doesn’t and I have to manually restart MM. Is this expected behavior?

      Here is the file MagicMirror/config/config.js now correctly displaying BBC news.

      {module: "newsfeed",
           disabled: false,
           tableClass: "small",
           position: "bottom_center",    // bottom_center bottom_bar
           config: {
           feeds: [
              { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml" },
              { title: "BBC", url: "https://feeds.bbci.co.uk/news/world/rss.xml"},
              { title: "Las Vegas Review Journal", url: "https://www.reviewjournal.com/feed/" },
              { title: "Detroit Metro Times", url: "https://www.metrotimes.com/detroit/Rss.xml" },
                 ],
                 reloadInterval: 600000, // Content fetch interval - 600000 = 10 minutes
                 updateInterval: 15000, //Display new headline interval - default = 10000 milliseconds / 10 seconds
                 showSourceTitle: true,
                 showPublishDate: true,
                 broadcastNewsFeeds: false,
                 broadcastNewsUpdates: false
                      } },
      
      posted in Troubleshooting
      J
      JohnGalt
    • RE: [HOW_TO] MagicMirror as Desktop Wallpaper (all platform : updated)

      @MMRIZE
      OK - thanks. Maybe I will give it a try…

      posted in Tutorials
      J
      JohnGalt
    • RE: [HOW_TO] MagicMirror as Desktop Wallpaper (all platform : updated)

      @MMRIZE
      Do you know whether the install script developed and maintained by @sdetweil would install on various specified versions of Windows [E.G. Win7, Win 8, Win 8.1, Win 10 or Win 11]? if that script will install on the various implementations of Windows, that would likely solve this question of how to do it.

      posted in Tutorials
      J
      JohnGalt
    • RE: The most popular 3rd party modules

      Kristian - do the links to the modules listed as numbers 7-10 need some validation? :)

      posted in General Discussion
      J
      JohnGalt
    • RE: one call api open weather

      @sdetweil - Sam, I know you don’t have the answer either. I guess I was partly venting, and partly trying to be complete so that others who are having issues or questions can see that various of you and us have tried to work this through.

      posted in General Discussion
      J
      JohnGalt
    • RE: one call api open weather

      @sdetweil – Hi Sam. I guess maybe my central point got lost in transit - which is I just want[ed] to know from openweathermap.org whether they can tell me if the API key they issued last year (around the time it became apparent ver 2 would be deprecated) is a ver 3 or ver 2 key. FWIW, I did try one final time and explicitly asked only whether they can tell me the version of key I have. They did respond to the email, but did not address the question.

      Yes, I’m sure you are correct and it probably is simple from their point of view. However, the issue is that they are [apparently] currently servicing both the old and the new APIs, so from the user’s side it is not possible to do what they and you are suggesting and just see if calling with the old key generates an error.

      If I run my MagicMirror and the API that openweathermap.org issued me last year is the old API the module will still work, so there is no diagnostic value there. Yes, I do see that when the point in future time comes that they shut down responding to calls using the ver 2 API and only respond to ver 3 - then all our modules that are calling with ver 2 APis and modules using old endpoints will fail.

      My goal was to get ahead of this and avoid having the modules fail, or in the alternative having to replace the API keys in every module in every MagicMIrror where it is used - just in case they issued me a ver 2 API key last year.

      Thanks again to you and Krisjan for all the help and support!

      posted in General Discussion
      J
      JohnGalt
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 4 / 8