Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation ioBroker auf Cubietruck

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Installation ioBroker auf Cubietruck

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

      Hallo zusammen,

      bei einer erneuten Installation kommt es nun zu einem Code8-Fehler.

      download https://github.com/ioBroker/ioBroker.hm-rpc/archive/master.zip
      unzip /opt/iobroker/tmp/hm-rpc.zip
      copying /opt/iobroker/tmp/ioBroker.hm-rpc-master to /opt/iobroker/adapter/hm-rpc
      delete /opt/iobroker/tmp/hm-rpc.zip
      delete /opt/iobroker/tmp/ioBroker.hm-rpc-master
      install adapter hm-rpc
      npm install "/opt/iobroker/adapter/hm-rpc" --production --prefix "/opt/iobroker/adapter/hm-rpc"
      npm ERR! install Couldn't read dependencies
      npm ERR! Failed to parse json
      npm ERR! Unexpected token }
      npm ERR! File: /opt/iobroker/adapter/hm-rpc/package.json
      npm ERR! Failed to parse package.json data.
      npm ERR! package.json must be actual JSON, not just JavaScript.
      npm ERR! 
      npm ERR! This is not a bug in npm.
      npm ERR! Tell the package author to fix their package.json file. JSON.parse
      
      npm ERR! System Linux 3.4.101-sun7i+
      npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "/opt/iobroker/adapter/hm-rpc" "--production" "--prefix" "/opt/iobroker/adapter/hm-rpc"
      npm ERR! cwd /opt/iobroker
      npm ERR! node -v v0.10.22
      npm ERR! npm -v 1.3.14
      npm ERR! file /opt/iobroker/adapter/hm-rpc/package.json
      npm ERR! code EJSONPARSE
      npm ERR! 
      npm ERR! Additional logging details can be found in:
      npm ERR!     /opt/iobroker/npm-debug.log
      npm ERR! not ok code 0
      got /opt/iobroker/adapter/hm-rpc/admin
      upload hm-rpc.admin /opt/iobroker/adapter/hm-rpc/admin/index.html index.html text/html
      object system.adapter.hm-rpc created
      
      

      Ich tippe es liegt an den Errors im Rahmen der Installation.

      Vielleicht hilft es ja 🙂

      Viele Grüße

      Trident

      1 Reply Last reply Reply Quote 0
      • H
        hobbyquaker last edited by

        @Trident:

        npm ERR! File: /opt/iobroker/adapter/hm-rpc/package.json

        npm ERR! Failed to parse package.json data. `

        Danke für den Hinweis - ist gefixt.

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

          Habe seit einigen Tagen Probleme (s.o.)

          Hatte auch nach einem update npm-install gemacht und bekomme folgende Fehlermeldung:

           root@cubie:/opt/iobroker# npm install --production
          npm WARN package.json daemonize2@0.4.2 No repository field.
          npm http GET https://registry.npmjs.org/node-windows
          npm http GET https://registry.npmjs.org/hiredis
          npm http GET https://github.com/hobbyquaker/node-schedule/tarball/masternpm http 304 https://registry.npmjs.org/hiredis
          npm http 200 https://github.com/hobbyquaker/node-schedule/tarball/masternpm http 304 https://registry.npmjs.org/node-windows
          npm WARN optional dep failed, continuing node-windows@0.1.5
          npm http GET https://registry.npmjs.org/bindings
          npm http GET https://registry.npmjs.org/nan
          npm http 304 https://registry.npmjs.org/nan
          npm http 304 https://registry.npmjs.org/bindings
          
          > hiredis@0.1.17 install /opt/iobroker/node_modules/hiredis
          > node-gyp rebuild
          
          make: Entering directory `/opt/iobroker/node_modules/hiredis/build'
            CC(target) Release/obj.target/hiredis/deps/hiredis/hiredis.o
            CC(target) Release/obj.target/hiredis/deps/hiredis/net.o
            CC(target) Release/obj.target/hiredis/deps/hiredis/sds.o
            CC(target) Release/obj.target/hiredis/deps/hiredis/async.o
            AR(target) Release/obj.target/deps/hiredis.a
            COPY Release/hiredis.a
            CXX(target) Release/obj.target/hiredis/src/hiredis.o
          make: g++: Command not found
          make: *** [Release/obj.target/hiredis/src/hiredis.o] Error 127
          make: Leaving directory `/opt/iobroker/node_modules/hiredis/build'
          gyp ERR! build error
          gyp ERR! stack Error: `make` failed with exit code: 2
          gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
          gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
          gyp ERR! System Linux 3.4.101-sun7i+
          gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/hiredis
          gyp ERR! node -v v0.10.22
          gyp ERR! node-gyp -v v0.11.0
          gyp ERR! not ok
          npm WARN optional dep failed, continuing hiredis@0.1.17
          root@cubie:/opt/iobroker# 
          

          Notfalls bau ich es auch nochmal komplett neu auf [emoji4]

          Gruß

          Rainer

          Gesendet von meinem Cynus T7 mit Tapatalk

          1 Reply Last reply Reply Quote 0
          • H
            hobbyquaker last edited by

            wenn das Bauen von hiredis und/oder node-windows fehlschlägt sollte das kein Problem sein, die Pakete sind optional.

            Node-Windows wird (logischerweise) auf einem Linux-System immer zu einer Fehlermeldung führen, die Hiredis Fehler kannst Du vermutlich loswerden indem Du mal````
            sudo apt-get install gcc g++ make

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

              Make war installiert, entsprechend hat mir das apt-get auch jetzt mitgeteilt, dass es die neueste Version sei.

              Leider bleibt es nach einem neustart bei dem Fehler vor n post #55

              Gruß

              Rainer, der sich freut mal wieder was von dir zu hören

              Gesendet von meinem Cynus T7 mit Tapatalk

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

                Hi zusammen,

                jetzt klappt die Installation auch wieder! Klasse! Macht wirklich Spaß die Fortschritte zu beobachten!

                Ich habe mal die Installation der Adapter aus dem Admin-Interface getestet. Bei der Installation des HM-Rega Adapters kommt folgende Fehlermeldung:

                2014-09-07 14:56:49.973  - info: admin.0 iobroker npm
                2014-09-07 14:56:49.978  - info: admin.0 iobroker  http 304 https://registry.npmjs.org/boom
                2014-09-07 14:56:50.013  - info: admin.0 iobroker npm
                2014-09-07 14:56:50.018  - info: admin.0 iobroker  http 304 https://registry.npmjs.org/cryptiles
                2014-09-07 14:56:50.728  - info: admin.0 iobroker npm
                2014-09-07 14:56:50.733  - info: admin.0 iobroker  http 
                2014-09-07 14:56:50.738  - info: admin.0 iobroker 304 https://registry.npmjs.org/punycode
                2014-09-07 14:56:57.522  - info: admin.0 iobroker got /opt/iobroker/adapter/hm-rega/admin
                2014-09-07 14:56:57.559  - info: admin.0 iobroker upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/index.html index.html text/html
                2014-09-07 14:56:58.191  - info: admin.0 iobroker object system.adapter.hm-rega created
                2014-09-07 14:56:58.343  - error: admin.0 iobroker 
                2014-09-07 14:56:58.366  - error: admin.0 iobroker TypeError: Cannot read property 'name' of undefined    at /opt/iobroker/setup.js:660:48
                    at /opt/iobroker/lib/couch.js:91:13
                    at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11)
                    at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)
                    at Request.EventEmitter.emit (events.js:98:17)
                    at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)
                    at Request.EventEmitter.emit (events.js:117:20)
                    at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)
                    at IncomingMessage.EventEmitter.emit (events.js:117:20)
                    at _stream_readable.js:920:16
                
                2014-09-07 14:56:58.392  - info: admin.0 iobroker exit 8</anonymous></anonymous>
                

                Ich freu mich auf die weitere Entwicklung! Es sieht jetzt schon richtig gut aus!

                Viele Grüße

                Trident

                1 Reply Last reply Reply Quote 0
                • H
                  hobbyquaker last edited by

                  Ja, ich glaube wir haben bald einen Stand erreicht der die Versionsnummer 0.1.x verdient 😉

                  Dann kommt ein großer Brocken Arbeit: die Portierung von DashUI (das in Zukunft "ioBroker.vis" heissen wird).

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

                    Ich bin ja so bescheuert….. :evil:

                    ich hatte wegen des hängenden logs das WebUI gar nicht mehr aufgemacht - bis eben!

                    Da hat sich ja ne ganze menge getan:

                    Die Updates der Adapter (admin, hm-rega und hm-rpc) über das WebUI laufen jetzt einwandfrei.

                    Unter Instances sind die von mir installierten adapter auch drin - lediglich bei den Konfigurationsdaten, die ich über die couchDB eingegeben haben (IP-Adresse und Port) fehlen hier IP und port

                    Daher rührt dann wahrscheinlich auch der Error aus post #55

                    Ist diese Info nicht "bidirektional"?

                    Übernimmt ioBroker sie nicht, wenn ich sie in couchDB eintrage.

                    Was passiert, wenn ich sie im WebUI auch nochmal eintrage - und dann womöglich hm-rega.0 und hm-rega.1 vertausche?

                    Gruß

                    Rainer

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

                      Hallo HQ,
                      @hobbyquaker:

                      Ja, ich glaube wir haben bald einen Stand erreicht der die Versionsnummer 0.1.x verdient 😉

                      Dann kommt ein großer Brocken Arbeit: die Portierung von DashUI (das in Zukunft "ioBroker.vis" heissen wird). `

                      Glückwunsch zur 0.1.0!!! 😛

                      Und viel Erfolg mit dem nächsten Schritt

                      Ich hatte gehofft mit dem legacy-Adapter so etwas hinzubekommen. Leider stürzt mir dann dieser dauernd ab.

                      Gruß

                      Rainer

                      1 Reply Last reply Reply Quote 0
                      • H
                        hobbyquaker last edited by

                        @Homoran:

                        st diese Info nicht "bidirektional"?

                        Übernimmt ioBroker sie nicht, wenn ich sie in couchDB eintrage. `

                        Doch, es "sollte" eigentlich egal sein ob Du das im ioBroker.admin oder direkt in CouchDB-Futon machst. Wobei sowohl hm-rpc als auch hm-rega mittlerweile auch schon ein Konfigurations-UI haben (der Button rechts im Reiter instances)

                        @Homoran:

                        hm-rega.0 und hm-rega.1 `

                        Ich glaube da liegt noch ein Missverständnis vor. Du brauchst für eine CCU auch nur eine Instanz des hm-rega Adapters. Nur der hm-rpc ist unter Umständen (falls Du wired nutzt) 2x notwendig.

                        @Homoran:

                        Ich hätte versucht mit dem legacy-Adapter so etwas hinzubekommen. Leider stürzt mir dann dieser dauernd ab. `

                        Ja, an dem hab ich nicht mehr weitergemacht. Ich glaube ich schmeiss den wieder raus, die ursprüngliche Idee hier eine CCU.IO-kompatible Umgebung zu schaffen in der man einfach ein unverändertes DashUI/yahui laufen lassen kann ist wesentlich schwieriger zu verwirklichen als ich dachte…

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

                          Danke für die schnelle Antwort.

                          Damit es nicht zu Mißverständnissen kommt:

                          Ich hatte die IP-Adresse meiner CCU damals direkt in der couch-dB eingetragen.

                          …und da ich irrtümlich 2 Adapter angelegt habe - habe ich die IP-Adressen von 2 verschiedenen lxccu (eine produktiv - eine zum Testen) eingegeben - läuft prima!!!!!! 😄

                          Jetzt habe ich bei dem Button "Konfiguration" in der WebUI gesehen, dass da jetzt Daten hinterlegt sind - aber leider nicht die IP und der Port ( die sind leer)

                          @hobbyquaker:

                          Ja, an dem hab ich nicht mehr weitergemacht. Ich glaube ich schmeiss den wieder raus, die ursprüngliche Idee hier eine CCU.IO-kompatible Umgebung zu schaffen in der man einfach ein unverändertes DashUI/yahui laufen lassen kann ist wesentlich schwieriger zu verwirklichen als ich dachte… `

                          Dann erst recht "VIEL GLÜCK!"

                          Gruß

                          Rainer

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

                            Hi,

                            ich habe das Gefühl, dass die Installation noch etwas anfällig ist. Bei dem Versuch den hm-rega Adapter über das Admin-Interface zu installieren kam es zum oben genannten Fehler. Danach waren jedoch auf einmal alle anderen Instanzen (admin + hm-rpc) weg. Ist da eventuell was in der CouchDB im Datenmodell zerstört worden?

                            Bei einer Neuinstallation lösche ich derzeit immer alle Einträge der CouchDB und Redis-DB! Sollte in meinem Verständnis notwendig sein, damit keine "alten" Einträge die neue Installation stören, oder?

                            Bitte nicht missverstehen! Ich will nicht meckern oder so - bei dem aktuellen Stand der Software sind solche Macken normal! Ist wie immer nur ein Hinweis. Vielleicht liegt es ja auch an meiner Installation… Falls nicht, hilft es vielleicht bei der Bug-Suche.

                            Freu mich schon auf iobroker.vis 🙂

                            Viele Grüße

                            Trident

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

                              Hi,

                              noch ein kurzer Hinweis: Bei der Installation des hm-rega Adapters kommt es zu einer Fehlermeldung (sowohl übers Terminal, als auch übers admin-interface):

                              npm http 304 https://registry.npmjs.org/boom
                              got /opt/iobroker/adapter/hm-rega/admin
                              upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/index.html index.html text/html
                              upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/homematic.png homematic.png image/png
                              object system.adapter.hm-rega created
                              
                              TypeError: Cannot read property 'name' of undefined
                                  at /opt/iobroker/setup.js:660:48
                                  at /opt/iobroker/lib/couch.js:91:13
                                  at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11)
                                  at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)
                                  at Request.EventEmitter.emit (events.js:98:17)
                                  at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)
                                  at Request.EventEmitter.emit (events.js:117:20)
                                  at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)
                                  at IncomingMessage.EventEmitter.emit (events.js:117:20)
                                  at _stream_readable.js:920:16</anonymous></anonymous>
                              

                              Viele Grüße

                              Trident

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

                                Habe jetzt auch den history adapter installiert und auf true gesetzt - meine Daten, die ich loggen wollte füllen sich jedoch nicht.

                                Dann habe ich die Timestamps der Datenpunkte angesehen.

                                Die stammen alee vom 03.09. 😞

                                Seit diesem Datum habe ich das Problem, dass rpc hängen bleibt.

                                Gruß

                                Rainer

                                1 Reply Last reply Reply Quote 0
                                • A
                                  akamia last edited by

                                  Hi ,

                                  HQ und BF haben ganze Arbeit geleistet. Habe nur die Schritte der manuellen Installation nachvollzogen und es hat alles auf Anhieb geklappt mit Copy & Paste. Die Versionen sind jetzt auch in Farbe für einen informativen Überblick. Das Fundament macht schon einen guten Eindruck.

                                  154_adapters.png

                                  Danke an Rainer, Trident und John dafür, dass Ihr die größten Stolpersteine beseitigt habt. Bin heute auch von RasPi auf CubieTruck umgestiegen. Jetzt laufen CCU.IO und ioBroker parallel - fehlt nur noch LXCCU.

                                  Gruß akamia

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

                                    @akamia:

                                    Danke an Rainer, Trident und John dafür, dass Ihr die größten Stolpersteine beseitigt habt. `
                                    Die Stolpersteine beseitigen HQ und Bluefox - nicht ich.

                                    Ich hab jetzt meine Installation mal platt gemacht, nachdem mein rpc-Adapter die Daten seit dem 03.09. nicht mehr updatete.

                                    jetzt gab es andere Probleme.

                                    Installation lief schön durch. Ohne ERROR-Meldungen.

                                    Ich habe auch jetzt die schönen "bunten" Administrationsseiten, und die Einstellungen im WebUI werden auch in die CouchDB übernommen - zumindest fast alle.

                                    Ich habe erst einmal einen hm-rega, einen hm-rpc und den history-Adapter angelegt.
                                    144_iobroker_admin_20140914.jpg

                                    leider erscheint der hm-rega weder unter instances:
                                    144_iobroker_instances_20140914.jpg

                                    noch in der couchDB:
                                    144_iobroker_couchdb_20140914.jpg

                                    der log auf dem Cubie sah so aus:

                                    2014-09-14 12:33:36.568  - info: admin.0 iobroker add hm-rega
                                    2014-09-14 12:33:38.475  - info: admin.0 iobroker download https://github.com/ioBroker/ioBroker.hm-rega/archive/master.zip
                                    2014-09-14 12:33:40.135  - info: admin.0 iobroker unzip /opt/iobroker/tmp/hm-rega.zip
                                    2014-09-14 12:33:40.524  - info: admin.0 iobroker copying /opt/iobroker/tmp/ioBroker.hm-rega-master to /opt/iobroker/adapter/hm-rega
                                    2014-09-14 12:33:40.629  - info: admin.0 iobroker delete /opt/iobroker/tmp/hm-rega.zip
                                    2014-09-14 12:33:40.632  - info: admin.0 iobroker delete /opt/iobroker/tmp/ioBroker.hm-rega-master
                                    2014-09-14 12:33:42.519  - info: admin.0 iobroker install adapter hm-rega
                                    2014-09-14 12:33:42.537  - info: admin.0 iobroker npm install "/opt/iobroker/adapter/hm-rega" --production --prefix "/opt/iobroker/adapter/hm-rega"
                                    2014-09-14 12:33:45.815  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:45.844  - info: admin.0 iobroker
                                    2014-09-14 12:33:45.850  - info: admin.0 iobroker http
                                    2014-09-14 12:33:45.856  - info: admin.0 iobroker
                                    2014-09-14 12:33:45.870  - info: admin.0 iobroker GET https://registry.npmjs.org/request
                                    2014-09-14 12:33:46.149  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:46.152  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:46.155  - info: admin.0 iobroker  GET
                                    2014-09-14 12:33:46.158  - info: admin.0 iobroker  https://registry.npmjs.org/xml2js
                                    2014-09-14 12:33:46.206  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:46.210  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:46.216  - info: admin.0 iobroker  GET
                                    2014-09-14 12:33:46.220  - info: admin.0 iobroker  https://registry.npmjs.org/iconv-lite
                                    2014-09-14 12:33:46.243  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:46.247  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:46.250  - info: admin.0 iobroker  GET
                                    2014-09-14 12:33:46.254  - info: admin.0 iobroker  https://registry.npmjs.org/extend
                                    2014-09-14 12:33:46.756  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:46.761  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:46.766  - info: admin.0 iobroker 304 https://registry.npmjs.org/request
                                    2014-09-14 12:33:47.015  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:47.019  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:47.027  - info: admin.0 iobroker  200 https://registry.npmjs.org/xml2js
                                    2014-09-14 12:33:47.104  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:47.108  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:47.113  - info: admin.0 iobroker
                                    2014-09-14 12:33:47.119  - info: admin.0 iobroker 200 https://registry.npmjs.org/iconv-lite
                                    2014-09-14 12:33:47.262  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:47.266  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:47.270  - info: admin.0 iobroker  200
                                    2014-09-14 12:33:47.275  - info: admin.0 iobroker  https://registry.npmjs.org/extend
                                    2014-09-14 12:33:49.353  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.362  - info: admin.0 iobroker
                                    2014-09-14 12:33:49.366  - info: admin.0 iobroker http
                                    2014-09-14 12:33:49.371  - info: admin.0 iobroker GET https://registry.npmjs.org/forever-agent
                                    2014-09-14 12:33:49.403  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.407  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:49.411  - info: admin.0 iobroker GET https://registry.npmjs.org/form-data
                                    2014-09-14 12:33:49.438  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.442  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:49.447  - info: admin.0 iobroker  GET
                                    2014-09-14 12:33:49.451  - info: admin.0 iobroker  https://registry.npmjs.org/node-uuid
                                    2014-09-14 12:33:49.477  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.481  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:49.487  - info: admin.0 iobroker  GET https://registry.npmjs.org/tunnel-agent
                                    2014-09-14 12:33:49.531  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.536  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:49.540  - info: admin.0 iobroker GET
                                    2014-09-14 12:33:49.546  - info: admin.0 iobroker  https://registry.npmjs.org/tough-cookie
                                    2014-09-14 12:33:49.594  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.615  - info: admin.0 iobroker  http GET https://registry.npmjs.org/http-signaturenpm http GET https://registry.npmjs.org/oauth-sign
                                    2014-09-14 12:33:49.637  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.660  - info: admin.0 iobroker  http GET https://registry.npmjs.org/hawk
                                    2014-09-14 12:33:49.668  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.673  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:49.678  - info: admin.0 iobroker
                                    2014-09-14 12:33:49.683  - info: admin.0 iobroker GET https://registry.npmjs.org/aws-sign2
                                    2014-09-14 12:33:49.694  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.699  - info: admin.0 iobroker  http GET
                                    2014-09-14 12:33:49.704  - info: admin.0 iobroker  https://registry.npmjs.org/qs
                                    2014-09-14 12:33:49.712  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.718  - info: admin.0 iobroker  http GET https://registry.npmjs.org/json-stringify-safe
                                    2014-09-14 12:33:49.730  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:49.737  - info: admin.0 iobroker  http GET
                                    2014-09-14 12:33:49.742  - info: admin.0 iobroker  https://registry.npmjs.org/mime
                                    2014-09-14 12:33:50.053  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.058  - info: admin.0 iobroker  http GET
                                    2014-09-14 12:33:50.064  - info: admin.0 iobroker  https://registry.npmjs.org/sax
                                    2014-09-14 12:33:50.076  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.081  - info: admin.0 iobroker
                                    2014-09-14 12:33:50.086  - info: admin.0 iobroker http
                                    2014-09-14 12:33:50.091  - info: admin.0 iobroker  304 https://registry.npmjs.org/tough-cookie
                                    2014-09-14 12:33:50.109  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.113  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:50.118  - info: admin.0 iobroker GET https://registry.npmjs.org/xmlbuilder
                                    2014-09-14 12:33:50.197  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.203  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:50.207  - info: admin.0 iobroker  304 https://registry.npmjs.org/http-signature
                                    2014-09-14 12:33:50.273  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.278  - info: admin.0 iobroker  http 304
                                    2014-09-14 12:33:50.299  - info: admin.0 iobroker  https://registry.npmjs.org/node-uuid
                                    2014-09-14 12:33:50.317  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.321  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:50.332  - info: admin.0 iobroker 304 https://registry.npmjs.org/tunnel-agent
                                    2014-09-14 12:33:50.423  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.428  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:50.432  - info: admin.0 iobroker 304 https://registry.npmjs.org/aws-sign2
                                    2014-09-14 12:33:50.490  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.496  - info: admin.0 iobroker
                                    2014-09-14 12:33:50.503  - info: admin.0 iobroker http 304 https://registry.npmjs.org/forever-agent
                                    2014-09-14 12:33:50.529  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.534  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:50.545  - info: admin.0 iobroker 304 https://registry.npmjs.org/oauth-sign
                                    2014-09-14 12:33:50.587  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.592  - info: admin.0 iobroker  http 304 https://registry.npmjs.org/json-stringify-safe
                                    2014-09-14 12:33:50.622  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.628  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:50.637  - info: admin.0 iobroker 304 https://registry.npmjs.org/hawk
                                    2014-09-14 12:33:50.648  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.656  - info: admin.0 iobroker http 304 https://registry.npmjs.org/mime
                                    2014-09-14 12:33:50.980  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:50.985  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:50.992  - info: admin.0 iobroker  304 https://registry.npmjs.org/form-data
                                    2014-09-14 12:33:51.003  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:51.010  - info: admin.0 iobroker  http 304 https://registry.npmjs.org/qs
                                    2014-09-14 12:33:51.081  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:51.086  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:51.091  - info: admin.0 iobroker 200 https://registry.npmjs.org/xmlbuilder
                                    2014-09-14 12:33:51.418  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:51.422  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:51.434  - info: admin.0 iobroker GET https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-2.4.4.tgz
                                    2014-09-14 12:33:52.095  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:52.098  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:52.102  - info: admin.0 iobroker  200 https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-2.4.4.tgz
                                    2014-09-14 12:33:53.267  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:53.272  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:53.292  - info: admin.0 iobroker GET https://registry.npmjs.org/combined-stream
                                    2014-09-14 12:33:53.324  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:53.336  - info: admin.0 iobroker  http GET https://registry.npmjs.org/async
                                    2014-09-14 12:33:53.597  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:53.602  - info: admin.0 iobroker  http 304
                                    2014-09-14 12:33:53.608  - info: admin.0 iobroker  https://registry.npmjs.org/async
                                    2014-09-14 12:33:53.676  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:53.680  - info: admin.0 iobroker  http 200 https://registry.npmjs.org/sax
                                    2014-09-14 12:33:53.845  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:53.850  - info: admin.0 iobroker  http 304 https://registry.npmjs.org/combined-stream
                                    2014-09-14 12:33:54.293  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:54.298  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:54.305  - info: admin.0 iobroker GET https://registry.npmjs.org/assert-plus/0.1.2
                                    2014-09-14 12:33:54.326  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:54.331  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:54.335  - info: admin.0 iobroker GET https://registry.npmjs.org/asn1/0.1.11
                                    2014-09-14 12:33:54.355  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:54.360  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:54.366  - info: admin.0 iobroker GET https://registry.npmjs.org/ctype/0.5.2
                                    2014-09-14 12:33:54.629  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:54.632  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:54.638  - info: admin.0 iobroker  304 https://registry.npmjs.org/assert-plus/0.1.2
                                    2014-09-14 12:33:54.672  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:54.675  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:54.686  - info: admin.0 iobroker  304 https://registry.npmjs.org/ctype/0.5.2
                                    2014-09-14 12:33:54.945  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:54.951  - info: admin.0 iobroker  http GET
                                    2014-09-14 12:33:54.956  - info: admin.0 iobroker  https://registry.npmjs.org/delayed-stream/0.0.5
                                    2014-09-14 12:33:55.428  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:55.432  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:55.436  - info: admin.0 iobroker  304 https://registry.npmjs.org/delayed-stream/0.0.5
                                    2014-09-14 12:33:56.022  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:56.026  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:56.031  - info: admin.0 iobroker 304 https://registry.npmjs.org/asn1/0.1.11
                                    2014-09-14 12:33:57.632  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:57.635  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:57.654  - info: admin.0 iobroker  GET https://registry.npmjs.org/punycode
                                    2014-09-14 12:33:57.926  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:57.930  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:57.934  - info: admin.0 iobroker  304 https://registry.npmjs.org/punycode
                                    2014-09-14 12:33:57.987  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:57.992  - info: admin.0 iobroker  http GET
                                    2014-09-14 12:33:57.996  - info: admin.0 iobroker  https://registry.npmjs.org/boom
                                    2014-09-14 12:33:58.014  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:58.022  - info: admin.0 iobroker  http GET https://registry.npmjs.org/cryptiles
                                    2014-09-14 12:33:58.042  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:58.047  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:58.051  - info: admin.0 iobroker GET https://registry.npmjs.org/sntp
                                    2014-09-14 12:33:58.084  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:58.088  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:58.093  - info: admin.0 iobroker GET https://registry.npmjs.org/hoek
                                    2014-09-14 12:33:58.318  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:58.322  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:58.327  - info: admin.0 iobroker 304 https://registry.npmjs.org/boom
                                    2014-09-14 12:33:58.438  - info: admin.0 iobroker npm
                                    2014-09-14 12:33:58.443  - info: admin.0 iobroker  http
                                    2014-09-14 12:33:58.450  - info: admin.0 iobroker  304 https://registry.npmjs.org/hoek
                                    2014-09-14 12:33:58.774  - info: admin.0 iobroker npm http 304 https://registry.npmjs.org/cryptiles
                                    2014-09-14 12:33:59.511  - info: admin.0 iobroker npm http
                                    2014-09-14 12:33:59.519  - info: admin.0 iobroker GET https://registry.npmjs.org/lodash-node
                                    2014-09-14 12:33:59.671  - info: admin.0 iobroker npm http 304 https://registry.npmjs.org/sntp
                                    2014-09-14 12:34:00.864  - info: admin.0 iobroker npm http 200
                                    2014-09-14 12:34:00.878  - info: admin.0 iobroker  https://registry.npmjs.org/lodash-node
                                    2014-09-14 12:34:07.079  - info: admin.0 iobroker got /opt/iobroker/adapter/hm-rega/admin
                                    2014-09-14 12:34:07.125  - info: admin.0 iobroker upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/index.html index.html text/html
                                    2014-09-14 12:34:07.263  - info: admin.0 iobroker upload hm-rega.admin /opt/iobroker/adapter/hm-rega/admin/homematic.png homematic.png image/pn                         g
                                    2014-09-14 12:34:07.625  - info: admin.0 iobroker object system.adapter.hm-rega created
                                    
                                    

                                    Gruß

                                    Rainer

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      John92648 last edited by

                                      Hallo Reiner,

                                      bzgl. des fehlenden HM_Rega muss erst der RPC komplett laufen und dann den Rega istallieren.

                                      Hat zumindest so bei mir funktioniert und so denke ich auch ist es beschrieben.

                                      Gruß John
                                      145_rpc.png

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

                                        ok, dann muss ich es wohl nochmal neu machen, da mir jetzt alles abgeschmiert ist.

                                        Ich war über die Konsole rein und wollte mit ./iobroker del hm-rega den Adapter entfernen, um ihn neu zu installieren und bekam folgendes:

                                        root@cubie:/opt/iobroker# ./iobroker del hm-rega
                                        Deleted 0 states (hm-rega.*) from redis
                                        Deleted 0 states (system.adapter.hm-rega.*) from redis
                                        no devices hm-rega found
                                        deleted 3 instances of hm-rega
                                        deleted 0 states of hm-rega
                                        no channels hm-rega found
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        delete /opt/iobroker/adapter/hm-rega
                                        deleted 24 adapters for hm-rega
                                        object hm-rega deleted
                                        object hm-rega.admin deleted
                                        

                                        Zeitgleich verschwanden fast alle Adapter aus der Installation.

                                        Nach dem Motto reboot tut gut neu gestartet - jetzt komme ich gar nicht mehr auf die WebUI drauf.

                                        Sei's drum: Auf ein neues 😉

                                        Gruß

                                        Rainer

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

                                          Ok, läuft jetzt wieder

                                          Habe diesmal erst einen rpc-Adapter aktiviert und dann den hm-rega-Adapter.

                                          Danach hatte ich dann zwei rpc-Adapter :shock:

                                          Ob das noch eine Leiche war, glaube ich nicht, da ich redis und couchdb komplett deinstalliert hatte und auch den ioBroker-Ordner gelöscht.

                                          Bei der Konfig vom rega sah ich dann dass für RF, RS485 und Cux drei rpc benötigt werden. vielleicht wird automatisch ein weiterer angelegt ???

                                          bei 2 CCU muss ich dann 6 rpc-Adapter haben?

                                          • und 2x rega

                                          Daten werden jetzt auch wieder gesammelt - sind allerdings nur noch 8 Seiten States (früher 13).

                                          Bei der Installation nur noch sehr wenige "warn" wegen "common role missing" - aber einige sind noch da 😉 (braucht ihr noch nähere infos?)

                                          Für die (ferne) Zukunft noch ein paar Wünsche zum Instances - Tab

                                          Beim Aktivieren vergesse ich jedesmal nach dem Setzen des Hakens auch noch "Enter" zu drücken. dort noch einen Save-Button oder so hinzufügen ???

                                          Hier oder bei Adaptern auch noch einen delete-Button für Instances.

                                          Aber ihr bastelt ja schneller als man alles finden kann - Wahnsinn

                                          Gruß

                                          Rainer

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

                                            Habe jetzt mal versucht den DWD-Adapter anzulegen.

                                            In der Konfig hatte ich die 0 * * * * als Cronjob interpretiert und zuerst irrtüblich gegen 15 * * * * (statt */15 * * * *) getauscht.
                                            144_iobroker_dwd.jpg

                                            es passierte natürlich zunächst nichts.

                                            Also habe ich erst einmal einen reboot gemacht. Der anschließende Log zeigte folgendes:

                                            root@cubie:/opt/iobroker# tail -f log/iobroker.log
                                            2014-09-18 18:55:48.981  - info: controller couchdb connected
                                            2014-09-18 18:55:50.459  - info: controller 6 instances found
                                            2014-09-18 18:55:50.462  - info: controller starting 5 instances
                                            2014-09-18 18:55:50.505  - info: controller instance system.adapter.admin.0 started with pid 2438
                                            2014-09-18 18:55:54.498  - info: controller instance scheduled system.adapter.dwd.0 15 * * * *
                                            2014-09-18 18:55:56.928  - info: admin.0 starting
                                            2014-09-18 18:55:57.101  - info: admin.0 requesting all states
                                            2014-09-18 18:55:57.114  - info: admin.0 requesting all objects
                                            2014-09-18 18:55:57.151  - info: admin.0 http server listening on port 8081
                                            ....
                                            2014-09-18 18:56:31.301  - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_LONG_RELEASE created
                                            2014-09-18 18:56:31.620  - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_LONG created
                                            2014-09-18 18:56:31.631  - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_SHORT created
                                            2014-09-18 18:56:31.655  - info: hm-rpc.0 object hm-rpc.0.JEQ0466609:3.PRESS_CONT created
                                            2014-09-18 18:56:31.882  - error: hm-rpc.0 object hm-rpc.0.JEQ0466609:3 extend: Error: Document update conflict.
                                            ....
                                            2014-09-18 18:57:05.090  - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:1 to "3_fach_01:1"
                                            2014-09-18 18:57:05.286  - info: hm-rega.0 renamed hm-rpc.0.KEQ0120652:0 to "3_fach_01:0"
                                            2014-09-18 18:57:10.642  - info: hm-rega.0 got 63 programs
                                            2014-09-18 18:57:11.606  - info: hm-rega.0 added/updated 60 programs
                                            2014-09-18 18:57:11.619  - info: hm-rega.0 deleted 3 programs
                                            2014-09-18 18:57:15.013  - info: hm-rega.0 got 58 variables
                                            2014-09-18 18:57:16.059  - info: hm-rega.0 added/updated 58 variables
                                            2014-09-18 18:57:16.061  - info: hm-rega.0 deleted 0 variables
                                            2014-09-18 18:57:16.069  - info: hm-rega.0 request state values
                                            2014-09-18 18:57:18.401  - info: hm-rega.0 got state values
                                            

                                            wobei die Daten im Admin (Objekte) für hm-rpc.0.JEQ0466609:3 anscheinend korrekt eingetragen sind???

                                            Um 19:15 (ich hatte 15:10 erwartet - und dann den Cronjob geändert) kamen folgende Fehlermeldungen:

                                            2014-09-18 19:15:04.196  - info: dwd.0 starting
                                            2014-09-18 19:15:04.776  - info: dwd.0 setting states
                                            2014-09-18 19:15:04.794  - error: dwd.0 uncaught exception: stop is not defined
                                            2014-09-18 19:15:04.797  - error: dwd.0 ReferenceError: stop is not defined
                                                at received (/opt/iobroker/adapter/dwd/dwd.js:187:16)
                                                at getFile (/opt/iobroker/adapter/dwd/dwd.js:85:9)
                                                at /opt/iobroker/adapter/dwd/dwd.js:70:17
                                                at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:147:19
                                                at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/node_modules/async/lib/async.js:142:25
                                                at _next (/opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:108:7)
                                                at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:123:14
                                                at iterate (/opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/node_modules/async/lib/async.js:134:13)
                                                at /opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/node_modules/async/lib/async.js:145:25
                                                at _next (/opt/iobroker/adapter/dwd/node_modules/jsftp/node_modules/parse-listing/src/parser.js:108:7)
                                            2014-09-18 19:15:05.124  - error: controller instance system.adapter.dwd.0 terminated with code 1
                                            

                                            dito um 19:30

                                            Die settings habe ich aus dem ccu.io Adapter übernommen (nur der Kreis wird nicht mehr angegeben)

                                            Gruß

                                            Rainer

                                            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

                                            598
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            19
                                            176
                                            39206
                                            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