@BKeyport
That works great! Thank you!
Read the statement by Michael Teeuw here.
Best posts made by DDE12
-
RE: Module is changing width of position
-
RE: MMM-AlexaControl not changing MMM-Carousel pages anymore
@sdetweil Thank you for taking a look at this. I was getting odd info from MMM-Notifications so I changed all the OnOff 's to false in the notification section and it started working.
-
RE: Delay loading of one instance of a module and not another
@sdetweil Seems to be working great! Thank you very much for taking the time to make this a multi-instance module! Also great that you eliminated the need for npm install node-fetch@2. Even though I don’t know very much about java script, I understand it much better than these horoscopes :grinning_squinting_face:
Latest posts made by DDE12
-
RE: Failed to get fd for plane and Failed to export buffer to dma_buf errors
Thank you! I will try to not lose too much sleep over it. :)
-
Failed to get fd for plane and Failed to export buffer to dma_buf errors
I am trying to get Magic Mirror set up on my new machine with Bookworm installed and am getting numerous errors. MM seems to be running okay with the few modules I have so far. I would appreciate some help correcting these errors if they are a problem. Thanks!
> magicmirror@2.30.0 start:x11 > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2025-01-18 21:47:08.866] [LOG] Starting MagicMirror: v2.30.0 [2025-01-18 21:47:08.930] [LOG] Loading config ... [2025-01-18 21:47:08.935] [LOG] config template file not exists, no envsubst [2025-01-18 21:47:10.116] [INFO] Checking config file /home/mmuser/MagicMirror/config/config.js ... [2025-01-18 21:47:10.390] [INFO] Your configuration file doesn't contain syntax errors :) [2025-01-18 21:47:10.392] [INFO] Checking modules structure configuration ... [2025-01-18 21:47:10.680] [INFO] Your modules structure configuration doesn't contain errors :) [2025-01-18 21:47:10.686] [LOG] Loading module helpers ... [2025-01-18 21:47:14.006] [LOG] Launching application. [24016:0118/214715.118683:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.120260:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.121045:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.121691:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.122798:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.123836:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.124929:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.126185:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.127230:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.128281:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.129560:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.137125:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.138330:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.139359:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.144838:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.147648:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.148735:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.149965:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.151057:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.152118:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.153159:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.154235:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.155276:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.156286:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.157239:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.163090:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [24016:0118/214715.164534:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2) [24016:0118/214715.166261:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2) [2025-01-18 21:47:16.078] [INFO] System information: ### SYSTEM: manufacturer: libre-computer; model: aml-s905x-cc-v2; virtual: false ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.1.64-11810-g69b1ffe8ef6c ### VERSIONS: electron: 32.2.8; used node: 20.18.1; installed node: 20.18.1; npm: 10.8.2; pm2: 5.4.3 ### OTHER: timeZone: America/New_York; ELECTRON_ENABLE_GPU: undefined
-
RE: Do modules stop requesting API data when monitor is off or module is hidden?
@sdetweil
Thank you! So, probably the thing to do is set up PM2 and use MMM-AlexaControl to auto start and stop it? If I have MM on a RPi and then two browser windows displaying MM, does that increase the number of API calls to 3 or is it still just one? I’m thinking about this transition to OneCall 3.0 and how to be the most efficient with the calls. -
Do modules stop requesting API data when monitor is off or module is hidden?
I am using MMM-AlexaControl and have a routine set to turn off the monitor overnight. Does this stop MagicMirror in general? Do the modules like weather modules stop requesting data? Do modules stop requesting data when hidden with modules like MMM-ModuleScheduler?
-
RE: How can elements in the default weather module be moved
@sdetweil
I have made some progress. I commented out everything in vendor\node_modules\weathericons\css\weather-icons.css. and changed .weather . larger to flex and have more control of the icon..weather .large { line-height: 1; display: flex; } .weather .weathericon { font-size: unset !important; line-height: unset !important; transform: unset !important; outline: 1px solid blue; width: 2em !important; height: 2em !important; position:relative; top: -18px; left: -15px; } .weather .light.bright { outline: 1px solid green; position:absolute; top: 2px; left: 147px; } .weather .normal.medium.feelslike { outline: 1px solid purple; position:absolute; top: 3px; left: 242px; }
The icons in this set have a lot of background “dead space” so it is skewed up and left to get it to the corner. The height of the module space is being controlled by the height of the icon. How can I decrease the height of the module space by the amount I moved the icon up plus a little extra for the dead space?
-
RE: How can elements in the default weather module be moved
@sdetweil
I’ve made some headway with the temperatures but the icon is not behaving. I think part of the problem is that it is being treated as a font or the original icon that is a font is hanging around causing a problem. It there a way with the CSS to clear all the settings and remove the font setting for the icon container? -
RE: MMM-Gas
@MarcLandis
That is unfortunate. I looked around a bit to see if there is another option but did not find anything free. (: -
RE: How can elements in the default weather module be moved
@sdetweil
In tinkering around, I am able to move it in custom.css with the following and possibly avoid addressing every individual icon..weather .weathericon { display: inline-block; transform: translate(-31px, -32px) !important; outline: 1px solid blue; }
The problem with what I have above is that it will only make it look okay on one screen resolution. How do I move it to the top left of the module space so that it is relative (stays in the top left regardless of screen resolution).
-
RE: How can elements in the default weather module be moved
@sdetweil
Thank you for helping me.<div id="module_3_weather" class="module weather" style="transition: opacity 1.5s ease 0s; position: static; opacity: 1;"> <header class="module-header" style="display: none;"></header> <div class="module-content"> <div> <div class="normal medium"> </div> <div class="large"> <span class="light wi weathericon wi-day-sunny"> ::before </span> <span class="light bright">81°</span> <span class="normal medium feelslike"> <span class="dimmed"> Feels like 81° </span> </span> </div> <!-- Uncomment the line below to see the contents of the `current` object. --> <!-- <div style="word-wrap:break-word" class="xsmall dimmed">{"date":"2024-10-06T16:11:01.142Z","windSpeed":5.81,"windFromDirection":237,"sunrise":"2024-10-06T11:39:13.000Z","sunset":"2024-10-06T23:11:13.000Z","temperature":26.76,"minTemperature":null,"maxTemperature":null,"weatherType":"day-sunny","humidity":0.45,"precipitationAmount":null,"precipitationUnits":null,"precipitationProbability":null,"feelsLikeTemp":null}</div> --> </div></div></div>
-
RE: MMM-Gas
@JohnGalt
Have you made any progress figuring this out? I am having the same problem. The module loads but doesn’t show that it is getting any data.