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.

    Deutsche Anleitung MagicMirror auf RaspberryPi 3

    Scheduled Pinned Locked Moved General Discussion
    118 Posts 20 Posters 172.9k Views 25 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @35110
      last edited by

      @35110

      I don’t use a PIR sensor so I’m not familiar with its installation or any tutorials that might exist. It has been discussed at length on the forum so I suggest doing a forum search. I think you will find the information that you are looking for.

      Ich verwende keinen PIR-Sensor, daher bin ich mit der Installation oder den eventuell vorhandenen Anleitungen nicht vertraut. Es wurde ausführlich im Forum diskutiert, also schlage ich vor, eine Forensuche zu machen. Ich denke, Sie werden die Informationen finden, nach denen Sie suchen.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @35110
        last edited by

        @35110 Hallo 35110

        ich habe auch einen PIR Sensor installiert nach Anleitungen aus diesem Forum, der github Seite von MMM-PIR-Sensor und ein bisschen google-Suche nach der Verdrahtung.
        Da gibt es bei Eingabe von Raspberry Pi PIR eine Menge Ergebnisse.
        Ich kann mich auch an einer deutschen Erklärung versuchen falls es noch keine gibt.

        Ich weiß nicht ob du das Problem oben schon gelöst hast, aber es trat bei mir auf als ich versucht habe per config.txt den OpenGL-Treiber zu aktivieren.
        Das sollte man rückgängig machen und den Treiber (oder den Fake-Treiber) per raspi-config aktivieren. Dann hat es bei mir geklappt.

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        CyruS1337C 1 Reply Last reply Reply Quote 0
        • CyruS1337C Offline
          CyruS1337 Project Sponsor @lavolp3
          last edited by

          @lavolp3

          Hallo lavolp3, dass wäre sehr hilfreich. Denn ich habe ein PIR Senosor an meinem PI angeschlossen und auch das dazugehörige Modul MMM-PIR Sensor installiert und gemäss der Anleitung angeschlossen. Leider schaltet mein Bildschirm aber nie aus.

          Gruss

          1 Reply Last reply Reply Quote 0
          • 3 Offline
            35110
            last edited by 35110

            Hallo @lavolp3 ich würde mich freuen wenn du dieser Deutschen Anleitung deine Erfahrungen zum Modul MMM-PIR-Sensor zusteuerst und damit anderen auch die Chance gibst, sich Ihren Traum vom MagicMirror zu erfüllen.

            Derzeit habe ich xscreensaver auf dem Pi am laufen, so dass der Monitor sich nicht abschaltet. Schöner wäre es in der Tat, wenn er sich automatisch ab bzw. anschaltet, wenn jemand zuhause ist bzw. ihn nutzt.

            Oft versteht man ja die Scripte, wenn man ein fertiges Beispiel sieht. Ich tue mir leider immer sehr schwer mit diesen “Configurations Options” da ich nie weiß wie die in der config.js dann richtig aufgeführt werden müssen.

            Den Fehler habe ich in sofern lösen können, das ich einfach alles neu installiert habe und ganz wichtig…ich habe Node 10 installiert. Seit dem läuft es auch wieder.

            Hat evtl. jemand Erfahrung mit dem Modul MMM-NetworkScanner?? Da hat man ja auch die Möglichkeit, dass der MM sich Ein bzw Abschaltet wenn sich z.B. Mobiltelefone im Netzwerk befinden bzw. es verlassen. Ich habe das zwar schon mal probiert, aber mein MM/PI erkennt keine Geräte im Netzwerk. Config Code kann ich ja mal posten, wenn es von interesse ist.

            Ich freue mich auf jede Hilfe und vor allem Wissensaustausch in der Deutschen Anleitung. DANKE

            1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer
              last edited by

              Hi 35110,
              ich habe das NetworkScanner Modul am laufen aber lasse momentan nur anzeigen welches Gerät im Netzwerk ist. Hatte aber keine Probleme bei den EInstellungen.
              Kannst gerne deine config hier oder per PN posten, dann schaue ich sie mir an.

              Zum PIR Modul: Ich werde mich nächste WOche während meines Urlaubs dran setzen.
              Gibt es schon irgendwo ein deutsches Tutorial? Sonst poste ich die Erklärung einfach hier.

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              3 1 Reply Last reply Reply Quote 0
              • CyruS1337C Offline
                CyruS1337 Project Sponsor
                last edited by

                Also ich habe vor 5min auch gerade das MMM-NetworkScanner installiert. Dieser läuft, wie er sollte mit den MAC Adressen.

                @lavolp3 , ich habe keine deutsche Anleitung gefunden bezüglich dem PIR Sensor. Ich habe einfach das Gefühl, dass mein PIR vielleicht defekt ist. Irgendwo im Internet habe ich eine Anleitung für ein Python Script gefunden, wo man sieht, ob eine Bewegungen erkennt wurde. Das habe ich dann auch so gemacht, aber ich sehe dann im Script keine Bewegung. Spannung habe ich auf dem Kabel, das habe ich gemessen.

                1 Reply Last reply Reply Quote 0
                • 3 Offline
                  35110
                  last edited by

                  Ich habe gerade den NetworkScanner erneut eingerichtet bzw. es versucht. Bei mir wird “NO DEVICE ONLINE” auf dem MM angezeigt.

                  Habe über den Befehl arp-scan -l -q mal geschaut welche Geräte ArpScan findet und es sind nur LAN Geräte, keine WLAN Geräte :weary_face:

                  Anbei mal meinen config:

                  {
                                          module: "MMM-NetworkScanner",
                                          position: "bottom_right",
                                          header: "Wer ist daheim",
                                          config: {
                                                  device: [
                                                          { macAddress: "Mac Adresse iPhone", name: "Ich", icon: "mobile"},
                                                  ],
                                          showUnknown: false,
                                          }
                  1 Reply Last reply Reply Quote 0
                  • CyruS1337C Offline
                    CyruS1337 Project Sponsor
                    last edited by

                    Das wäre meine config, vielleicht hilft es dir.

                    {
                            module: 'MMM-NetworkScanner',
                            position: 'top_right', 
                            config: {
                                devices: [
                                        { ipAddress: "MAC Adresse", name: "NAS", icon: "globe"},
                                        { macAddress: "MAC Adresse", name: "Adri", icon: "mobile"},
                    		    { macAddress: "MAC Adresse", name: "Lisa", icon: "mobile"},
                                        { macAddress: "MAC Adresse", name: "Desktop", icon: "desktop"},
                    		    { macAddress: "MAC Adresse", name: "PI 1", icon: "wifi"},
                                        { macAddress: "MAC Adressef", name: "PI 2", icon: "wifi"},
                                        { macAddress: "MAC Adresse", name: "PI 3", icon: "wifi"},
                                    ],
                                showUnknown: false,
                                showOffline: true,
                                keepAlive: 10,
                                updateInterval: 300,
                    	    showLastSeen: true
                            }        
                        },
                    
                    1 Reply Last reply Reply Quote 0
                    • 3 Offline
                      35110
                      last edited by

                      Leider nein…selbst wenn ich den PI als Device mit ipAdress angebe, findet MM den Pi nicht…

                      Also hab ich evtl. einen Fehler in der Installation…daher nun meine Schritte:

                      cd ~/
                      sudo apt-get install arp-scan
                      cd ~/MagicMirror/modules
                      git clone https://github.com/ianperrin/MMM-NetworkScanner.git
                      cd ~/MagicMirror/modules/MMM-NetworkScanner
                      npm install
                      cd ~MagicMirror/config
                      nano config.js

                      Dort meine derzeitige config:
                      {
                      module: “MMM-NetworkScanner”,
                      position: “bottom_right”,
                      header: “Wer ist daheim”,
                      config: {
                      device: [
                      { ipAdress: “192.168.2.120”, name: “PI”, icon: “desktop”},
                      { macAddress: “MacAdresse”, name: “Speedport”, icon: “globe”},
                      { macAddress: “MacAdresse”, name: “Ich”, icon: “mobile”},
                      { macAddress: “MacAdresse”, name: “Frau”, icon: “female”},
                      ],
                      showUnknown: false,
                      showOffline: true,
                      keepAlive: 10,
                      updateInterval: 300,
                      showLastSeen: true
                      }

                      Update Vendor Database durchgeführt, Befehle wie folgt:
                      cd /usr/share/arp-scan
                      sudo get-iab -v -u http://standards.ieee.org/develop/regauth/iab/iab.txt
                      sudo get-oui -v -u http://standards.ieee.org/develop/regauth/oui/oui.txt

                      In der Anleitung steht etwas von “Generatic the Device Array” - ich hab keine Ahnung was das bedeuten soll.

                      1 Reply Last reply Reply Quote 0
                      • CyruS1337C Offline
                        CyruS1337 Project Sponsor
                        last edited by

                        Hallo

                        Hast du das Wlan eingeschaltet? Wenn ja, kann ich dir auch nicht mehr weiterhelfen. Denn ich beschäftige mich erst seit gut 3 Wochen mit dem Raspberry und beginne bei 0. Für mich ist jeder Tag eine neue Herausforderung auf dem PI :)

                        1 Reply Last reply Reply Quote 0
                        • 3 Offline
                          35110 @lavolp3
                          last edited by

                          @lavolp3 kannst du evtl. deine config zum NetworkScanner hier mal posten?

                          1 Reply Last reply Reply Quote 0
                          • 3 Offline
                            35110
                            last edited by

                            Habt Ihr etwas “verändert” in der config??

                                    address: "localhost", // Address to listen on, can be:
                                                          // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                          // - another specific IPv4/6 to listen on a specific interface
                                                          // - "", "0.0.0.0", "::" to listen on any interface
                                                          // Default, when address config is left out, is "localhost"
                                    port: 8080,
                                    ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                                                                                           // or add a specific IPv4 of 192.168.1.5 :
                                                                                           // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                                                                           // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                                                                           // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                            
                                    language: "de",
                                    timeFormat: 24,
                                    units: "metric",
                            
                                    modules: [
                            1 Reply Last reply Reply Quote 0
                            • CyruS1337C Offline
                              CyruS1337 Project Sponsor
                              last edited by

                              @35110, ich kann dir am Abend meine config posten. Ja dort habe ich was geändert, muss am Abend aber schauen was :) bzw. es wurde mir dort geholfen.

                              1 Reply Last reply Reply Quote 0
                              • CyruS1337C Offline
                                CyruS1337 Project Sponsor
                                last edited by

                                So, anbei meine Config. Bei “Deine IP” musst du deine IP deines PI angeben.

                                /* Magic Mirror Config Sample
                                 *
                                 * By Michael Teeuw http://michaelteeuw.nl
                                 * MIT Licensed.
                                 *
                                 * For more information how you can configurate this file
                                 * See https://github.com/MichMich/MagicMirror#configuration
                                 *
                                 */
                                
                                var config = {
                                	address: "DEINE IP", // Address to listen on, can be:
                                	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                	                      // - another specific IPv4/6 to listen on a specific interface
                                	                      // - "", "0.0.0.0", "::" to listen on any interface
                                	                      // Default, when address config is left out, is "localhost"
                                	port: 8080,
                                	ipWhitelist: ["127.0.0.1", "192.168.1.0/24", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                                	                                                       // or add a specific IPv4 of 192.168.1.5 :
                                	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                                
                                	language: "de",
                                	timeFormat: 24,
                                	units: "metric",
                                	
                                	modules: [
                                {
                                        module: 'MMM-NetworkScanner',
                                        position: 'top_right', 
                                        config: {
                                            devices: [
                                                    { ipAddress: "Webadresse vom NAS", name: "NAS", icon: "globe"},
                                                    { macAddress: "MAC Adresse", name: "Adri", icon: "mobile"},
                                		   { macAddress: "MAC Adresse", name: "Lisa", icon: "mobile"},
                                                    { macAddress: "MAC Adresse", name: "Desktop", icon: "desktop"},
                                		   { macAddress: "MAC Adresse", name: "PI 1", icon: "wifi"},
                                                    { macAddress: "MAC Adresse", name: "PI 2", icon: "wifi"},
                                                    { macAddress: "MAC Adresse", name: "PI 3", icon: "wifi"},
                                                ],
                                            showUnknown: true,
                                            showOffline: true,
                                            keepAlive: 10,
                                            updateInterval: 10,
                                	  showLastSeen: true,
                                	  sort: true,
                                		
                                        }        
                                    },
                                
                                1 Reply Last reply Reply Quote 0
                                • 3 Offline
                                  35110
                                  last edited by

                                  Wenn ich bei “Deine IP” die IP des Pi (192.168.2.120) eingebe, startet der MagicMirror nicht bzw. der Bildschirm bleibt schwarz. Wenn ich dort 0.0.0.0 eingebe, wird MM zwar gestartet, aber im NetworkScanner wird weiterhin nichts angezeigt. Wenn ich die DHCP Adresse (192.168.2.1) meines Speedport eintrage, bleibt der Bildschirm auch schwarz.

                                  Auch die Erweiterung meiner Whitelist auf “::ffff:192.168.2.1/120” hat nichts verändert - wenn ich “deine IP” wieder auf “0.0.0.0” einstelle, wird zwar MM ausgeführt, aber NetworkScanner zeigt weiterhin “NO DEVICES ONLINE” an.

                                  CyruS1337C lavolp3L 3 Replies Last reply Reply Quote 0
                                  • CyruS1337C Offline
                                    CyruS1337 Project Sponsor @35110
                                    last edited by

                                    @35110

                                    Wie ich erfahren habe, ist es nicht sinnvoll wenn du dort die IP Adresse eingibst. Gibt dort einfach 0.0.0.0 ein.

                                    https://forum.magicmirror.builders/topic/8998/black-screen-after-starting/13

                                    1 Reply Last reply Reply Quote 0
                                    • lavolp3L Offline
                                      lavolp3 Module Developer @35110
                                      last edited by

                                      @35110 Hallo zusammen, sorry ich habe dieses Thema lange übersehen.
                                      Also, bei der “address” in der config sollte 0.0.0.0 angegeben werden. Diese Angabe ist vonnöten um dem MagicMirror zu sagen auf welchen Adressen er lauschen soll. 0.0.0.0 sagt “alle”. Aus einem Grund der mir noch nicht klar ist, funktioniert das System nicht wenn man die Standrrdeinstellung"localhost" beibelässt.

                                      Die Whitelist kann eigentlich auch keinen Einfluss haben, denn dort wird geregelt welche Geräte Zugriff auf Port 8080 bekommen. z.B. über den browser eines Computers.

                                      Hier mal meine config, die funktioniert

                                      var config = {
                                      port: 8080,
                                      address: "0.0.0.0",
                                      ipWhitelist: [],
                                      //ipWhitelist: ["80.157.5.50", "192.168.1.21", "::fff:0.0.0.0/1", "::fff:128.0.0.0/2", "::ffff:192.168.1.1/2$
                                      //ipWhitelist: ["80.157.5.50", "::fff:0.0.0.0/1", "::ffff:192.168.1.1/24", "::fff:128.0.0.0/2", "::fff:192.0$
                                                                                                     // or add a specific IPv4 of 192.168.1.5 :
                                                                                                     // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "$
                                                                                                     // or IPv4 range of 192.168.3.0 --> 192.168.3$
                                                                                                     // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "$
                                      
                                      
                                      language: 'de',
                                      timeFormat: 24,
                                      units: 'metric',
                                      zoom: 0.7,
                                      
                                          {
                                              module: 'MMM-NetworkScanner',
                                              classes: 'small',
                                              position: 'top_left',
                                              config: {
                                                  devices: [
                                                      { macAddress: "mac-address", name: "Dachboden", icon: "server"},
                                                      { macAddress: "mac-address", name: "Krachmacher", icon: "desktop"},
                                                      { macAddress: "mac-address", name: "Handy", icon: "mobile"},
                                                      { macAddress: "mac-address", name: "Handy", icon: "mobile"},
                                                      { macAddress: "mac-address", name: "Drucker", icon: "print"},
                                                  ],
                                                  //showUnknown: false,
                                                  showOffline: true,
                                                  //keepAlive: 300,
                                                  updateInterval: 5,
                                                  //residents: 'Mobile',
                                              }
                                          },
                                      

                                      How to troubleshoot modules
                                      MMM-soccer v2, MMM-AVStock

                                      CyruS1337C S 2 Replies Last reply Reply Quote 0
                                      • lavolp3L Offline
                                        lavolp3 Module Developer @35110
                                        last edited by

                                        @35110 Bist du sicher dass alle Geräte im gleichen Netzwerk sind, oder hast du den Spiegel oder andere in einem Subnetz? Vielleicht kann es daran liegen!?

                                        How to troubleshoot modules
                                        MMM-soccer v2, MMM-AVStock

                                        1 Reply Last reply Reply Quote 0
                                        • CyruS1337C Offline
                                          CyruS1337 Project Sponsor @lavolp3
                                          last edited by

                                          @lavolp3 vielen Dank für dein Input und nochmals vielen Dank für deine Hilfe bei meinem vorherigen Problem.

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            PaulB
                                            last edited by PaulB

                                            @Community Kann ich euch helfen?
                                            Fiel mir als Nicht-ITler am Anfang genauso schwer.
                                            Falls Ihr bei Englisch und Co. Hilfe braucht, gibt mir gerne Bescheid. Das Projekt macht einfach tierisch Spaß, da ist es doch klar, dass wir einander helfen.

                                            Viele Grüße aus Hamburg,
                                            Paul

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • 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