Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] ioBroker unter Docker auf Synology DiskStation

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [HowTo] ioBroker unter Docker auf Synology DiskStation

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Telefisch last edited by

      nochmal eine Frage zu zwave…

      muss das eine Stick mit z-way lizenz sein oder tuts dieser hier:

      https://www.amazon.de/Z-Wave-Me-Smart-S ... s=zwave.me

      gruss Carsten

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        @Telefisch:

        nochmal eine Frage zu zwave…

        muss das eine Stick mit z-way lizenz sein oder tuts dieser hier:

        https://www.amazon.de/Z-Wave-Me-Smart-S ... s=zwave.me

        gruss Carsten `

        Der tut es, ich selber benutze de Aeon Stick

        https://www.amazon.com/Aeotec-Z-Stick-Z … B00X0AWA6E


        Send from mobile device

        1 Reply Last reply Reply Quote 0
        • T
          Telefisch last edited by

          Besten Dank,

          soeben bestellt…

          1 Reply Last reply Reply Quote 0
          • T
            Telefisch last edited by

            Noch eine Frage zum, Image.

            Sehe ich es richtig, dass das Image automatisch aktualisiert wird?

            Falls ja, kann es sein, dass sich beim Modbus-Adapter irgendwas verbogen hat?

            Ich bekomme seit ein paar Tagen keine Verbindung mehr zum Modbus-Server.

            Update…

            Modbus geht wieder, Neustart der SPS hat's gebracht.

            ...wird denn das Image automatisch upgedatet?

            1 Reply Last reply Reply Quote 0
            • T
              Telefisch last edited by

              …da habe ich mich wohl zu früh gefreut.

              Nochmal an die Docker-Spezialisten.

              Wie kann ich dem Problem auf die Spur kommen, dass die IP-Adresse meiner SPS aus dem Docker heraus nicht erreichbar/pingbar ist?

              Nachdem es kurzzeitig lief steht jetzt wieder alles was mit Modbus zu tun hat.

              Dieses Mal hat der Neustart nichts gebracht.

              ...

              Dann hatte ich noch ein Problem bei der Installation von Zwave, vielleicht hängt das ja zusammen:

              ! ````
              $ ./iobroker add zwave
              npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
              /bin/sh: 1: sudo: not found
              /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
              ^
              ! Error: Command failed: sudo apt-get install libudev-dev -y
              /bin/sh: 1: sudo: not found
              ! at checkExecSyncError (child_process.js:481:13)
              at Object.execSync (child_process.js:521:13)
              at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
              at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
              at Module._compile (module.js:570:32)
              at Object.Module._extensions..js (module.js:579:10)
              at Module.load (module.js:487:32)
              at tryModuleLoad (module.js:446:12)
              at Function.Module._load (module.js:438:3)
              at Module.runMain (module.js:604:10)
              ! npm
              ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
              npm ERR! node v6.11.0
              npm ERR! npm
              v3.10.10npm ERR! code ELIFECYCLE
              ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
              npm ERR! Make sure you have the latest version of node.js and npm installed.
              npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
              npm ERR! not with npm itself.
              npm ERR! Tell the author that this fails on your system:
              npm ERR! node lib/preinstall.js
              npm ERR! You can get information on how to open an issue for this project with:
              ! npm ERR! npm bugs iobroker.zwavenpm ERR! Or if that isn't available, you can get their info via:
              npm ERR! npm owner ls iobroker.zwave
              npm ERR! There is likely additional logging output above.
              ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
              ! host.ioBroker-SVR install adapter zwave
              npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
              /bin/sh: 1: sudo: not found
              /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
              ^
              ! Error: Command failed: sudo apt-get install libudev-dev -y
              /bin/sh: 1: sudo: not found
              ! at checkExecSyncError (child_process.js:481:13)
              at Object.execSync (child_process.js:521:13)
              at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
              at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
              at Module._compile (module.js:570:32)
              at Object.Module._extensions..js (module.js:579:10)
              at Module.load (module.js:487:32)
              at tryModuleLoad (module.js:446:12)
              at Function.Module._load (module.js:438:3)
              at Module.runMain (module.js:604:10)
              ! npm
              ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
              npm ERR! node v6.11.0
              npm ERR! npm
              v3.10.10npm ERR! code ELIFECYCLE
              ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.js
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
              npm ERR! Make sure you have the latest version of node.js and npm installed.
              npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
              npm ERR! not with npm itself.
              npm ERR! Tell the author that this fails on your system:
              npm ERR! node lib/preinstall.js
              npm ERR! You can get information on how to open an issue for this project with:
              npm ERR! npm bugs iobroker.zwave
              npm ERR! Or if that isn't available, you can get their info via:
              npm ERR! npm owner ls iobroker.zwave
              npm ERR! There is likely additional logging output above.
              ! npm ERR! Please include the following file with any support request:
              npm ERR! /opt/iobroker/npm-debug.log
              ! host.ioBroker-SVR install adapter zwave
              npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
              /bin/sh: 1: sudo: not found
              /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
              ^
              ! Error: Command failed: sudo apt-get install libudev-dev -y
              /bin/sh: 1: sudo: not found
              ! at checkExecSyncError (child_process.js:481:13)
              at Object.execSync (child_process.js:521:13)
              at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
              at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
              at Module._compile (module.js:570:32)
              at Object.Module._extensions..js (module.js:579:10)
              at Module.load (module.js:487:32)
              at tryModuleLoad (module.js:446:12)
              at Function.Module._load (module.js:438:3)
              at Module.runMain (module.js:604:10)
              ! npm
              ERR! Linux 3.10.102
              npm
              ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
              npm ERR! node v6.11.0
              npm ERR! npm
              v3.10.10npm ERR!
              code ELIFECYCLE
              ! npm
              ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.jsnpm
              ERR! Exit status 1npm ERR!
              npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
              npm ERR! Make sure you have the latest version of node.js and npm installed.
              npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
              npm ERR! not with npm itself.
              npm ERR! Tell the author that this fails on your system:
              npm ERR! node lib/preinstall.js
              npm ERR! You can get information on how to open an issue for this project with:
              npm ERR! npm bugs iobroker.zwave
              npm ERR! Or if that isn't available, you can get their info via:
              npm ERR! npm owner ls iobroker.zwave
              npm ERR! There is likely additional logging output above.
              ! npm ERR! Please include the following file with any support request:
              npm ERR! /opt/iobroker/npm-debug.log
              ! host.ioBroker-SVR install adapter zwave
              ERROR: host.ioBroker-SVR Cannot install zwave
              ERROR: process exited with code 13</anonymous></anonymous></anonymous>

              …bin echt ratlos
              1 Reply Last reply Reply Quote 0
              • andre
                andre Developer last edited by

                @Telefisch:

                …da habe ich mich wohl zu früh gefreut.

                Nochmal an die Docker-Spezialisten.

                Wie kann ich dem Problem auf die Spur kommen, dass die IP-Adresse meiner SPS aus dem Docker heraus nicht erreichbar/pingbar ist?

                Nachdem es kurzzeitig lief steht jetzt wieder alles was mit Modbus zu tun hat.

                Dieses Mal hat der Neustart nichts gebracht.

                ...

                Dann hatte ich noch ein Problem bei der Installation von Zwave, vielleicht hängt das ja zusammen:

                $ ./iobroker add zwave
                npm install iobroker.zwave --unsafe-perm  --production --prefix "/opt/iobroker" (System call)
                /bin/sh: 1: sudo: not found
                /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15    if (!suppressException) throw e;
                                            ^
                
                Error: Command failed: sudo apt-get install libudev-dev -y
                /bin/sh: 1: sudo: not found
                
                    at checkExecSyncError (child_process.js:481:13)
                    at Object.execSync (child_process.js:521:13)
                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                    at Module._compile (module.js:570:32)
                    at Object.Module._extensions..js (module.js:579:10)
                    at Module.load (module.js:487:32)
                    at tryModuleLoad (module.js:446:12)
                    at Function.Module._load (module.js:438:3)
                    at Module.runMain (module.js:604:10)
                
                npm
                 ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                npm ERR! node v6.11.0
                npm ERR! npm 
                 v3.10.10npm ERR! code ELIFECYCLE
                
                npm ERR! iobroker.zwave@0.9.0 preinstall: `node lib/preinstall.js`npm ERR! Exit status 1
                npm ERR! 
                npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                npm ERR! Make sure you have the latest version of node.js and npm installed.
                npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                npm ERR! not with npm itself.
                npm ERR! Tell the author that this fails on your system:
                npm ERR!     node lib/preinstall.js
                npm ERR! You can get information on how to open an issue for this project with:
                
                npm ERR!     npm bugs iobroker.zwavenpm ERR! Or if that isn't available, you can get their info via:
                npm ERR!     npm owner ls iobroker.zwave
                npm ERR! There is likely additional logging output above.
                
                npm ERR! Please include the following file with any support request:npm ERR!     /opt/iobroker/npm-debug.log
                
                host.ioBroker-SVR install adapter zwave
                npm install iobroker.zwave --unsafe-perm  --production --prefix "/opt/iobroker" (System call)
                /bin/sh: 1: sudo: not found
                /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15    if (!suppressException) throw e;
                                            ^
                
                Error: Command failed: sudo apt-get install libudev-dev -y
                /bin/sh: 1: sudo: not found
                
                    at checkExecSyncError (child_process.js:481:13)
                    at Object.execSync (child_process.js:521:13)
                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                    at Module._compile (module.js:570:32)
                    at Object.Module._extensions..js (module.js:579:10)
                    at Module.load (module.js:487:32)
                    at tryModuleLoad (module.js:446:12)
                    at Function.Module._load (module.js:438:3)
                    at Module.runMain (module.js:604:10)
                
                npm
                 ERR! Linux 3.10.102npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                npm ERR! node v6.11.0
                npm ERR! npm 
                 v3.10.10npm ERR! code ELIFECYCLE
                
                npm ERR! iobroker.zwave@0.9.0 preinstall: `node lib/preinstall.js`
                npm ERR! Exit status 1
                npm ERR! 
                npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                npm ERR! Make sure you have the latest version of node.js and npm installed.
                npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                npm ERR! not with npm itself.
                npm ERR! Tell the author that this fails on your system:
                npm ERR!     node lib/preinstall.js
                npm ERR! You can get information on how to open an issue for this project with:
                npm ERR!     npm bugs iobroker.zwave
                npm ERR! Or if that isn't available, you can get their info via:
                npm ERR!     npm owner ls iobroker.zwave
                npm ERR! There is likely additional logging output above.
                
                npm ERR! Please include the following file with any support request:
                npm ERR!     /opt/iobroker/npm-debug.log
                
                host.ioBroker-SVR install adapter zwave
                npm install iobroker.zwave --unsafe-perm  --production --prefix "/opt/iobroker" (System call)
                /bin/sh: 1: sudo: not found
                /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15    if (!suppressException) throw e;
                                            ^
                
                Error: Command failed: sudo apt-get install libudev-dev -y
                /bin/sh: 1: sudo: not found
                
                    at checkExecSyncError (child_process.js:481:13)
                    at Object.execSync (child_process.js:521:13)
                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                    at Module._compile (module.js:570:32)
                    at Object.Module._extensions..js (module.js:579:10)
                    at Module.load (module.js:487:32)
                    at tryModuleLoad (module.js:446:12)
                    at Function.Module._load (module.js:438:3)
                    at Module.runMain (module.js:604:10)
                
                npm
                 ERR! Linux 3.10.102
                npm 
                ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                npm ERR! node v6.11.0
                npm ERR! npm 
                 v3.10.10npm ERR!
                 code ELIFECYCLE
                
                npm
                 ERR! iobroker.zwave@0.9.0 preinstall: `node lib/preinstall.js`npm 
                ERR! Exit status 1npm ERR! 
                npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                npm ERR! Make sure you have the latest version of node.js and npm installed.
                npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                npm ERR! not with npm itself.
                npm ERR! Tell the author that this fails on your system:
                npm ERR!     node lib/preinstall.js
                npm ERR! You can get information on how to open an issue for this project with:
                npm ERR!     npm bugs iobroker.zwave
                npm ERR! Or if that isn't available, you can get their info via:
                npm ERR!     npm owner ls iobroker.zwave
                npm ERR! There is likely additional logging output above.
                
                npm ERR! Please include the following file with any support request:
                npm ERR!     /opt/iobroker/npm-debug.log
                
                host.ioBroker-SVR install adapter zwave
                ERROR: host.ioBroker-SVR Cannot install zwave
                ERROR: process exited with code 13</anonymous></anonymous></anonymous> 
                

                …bin echt ratlos `

                Hallo Telefisch,

                ich werde es mal versuchen.

                Warum du aus deinem Container heraus nicht pingen kannst, kann ich dir leider nicht beantworten. Habe es gerade bei mir probiert, das läuft alles einwandfrei. Ich kann alle beliebigen Devices in meinem Netz aus dem Container heraus anpingen. Und auch ein Ping ins Internet (8.8.8.8) funktioniert.

                Auch habe ich den Modbus-Adapter in Verbindung mit meinem E3DC Hauskraftwerk seit nunmehr einem Jahr erfolgreich laufen. Da mein Modbus ab und an die Verbindung verloren hat, habe ich einen automatischen Restart des Modbus Adapters alle 15 Minuten konfiguriert. Seid dem habe ich (auch in der History) durchgängige Daten.

                Was dein Problem mit zwave angeht, dazu kann ich mehr sagen. So wie es das Log schon sagt, fehlt im Container das Paket "sudo":

                Error: Command failed: sudo apt-get install libudev-dev -y
                /bin/sh: 1: sudo: not found
                

                Wann hast du denn das Image geladen? Am 10.12. habe ich mit der Version 1.1.0 den zwave support in das Image integriert. Eventuell ist dein Image älter?

                Der Container aktualisiert sich im Übrigen nicht automatisch und auch das Image hat immer nur den Stand, den du aktiv in der Docker Oberfläche herunter geladen hast. Wie du deinen Container samt Image aktualisieren kannst, steht in meinem Tutorial (verlinkt im ersten Post).

                Falls du das Image nicht aktualisieren willst, kannst du in der Kommandozeile auch

                apt-get install sudo
                

                machen und damit das fehlende Paket nachinstallieren. Allerdings habe ich in der letzten Version auch noch andere Änderungen eingebracht.

                Anschließend sollte es möglich sein zwave zu installieren (vorrausgesetzt alle anderen Anforderungen sind erfüllt, siehe dazu die Informationen zu zwave auf github).

                Hoffe das hilft dir erstmal weiter.

                MfG,

                André

                1 Reply Last reply Reply Quote 0
                • T
                  Telefisch last edited by

                  Danke Dir erstmal für die Antwort.

                  ich werde dann wohl erstmal das image erneuern…

                  Ist halt echt seltsam, dass ich ausser der SPS alles anpingen kann.

                  Das lief ja auch schon seit geraumer Zeit vorher und war erst seit dem letzten automatischen Backup vom ioBroker laut Deiner Anleitung plötzlich offline.

                  Naja, vielleicht hilft ja schon das Update.

                  Gruß Carsten

                  1 Reply Last reply Reply Quote 0
                  • L
                    Loki last edited by

                    Moin,

                    War klar das dies wieder nicht bei mir funktioniert, Docker gelesen, eigentlich bin ich da schon wieder bedient.

                    A sieht das bei mir alles anders aus auf meiner DSM 5.2

                    B findet ich unter IP:8081 natürlich auch wieder nix.

                    Zu A "Erweiterte Einstellungen" gibt es bei mir nicht auch "automatischer neustart" nicht, das gleiche Netzwerk wie docker host fehlt ebenfalls.

                    Mir steht dort nur Containername, Port Einstellung zur Verfügung, sowie "ports automatisch zuordnen", Ressourcen Beschränkung und Desktop Verknüpfung erstellen.

                    jemand ne Idee ?

                    1 Reply Last reply Reply Quote 0
                    • dslraser
                      dslraser Forum Testing Most Active last edited by

                      Nur zur Info,

                      bei mir hatte Docker heute (und auf meiner zweiten Syno irgendwann vor einigen Stunden/Tagen-habe leider das Log gelöscht) wieder ein Update.

                      Scheint aber alles zu laufen. Ich habe nur auf die Synology drauf geschaut weil iobroker irgendwie hing und habe das Update gesehen und gemacht, danach lief wieder alles…..
                      3822_synology.jpg

                      1 Reply Last reply Reply Quote 0
                      • andre
                        andre Developer last edited by

                        @Loki:

                        Moin,

                        War klar das dies wieder nicht bei mir funktioniert, Docker gelesen, eigentlich bin ich da schon wieder bedient.

                        A sieht das bei mir alles anders aus auf meiner DSM 5.2

                        B findet ich unter IP:8081 natürlich auch wieder nix.

                        Zu A "Erweiterte Einstellungen" gibt es bei mir nicht auch "automatischer neustart" nicht, das gleiche Netzwerk wie docker host fehlt ebenfalls.

                        Mir steht dort nur Containername, Port Einstellung zur Verfügung, sowie "ports automatisch zuordnen", Ressourcen Beschränkung und Desktop Verknüpfung erstellen.

                        jemand ne Idee ? ` Hallo Loki,

                        nicht gleich aufgeben.Ich kenne zwar deine Vorgeschichte nicht, bin aber dennoch der Meinung dass der Container auch auf einer alten DSM- bzw. Docker-Version laufen sollte.

                        Da ich die alte Version und deren Einstellungen nicht kenne kann ich aus dem Stand leider keine Hinweise geben. Du kannst aber gerne ein paar Screenshots posten, dann Kamm ich vielleicht ein paar Tipps zur Konfiguration geben.

                        MfG,

                        Andre

                        Gesendet von meinem Smartphone mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • andre
                          andre Developer last edited by

                          @dslraser:

                          Nur zur Info,

                          bei mir hatte Docker heute (und auf meiner zweiten Syno irgendwann vor einigen Stunden/Tagen-habe leider das Log gelöscht) wieder ein Update.

                          Scheint aber alles zu laufen. Ich habe nur auf die Synology drauf geschaut weil iobroker irgendwie hing und habe das Update gesehen und gemacht, danach lief wieder alles….. ` Kann ich bestätigen. Habe das Docker-Update vor ner guten Stunde eingespielt. Soweit ist alles Grün und ohne Komplikationen gestartet.

                          MfG,

                          André

                          Gesendet von meinem Smartphone mit Tapatalk

                          1 Reply Last reply Reply Quote 0
                          • L
                            Loki last edited by

                            @andre:

                            Hallo Loki,

                            nicht gleich aufgeben.Ich kenne zwar deine Vorgeschichte nicht, bin aber dennoch der Meinung dass der Container auch auf einer alten DSM- bzw. Docker-Version laufen sollte.

                            Da ich die alte Version und deren Einstellungen nicht kenne kann ich aus dem Stand leider keine Hinweise geben. Du kannst aber gerne ein paar Screenshots posten, dann Kamm ich vielleicht ein paar Tipps zur Konfiguration geben.

                            MfG,

                            Andre

                            Gesendet von meinem Smartphone mit Tapatalk `

                            Hallo Andre

                            ich musste die ports selbst eintragen dann läuft es. Aufgegeben haben ich allerdings trotzdem, ist definitiv nicht das richtige für meine zwecke.

                            Eigentlich wollte ich nur g-homa Steckdosen damit über alexa steuern sowie dash buttons als schalter für hue lampen.

                            Ergebnis nach 2 stunden keins, versuchte erstmal eine hue Lampe über iobroker ein bzw aus zuschalten, keine sinnvolle Anleitung gefunden wie das script dafür aussehen muss funktioniert hat mein gebastel bisher nicht. Für nerds und geeks die sonst nichts mit ihrer zeit anzufangen wissen sicher ganz gut, jedenfalls viel zu spielen und basteln, für mich als normaler Anwender allerdings nicht.

                            Jetzt darf ich mir morgen erstmal vernünftige smart Steckdosen kaufen sonst bleibt mein Weichnachtsbaum noch aus.

                            Schönen Abend noch

                            Loki

                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators last edited by

                              OT on
                              @Loki:

                              für mich als normaler Anwender allerdings nicht. `
                              Was erwartest du als normaler Anfänger?

                              Diese Frage ist ganz ernst gemeint!

                              Mal abgesehen von den exotischen Kombinationen interessiert es uns wirklich wie die Erwartungshaltung bei Einsteigern ist.

                              Ob das dann so realisierbar ist wäre dann ein anderes Thema.

                              Gruß Rainer

                              1 Reply Last reply Reply Quote 0
                              • T
                                Telefisch last edited by

                                Hallo Andre,

                                habe das Update gemacht.

                                Jetzt habe ich Probleme mit den Homekit-Adapter, der meckert in den Logs:

                                host.iobroker	2017-12-21 13:25:40.606	error	instance system.adapter.yahka.0 terminated with code 0 (OK)
                                
                                

                                Du hattest weiter vorn geschrieben dass der Avahi Dämon laufen muss.

                                Das tut er nicht mehr.

                                Vor dem Update hat Homekit eigentlich tadellos funtioniert.

                                Und Zwave lässt sich mit folgenden Meldungen noch immer nicht installieren.

                                Diesen Hinweis aus Deinem Tutorial habe ich ausgeführt:
                                ` > cd /opt/iobroker

                                pkill io

                                iobroker host this (bei multihostsystemen: iobroker host [hostname der ds])

                                node node_modules/iobroker.js-controller/controller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 & `

                                Aber dennoch das Ergebnis:

                                ! ````
                                $ ./iobroker add zwave
                                npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                sudo: Hostname iobroker kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                                sudo: pam_open_session: Systemfehler
                                sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                                ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                ^
                                ! Error: Command failed: sudo apt-get install libudev-dev -y
                                sudo: Hostname iobroker kann nicht aufgelöst werden
                                sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                                sudo: pam_open_session: Systemfehler
                                sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                                ! at checkExecSyncError (child_process.js:473:13)
                                at Object.execSync (child_process.js:513:13)
                                at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                                at Module._compile (module.js:570:32)
                                at Object.Module._extensions..js (module.js:579:10)
                                at Module.load (module.js:487:32)
                                at tryModuleLoad (module.js:446:12)
                                at Function.Module._load (module.js:438:3)
                                at Module.runMain (module.js:604:10)
                                ! npm ERR! Linux 3.10.102
                                npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR!
                                node v6.12.2npm ERR! npm v3.10.10
                                npm ERR! code ELIFECYCLE
                                ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.js
                                npm ERR! Exit status 1
                                npm ERR!
                                npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                                npm ERR! Make sure you have the latest version of node.js and npm installed.
                                npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                                npm ERR! not with npm itself.
                                npm ERR! Tell the author that this fails on your system:
                                npm ERR! node lib/preinstall.js
                                npm ERR! You can get information on how to open an issue for this project with:
                                npm ERR! npm bugs iobroker.zwave
                                npm ERR! Or if that isn't available, you can get their info via:
                                npm ERR! npm owner ls iobroker.zwave
                                npm ERR! There is likely additional logging output above.
                                ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
                                ! host.iobroker install adapter zwave
                                npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)</anonymous>

                                
                                Modbus geht wieder, hier war die Ursache sowas von dämlich…
                                
                                Ich habe vor einigen Tagen einen uralten Drucker wieder aufgestellt aber noch nicht in Betrieb genommen.
                                
                                Der hatte die gleiche IP-Adresse wie meine DS.
                                
                                Dass sowas dann zu so undefinierbarem Verhalten führt ist auch verständlich.
                                
                                Hoffe das war es wirklich :oops:
                                1 Reply Last reply Reply Quote 0
                                • T
                                  Telefisch last edited by

                                  Grade nochmal nen frisches Image installiert.

                                  Diese Meldungen spuckt der Yahka aus:

                                  host.iobroker	2017-12-22 09:07:44.509	error	instance system.adapter.yahka.0 terminated with code 0 (OK)
                                  yahka.0	2017-12-22 09:07:44.345	info	terminating
                                  yahka.0	2017-12-22 09:07:44.314	info	cleaned everything up...
                                  yahka.0	2017-12-22 09:07:44.313	error	at EventedHTTPServer.emit (events.js:188:7)
                                  yahka.0	2017-12-22 09:07:44.313	error	at emitOne (events.js:96:13)
                                  yahka.0	2017-12-22 09:07:44.313	error	at HAPServer._onListening (/opt/iobroker/node_modules/iobroker.yahka/node_modules/hap-nodejs/lib/HAPServer.js:190:8)
                                  yahka.0	2017-12-22 09:07:44.313	error	at HAPServer.emit (events.js:188:7)
                                  yahka.0	2017-12-22 09:07:44.313	error	at emitOne (events.js:96:13)
                                  yahka.0	2017-12-22 09:07:44.313	error	at Bridge.Accessory._onListening (/opt/iobroker/node_modules/iobroker.yahka/node_modules/hap-nodejs/lib/Accessory.js:611:20)
                                  yahka.0	2017-12-22 09:07:44.313	error	at Advertiser.startAdvertising (/opt/iobroker/node_modules/iobroker.yahka/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
                                  yahka.0	2017-12-22 09:07:44.313	error	at Object.create [as createAdvertisement] (/opt/iobroker/node_modules/iobroker.yahka/node_modules/mdns/lib/advertisement.js:64:10)
                                  yahka.0	2017-12-22 09:07:44.313	error	at new Advertisement (/opt/iobroker/node_modules/iobroker.yahka/node_modules/mdns/lib/advertisement.js:56:10)
                                  yahka.0	2017-12-22 09:07:44.313	error	at Error (native)
                                  yahka.0	2017-12-22 09:07:44.313	error	Error: dns service error: unknown
                                  yahka.0	2017-12-22 09:07:44.313	error	uncaught exception: dns service error: unknown
                                  yahka.0	2017-12-22 09:07:44.173	info	creating bridge
                                  yahka.0	2017-12-22 09:07:44.172	info	adapter ready, checking config
                                  yahka.0	2017-12-22 09:07:44.148	info	starting. Version 0.5.5 in /opt/iobroker/node_modules/iobroker.yahka, node: v6.12.2
                                  host.iobroker	2017-12-22 09:07:43.143	info	instance system.adapter.yahka.0 started with pid 5601
                                  h
                                  
                                  

                                  Der Avahi Prozess fehlt.

                                  Leider hab ich keinen Schimmer wie ich den installieren muss. 😞

                                  Wenn ich es wie im github beschrieben versuche bekomme ich immer die Probleme mit der Auflösung des Hostnamens, wie beim Installieren des ZWave-Adapters:

                                  > sudo: Hostname iobroker kann nicht aufgelöst werden

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    Hilft das?

                                    http://forum.iobroker.net/viewtopic.php … hi#p105421

                                    Gruß Rainer

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Telefisch last edited by

                                      @Homoran:

                                      Hilft das?

                                      http://forum.iobroker.net/viewtopic.php … hi#p105421

                                      Gruß Rainer `

                                      Leider nein.

                                      Nach wie vor Probleme bei der Namensauflösung.

                                      Update:

                                      hab jetzt nano installiert, mal sehen was mit der hosts machbar ist…

                                      Update 2:

                                      in der Hosts steht loacalhost und der DNS-Name der DS.

                                      Ich kann da zwar drin ändern aber beim nächsten Neustart des Containers wird die Datei wieder zurück geändert.

                                      Selbst wenn ich den Containernamen statt dem DS-Namen angebe, bekomme ich (dieses Mal andere) Fehlermeldungen, sobald ich versuche etwas (wie den Avahi-Dämon) zu installieren.

                                      Ich weiß nicht mehr weiter 😞

                                      Gruß Carsten

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Telefisch last edited by

                                        So, nachdem ich das letzte Image wieder geladen habe, habe ich auch mal versucht dem Container den gleichen Namen wie der DS zu geben.

                                        Ergebnis, die Installation vom ZWave-Adapter bleibt dauerhaft bei dieser Meldung stehen:

                                        > $ ./iobroker add zwave

                                        Allen ein frohes Fest 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Telefisch last edited by

                                          ich habe nochmal ein paar weitere Versuche gemacht:

                                          die Hosts-Datei hatte folgende Einträge:

                                          127.0.0.1 localhost

                                          ::1 localhost

                                          127.0.0.1 DS-Name

                                          ::1 DS-Name

                                          Stimmt das so?

                                          Änderungen werden eh beim Neustart zurückgesetzt, kann ich also nicht beeinflussen? 😞

                                          Wenn ich im Terminal "sudo nano /etc/hosts" eingebe bekomme ich folgende antworten:
                                          ` > sudo: Hostname iobroker kann nicht aufgelöst werden

                                          sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1

                                          sudo: pam_open_session: Systemfehler

                                          sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren `

                                          wenn ich nur "nano /etc/hosts" eingebe wird die hosts-Datei halt im Editor geöffnet.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Telefisch last edited by

                                            So,

                                            nachdem nichts anderes half habe ich mal komplett neu installiert.

                                            Also aus Image neuen Container erstellt mit allen Einstellungen nach Anweisung (Sind ja nur wenige).

                                            Dann iobroker komplett neu installieren lassen mit den basics die der broker selbst gefunden hat.

                                            Danach versucht ZWave zu installieren:

                                            ! ````
                                            $ ./iobroker add zwave
                                            npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                            sudo: Hostname ioBroker2 kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                                            sudo: pam_open_session: Systemfehler
                                            sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                                            ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                            ^
                                            ! Error: Command failed: sudo apt-get install libudev-dev -y
                                            sudo: Hostname ioBroker2 kann nicht aufgelöst werden
                                            sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                                            sudo: pam_open_session: Systemfehler
                                            sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                                            ! at checkExecSyncError (child_process.js:473:13)
                                            at Object.execSync (child_process.js:513:13)
                                            at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                            at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                                            at Module._compile (module.js:570:32)
                                            at Object.Module._extensions..js (module.js:579:10)
                                            at Module.load (module.js:487:32)
                                            at tryModuleLoad (module.js:446:12)
                                            at Function.Module._load (module.js:438:3)
                                            at Module.runMain (module.js:604:10)
                                            ! npm ERR! Linux 3.10.102
                                            npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.12.2
                                            npm ERR! npm v3.10.10
                                            npm ERR! code ELIFECYCLE
                                            ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.js
                                            npm ERR! Exit status 1
                                            npm ERR!
                                            npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                                            npm ERR! Make sure you have the latest version of node.js and npm installed.
                                            npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                                            npm ERR! not with npm itself.
                                            npm ERR! Tell the author that this fails on your system:
                                            npm ERR! node lib/preinstall.js
                                            npm
                                            ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs iobroker.zwave
                                            npm ERR! Or if that isn't available, you can get their info via:
                                            npm ERR! npm owner ls iobroker.zwave
                                            npm ERR! There is likely additional logging output above.
                                            ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
                                            ! host.ioBroker2 install adapter zwave
                                            npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                            sudo: Hostname ioBroker2 kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                                            sudo: pam_open_session: Systemfehler
                                            sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                                            ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                                            ^
                                            ! Error: Command failed: sudo apt-get install libudev-dev -y
                                            sudo: Hostname ioBroker2 kann nicht aufgelöst werden
                                            sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                                            sudo: pam_open_session: Systemfehler
                                            sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                                            ! at checkExecSyncError (child_process.js:473:13)
                                            at Object.execSync (child_process.js:513:13)
                                            at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                                            at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                                            at Module._compile (module.js:570:32)
                                            at Object.Module._extensions..js (module.js:579:10)
                                            at Module.load (module.js:487:32)
                                            at tryModuleLoad (module.js:446:12)
                                            at Function.Module._load (module.js:438:3)
                                            at Module.runMain (module.js:604:10)
                                            ! npm
                                            ERR! Linux 3.10.102npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                            npm ERR! node v6.12.2
                                            npm ERR! npm v3.10.10
                                            npm ERR! code ELIFECYCLE
                                            ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                                            npm ERR!
                                            npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                                            npm ERR! Make sure you have the latest version of node.js and npm installed.
                                            npm
                                            ERR! If you do, this is most likely a problem with the iobroker.zwave package,npm ERR! not with npm itself.
                                            npm ERR! Tell the author that this fails on your system:
                                            npm ERR! node lib/preinstall.js
                                            npm ERR! You can get information on how to open an issue for this project with:
                                            npm ERR! npm bugs iobroker.zwave
                                            npm ERR! Or if that isn't available, you can get their info via:
                                            npm ERR! npm owner ls iobroker.zwave
                                            npm ERR! There is likely additional logging output above.
                                            ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
                                            ! host.ioBroker2 install adapter zwave
                                            npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)</anonymous></anonymous>

                                            
                                            Also irgendwie ist da am Image was marode :(
                                            
                                            Damit bin ich jetzt vollends aufgeschmissen… *heul*
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            891
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1191468
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo