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.
    • B Offline
      Binog
      last edited by

      Hallo Leute!
      Habe ne Frage zur compliments-remote Datei.
      Wo muss die die remote-Datei liegen? habe sie dahingesagt: MagicMirror/modules/default/compliments/custom_compliments.json
      und den Link so eingetragen:
      remoteFile: ‘http://i.p.raspi/default/compliments/custom_compliments.json’,

      Das tut aber nichts… was muss ich wo hinlegen, und wie eintragen?
      Viele Dank
      Jimmy

      lavolp3L 1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        remoteFile: 'custom_compliments.json' sollte ausreichend sein, wenn der Inhalt deiner Datei in Ordnung ist.

        Ich habe das damals mal getestet, weil einige User Probleme hatten, und das hier hat als Inhalt funktioniert:

        {
            "morning" : [
                "heyho"
            ],
            "afternoon" : [
                "home early?"
            ],
            "evening" : [
                "finally home"
            ],
        	"fog" : [
        		"fog, oh no :("             
        	]
        }
        
        1 Reply Last reply Reply Quote 0
        • lavolp3L Offline
          lavolp3 Module Developer @Binog
          last edited by

          @binog Meine liegt auch im gleichen Ordner und wird genutzt wie @yawns das beschrieben hat

                  {
                  //disabled: true,
                  module: "compliments",
                  position: "lower_third",
                  config: {
                      classes: 'medium bright',
                      remoteFile: 'stromberg.json',
                      updateInterval: 12*60*60*1000,
                  }
              },
          

          die json sieht so aus

          {
              "anytime" : [
              "....",
              "....",
              ]
          }
          

          (ja, es sind Stromberg-Zitate)

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

          1 Reply Last reply Reply Quote 0
          • B Offline
            Binog
            last edited by Binog

            Hey Yawns, hey, lavop3 Danke für Eure schnellen Antworten.

            Meine Json-Datei:

            {
            			"anytime": [
            				"Ha!"
            			],
            			"morning": [
            				"Gu",
            				"Ge !",
            				"Ha ?",
            				"Du!"
            			],
            			"afternoon": [
            				"Ha !",
            				"Na ?",
            				"Si!",
            				"Yo !"
            			],
            			"evening": [
            				"Wow !",
            				"Ha",
            				"He!",
            				"Ic !"
            			],
            
            			"day_sunny": [
            				"Today is a sunny day",
            				"It's a beautiful day"
            			],
            			"snow": [
            				"Snowball battle!"
            			],
            			"rain": [
            				"Don't forget your umbrella"
            			],
            }
            
            

            und meine config.js:

            		{
            			module: 'compliments',
            			position: 'top_center',
            			config: {
            				remoteFile: 'custom_compliments.json',
            				//remoteFile: 'http://i.p./default/compliments/custom_compliments.json',
            				},
            		},
            
            

            Dennoch bekomme ich die custom nicht angezeigt. Verstehe das nicht…

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

              @binog said in Deutsche Anleitung MagicMirror auf RaspberryPi 3:

              und meine config.js:
              {
              module: ‘compliments’,
              position: ‘top_center’,
              config: {.
              remoteFile: ‘custom_compliments.json’,
              //remoteFile: ‘http://i.p./default/compliments/custom_compliments.json’,
              },
              },

              Was macht der Punkt hinter config? Der muss weg.

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

              1 Reply Last reply Reply Quote 0
              • B Offline
                Binog
                last edited by

                sorry, im Original nicht vorhanden. beim auslöschen einer Zeile drin geblieben.

                1 Reply Last reply Reply Quote 0
                • yawnsY Offline
                  yawns Moderator
                  last edited by

                  Hast Du den MagicMirror mal ein paar Minuten laufen lassen? Ich habe damals beobachten können, dass nach dem Start die Standard-Komplimente angezeigt wurden und einige Minuten später hat das System dann plötzlich meine eigenen Komplimente geladen.

                  So sah das damals in der Konsole aus:
                  Bild Text

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

                    Der nächste Versuch wäre den MagicMirror im dev mode zu starten und zu schauen ob du eine Meldung zu dem Modul bekommst.

                    npm start dev
                    

                    Wenn du den Autostart via pm2 aktiviert hast musst du vorher den pm2 Prozess stoppen

                    pm2 stop all
                    npm start dev
                    

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

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dl3fre
                      last edited by

                      Hallo… hat eine Weile gedauert bis euch gefunden habe… mein Englisch ist praktisch nicht vorhanden ;-)

                      Vielleicht kann jemand helfen oder hat einen Tipp wie es funktionieren könnte.
                      Ich möchte im MM einige Statusmeldungen aus dem Smarthome Homematic angzeigt bekommen. Dazu suche ich nach einem Modul was man anpassen könnte. Die Homematiczentrale kann via html Zeile (z.B. http://192.168.178.xx/control?cmd=LCD…) Text senden. Das nutze ich bereits um auf einem Wemos D1 und einem 20x4 LCD kurze Infos anzuzeigen.
                      Man bräuchte eigentlich “nur” was den Html code entgegen nimmt und zur Anzeige bringt. Was und wann welche Textzeilen gesendet werden bestimmt die Homematic Zentrale.
                      Hat jemand einen Lösungsansatz? Meine Prog. Kenntnisse gehen leider nicht über die “Bedienung” der Raspi Konsole hinaus ;-)
                      Gruß Fred

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

                        @dl3fre said in Deutsche Anleitung MagicMirror auf RaspberryPi 3:

                        Die Homematiczentrale kann via html Zeile (z.B. http://192.168.178.xx/control?cmd=LCD…) Text senden.

                        Das habe ich nicht verstanden. Kannst du nochmal genauer beschreiben was in welche Richtung gesendet wird?
                        Wird die Homematic zentrale per url mit optionen angefragt und gibt einen Text als response zurück?
                        Wie sieht die response aus?

                        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