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

FireTV or Android TV as MM client

Scheduled Pinned Locked Moved Hardware
20 Posts 4 Posters 6.0k Views 4 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.
  • K Offline
    korey_sed @sdetweil
    last edited by Sep 13, 2022, 1:48 PM

    @sdetweil
    thanks. this is great. will try it.

    K 1 Reply Last reply Sep 15, 2022, 4:46 AM Reply Quote 0
    • K Offline
      kayakbabe @korey_sed
      last edited by Sep 15, 2022, 4:46 AM

      @korey_sed Another css tip is not to use “fixed” sizes for things like fonts and widths of div containers or images.

      I prefer to use units which are relative in size like em and vh and vw which are relative size units. so 1em on a phone versus 1em on a high rez computer screen will be different sizes relative to the media display. better than pixels which are a fixed size and do not scale with the display.

      For instance, I use vw and vh for images, because i actually move my pi around to different size monitors. vw is view height and vh is view width. So for my module that shows an random image (that can change from portrait or landscaped and size everyday), I set the css up for max-width: 50vw which translates to 50% of the view port size and 30vh. (vh is view height.) That way an image in that module will never be bigger than 50% of the width or 30% height of the screen. I find relative sizing really useful for websites that have to support a lot of different devices looking at it. No beans about it, MagicMirror is definitely a website.

      You might want to google about relative css units. here is a links to get you started if you want to try it.

      https://www.freecodecamp.org/news/css-unit-guide/

      K 1 Reply Last reply Sep 15, 2022, 12:39 PM Reply Quote 0
      • K Offline
        korey_sed @kayakbabe
        last edited by Sep 15, 2022, 12:39 PM

        @kayakbabe Thanks. this is good advice. I am hoping the MM core CSS already does this and it is only my custom CSS I have to worry about, but will find out soon. Waiting on my Chromecast with GoogleTV to arrive.

        S 1 Reply Last reply Sep 15, 2022, 12:50 PM Reply Quote 1
        • S Away
          sdetweil @korey_sed
          last edited by Sep 15, 2022, 12:50 PM

          @korey_sed core tries to be adjustable… but add on modules may not

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • K Offline
            korey_sed
            last edited by Sep 16, 2022, 1:23 PM

            So it turned out to be very easy.

            Fully kiosk browser told me that the resolution is 1920 x 1080 even on a 4K TV so I just had to change the body. For some reason setting it to 100% causes issues but. this works and nothing else needs to change.

            @media screen and (max-width: 1920px) {
            body {
            height: 1080px;
            width: 1920px;
            }
            }

            S 1 Reply Last reply Sep 16, 2022, 1:36 PM Reply Quote 0
            • S Away
              sdetweil @korey_sed
              last edited by Sep 16, 2022, 1:36 PM

              @korey_sed said in FireTV or Android TV as MM client:

              the resolution is 1920 x 1080 even on a 4K TV

              depends on the hdmi port support,
              pi3 is 1920x1080,
              pi4 is 3840/2160, MAX, but could be lower,
              i don’t remember the pi02w…
              pi0w is 1920
              odroid xu4 is 1920,
              jetson nano is 3840,
              both of my chromebox models support 3840

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              K 1 Reply Last reply Sep 16, 2022, 1:50 PM Reply Quote 0
              • K Offline
                korey_sed @sdetweil
                last edited by Sep 16, 2022, 1:50 PM

                @sdetweil this is different.

                chromecast itself has the HDMI wire attached and I can watch TV shows in 4K, however when I open a web browser (Fully Kiosk Browser) , it is at 1080. I guess it could be the app, but I got the same results with different browsers.

                S 1 Reply Last reply Sep 16, 2022, 2:14 PM Reply Quote 0
                • S Away
                  sdetweil @korey_sed
                  last edited by Sep 16, 2022, 2:14 PM

                  @korey_sed so they are not making the 4k support available to outside (their function) users…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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