• 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.

Different layout...

Scheduled Pinned Locked Moved General Discussion
6 Posts 4 Posters 4.1k Views 3 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer
    last edited by Aug 6, 2016, 9:43 AM

    because there is only on instance running, we can’t make a configurable option, but I thought about creating media querys in custom.css to hide all other modules on the small screens

    Please create a github issue if you need help, so I can keep track

    I 1 Reply Last reply Aug 6, 2016, 10:08 AM Reply Quote 0
    • I Offline
      ianperrin @strawberry 3.141
      last edited by ianperrin Aug 6, 2016, 10:08 AM Aug 6, 2016, 10:08 AM

      @strawberry-3.141 do you think it be possible to use something like node-ipware to detect the IP address of the device requesting the magicmirror pages within a modified version of MMM-Facial-Recognition so the module config can be varied?

      "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

      1 Reply Last reply Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer
        last edited by Aug 6, 2016, 10:14 AM

        do you mean something like that?

        config: {
            layouts: {
                '192.168.2.1': 'big',
                '192.168.2.2': 'small'
            }
        }
        

        Please create a github issue if you need help, so I can keep track

        I 1 Reply Last reply Aug 6, 2016, 10:24 AM Reply Quote 0
        • I Offline
          ianperrin @strawberry 3.141
          last edited by Aug 6, 2016, 10:24 AM

          @strawberry-3.141 yes,

          Though I was thinking aliasing the IP addresses with distinct device config labels such as rpi2 and rpi3 and even my_ipad and lounge_tv

          However, there’s is a use case to allow one device configuration to be applied to multiple devices so the tv’s IP address would be assigned large, iPad would be medium and rpi’s could be small

          "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

          1 Reply Last reply Reply Quote 1
          • M Offline
            MichMich Admin
            last edited by Aug 7, 2016, 2:30 PM

            Just use the css/custom.css to change any font sizes an layout options. And Use media Queries to change it according to the resolution of your screen. This does not require any modification to the core of MagicMirror² and allows you to update in the future.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              6/6
              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