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.

    MM-Navbar - Navigation Bar for Touchscreens to hide/show modules

    Scheduled Pinned Locked Moved System
    47 Posts 11 Posters 42.7k Views 15 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.
    • C Offline
      chrisyy
      last edited by

      As mentioned from @tosti007 he wrote a module that uses the ProfileSwitcher.
      I will also continue on this project when i got the time for it.

      I plan on adding some configurable variables, like which modules should be included as a button and a config-section where u can define an icon from Font-Awesome. That should handle a few problems with which u came up here.

      But this will take me some time. So keep patient, i’m working.

      1 Reply Last reply Reply Quote 0
      • tosti007T Offline
        tosti007 Module Developer @shashank
        last edited by tosti007

        @shashank You’re welcome!
        @chrisyy you can use front awsome by setting the class of the symbol’s container to fa fa-symbolname. Something like this (where symbolName can be any icon name):

        var symbolName = "paper-plane";
        var symbolContainer = document.createElement("span");
        symbolContainer.className = "fa fa-" + symbolName;
        

        If there is anything don't hesitate to contact me!
        ProfileSwitcher, TouchNotifications

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          chrisyy @tosti007
          last edited by

          @tosti007 Something like this is what i’m thinking about

          1 Reply Last reply Reply Quote 0
          • SnilleS Offline
            Snille Module Developer
            last edited by

            Hi! I made a similar module for the same purpurs. You can always copy some code if you want…
            You can find it here in the forums. :)
            Or on github.

            If you cant find it, make it and share it!
            Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Cetax @Snille
              last edited by

              @Snille
              Hi, I’m using your MMM module bar to switch my modules on and off.
              What I don’t understand is how I switch between 2 modules.
              So if I press a button, I want to switch off one module and another ON. Both are in the same position (‘middle_center’).

              Or do I need another module?

              Thank you for your help.

              greeting
              Stefan

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