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.

    Magic Touch Display

    Scheduled Pinned Locked Moved Show your Mirror
    15 Posts 5 Posters 5.8k 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.
    • E Offline
      Egnos @Pjarki
      last edited by

      @Pjarki Thanks, I’ll try to do some tests. I will let you know!

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      1 Reply Last reply Reply Quote 0
      • C Offline
        Chazzer @Pjarki
        last edited by

        @Pjarki Looks very nice! Thank u for sharing

        1 Reply Last reply Reply Quote 0
        • M Offline
          Manino @Pjarki
          last edited by

          @Pjarki Funny modules! I have them now, and have been thinking about to not use the MMM-ModuleController. I like the blurry background for the calculator. But there is one issue with the MMM-DrawingBoard for me, It is a bit laggy.

          Do you know if it’s because of the non existing ModuleController in my config?

          First of all then, I don’t know where to put these, can you tell me where to put them?

          this.sendNotification(‘HIDE_MODULES’, { exceptionList: [“MMM-DrawingBoard”] });

          this.sendNotification(‘SHOW_MODULES’);

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Manino
            last edited by

            @Manino those sendNotification go in other modules

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Manino @sdetweil
              last edited by

              @sdetweil What other modules?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Manino
                last edited by

                @Manino whatever other module want to control show and hide of modules.

                sendNotification is a broadcast to all other modules. if they understand the notification then they can act on it

                MMM-ModuleController obviously watches for this notification from some other module and then acts to show or hide modules.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  Manino @sdetweil
                  last edited by

                  @sdetweil Yes, but should I copy paste it into config or what?

                  I’m on a very low level of the Magic Mirror, have been here for only a month and I can’t understand were to put the line or lines. I have tried at least 50 different places, in files, cofig, and also the css. I can’t do it right.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Manino
                    last edited by

                    @Manino no. that would go inside another.module where u want to control modules being shown or hidden

                    consider a module that has an on/off button, a toggle, default on.

                    when you press it, all the other modules should be hidden. when you press it again the modules should be shown

                    now, YOU could write and maintain all the code that does the show and hide, OR you could send that notification to some other module that provides that function.

                    so, in this button action section of this new module you could paste this code to signal hide and show.

                    it doesn’t go anywhere else

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Manino @sdetweil
                      last edited by

                      @sdetweil And what is another.module?

                      I have the MMM-ModuleController, MMM-Calculator, MMM-DrawingBoard. Do you mean someone of those or is it something else? I do understand what is supposed to happen, but can’t figure out HOW to do it with those lines.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Manino
                        last edited by

                        @Manino look at the source for

                        https://github.com/Jopyth/MMM-Buttons

                        his doc says that this module can send notifications to two other modules

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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