• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 11.6k 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.
  • V Offline
    Vendittelli Module Developer
    last edited by Vendittelli May 2, 2016, 7:23 PM May 2, 2016, 7:21 PM

    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
    • P Offline
      paviro Admin
      last edited by paviro May 2, 2016, 7:34 PM May 2, 2016, 7:28 PM

      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
      • M Offline
        MichMich Admin
        last edited by May 2, 2016, 7:28 PM

        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 …)

        V 1 Reply Last reply May 2, 2016, 7:38 PM Reply Quote 2
        • V Offline
          Vendittelli Module Developer @MichMich
          last edited by May 2, 2016, 7:38 PM

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

          1 Reply Last reply Reply Quote 1
          • K Offline
            KirAsh4 Moderator
            last edited by May 2, 2016, 7:41 PM

            Hand gestures anyone? :)

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

            M 1 Reply Last reply May 2, 2016, 7:43 PM Reply Quote 2
            • M Offline
              MichMich Admin @KirAsh4
              last edited by May 2, 2016, 7:43 PM

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

              K 1 Reply Last reply May 2, 2016, 7:52 PM Reply Quote 1
              • P Offline
                paviro Admin
                last edited by paviro May 2, 2016, 7:45 PM May 2, 2016, 7:45 PM

                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
                • K Offline
                  KirAsh4 Moderator @MichMich
                  last edited by May 2, 2016, 7:52 PM

                  @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
                  • Z Offline
                    zombi27
                    last edited by May 3, 2016, 7:56 AM

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

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MichMich Admin
                      last edited by May 3, 2016, 7:57 AM

                      https://www.leapmotion.com

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        3/12
                        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