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.

    MagicMirror am PI 7" Monitor

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 5 Posters 4.6k Views 5 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.
    • T Offline
      thork
      last edited by

      Hallo
      Ich bin neu und unerfahren in IT belangen.
      Habe mich aber an das MagicMirror Projekt herangetastet und eine ganz valable Lösung - unter einem 21 Zoll Bildschirm - erreicht.
      In einem nächsten Schritt möchte ich gerne das ganze auf dem Original 7 Zoll betreiben, aber das funzt nicht wirklich.
      Gibt es keine Einstellung wo sich die Schrift für alle verwendeten Frames skalieren lässt?
      Kann mir jemand da weiterhelfen, oder gibt es eine Übersicht mit vordefinierten Layouts die sich mit dem 7" Monitor gut vertragen?

      Besten Dank für eure Unterstützung
      thork

      hummeruliH 1 Reply Last reply Reply Quote 0
      • hummeruliH Offline
        hummeruli @thork
        last edited by hummeruli

        @thork Du schaust am Besten bei der custom.css
        Darin kannst Du alle Styles und Schriften anpassen. Das Original ist gut als Beispiel. Kopiere die Datei und ändere alles was Du brauchst.

        Gruß

        Uli

        1 Reply Last reply Reply Quote 0
        • kusselinK Offline
          kusselin
          last edited by

          Hallo Ulli,

          Was meinst du mit Original ist gut?? Meinst du die main.css in die custom.css kopieren??

          hummeruliH 1 Reply Last reply Reply Quote 0
          • hummeruliH Offline
            hummeruli @kusselin
            last edited by hummeruli

            @kusselin Es gibt einen Ordner “custom”, dort ist normaler Weise eine nahezu leere “custom.css” drin. In diese habe ich dann folgendes unten eingefügt:

            ./*****************************************************

            • Magic Mirror *
            • Custom CSS *
            •                                               *
              
            • By Michael Teeuw http://michaelteeuw.nl *
            • MIT Licensed. *
            •                                               *
              
            • Add any custom CSS below. *
            • Changes to this files will be ignored by GIT. *
              *****************************************************/

            body {

            }

            .MMM-vvsDeparture {
            width:130px;
            }


            So wird nur das Modul “MMM-vvsDeparture” davon betroffen.

            1 Reply Last reply Reply Quote 0
            • kusselinK Offline
              kusselin
              last edited by

              Ok den ordner habe ich auch…und alles was man verändern will kopiert man in die costum.css

              hummeruliH 1 Reply Last reply Reply Quote 0
              • hummeruliH Offline
                hummeruli @kusselin
                last edited by

                @kusselin Ja genau. Das hat den Vorteil, dass bei Updates nix von deinen Änderungen verloren geht. Auch hast Du den Vorteil, Änderungen nur auf bestimmte Module zu machen. Das ist wichtig bei kleinen Displays und mehreren Seiten (MMM-Pages)

                1 Reply Last reply Reply Quote 0
                • kusselinK Offline
                  kusselin
                  last edited by

                  Ok super… arbeitest du auch mit pages??

                  Hab da Probleme mit dem Anzeigen von OpenMapWeather und dem Traffic modul… lösche ich pages aus der config.js wird alles angezeigt… hier der Thread

                  https://forum.magicmirror.builders/topic/14071/not-all-modules-are-displaying-on-the-tv/31?_=1609105354398

                  Hast du ein Tipp?

                  Gruss

                  hummeruliH 1 Reply Last reply Reply Quote 0
                  • hummeruliH Offline
                    hummeruli @kusselin
                    last edited by

                    @kusselin Generell würde ich die Seiten Stück für Stück aufbauen. Auch Dinge die Du auf allen Seiten verwendest fügst Du in den Abschnitt “Fixed:” rein. Damit wird es übersichtlicher. Auch ist die Reihenfolge in der Datei wichtig. MM sucht sich nichts zusammen. Es muss hintereinander stehen, wie ohne MMM-Pages. Häufiger Fehler ist auch “Blafasel” oder ‘Blafasel’. Da sind manche Module eigen.

                    1 Reply Last reply Reply Quote 0
                    • kusselinK Offline
                      kusselin
                      last edited by

                      Ok… wenn ich MMM-Traffic unter fixed stelle dann wird es auch nicht ang3zeigt… hab auch schon auf Github ne issue aufgemacht… ist halt §chwer zu sagen…

                      hummeruliH 1 Reply Last reply Reply Quote 0
                      • hummeruliH Offline
                        hummeruli @kusselin
                        last edited by

                        @kusselin Das Problem ist sicherlich das was bereits geschrieben wurde, dass manche Module ihr eigenes Süppchen kochen und so mit dem MMM-Pages kollidieren. Hier hilft wirklich nur ein Issue im Github aufzumachen. Habe leider das gleich Problem mir ein paar Modulen.

                        kusselinK 1 Reply Last reply Reply Quote 0
                        • kusselinK Offline
                          kusselin @hummeruli
                          last edited by

                          @hummeruli Hi, ich habs vergessen…

                          Wenn ich generell die Schriften usw. verkleinern will, was muss ich da nochmal in die custom.css eintragen??

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @kusselin
                            last edited by

                            @kusselin
                            Sie können dies versuchen

                            :root {
                              --font-size: 20px;   // change this
                            }
                            

                            aber nicht jedes Modul verwendet die eingebauten Größenstile

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • kusselinK Offline
                              kusselin
                              last edited by

                              Hallo sdetweil,

                              danke dir schomal :-)

                              1 Reply Last reply Reply Quote 1
                              • kusselinK Offline
                                kusselin
                                last edited by kusselin

                                hallo sdetweil, nein das klappt nicht :-(

                                habe das in die leere costum.css eingetragen:

                                :root {
                                  --font-size: 20px;   // change this
                                }
                                

                                bleibt genauso gross von der Schrift her

                                EDIT: Doch klappt…mann muss halt auch die px verändern…Danke Dir

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @kusselin
                                  last edited by

                                  @kusselin yes that is what it says, change the value I don’t know what u want it to be

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  KamiSchamiK 1 Reply Last reply Reply Quote 0
                                  • KamiSchamiK Offline
                                    KamiSchami @sdetweil
                                    last edited by

                                    Hi, hier mein “Mirror” am 7" Touchdisplay

                                    https://forum.magicmirror.builders/post/86435

                                    War ein Haufen Arbeit, aber es funktioniert echt gut.

                                    VG

                                    Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

                                    1 Reply Last reply Reply Quote 0
                                    • kusselinK Offline
                                      kusselin
                                      last edited by

                                      Danke Dir

                                      1 Reply Last reply Reply Quote 1

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • 1 / 1
                                      • 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