MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Multiple layouts/configs

    Feature Requests
    7
    12
    8285
    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.
    • Vendittelli
      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
      • paviro
        paviro Admin last edited by paviro

        Different layouts based on facial recognition is already implemented here 🙂 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
        • MichMich
          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 …)

          Vendittelli 1 Reply Last reply Reply Quote 2
          • Vendittelli
            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
            • KirAsh4
              KirAsh4 Moderator last edited by

              Hand gestures anyone? 🙂

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

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

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

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

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

                  – The Doctor

                  1 Reply Last reply Reply Quote 1
                  • KirAsh4
                    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
                    • zombi27
                      zombi27 last edited by

                      @KirAsh4 i thought about a touchless sensor for that 🙂

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

                        https://www.leapmotion.com

                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy