MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Fridge-mounted display

    Scheduled Pinned Locked Moved Show your Mirror
    kitchen refrigerator
    6 Posts 3 Posters 15.5k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      shashank @tshort
      last edited by

      @tshort hi, i am interested in this Fridge display in Kitchen, can you please provide the config file of the modules you have used

      T 1 Reply Last reply Reply Quote 0
      • S Offline
        shashank @tshort
        last edited by

        @tshort hi, how to run kitchen timer on non-touch screen

        yawnsY T 2 Replies Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator @shashank
          last edited by

          @shashank
          It is a tablet, hence it allows touch

          1 Reply Last reply Reply Quote 1
          • T Offline
            tshort @shashank
            last edited by

            @shashank here’s my config.js:

            https://gist.github.com/tshort/3b17983003f3fe6eb94987707052e307

            Note that you’ll have to fill in keys for the weather links.

            I did need to modify MagicMirror code to be able to use the MMM-ProfileSwitcher like tabs. Here’s an issue I filed on it (closed with not-fixed as this usage isn’t supported):

            https://github.com/MichMich/MagicMirror/issues/889

            Here are the changes I made to get around that problem:

            diff --git a/js/main.js b/js/main.js
            index 6aa313a..1ece53d 100644
            --- a/js/main.js
            +++ b/js/main.js
            @@ -191,7 +191,9 @@ var MM = (function() {
                            if (moduleWrapper !== null) {
                                    moduleWrapper.style.transition = "opacity " + speed / 1000 + "s";
                                    moduleWrapper.style.opacity = 0;
            -                       moduleWrapper.style.cssText = "z-index: -99";
            +                       moduleWrapper.style.position = "absolute";
            +                       moduleWrapper.style.left = "-9000px";
            +                       // moduleWrapper.style.cssText = "z-index: -99";
            
                                    clearTimeout(module.showHideTimer);
                                    module.showHideTimer = setTimeout(function() {
            @@ -199,7 +201,9 @@ var MM = (function() {
                                            // since it's fade out anyway, we can see it lay above or
                                            // below other modules. This works way better than adjusting
                                            // the .display property.
            -                               moduleWrapper.style.position = "fixed";
            +                               // moduleWrapper.style.position = "fixed";
            +                       // moduleWrapper.style.position = "absolute";
            +                       // moduleWrapper.style.left = "-1000px";
            
                                            updateWrapperStates();
            
            @@ -252,7 +256,9 @@ var MM = (function() {
                                    // Waiting for DOM-changes done in updateWrapperStates before we can start the animation.
                                    var dummy = moduleWrapper.parentElement.parentElement.offsetHeight;
                                    moduleWrapper.style.opacity = 1;
            -                       moduleWrapper.style.cssText = "z-index: 99";
            +                       // moduleWrapper.style.position = "relative";
            +                       moduleWrapper.style.left = "0px";
            +                       // moduleWrapper.style.cssText = "z-index: 99";
            
                                    clearTimeout(module.showHideTimer);
                                    module.showHideTimer = setTimeout(function() {
            

            After using this a while, everyone seems to like the main screen a lot. They don’t use the food or weather tabs much. The food tab is a bit glitchy, and the weather tab doesn’t always update. I’ll probably look for better options for these two.

            As far as the tablet failing to sleep, that went away after a factory reset and reinstall.

            1 Reply Last reply Reply Quote 1
            • T Offline
              tshort @shashank
              last edited by

              @shashank, on the non-touch use of a timer, I don’t have anything built in. Maybe it could be integrated with one of the voice recognition modules. I have an Amazon Echo nearby. It’d be cool to show the real-time status of Alexa timers, but I haven’t seen a way to do that.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy