A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • Any suggestions or wishes for the forum?

    100 Topics
    699 Posts
    S
    @MMRIZE fun times indeed
  • Auto Start on Windows 11

    7
    0 Votes
    7 Posts
    377 Views
    S
    @Krowyn only thing i can think is the cd MagicMirror failed because the current directory is not correct where is this bat file located? maybe it should be cd %USERPROFILE%\MagicMirror npm run start:windows
  • new Raspi OS release

    19
    2 Votes
    19 Posts
    1k Views
    mumblebajM
    @sdetweil So, I have not seen any issues thus far other than having to figure out the screen blanking for me on Labwc, I have to test the wlopm, but for now I have switched back to Wayfire. No other issues in logs etc.
  • Modul MMM-AssistantMK2

    4
    0 Votes
    4 Posts
    181 Views
    S
    @Future.Mirror we had a good Google Assistant. the author left and took his modules w him Amazon has killed software versions of an Alexa device https://forum.magicmirror.builders/topic/16069/alexa-implementations-now-more-difficult-and-some-features-will-stop-working biggest thing is you cant access skills unless your ‘alexa device’ is certified., which sw only cannot be since then they have frozen the sdk, dropped all support for hardware developers, … there are some other voice interfaces, search the 3rd party list linked above with ‘voice’ but they are very limited in function. hide/show some modules., and voice reco is not particularly good i wouldn’t call them assistants
  • Camera implementation

    6
    0 Votes
    6 Posts
    252 Views
    S
    @jaimegarzont no. sorry.
  • troubleshooting

    7
    0 Votes
    7 Posts
    252 Views
    R
    @sdetweil those wake up in the night thoughts may be some of my best work… lol… Thanks again!
  • Bugsounet and MMM-Pir

    68
    0 Votes
    68 Posts
    14k Views
    F
    Thank you @gullymat. Very interesting comparision!
  • Looking for feedback and advice

    15
    3
    0 Votes
    15 Posts
    789 Views
    S
    @Xsoldier2000 the thing you see on github IS a web page dynamically constructed from a list of files in the project repository AND a rendering of a readme if one is found, and some other github project mgmt services, issues, fixes, …
  • i need help w pi imager and ssh, headless, oops, user error

    15
    0 Votes
    15 Posts
    1k Views
    S
    @rkorell i knew you were teasing me. thank you for that!
  • Create a clone of MMM-Webview

    6
    0 Votes
    6 Posts
    462 Views
    JohanbaJ
    @sdetweil Thank a mil for the info I am going to try and update my config as such, and see how to get this going i might reach out again if I am struggling
  • New module installer

    51
    4
    1 Votes
    51 Posts
    10k Views
    S
    Just added search in the installer
  • MMM-update - Please help beginner and need help

    17
    0 Votes
    17 Posts
    2k Views
    S
    @Rberry91 did you fix this?
  • Google fit or any health module

    2
    1 Votes
    2 Posts
    144 Views
    S
    @kmanne none have been updated.
  • MMM-Carousel CSS influence

    2
    2 Votes
    2 Posts
    237 Views
    S
    @chrisfr1976 for educational purposes, before you go reinstalling a module you THINK has been modified, do git status in the module folder this will tell you if any shipped files have been changed git diff will show you WHAT changed
  • Question about backup script

    30
    1 Votes
    30 Posts
    3k Views
    R
    @sdetweil Your: git config --local user.name “my name” git config --local user.email “my email” plus git config --local user.password “myverylonggithubtoken” does the trick… The stackoverflow article is confusing to me but your suggestion is there :-) Thanks a lot! Warm regards, Ralf
  • Contrasting text on changing background

    4
    0 Votes
    4 Posts
    781 Views
    B
    @sdetweil said in Contrasting text on changing background: @mwm341 I want that too. text over photos. haven’t figured out a way yet. I kludged something together today with the MMM-Wallpaper module. It’s not elegant, but it’s been working for me so far. What I’m doing is having the module draw the image onto an off-screen canvas and compute its average brightness using the luminance formula. Based on whether this brightness exceeds a defined threshold (115 has been working for me), the module then updates a global CSS variable with either a light or dark text color. I’m using color: var(--dynamic-text-color); as the variable. Since it’s determining global brightness, it can still “miss” picking a good color for each module. Depending on compute load, I’m thinking an update would be to determine that brightness value for each quadrant of an image then creating a variable for each quadrant and setting the text style in those areas to that color. A downside to this approach is that it won’t work perfectly with different display aspect ratios, but if you’re only ever using a 16:9 display that would be mitigated. Brightness function: // Helper function to compute average brightness of an image. getAverageBrightness: function(image, callback) { var canvas = document.createElement("canvas"); var width = image.naturalWidth; var height = image.naturalHeight; canvas.width = width; canvas.height = height; var context = canvas.getContext("2d"); context.drawImage(image, 0, 0, width, height); try { var imageData = context.getImageData(0, 0, width, height); } catch (error) { console.error("Error accessing image data:", error); callback(255); // Assume bright background if error. return; } var data = imageData.data; var colorSum = 0; var pixels = data.length / 4; for (var i = 0; i < data.length; i += 4) { var r = data[i]; var g = data[i + 1]; var b = data[i + 2]; // Calculate brightness using the luminance formula. var brightness = 0.299 * r + 0.587 * g + 0.114 * b; colorSum += brightness; } var averageBrightness = colorSum / pixels; callback(averageBrightness); }, Updated onImageLoaded function: onImageLoaded: function(imageData, element) { var self = this; return () => { self.resetLoadImageTimer(); element.className = `wallpaper ${self.config.crossfade ? "crossfade-image" : ""}`; element.style.opacity = 1; // Analyze the image brightness and adjust text color accordingly. // This will update both the module's caption and a global CSS variable. self.getAverageBrightness(element, function(brightness) { var threshold = 128; // Adjust this threshold as needed. var textColor = brightness > threshold ? "black" : "white"; self.title.style.color = textColor; // Set a global CSS variable for dynamic text color. document.documentElement.style.setProperty('--dynamic-text-color', textColor); }); self.title.style.display = "none"; setTimeout(() => { var caption = imageData.caption; if (self.config.caption && caption) { self.title.innerHTML = caption; self.title.style.display = "initial"; } if (self.imageElement !== null) { self.content.removeChild(self.imageElement); } self.imageElement = self.nextImageElement; self.nextImageElement = null; }, self.config.crossfade ? 1000 : 0); }; },
  • How are people viewing camera snapshots on their MM?

    7
    0 Votes
    7 Posts
    471 Views
    S
    @slaeyer99 https://github.com/sdetweil/MMM-ImagesPhotos
  • MMM-GoogleAssistant any working one

    3
    0 Votes
    3 Posts
    276 Views
    H
    @sdetweil thanks i’ll take a look.
  • 0 Votes
    5 Posts
    412 Views
    S
    @Ismailfares the monitor must be against the glass to make it visible (and careful for reverse reflections causing image echos) , so there is no room for a magnifier (whatever that it) large image will be a challenge as you meantioned… 55 in is tall AND wide
  • Protect MM from the outside with user and pass

    4
    0 Votes
    4 Posts
    194 Views
    S
    @kusselin you can also search using ngx provide userid/password authentication and it describes how to enable userid/password authentication in ngx
  • Question about Sam's install scripts and MMM-GoogleAssistant

    4
    0 Votes
    4 Posts
    244 Views
    E
    @sdetweil Thank you!