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.

    Multiple layouts/configs

    Scheduled Pinned Locked Moved Feature Requests
    12 Posts 7 Posters 12.0k 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.
    • VendittelliV Offline
      Vendittelli Module Developer
      last edited by Vendittelli

      As the number of cool and interesting modules grows, it’d be good to have a way to have multiple possible modules configurations. Mostly so our nice clean mirrors don’t get too cluttered! So, for instance, one could:

      • Display different modules at different times of day (e.g. travel time to work in the morning only)
      • Have a wired button (or skywriter ;)) to swap between different layouts/modules
      • Display a different layout based on face recognition
      • Be able to swap between languages globally
      • etc.

      I’m not sure how one could implement this sensibly. Maybe give modules the ability to swap between layouts, e.g. for face recognition? Doing it without having to reload modules? Can electron handle multiple tabs and do it that way? Would this increase overheads on the pi? Are these questions rhetorical?

      But anyway, certainly food for thought!

      1 Reply Last reply Reply Quote 0
      • paviroP Offline
        paviro Admin
        last edited by paviro

        Different layouts based on facial recognition is already implemented here :slight_smile: It should be trivial to write something similar for the other use cases you just mentioned! Have a look at my code for an example.

        We're all stories in the end. Just make it a good one, eh?

        – The Doctor

        1 Reply Last reply Reply Quote 0
        • MichMichM Offline
          MichMich Admin
          last edited by

          The core system allows a module to switch modules based on a class. So in theory, we could simply built a module which switches modules on or off based on a time (or something else …)

          VendittelliV 1 Reply Last reply Reply Quote 2
          • VendittelliV Offline
            Vendittelli Module Developer @MichMich
            last edited by

            @MichMich Ah, I hadn’t even thought of that! I will look into it, probably after exams.

            1 Reply Last reply Reply Quote 1
            • KirAsh4K Offline
              KirAsh4 Moderator
              last edited by

              Hand gestures anyone? :)

              A Life? Cool! Where can I download one of those from?

              MichMichM 1 Reply Last reply Reply Quote 2
              • MichMichM Offline
                MichMich Admin @KirAsh4
                last edited by

                @KirAsh4 i prefer voice: “show me the traffic information” - but gestures would be awesome too. :)

                KirAsh4K 1 Reply Last reply Reply Quote 1
                • paviroP Offline
                  paviro Admin
                  last edited by paviro

                  Wanted to implement that. I still have a small sensor I bought for it laying around but I am now in favor of voice commands :D

                  We're all stories in the end. Just make it a good one, eh?

                  – The Doctor

                  1 Reply Last reply Reply Quote 1
                  • KirAsh4K Offline
                    KirAsh4 Moderator @MichMich
                    last edited by

                    @MichMich

                    Yes voice commands would be fine too, I was thinking more in terms of ‘in addition to voice commands …’ Imagine being able to ‘wave’ things away from the screen.

                    I thought of that last night while working on the Calendar module. One thing that came to mind was, what if it displays a notification when an event is about to happen (say at 60, 30, 15 minutes prior to the event), much like the Google Calendar will send you reminders (if set).

                    At present state, there is no easy way for the user to dismiss that notification, it’s all done in the config with a semi-fixed timer. So I can display a popup and hide it after x-time. But what if the user could do that … one way is to integrate a button the user could press to acknowledge the popup … then I thought, what if they can simply ‘wave it away’ … hence hand gestures. :)

                    A Life? Cool! Where can I download one of those from?

                    1 Reply Last reply Reply Quote 2
                    • zombi27Z Offline
                      zombi27
                      last edited by

                      @KirAsh4 i thought about a touchless sensor for that :)

                      1 Reply Last reply Reply Quote 0
                      • MichMichM Offline
                        MichMich Admin
                        last edited by

                        https://www.leapmotion.com

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