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 158.2k 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.
    • 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
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 11
                        • 12
                        • 7 / 12
                        • 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