Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Magic Mirror zusammen mit IOBroker

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.0k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

Magic Mirror zusammen mit IOBroker

Scheduled Pinned Locked Moved Off Topic
magic mirror
224 Posts 24 Posters 45.8k Views 23 Watching
  • 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.
  • M mrjeschke

    @kusselin
    Moin,

    Beim LXC-Container muss man keine besonderen Einstellungen machen.
    Da der MM im LXC-Container ja als Server laufen muss, braucht man dort einige kleine Einstellungen.
    Keine Ahnung, ob du da schon etwas konfiguriert hast.
    Am Anfang der config.js steht der Eintrag address: "localhost" ändern auf address "0.0.0.0"
    Dann musst du eventuell den EIntrag ipWhitelist anpassen.
    Wenn alle Geräte bei dir im Netz auf den MM zugreifen dürfen, einfach den Inhalt der eckigen Klammern löschen.
    Außerdem hatte ich (glaube ich) noch den Eintrag

    serverOnly: true,
    

    Wenn es dann noch klemmt, am besten den MM stoppen und im Verzeichnis MagicMirror mit

    npm run server
    

    starten. Dann siehst du auch eventuelle Fehlermeldungen.

    KusselinK Offline
    KusselinK Offline
    Kusselin
    wrote on last edited by Kusselin
    #156

    @mrjeschke sagte in Magic Mirror zusammen mit IOBroker:

    @kusselin
    Moin,

    Beim LXC-Container muss man keine besonderen Einstellungen machen.
    Da der MM im LXC-Container ja als Server laufen muss, braucht man dort einige kleine Einstellungen.
    Keine Ahnung, ob du da schon etwas konfiguriert hast.
    Am Anfang der config.js steht der Eintrag address: "localhost" ändern auf address "0.0.0.0"
    Dann musst du eventuell den EIntrag ipWhitelist anpassen.
    Wenn alle Geräte bei dir im Netz auf den MM zugreifen dürfen, einfach den Inhalt der eckigen Klammern löschen.
    Außerdem hatte ich (glaube ich) noch den Eintrag

    serverOnly: true,
    

    Wenn es dann noch klemmt, am besten den MM stoppen und im Verzeichnis MagicMirror mit

    npm run server
    

    starten. Dann siehst du auch eventuelle Fehlermeldungen.

    Hi danke für die Info.

    den Eintrag

    serverOnly: true,
    

    kommt der auch in die config?

    Was noch komisch ist...ich habe den MM noch auf einem Pi installiert und da habe ich auch das Modul "MMM-SoccerLiveScore" installiert....sowie das iobroker Modul...da also aufm Pi wird alles angezeigt...auf dem MM im LXC Container da wird iobroker udn die Soccer Table nicht angezeigt....

    weisst du ev. woran das noch liegen kann?

    M 1 Reply Last reply
    0
    • KusselinK Kusselin

      @mrjeschke sagte in Magic Mirror zusammen mit IOBroker:

      @kusselin
      Moin,

      Beim LXC-Container muss man keine besonderen Einstellungen machen.
      Da der MM im LXC-Container ja als Server laufen muss, braucht man dort einige kleine Einstellungen.
      Keine Ahnung, ob du da schon etwas konfiguriert hast.
      Am Anfang der config.js steht der Eintrag address: "localhost" ändern auf address "0.0.0.0"
      Dann musst du eventuell den EIntrag ipWhitelist anpassen.
      Wenn alle Geräte bei dir im Netz auf den MM zugreifen dürfen, einfach den Inhalt der eckigen Klammern löschen.
      Außerdem hatte ich (glaube ich) noch den Eintrag

      serverOnly: true,
      

      Wenn es dann noch klemmt, am besten den MM stoppen und im Verzeichnis MagicMirror mit

      npm run server
      

      starten. Dann siehst du auch eventuelle Fehlermeldungen.

      Hi danke für die Info.

      den Eintrag

      serverOnly: true,
      

      kommt der auch in die config?

      Was noch komisch ist...ich habe den MM noch auf einem Pi installiert und da habe ich auch das Modul "MMM-SoccerLiveScore" installiert....sowie das iobroker Modul...da also aufm Pi wird alles angezeigt...auf dem MM im LXC Container da wird iobroker udn die Soccer Table nicht angezeigt....

      weisst du ev. woran das noch liegen kann?

      M Online
      M Online
      mrjeschke
      wrote on last edited by
      #157

      @kusselin
      Ja richtig, der Eintrag

      serverOnly: true,
      

      muss in die config. Der Eintrag ist mit allen Optionen schon verhanden.
      Aber auskommentiert. Du musst nur den Kommentar wegnehmen und
      die anderen Optionen löschen. Wenn dieser Eintrag fehlt, kann man nur
      lokal auf den MM zugreifen und nicht über das Netzwerk.

      KusselinK 1 Reply Last reply
      0
      • M mrjeschke

        @kusselin
        Ja richtig, der Eintrag

        serverOnly: true,
        

        muss in die config. Der Eintrag ist mit allen Optionen schon verhanden.
        Aber auskommentiert. Du musst nur den Kommentar wegnehmen und
        die anderen Optionen löschen. Wenn dieser Eintrag fehlt, kann man nur
        lokal auf den MM zugreifen und nicht über das Netzwerk.

        KusselinK Offline
        KusselinK Offline
        Kusselin
        wrote on last edited by
        #158

        @mrjeschke o.k. danke...zu meiner anderen sache kannst du nix sagen?

        Gruss

        1 Reply Last reply
        0
        • KusselinK Offline
          KusselinK Offline
          Kusselin
          wrote on last edited by
          #159

          Ich habe noch massive Probleme den Server nach dem Starten am Laufen zu halten... im MM Forum habe ich zwar ein paar Tipps bekommen aber so richtig verständlich für mich mal wieder nicht :-(

          Was ich nicht verstehe.. wen ich den Server von MM im Eigenständigen LXC Container starte und ich schließe dann putty... ist die Verbindung weg wenn ich am läppi die ip:8080 eingebe!! Wieso? Ich starte den Server doch....

          Die Befehle für Screen habe ich noch nicht verstanden..

          Kann mir einer hier ev. Einen anderen Weg noch zeigen das der Server auch nach einem zb rebelt online bleibt?

          Danke euch

          M 1 Reply Last reply
          0
          • KusselinK Kusselin

            Ich habe noch massive Probleme den Server nach dem Starten am Laufen zu halten... im MM Forum habe ich zwar ein paar Tipps bekommen aber so richtig verständlich für mich mal wieder nicht :-(

            Was ich nicht verstehe.. wen ich den Server von MM im Eigenständigen LXC Container starte und ich schließe dann putty... ist die Verbindung weg wenn ich am läppi die ip:8080 eingebe!! Wieso? Ich starte den Server doch....

            Die Befehle für Screen habe ich noch nicht verstanden..

            Kann mir einer hier ev. Einen anderen Weg noch zeigen das der Server auch nach einem zb rebelt online bleibt?

            Danke euch

            M Online
            M Online
            mrjeschke
            wrote on last edited by mrjeschke
            #160

            @kusselin
            Wenn du den MM über das Terminal startest, wird er natürlich beendet wenn du das Terminal schließt.
            Üblicherweise macht man den autostart mit PM2, aber das hat bei mir auch nicht gut geklappt.
            Deshalb mache ich es über crontab.

            // neue Datei erstellen
            cd ~
            nano mm.sh
            cd ~/MagicMirror
            npm run server
            // speicher und beenden
            // Datei ausführbar machen
            chmod +x mm.sh
            crontab -e
            // am Ende der Datei einfügen (usernamen wenn nötig anpassen - hier pi)
            @reboot /home/pi/mm.sh
            //speichern und beenden + neu booten
            
            
            KusselinK 1 Reply Last reply
            0
            • M mrjeschke

              @kusselin
              Wenn du den MM über das Terminal startest, wird er natürlich beendet wenn du das Terminal schließt.
              Üblicherweise macht man den autostart mit PM2, aber das hat bei mir auch nicht gut geklappt.
              Deshalb mache ich es über crontab.

              // neue Datei erstellen
              cd ~
              nano mm.sh
              cd ~/MagicMirror
              npm run server
              // speicher und beenden
              // Datei ausführbar machen
              chmod +x mm.sh
              crontab -e
              // am Ende der Datei einfügen (usernamen wenn nötig anpassen - hier pi)
              @reboot /home/pi/mm.sh
              //speichern und beenden + neu booten
              
              
              KusselinK Offline
              KusselinK Offline
              Kusselin
              wrote on last edited by
              #161

              @mrjeschke die neue Datei kann ich mit Notepad erstellen.. ist das richtig... ?

              Crontab schon oft gehört aber nie benutzt ...

              Heißt ich öffne notepad und erstelle eine neue Datei..das füge ich dort ein

              cd ~
              nano mm.sh
              cd ~/MagicMirror
              npm run server
              

              Dann speichere ich die Datei... in welchem Format? Und wo kopiere ich die Datei hin?

              Dann ausführbar machen richtig?

              Dann nochmal die Datei öffnen (verstehe ich das richtig? ) und das einfügen am Ende

              @reboot /home/pi/mm.sh
              

              Also würde die neu erstellte Datei dann am Schluss so aussehen:

              cd ~
              nano mm.sh
              cd ~/MagicMirror
              npm run server
              @reboot /home/pi/mm.sh
              
              M 1 Reply Last reply
              0
              • KusselinK Kusselin

                @mrjeschke die neue Datei kann ich mit Notepad erstellen.. ist das richtig... ?

                Crontab schon oft gehört aber nie benutzt ...

                Heißt ich öffne notepad und erstelle eine neue Datei..das füge ich dort ein

                cd ~
                nano mm.sh
                cd ~/MagicMirror
                npm run server
                

                Dann speichere ich die Datei... in welchem Format? Und wo kopiere ich die Datei hin?

                Dann ausführbar machen richtig?

                Dann nochmal die Datei öffnen (verstehe ich das richtig? ) und das einfügen am Ende

                @reboot /home/pi/mm.sh
                

                Also würde die neu erstellte Datei dann am Schluss so aussehen:

                cd ~
                nano mm.sh
                cd ~/MagicMirror
                npm run server
                @reboot /home/pi/mm.sh
                
                M Online
                M Online
                mrjeschke
                wrote on last edited by
                #162

                @kusselin
                Auf keinen Fall Windows Notepad. Da kommt nur Unfug raus.
                Die Befehle sind im Terminal / ssh einzugeben.
                Mit cd ~
                geht es ins home-Verzeichnis
                Dann startest du dort mit
                nano mm.sh
                den Editor und gibst die beiden Zeilen
                cd ~/MagicMirror
                npm run server
                ein. Mit Steuerung s speichern, Mit Steuerung x beenden.
                Dann gibst du ein
                crontab -e
                Es öffnet sich so etwas wie ein Editor, dort kommt nur eine Zeile rein (am Ende)
                @reboot /home/pi/mm.sh
                Wieder mit Steueruns s speichern, mit Steuerung x beenden.
                sudo reboot
                Fertig

                KusselinK 1 Reply Last reply
                0
                • M Online
                  M Online
                  mrjeschke
                  wrote on last edited by
                  #163

                  So sieht die mm.sh dann aus

                  cd MagicMirror
                  npm run server
                  

                  Und crontab

                  # Edit this file to introduce tasks to be run by cron.
                  #
                  # Each task to run has to be defined through a single line
                  # indicating with different fields when the task will be run
                  # and what command to run for the task
                  #
                  # To define the time you can provide concrete values for
                  # minute (m), hour (h), day of month (dom), month (mon),
                  # and day of week (dow) or use '*' in these fields (for 'any').
                  #
                  # Notice that tasks will be started based on the cron's system
                  # daemon's notion of time and timezones.
                  #
                  # Output of the crontab jobs (including errors) is sent through
                  # email to the user the crontab file belongs to (unless redirected).
                  #
                  # For example, you can run a backup of all your user accounts
                  # at 5 a.m every week with:
                  # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
                  #
                  # For more information see the manual pages of crontab(5) and cron(8)
                  #
                  # m h  dom mon dow   command
                  @reboot /home/pi/mm.sh
                  
                  
                  KusselinK 1 Reply Last reply
                  0
                  • M mrjeschke

                    So sieht die mm.sh dann aus

                    cd MagicMirror
                    npm run server
                    

                    Und crontab

                    # Edit this file to introduce tasks to be run by cron.
                    #
                    # Each task to run has to be defined through a single line
                    # indicating with different fields when the task will be run
                    # and what command to run for the task
                    #
                    # To define the time you can provide concrete values for
                    # minute (m), hour (h), day of month (dom), month (mon),
                    # and day of week (dow) or use '*' in these fields (for 'any').
                    #
                    # Notice that tasks will be started based on the cron's system
                    # daemon's notion of time and timezones.
                    #
                    # Output of the crontab jobs (including errors) is sent through
                    # email to the user the crontab file belongs to (unless redirected).
                    #
                    # For example, you can run a backup of all your user accounts
                    # at 5 a.m every week with:
                    # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
                    #
                    # For more information see the manual pages of crontab(5) and cron(8)
                    #
                    # m h  dom mon dow   command
                    @reboot /home/pi/mm.sh
                    
                    
                    KusselinK Offline
                    KusselinK Offline
                    Kusselin
                    wrote on last edited by Kusselin
                    #164

                    @mrjeschke ok danke Dir.. ja Nano der interne Editor bei Linux.. ich probier’s mal danke Dir :-)

                    Ähhm das kommt wenn ich crontab -e eingebe! Was wähle ichda?

                    pi@MagicMirror-live:~$ crontab -e
                    no crontab for pi - using an empty one
                    
                    Select an editor.  To change later, run 'select-editor'.
                      1. /bin/nano        <---- easiest
                      2. /usr/bin/vim.tiny
                      3. /bin/ed
                    
                    Choose 1-3 [1]:
                    
                    
                    M 1 Reply Last reply
                    0
                    • KusselinK Kusselin

                      @mrjeschke ok danke Dir.. ja Nano der interne Editor bei Linux.. ich probier’s mal danke Dir :-)

                      Ähhm das kommt wenn ich crontab -e eingebe! Was wähle ichda?

                      pi@MagicMirror-live:~$ crontab -e
                      no crontab for pi - using an empty one
                      
                      Select an editor.  To change later, run 'select-editor'.
                        1. /bin/nano        <---- easiest
                        2. /usr/bin/vim.tiny
                        3. /bin/ed
                      
                      Choose 1-3 [1]:
                      
                      
                      M Online
                      M Online
                      mrjeschke
                      wrote on last edited by
                      #165

                      @kusselin
                      Da will er wissen mit welchem Editor du es bearbeiten möchtest.
                      Nimm 1 für nano.

                      KusselinK 1 Reply Last reply
                      1
                      • M mrjeschke

                        @kusselin
                        Da will er wissen mit welchem Editor du es bearbeiten möchtest.
                        Nimm 1 für nano.

                        KusselinK Offline
                        KusselinK Offline
                        Kusselin
                        wrote on last edited by Kusselin
                        #166

                        @mrjeschke klappt net :-(
                        wenn ich 192.168.200.74:8080 eingebe keine Verbindung...

                         minute (m), hour (h), day of month (dom), month (mon),
                        # and day of week (dow) or use '*' in these fields (for 'any').
                        #
                        # Notice that tasks will be started based on the cron's system
                        # daemon's notion of time and timezones.
                        #
                        # Output of the crontab jobs (including errors) is sent through
                        # email to the user the crontab file belongs to (unless redirected).
                        #
                        # For example, you can run a backup of all your user accounts
                        # at 5 a.m every week with:
                        # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
                        #
                        # For more information see the manual pages of crontab(5) and cron(8)
                        #
                        # m h  dom mon dow   command
                        
                        @reboot /home/pi/mm.sh
                        
                        

                        da liegt mein MagicMirror

                        /home/pi/MagicMirror

                        Wasn das jetzt noch nachdem ich crontab beendet habe??

                        pi@MagicMirror-live:~$ crontab -e
                        No modification made
                        
                        
                        M 1 Reply Last reply
                        0
                        • KusselinK Kusselin

                          @mrjeschke klappt net :-(
                          wenn ich 192.168.200.74:8080 eingebe keine Verbindung...

                           minute (m), hour (h), day of month (dom), month (mon),
                          # and day of week (dow) or use '*' in these fields (for 'any').
                          #
                          # Notice that tasks will be started based on the cron's system
                          # daemon's notion of time and timezones.
                          #
                          # Output of the crontab jobs (including errors) is sent through
                          # email to the user the crontab file belongs to (unless redirected).
                          #
                          # For example, you can run a backup of all your user accounts
                          # at 5 a.m every week with:
                          # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
                          #
                          # For more information see the manual pages of crontab(5) and cron(8)
                          #
                          # m h  dom mon dow   command
                          
                          @reboot /home/pi/mm.sh
                          
                          

                          da liegt mein MagicMirror

                          /home/pi/MagicMirror

                          Wasn das jetzt noch nachdem ich crontab beendet habe??

                          pi@MagicMirror-live:~$ crontab -e
                          No modification made
                          
                          
                          M Online
                          M Online
                          mrjeschke
                          wrote on last edited by
                          #167

                          @kusselin
                          Was sagt

                          crontab -l
                          
                          KusselinK 1 Reply Last reply
                          0
                          • M mrjeschke

                            @kusselin
                            Was sagt

                            crontab -l
                            
                            KusselinK Offline
                            KusselinK Offline
                            Kusselin
                            wrote on last edited by
                            #168

                            @mrjeschke sagte in Magic Mirror zusammen mit IOBroker:

                            crontab -l

                            pi@MagicMirror-live:~$ crontab -l
                            # Edit this file to introduce tasks to be run by cron.
                            #
                            # Each task to run has to be defined through a single line
                            # indicating with different fields when the task will be run
                            # and what command to run for the task
                            #
                            # To define the time you can provide concrete values for
                            # minute (m), hour (h), day of month (dom), month (mon),
                            # and day of week (dow) or use '*' in these fields (for 'any').
                            #
                            # Notice that tasks will be started based on the cron's system
                            # daemon's notion of time and timezones.
                            #
                            # Output of the crontab jobs (including errors) is sent through
                            # email to the user the crontab file belongs to (unless redirected).
                            #
                            # For example, you can run a backup of all your user accounts
                            # at 5 a.m every week with:
                            # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
                            #
                            # For more information see the manual pages of crontab(5) and cron(8)
                            #
                            # m h  dom mon dow   command
                            
                            @reboot /home/pi/mm.sh
                            pi@MagicMirror-live:~$
                            
                            
                            HomoranH M 2 Replies Last reply
                            0
                            • KusselinK Kusselin

                              @mrjeschke sagte in Magic Mirror zusammen mit IOBroker:

                              crontab -l

                              pi@MagicMirror-live:~$ crontab -l
                              # Edit this file to introduce tasks to be run by cron.
                              #
                              # Each task to run has to be defined through a single line
                              # indicating with different fields when the task will be run
                              # and what command to run for the task
                              #
                              # To define the time you can provide concrete values for
                              # minute (m), hour (h), day of month (dom), month (mon),
                              # and day of week (dow) or use '*' in these fields (for 'any').
                              #
                              # Notice that tasks will be started based on the cron's system
                              # daemon's notion of time and timezones.
                              #
                              # Output of the crontab jobs (including errors) is sent through
                              # email to the user the crontab file belongs to (unless redirected).
                              #
                              # For example, you can run a backup of all your user accounts
                              # at 5 a.m every week with:
                              # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
                              #
                              # For more information see the manual pages of crontab(5) and cron(8)
                              #
                              # m h  dom mon dow   command
                              
                              @reboot /home/pi/mm.sh
                              pi@MagicMirror-live:~$
                              
                              
                              HomoranH Do not disturb
                              HomoranH Do not disturb
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by
                              #169

                              @kusselin sagte in Magic Mirror zusammen mit IOBroker:

                              @reboot /home/pi/mm.sh

                              und auch rebooted?

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              KusselinK 1 Reply Last reply
                              0
                              • KusselinK Kusselin

                                @mrjeschke sagte in Magic Mirror zusammen mit IOBroker:

                                crontab -l

                                pi@MagicMirror-live:~$ crontab -l
                                # Edit this file to introduce tasks to be run by cron.
                                #
                                # Each task to run has to be defined through a single line
                                # indicating with different fields when the task will be run
                                # and what command to run for the task
                                #
                                # To define the time you can provide concrete values for
                                # minute (m), hour (h), day of month (dom), month (mon),
                                # and day of week (dow) or use '*' in these fields (for 'any').
                                #
                                # Notice that tasks will be started based on the cron's system
                                # daemon's notion of time and timezones.
                                #
                                # Output of the crontab jobs (including errors) is sent through
                                # email to the user the crontab file belongs to (unless redirected).
                                #
                                # For example, you can run a backup of all your user accounts
                                # at 5 a.m every week with:
                                # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
                                #
                                # For more information see the manual pages of crontab(5) and cron(8)
                                #
                                # m h  dom mon dow   command
                                
                                @reboot /home/pi/mm.sh
                                pi@MagicMirror-live:~$
                                
                                
                                M Online
                                M Online
                                mrjeschke
                                wrote on last edited by
                                #170

                                @kusselin
                                Seltsam
                                Zur Sicherheit mal

                                ls -la ~/mm.sh
                                

                                und

                                cat ~/mm.sh
                                
                                KusselinK 1 Reply Last reply
                                0
                                • HomoranH Homoran

                                  @kusselin sagte in Magic Mirror zusammen mit IOBroker:

                                  @reboot /home/pi/mm.sh

                                  und auch rebooted?

                                  KusselinK Offline
                                  KusselinK Offline
                                  Kusselin
                                  wrote on last edited by
                                  #171

                                  @homoran hab den ganzen container rebootet ...ist das nicht o.k.?

                                  1 Reply Last reply
                                  0
                                  • M mrjeschke

                                    @kusselin
                                    Seltsam
                                    Zur Sicherheit mal

                                    ls -la ~/mm.sh
                                    

                                    und

                                    cat ~/mm.sh
                                    
                                    KusselinK Offline
                                    KusselinK Offline
                                    Kusselin
                                    wrote on last edited by Kusselin
                                    #172

                                    @mrjeschke sagte in Magic Mirror zusammen mit IOBroker:

                                    cat ~/mm.sh

                                    pi@MagicMirror-live:~$ ls -la ~/mm.sh
                                    -rw-rw-r-- 1 pi pi 32 Oct 18 19:26 /home/pi/mm.sh
                                    pi@MagicMirror-live:~$ cat ~/mm.sh
                                    cd ~/MagicMirror
                                    npm run server
                                    pi@MagicMirror-live:~$
                                    
                                    

                                    ich muss dazusagen das ich beid der Eingabe vorhin wo du sagtest ich solle 1 auswählen ein [c] davor hatte und keine Zahl mehr eintragen konnte..kam wahrscheinlich vom Strg+C immer machen....hab dann putty zugemacht udn neu aufgemacht....dann crontab -e eingegeben udn dann dachte ich das ich wieder zu der Auswahl kommen würde - war aber nicht so...dann hat sich gleich der Editor geöffnet..

                                    weiss net ob es daran liegt?

                                    kann man das nochmal rückgängig machen?

                                    Anscheimed ist da was verlorengegangen...so kann ichs mir nur vorstellen....sorry

                                    M 1 Reply Last reply
                                    0
                                    • KusselinK Kusselin

                                      @mrjeschke sagte in Magic Mirror zusammen mit IOBroker:

                                      cat ~/mm.sh

                                      pi@MagicMirror-live:~$ ls -la ~/mm.sh
                                      -rw-rw-r-- 1 pi pi 32 Oct 18 19:26 /home/pi/mm.sh
                                      pi@MagicMirror-live:~$ cat ~/mm.sh
                                      cd ~/MagicMirror
                                      npm run server
                                      pi@MagicMirror-live:~$
                                      
                                      

                                      ich muss dazusagen das ich beid der Eingabe vorhin wo du sagtest ich solle 1 auswählen ein [c] davor hatte und keine Zahl mehr eintragen konnte..kam wahrscheinlich vom Strg+C immer machen....hab dann putty zugemacht udn neu aufgemacht....dann crontab -e eingegeben udn dann dachte ich das ich wieder zu der Auswahl kommen würde - war aber nicht so...dann hat sich gleich der Editor geöffnet..

                                      weiss net ob es daran liegt?

                                      kann man das nochmal rückgängig machen?

                                      Anscheimed ist da was verlorengegangen...so kann ichs mir nur vorstellen....sorry

                                      M Online
                                      M Online
                                      mrjeschke
                                      wrote on last edited by
                                      #173

                                      @kusselin
                                      Du hast die Datei nicht ausführbar gemacht

                                      chmod +r ~/mm.sh
                                      
                                      KusselinK 1 Reply Last reply
                                      1
                                      • M mrjeschke

                                        @kusselin
                                        Du hast die Datei nicht ausführbar gemacht

                                        chmod +r ~/mm.sh
                                        
                                        KusselinK Offline
                                        KusselinK Offline
                                        Kusselin
                                        wrote on last edited by
                                        #174

                                        @mrjeschke scheisse...auf was man bei Linux alles achten muss...voll krass...
                                        jetzt läufts... :-)
                                        und jetzt macht der crontab bzw die datei merkt jetzt...achtuung ein reboot war jetzt weider starten...also ist jetzt wenn ich einen reboot mache immer MM verfügbar..richtig?

                                        Frage noch....was hat das ausführen jetzt gebracht.....chmod +r ?

                                        was bedeutet das +r?

                                        vorher das verstehe ich so konnte man nicht auf die mm.sh zugreifen richtig?

                                        M 1 Reply Last reply
                                        0
                                        • KusselinK Kusselin

                                          @mrjeschke scheisse...auf was man bei Linux alles achten muss...voll krass...
                                          jetzt läufts... :-)
                                          und jetzt macht der crontab bzw die datei merkt jetzt...achtuung ein reboot war jetzt weider starten...also ist jetzt wenn ich einen reboot mache immer MM verfügbar..richtig?

                                          Frage noch....was hat das ausführen jetzt gebracht.....chmod +r ?

                                          was bedeutet das +r?

                                          vorher das verstehe ich so konnte man nicht auf die mm.sh zugreifen richtig?

                                          M Online
                                          M Online
                                          mrjeschke
                                          wrote on last edited by mrjeschke
                                          #175

                                          @kusselin
                                          Das +r bedeutet das man die Datei ausführen darf, also das es ein Programm ist das man starten darf. Wie eine exe unter WIndows (ok nur in etwa)
                                          Für crontab kannst du mal eingeben

                                          rm ~/.selected_editor
                                          

                                          Dann sollte beim nächten mal die Abfrage wieder kommen.
                                          Edit: Ja richtig, bei jedem booten wird jetzt der MM gestartet.

                                          KusselinK 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          668

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe