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.

    MMM-TouchNavigation, A Touch Activated Profile/Layout Changer

    Scheduled Pinned Locked Moved Utilities
    touchnavigationmodulelayoutprofilebuttonswitch
    43 Posts 9 Posters 48.6k Views 10 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.
    • tosti007T Offline
      tosti007 Module Developer @shashank
      last edited by

      @shashank it’s not able to find the images. Try changing the path. For me (on Windows) images only worked when I placed them in a sub folder in MM and used as path foldername/imagename. So try changing the way you write the path or try placing them in a sub folder

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

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

        @shashank Hi! You should not need to delete the TouchNavigation.css file at all. It shall remain, you just have to add the css things in the MagicMirror/css/custom.css nothing else. The module itself shall remain “untouched”, then later on you will not have update problems. :) Also, I did only change what’s needed to be changed in the custom.css there are still settings in the TouchNavigation.css file that may be needed. Regarding the pictures, I’m not sure, as someone else mentioned I think you may need to create a sub-folder for them. But I never tested to have the pictures “locally”. Sorry.

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

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

          @Snille thank you for pointing out about the css file, I read over that!
          @shashank what @Snille says is right. The css file should remain as it is and you should put his css in css/custom.css file

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

          1 Reply Last reply Reply Quote 0
          • G Offline
            GorramRob
            last edited by

            Hi! Thanks for writing this! I’m trying to get it running but am having some troubles. I have a handful of modules listed as ignored in the profile switcher module (including the clock so at least something should be showing all the time) but as soon as I enable the TouchNavigation module all I see is a black screen. No modules are displayed/visible.

            I double checked the MODULE_DATA from the remote-control module, it appears all the modules are loading correctly. Any thoughts on what might be going on?

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

              @GorramRob hmmm that’s fairly odd. Try doing a fresh clone and make sure that your config file it right. Did you add the touchnavigation to the ignore modules aswell, is ne spelling correct (case sensitive) and is the ignoremodules config an array? In the meantime I will have another look at the module trying to figure out what might be wrong.

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

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                GorramRob @tosti007
                last edited by

                @tosti007 Huh… I’m not sure what was going on but I cloned a new copy of it and everything seems to be working fine. I thought I had done that before, but maybe not. Thank you for replying so quickly!

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

                  After the new update of the MagicMirror framework and this issue I updated the css. This means that you can finally use the fullscreen positions for this module!

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

                  1 Reply Last reply Reply Quote 0
                  • cowboysdudeC Offline
                    cowboysdude Module Developer
                    last edited by

                    Fine module Sir… I’ll be playing with this very soon ;)

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

                      Hello everybody! I made a new module that is basically a rewrite of this one, but it allows for custom notifications. You can find more info about it here. MMM-TouchNotifications has the same features as MMM-TouchNavigation (the one you are looking at now).

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

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

                        @tosti007 Darn you! :) Now I have to start using this instead!! Thank you, need to get my mirror up and running again so I can reconfigure it (building frame for the moment). :)

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

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

                          @Snille well you don’t have to, it’s just an option :P both still work. The other just allows for more possiblies but does take some more configuration than this module

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

                          1 Reply Last reply Reply Quote 1
                          • B Offline
                            Binog
                            last edited by

                            Hey, can someone please help, or just post their config file?

                            1.: I have this, and it does not show anything:
                            and
                            2.: What does the payload has to look like? that seems incorrect,… !?

                            {
                                       module: "MMM-TouchNavigation",
                                       position: "bottom_right",
                                       classes: 'default you me',
                               		config: {
                               			picturePlacement: "right",
                               			minWidth: "30px",
                               			direction: "row",
                               			//border-radius: "1px",
                               			//border-radius: "50%",
                               			buttons: {
                               				"me": {
                               					img: "http://file to jpg", 
                               					width: 40,
                               					height: 40,
                               					profilename: "me",
                               					text: "me",
                               						},
                               				"You": {
                               					img: "https://file to .jpg", 
                               					width: 40,
                               					height: 40,
                               					NOTIFICATION: {
                               						payload: {
                               							//this.sendNotification('CURRENT_PROFILE', 'You')
                               								},
                               						profilename: "You",
                               									},
                            
                            tosti007T 1 Reply Last reply Reply Quote 0
                            • tosti007T Offline
                              tosti007 Module Developer @Binog
                              last edited by tosti007

                              Hello @Binog,
                              As fully described here you do not need to set something like profilename. The profile name is defined in the string before the : (like the first "me" after buttons).

                              It’s not possible to have a custom notification. For that you would have to look at this module.

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

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                Binog
                                last edited by

                                Thanks for explaining,
                                Is the Syntax, the same?
                                I realized,. my module is TouchNavigation thow the installed module in modules ist TouchNavigations,… face-palm

                                1 Reply Last reply Reply Quote 0
                                • KamiSchamiK Offline
                                  KamiSchami
                                  last edited by KamiSchami

                                  Hi, suddenly the border of my buttons are black. I no longer know whether I have adjusted something. Where can i search? By the way, great module.

                                  Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1
                                  • 2
                                  • 3
                                  • 2 / 3
                                  • 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