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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Installation ioBroker auf Cubietruck

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      @Bluefox:

      Es gibt jetzt "legacy" adapter. Kannst du denn auch anschauen? (Nach der Neuinstallation) `

      Du hast es nicht anders gewollt :shock:

      Ich habe jetzt mit dem dashui einige Zeit gespielt.

      Zuerst das positive:

      Bei dem Import von meinen Views gab es nur zwei gemeldete Errors:

      2014-10-21 19:07:35.124  - info: legacy.0 socket.io <-- writeFile created /opt/iobroker/adapter/legacy/datastore/dashui-views.json.bak
      2014-10-21 19:07:36.410  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.414  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.416  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.418  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.475  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property '1' of undefined
      2014-10-21 19:07:36.644  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.647  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.649  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.652  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.662  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      2014-10-21 19:07:36.663  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
      

      Ähnliches mit dem Widget jq ctrl input.

      Da einiges andere nicht lief habe ich erst einmal alle diese widgets gelöscht. Die anderen Fehler blieben.

      Folgende widgets scheinen ohne Probleme zu sein:

      • RGRaph Thermometer

      • RGraph Gauge

      • hq widgets IpCamera

      • bars views_bar

      • basic val - number

      • time_and_weather htcWeather

      bei folgenden kommt es zu Problemen:

      • hq widgets on_off

      beim Anklicken des widgets kommt es zu dieser Meldung:

      1. Beispiel: Entfeuchter in der Werkstatt

      2014-10-21 20:40:45.003 - error: pmessage hm-rpc.0.JEQ0646431:3{"val":true,"ack":false,"ts":1413916845,"from":"system.adapter.legacy.0","lc":1413916845} Cannot read property 'TYPE' of undefined

      2014-10-21 20:40:45.038 - error: TypeError: Cannot read property 'TYPE' of undefined

      at Object.require.stateChange (/opt/iobroker/adapter/hm-rpc/hm-rpc.js:19:32)

      at that.states.StatesRedis.change (/opt/iobroker/lib/adapter.js:888:80)

      at RedisClient. <anonymous>(/opt/iobroker/lib/redis.js:48:21)

      at RedisClient.EventEmitter.emit (events.js:106:17)

      at RedisClient.return_reply (/opt/iobroker/node_modules/redis/index.js:672:22)

      at HiredisReplyParser. <anonymous>(/opt/iobroker/node_modules/redis/index.js:309:14)

      at HiredisReplyParser.EventEmitter.emit (events.js:95:17)

      at HiredisReplyParser.execute (/opt/iobroker/node_modules/redis/lib/parser/hiredis.js:43:18)

      at RedisClient.on_data (/opt/iobroker/node_modules/redis/index.js:534:27)

      at Socket. <anonymous>(/opt/iobroker/node_modules/redis/index.js:91:14)

      2. Beleuchtung im Schlafzimmer

      2014-10-21 20:42:10.327 - error: pmessage hm-rpc.0.JEQ0175818:1{"val":true,"ack":false,"ts":1413916930,"from":"system.adapter.legacy.0","lc":1413916930} Cannot read property 'TYPE' of undefined

      2014-10-21 20:42:10.353 - error: TypeError: Cannot read property 'TYPE' of undefined

      at Object.require.stateChange (/opt/iobroker/adapter/hm-rpc/hm-rpc.js:19:32)

      at that.states.StatesRedis.change (/opt/iobroker/lib/adapter.js:888:80)

      at RedisClient. <anonymous>(/opt/iobroker/lib/redis.js:48:21)

      at RedisClient.EventEmitter.emit (events.js:106:17)

      at RedisClient.return_reply (/opt/iobroker/node_modules/redis/index.js:672:22)

      at HiredisReplyParser. <anonymous>(/opt/iobroker/node_modules/redis/index.js:309:14)

      at HiredisReplyParser.EventEmitter.emit (events.js:95:17)

      at HiredisReplyParser.execute (/opt/iobroker/node_modules/redis/lib/parser/hiredis.js:43:18)

      at RedisClient.on_data (/opt/iobroker/node_modules/redis/index.js:534:27)

      at Socket. <anonymous>(/opt/iobroker/node_modules/redis/index.js:91:14)

      • hq widgets gauge

      keine Anzeige (getestet mit Variable)

      • hq widgets temperature

      keine Anzeige (getestet mit Sensorwert)

      • hq widgets info

      keine Anzeige (getestet mit Variable)

      • hq widgets windows & shutter

      keine Anzeige Drehgriff und Rolladen

      • hq widgets Motion Detector

      keine Anzeige

      Soweit meine erste Analyse.

      Ihr tut mir richtig leid - ernsthaft!

      Wenn ich euch noch weiter helfen kann sagt bitte wie!

      Gruß

      Rainer</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        Danke Homoran. Jetzt haben noch was zu tun.

        Melde mich, wenn irgendwas neues geht. 😄
        909_bildschirmfoto_2015-12-15_um_20.02.10.png

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

          @Bluefox:

          Melde mich, wenn irgendwas neues geht. `
          Hast du aber nicht getan 😞

          Schlaft ihr eigentlich irgendwann einmal?

          Habe eben schon das nächste update vom legacy heruntergeladen.

          Es scheint einiges mehr zu funktionieren!!

          Allerdings sieht es auf den ersten Blick so aus, als ob sich die IDs verschoben haben.

          Kann das sein?

          Ich werde nachher nochmal meine ccu.io views komplett importieren und die IDs anpassen.

          Melde mich dann nochmal.

          EDIT (18:33) - Ich melde mich:

          Status des Updates:

          folgende Widgets scheinen ohne Probleme zu laufen:

          • RGRaph Thermometer

          • RGraph Gauge

          • hq widgets IpCamera

          • bars views_bar

          • basic val - number

          • time_and_weather htcWeather

          • hq widgets gauge

          • hq widgets temperature

          • hq widgets info

          • hq widgets windows & shutter

          • hq widgets Motion Detector

          • hq widgets on/off

          JQ widgets werden nicht dargestellt

          folgende Fehlermeldungen erscheinen im ioBroker log:

          2014-10-22 18:31:03.440  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.442  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.444  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.445  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.446  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.448  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.449  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.450  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.451  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.453  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:31:03.454  - error: legacy.0 Addon DashUI  Cannot render widget jqplot: TypeError: Cannot read property 'Value' of undefined
          2014-10-22 18:33:10.183  - error: legacy.0 Addon DashUI  Error: can't render tplHqShutter w00096 (TypeError: undefined is not a function)
          2014-10-22 18:33:10.632  - error: legacy.0 Addon DashUI  Error: can't render tplHqMotion w00114 (TypeError: undefined is not a function)
          2014-10-22 18:33:10.732  - error: legacy.0 Addon DashUI  Error: can't render tplHqGauge w00122 (TypeError: undefined is not a function)
          2014-10-22 18:33:10.742  - error: legacy.0 Addon DashUI  Error: can't render tplHqGauge w00123 (TypeError: undefined is not a function)
          2014-10-22 18:33:10.931  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00133 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.035  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00144 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.040  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00146 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.048  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00148 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.374  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00167 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.383  - error: legacy.0 Addon DashUI  Error: can't render tplHqInfo w00168 (TypeError: undefined is not a function)
          2014-10-22 18:33:11.394  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00170 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.398  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00171 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.402  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00172 (TypeError: Cannot read property 'Value' of undefined)
          2014-10-22 18:33:11.405  - error: legacy.0 Addon DashUI  Error: can't render tplJquiInput w00173 (TypeError: Cannot read property 'Value' of undefined)
          
          

          UND:

          alle Variablen sind doppelt :!: :!: (zumindest in dem Datenpunktauswahl-Popup)

          Gruß

          Rainer

          PS würde es nicht Sinn machen jetzt schon für jeden Adapter einen Thread aufzumachen, ohne euch zu sehr unter Druck setzen zu wollen?

          1 Reply Last reply Reply Quote 0
          • Bluefox
            Bluefox last edited by

            Jetzt sollte viel mehr gehen.

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

              @Bluefox:

              Jetzt sollte viel mehr gehen. `

              Noch mehr?? seit 17:30 ???

              Es läuft doch fast alles!

              Leider habe ich sehr viele widgets, die bei ccu.io die Werte von Adaptern anzeigen.

              Die gibt es in ioBroker noch nicht (ping, cubie, Highcharts, sprit, eventlist)

              Die Rolläden werden korrekt angezeigt, lassen sich auch bedienen, jedoch wird der Status nicht automatisch refresht.

              Die Rolläden sind bei Sonnenuntergang heruntergegangen, in ioBroker jedoch nicht, erst nach ..dashui/edit… und wieder schließen war der Status korrekt.

              EDIT: ok, 0.1.3 lädt gerade herunter, dann wird es wieder ne lange Nacht 😉

              EDIT2 (20:50): Ihr seid wirklich wahnsinnig (oder Junkies) - Es scheint jetzt alles zu laufen, sogar die JQ gauges sind da - und die Variablen sind nur noch einmal da.

              ok, jetzt muss ich die IDs wieder ändern, aber ich denke das klappt.

              Morgen gibt's ein Update - jetzt geht auch mal früher ins Bett 8-)

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • M
                mimquadrat last edited by

                Hi Leute,

                muss den Broker nochmal komplett neu aufsetzen da nur noch das Zahnrad kommt.

                Wahrscheinlich durch die vielen vielen Änderungen.

                Könnte mir bitte kurz mal jemand nur stichpunktartig beschreiben wie ich JETZT vorgehen soll?

                Also welches NODE Paket von wo usw…

                Vielen Dank!

                M²

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

                  lies mal hier:

                  https://github.com/ioBroker/ioBroker.nodejs

                  Gruß

                  Rainer

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

                    Hallo bluefox
                    @Bluefox:

                    Jetzt sollte viel mehr gehen. `

                    habe gestern abend alle dashui-views von ccu.io nach ioBroker importiert und die legacy Ids angepasst.

                    Ich denke alles lief soweit.

                    Da ioBroker ja noch nicht die Programme von der ccu runterlädt, konnte ich auch das widget "jquiControl Button ProgramExecute" natürlich nicht zuordnen.

                    und da dies ja wohl eine 1:1 Portierung des ccu.io dashui ist, sind leider auch die noch nichtbehobenen Fehler des dashui mit dabei: Bei wechsel des Views erscheinen einige Widgets erst nach Drücken von F5, runde widgets werden beim Anklicken eckig.. Aber das ist erst einmal unwichtig.

                    Schlimmer war es, dass heute nach dem nächsten Update wieder die Legacy IDs hätten angepasst werden müssen - da hatte ich dann keine Lust zu.

                    Außerdem scheint das HQ-Widget on/off nicht zu funktionieren, es wechselt zwar die Farbe, aber das busy-Zeichen bleibt an. Und beim Schalten über ccu.io ändert sich das Widget auch nicht in Legacy.

                    Weiterhin waren einige Settings verschwunden. gemerkt habe ich das bisher bei der IP meiner CCU und dem Crontab beim DWD-Adapter

                    Soweit der aktuelle Status

                    Gruß

                    Rainer

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

                      Irgendwas ist schiefgegangen 😞

                      Ich habe gerade den History-Adapter aktiviert und dabei fallen mir erst einige Werte, und darufhin die Timestamps auf: waren alle gegen 08:45 oder früher.

                      Habe zuerst gedacht: nach update iobroker nicht neu gestartet.

                      Also ./iobroker start - wars nicht: "already running"

                      daraufhin stop - start - im log keinerlei Fehler - jetzt kommen langsam wieder aktuelle Werte.

                      Bei der Betrachtung des logs sah ich dann:

                      2014-10-24 21:46:30.807  - info: legacy.0 setting system.host.cubie.alive legacy id to 526054
                      2014-10-24 21:46:30.819  - info: legacy.0 setting system.host.cubie legacy id to 526055
                      2014-10-24 21:46:30.865  - info: legacy.0 setting system.host.cubie.load legacy id to 526056
                      2014-10-24 21:46:30.912  - info: legacy.0 setting system.host.cubie.mem legacy id to 526057
                      2014-10-24 21:46:30.936  - info: legacy.0 requesting all states
                      
                      

                      Habe dann noch ein wenig rumgespielt und versucht die Werte im dashui anzuzeigen.

                      In der Auswahl waren sie nicht, und manuell den Datenpunkt 526056 bei Cubie.load einzutragen hat auch nicht geklappt 😞

                      Gruß

                      Rainer

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

                        Habe eben ein iobroker update gefahren.

                        Da war dann u.a. ein update des admin-adapters dabei - das wurde jedoch nicht - wie üblich beendet (mit code 0)

                        EDIT 22:25 neues update - bleibt dabei:

                        $ ./iobroker upgrade admin
                        download https://github.com/ioBroker/ioBroker.admin/archive/master.zip
                        unzip /opt/iobroker/lib/../tmp/admin.zip
                        downloaded /opt/iobroker/lib/../tmp/admin.zip
                        copying /opt/iobroker/tmp/admin/ioBroker.admin-master to /opt/iobroker/adapter/admin(Version: 0.1.4)
                        delete /opt/iobroker/tmp/admin
                        npm install "/opt/iobroker/adapter/admin" --production --prefix "/opt/iobroker/adapter/admin"
                        got /opt/iobroker/adapter/admin/admin
                        upload admin.admin /opt/iobroker/adapter/admin/admin/index.html index.html text/html
                        upload admin.admin /opt/iobroker/adapter/admin/admin/admin.png admin.png image/png
                        Adapter "admin" updated
                        Adapter "admin" updated
                        

                        außerdem noch ein update für den js-controller.

                        danach waren dann die Rechte für ioBroker futsch.

                        mussten wieder mit:

                        chmod +x iobroker 
                        

                        freigegeben werden 😉

                        Gruß

                        Rainer
                        576_verzeichnisse.png

                        1 Reply Last reply Reply Quote 0
                        • Bluefox
                          Bluefox last edited by

                          @Homoran:

                          Habe eben ein iobroker update gefahren.

                          Da war dann u.a. ein update des admin-adapters dabei - das wurde jedoch nicht - wie üblich beendet (mit code 0) `
                          Auf dem Rechner habe ich das nie beobachtet. Vorgestern konnte ich aber denselben Effekt auf Odroid sehen…

                          In der nächste Version (noch nicht da) von js-controller versuche ich zwei Mal zu senden.

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

                            Hallo Bluefox,

                            heute reißen die schlechten nachrichten nicht ab 😞
                            144_iobroker_hm_error.jpg

                            Gruß

                            Rainer

                            PS habt ihr gefunden, warum bei mir im dashui keine Geräte in der Auswahl angezeigt werden? http://forum.iobroker.org/viewtopic.php?f=8&t=236#p1204

                            DAS IST NUR EINE FRAGE!!

                            1 Reply Last reply Reply Quote 0
                            • Bluefox
                              Bluefox last edited by

                              @Homoran:

                              Hallo Bluefox,

                              heute reißen die schlechten nachrichten nicht ab 😞
                              filename="ioBroker_hm_error.jpg" index="0">~~

                              Gruß

                              Rainer

                              PS habt ihr gefunden, warum bei mir im dashui keine Geräte in der Auswahl angezeigt werden? http://forum.iobroker.org/viewtopic.php?f=8&t=236#p1204

                              DAS IST NUR EINE FRAGE!! `
                              Ich arbeite gerade an backup/restore Lösung. Wenn ich fertig bin, will ich von dir eine Backup, damit ich die Objekte anschauen kann und den Fehler reproduzieren.

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

                                @Bluefox:

                                Ich arbeite gerade an backup/restore Lösung. `

                                SUPER!!!

                                wollte ich schon vorschlagen, aber ich dachte das wäre noch zu früh.

                                Danke

                                Rainer

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

                                  Ich fürchte, da ist noch ein BUG!

                                  Ich hatte gedacht, ich hätte die verlorenen Datenpunkte gefunden (hab ich auch! Aber dann läuft iobroker nicht mehr!)

                                  Ich hatte wegen Probleme den hm-rpc Adapter mit der Adresse 0.0.0.0 versehen.

                                  Habe diese auf meine Cubox-Adresse geändert…

                                  ...und schon wurden die Datenpunkte eingelesen 😉

                                  ... und schon konnte ich auf die WebUI nicht mehr zugreifen????

                                  log mit putty angesehen -````
                                  2014-11-07 22:07:14.657 - error: controller instance system.adapter.hm-rega.0 terminated with code 7

                                  Der Adapter startet immer wieder neu und beendet sich ebenso immer wieder :(
                                  
                                  Also über futon die Adresse wieder auf 0.0.0.0 gestellt und schon bleibt der admin-Adapter sttabil, aber was ist jetzt?
                                  
                                  Ich habe zweimal den js-controller unter hosts!
                                  
                                  Was kann ich machen?
                                  
                                  Rainer
                                  
                                  PS ich kann nicht ausschließen, dass das auch meine lxCCU abgeschossen hat.
                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Trident last edited by

                                    Hallo zusammen,

                                    nach längerer Pause hatte ich wieder mal Zeit ein bisschen mit ioBroker zu experimentieren.

                                    Es hat sich ja einiges getan! Wahnsinn, dass es nun schon mit den Updates und scheinbar auch der Log-Anzeige klappt! Ich habe gleich den Ping-Adapter getestet. Mit einem Erfolg für die Log_Anzeige (Fehler wurde angezeigt) und einem klaren Misserfolg für den Ping-Adapter 🙂

                                    Hier der Eintrag aus dem Log:
                                    ` > Drucke Strg+A und danach Strg+C um inhalt in den Zwischenpufer zu kopiere. Klicke irgendwo um das Fenster zu machen.

                                    ping.0 2014-11-09 20:18:59 error uncaught exception: Cannot call method 'replace' of undefined

                                    ping.0 2014-11-09 20:18:59 error TypeError: Cannot call method 'replace' of undefined at /opt/iobroker/adapter/ping/main.js:191:47 at /opt/iobroker/lib/adapter.js:1092:33 at /opt/iobroker/lib/couch.js:157: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. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14) at Request.EventEmitter.emit (events.js:117:20) at IncomingMessage. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12) at IncomingMessage.EventEmitter.emit (events.js:117:20)

                                    ping.0 2014-11-09 20:18:59 error uncaught exception: Cannot call method 'replace' of undefined

                                    ping.0 2014-11-09 20:18:59 error TypeError: Cannot call method 'replace' of undefined at /opt/iobroker/adapter/ping/main.js:191:47 at /opt/iobroker/lib/adapter.js:1092:33 at /opt/iobroker/lib/couch.js:157: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. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14) at Request.EventEmitter.emit (events.js:117:20) at IncomingMessage. (/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12) at IncomingMessage.EventEmitter.emit (events.js:117:20)

                                    ping.0 2014-11-09 20:18:53 info ping.0 terminating

                                    ping.0 2014-11-09 20:18:59 info ping.0 starting. Version 0.0.4

                                    ping.0 2014-11-09 20:17:53 info ping.0 starting. Version 0.0.4

                                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141108

                                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141108

                                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141109

                                    admin.0 2014-11-09 20:16:41 info admin.0 getCouchLog history.io.system.host.cubie.load.20141109 `

                                    Macht echt Spaß die Entwicklung mitzubekommen! Danke nochmal an HQ und Bluefox!

                                    Viele Grüße

                                    Trident

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

                                      Habe heute zum ersten mal auch die Loganzeige sehen können - aber nur kurz. Auf einmal drehte(!) sich wieder das Zahnrad und nichts passierte.

                                      beim refresh mit F5 kam ein ERROR_CONNECTION_REFUSED

                                      Ich habe alles asuprobiert, unter futon auch mal den Port geändert - ohne Erfolg.

                                      Dashui lief auf :8088 und dort kam ich jetzt sogar sn die Datenpunkte der Geräte ran.

                                      Der log auf der CuBox brachte nichts spannendes:

                                      2014-11-10 17:29:02.463  - info: hm-rega.0 State alarms 0
                                      2014-11-10 17:29:02.465  - info: hm-rega.0 State maintenance 6
                                      2014-11-10 17:29:32.544  - info: hm-rega.0 State alarms 0
                                      2014-11-10 17:29:32.546  - info: hm-rega.0 State maintenance 6
                                      2014-11-10 17:30:00.700  - info: controller instance system.adapter.dwd.0 started with pid 13329
                                      2014-11-10 17:30:02.494  - info: hm-rega.0 State alarms 0
                                      2014-11-10 17:30:02.497  - info: hm-rega.0 State maintenance 6
                                      2014-11-10 17:30:02.970  - info: dwd.0 starting. Version 0.1.0
                                      2014-11-10 17:30:03.556  - info: dwd.0 setting states
                                      2014-11-10 17:30:08.579  - info: controller instance system.adapter.dwd.0 terminated with code 0
                                      2014-11-10 17:30:32.535  - info: hm-rega.0 State alarms 0
                                      2014-11-10 17:30:32.538  - info: hm-rega.0 State maintenance 6
                                      2014-11-10 17:31:02.559  - info: hm-rega.0 State alarms 0
                                      2014-11-10 17:31:02.562  - info: hm-rega.0 State maintenance 6
                                      

                                      Anscheinend läuft alles.

                                      Habe dann (ohne zu wissen was ich mache) nach Befragen von Tante google mal netstat -tulpen auf der CuBox gestartet:

                                      root@cubox-i:/opt/iobroker# netstat -tulpen
                                      Active Internet connections (only servers)
                                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
                                      tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      104        4302        2483/redis-server
                                      tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      0          5740        2790/io.hm-rpc.0
                                      tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      1000       687         2269/ccu.io
                                      tcp        0      0 0.0.0.0:2101            0.0.0.0:*               LISTEN      1000       713         2269/ccu.io
                                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          680         2661/sshd
                                      tcp        0      0 0.0.0.0:1880            0.0.0.0:*               LISTEN      0          8170        2812/node-red
                                      tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN      0          5873        2798/io.legacy.0
                                      tcp        0      0 0.0.0.0:5984            0.0.0.0:*               LISTEN      105        5490        2224/beam.smp
                                      tcp6       0      0 :::22                   :::*                    LISTEN      0          682         2661/sshd
                                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          4148        1670/dhclient
                                      udp        0      0 192.168.xxx.yyy:123       0.0.0.0:*                           0          4319        2491/ntpd
                                      udp        0      0 127.0.0.1:123           0.0.0.0:*                           0          4318        2491/ntpd
                                      udp        0      0 0.0.0.0:123             0.0.0.0:*                           0          1716        2491/ntpd
                                      udp        0      0 0.0.0.0:26940           0.0.0.0:*                           0          4129        1670/dhclient
                                      udp6       0      0 :::49116                :::*                                0          4130        1670/dhclient
                                      udp6       0      0 fe80::d263:b4ff:fe0:123 :::*                                0          4321        2491/ntpd
                                      udp6       0      0 ::1:123                 :::*                                0          4320        2491/ntpd
                                      udp6       0      0 :::123                  :::*                                0          1717        2491/ntpd
                                      
                                      

                                      Wenn ich das richtig interpretiere lauscht der nicht mehr auf :8081

                                      (:8080 ist ccu.io)

                                      ein apt-get update && apt-get upgrade brachte nichts.

                                      Ein aktuelles ioBroker update ist nicht da.

                                      Soll ich den mal platt machen??

                                      Wäre kein Problem, dann kann ich auch das Manual nochmal live überprüfen.

                                      Gruß

                                      Rainer

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

                                        jetzt habe ich auch mal den cubie mit ./iobroker update

                                        root@cubie:/opt/iobroker# ./iobroker update
                                        Cannot get version of "virtual".
                                        Cannot get version of "geofency".
                                        update done
                                        Adapter    "zwave"         : 0.0.8
                                        Adapter    "yr"            : 0.0.4
                                        Adapter    "websocket"     : 0.0.1
                                        Adapter    "web"           : 0.0.2
                                        Adapter    "virtual"
                                        Adapter    "sonos"         : 0.0.3
                                        Adapter    "rickshaw"      : 0.0.0
                                        Adapter    "pushover"      : 0.0.3
                                        Adapter    "onkyo"         : 0.0.4
                                        Adapter    "telnet"        : 0.0.0
                                        Adapter    "socketio"      : 0.0.1
                                        Adapter    "mqtt"          : 0.1.0
                                        Adapter    "mobile"        : 0.0.2
                                        Adapter    "legacy"        : 0.1.8    , installed 0.1.8
                                        Adapter    "knx"           : 0.0.1
                                        Controller "js-controller" : 0.0.35   , installed 0.0.31 [Updateable]
                                        Adapter    "javascript"    : 0.1.1
                                        Adapter    "hue"           : 0.1.4
                                        Adapter    "hm-rpc"        : 0.2.5    , installed 0.2.5
                                        Adapter    "hm-rega"       : 0.1.8    , installed 0.1.8
                                        Adapter    "history"       : 0.0.7
                                        Adapter    "highcharts"    : 0.0.0
                                        Adapter    "graphite"      : 0.1.0
                                        Adapter    "geofency"
                                        Adapter    "example"       : 0.1.1    , installed 0.1.1
                                        Adapter    "email"         : 0.0.3
                                        Adapter    "dwd"           : 0.1.0    , installed 0.1.0
                                        Adapter    "cul"           : 0.0.2
                                        Adapter    "b-control-em"  : 0.0.3
                                        Adapter    "artnet"        : 0.0.3
                                        Adapter    "admin"         : 0.1.7    , installed 0.1.4 [Updateable]
                                        
                                        ````und ./iobroker upgrade auf den neusetn Stand bringen wollen.
                                        
                                        Immerhin komme ich da noch auf die WebUI - Die Datenpunkte der Geräte sind NICHT da.
                                        
                                        und der errorlog sah so aus:
                                        

                                        npm http GET https://registry.npmjs.org/block-stream/-/block-stream-0.0.7.tgz
                                        npm WARN optional dep failed, continuing node-windows@0.1.7
                                        npm http 200 https://registry.npmjs.org/block-stream/-/block-stream-0.0.7.tgz
                                        npm ERR! Error: ENOTEMPTY, rmdir '/opt/iobroker/node_modules/tar.gz/node_modules'
                                        npm ERR! If you need help, you may report this log at:
                                        npm ERR! <http: github.com/isaacs/npm/issues="">npm ERR! or email it to:
                                        npm ERR! npm-@googlegroups.comnpm ERR! System Linux 3.4.104-sunxi
                                        npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "/opt/iobroker" "--production" "--prefix" "/opt/iobroker"
                                        npm ERR! cwd /opt/iobroker
                                        npm ERR! node -v v0.10.22
                                        npm ERR! npm -v 1.3.14
                                        npm ERR! path /opt/iobroker/node_modules/tar.gz/node_modules
                                        npm ERR! code ENOTEMPTY
                                        npm ERR! errno 53
                                        npm ERR!
                                        npm ERR! Additional logging details can be found in:
                                        npm ERR! /opt/iobroker/npm-debug.log
                                        npm ERR! not ok code 0
                                        Host "cubie" updated
                                        npm http GET https://registry.npmjs.org/minimist/0.0.8
                                        npm http 200 https://registry.npmjs.org/minimist/0.0.8
                                        npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
                                        npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
                                        npm ERR! Error: ENOENT, chmod '/opt/iobroker/node_modules/tar.gz/bin/targz'
                                        npm ERR! If you need help, you may report this log at:
                                        npm ERR! <http: github.com/isaacs/npm/issues="">npm ERR! or email it to:
                                        npm ERR! npm-@googlegroups.comnpm ERR! System Linux 3.4.104-sunxi
                                        npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "/opt/iobroker" "--production" "--prefix" "/opt/iobroker"
                                        npm ERR! cwd /opt/iobroker
                                        npm ERR! node -v v0.10.22
                                        npm ERR! npm -v 1.3.14
                                        npm ERR! path /opt/iobroker/node_modules/tar.gz/bin/targz
                                        npm ERR! code ENOENT
                                        npm ERR! errno 34
                                        npm ERR!
                                        npm ERR! Additional logging details can be found in:
                                        npm ERR! /opt/iobroker/npm-debug.log
                                        npm ERR! not ok code 0
                                        Host "cubie" updated/npm-@googlegroups.com</http:>/npm-@googlegroups.com</http:>

                                        
                                        :(
                                        
                                        Gruß
                                        
                                        Rainer
                                        1 Reply Last reply Reply Quote 0
                                        • Bluefox
                                          Bluefox last edited by

                                          @Homoran:

                                          jetzt habe ich auch mal den cubie mit ./iobroker update

                                          😞

                                          Gruß

                                          Rainer `
                                          Kannst du folgendes ausführen:

                                          cd /opt/iobroker/node_modules/
                                          sudo rm -R *
                                          cd ..
                                          npm install --production
                                          
                                          

                                          Dann sollte das Problem behoben sein.

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

                                            Leider nein,

                                            erst kam ein Fehler:

                                            root@cubie:/opt/iobroker# npm install --production
                                            npm http GET https://registry.npmjs.org/node.extend
                                            npm http GET https://registry.npmjs.org/redis
                                            npm http GET https://registry.npmjs.org/hiredis
                                            npm http GET https://registry.npmjs.org/request
                                            npm http GET https://registry.npmjs.org/winston
                                            npm http GET https://registry.npmjs.org/yargs
                                            npm http GET https://registry.npmjs.org/mime
                                            npm http GET https://registry.npmjs.org/tar.gz
                                            npm http GET https://registry.npmjs.org/node-windows
                                            npm http GET https://registry.npmjs.org/adm-zip
                                            npm http GET https://registry.npmjs.org/daemonize2
                                            npm http GET https://registry.npmjs.org/ncp
                                            npm http GET https://registry.npmjs.org/nano
                                            npm http GET https://github.com/hobbyquaker/node-schedule/tarball/master
                                            npm http 304 https://registry.npmjs.org/node.extend
                                            npm http 304 https://registry.npmjs.org/yargs
                                            npm http 304 https://registry.npmjs.org/hiredis
                                            npm http 304 https://registry.npmjs.org/mime
                                            npm http 304 https://registry.npmjs.org/tar.gz
                                            npm http 304 https://registry.npmjs.org/adm-zip
                                            npm http 200 https://registry.npmjs.org/winston
                                            npm http 200 https://registry.npmjs.org/redis
                                            npm http 200 https://registry.npmjs.org/request
                                            npm http 503 https://registry.npmjs.org/daemonize2
                                            [b][color]npm ERR! registry error parsing json[/color][/b]
                                            npm http 304 https://registry.npmjs.org/ncp
                                            npm http 200 https://github.com/hobbyquaker/node-schedule/tarball/master
                                            npm http 304 https://registry.npmjs.org/node-windows
                                            npm http 200 https://registry.npmjs.org/nano
                                            npm http GET https://registry.npmjs.org/daemonize2
                                            npm http 304 https://registry.npmjs.org/daemonize2
                                            npm WARN optional dep failed, continuing node-windows@0.1.7
                                            npm http GET https://registry.npmjs.org/is
                                            npm http 304 https://registry.npmjs.org/is
                                            npm http GET https://registry.npmjs.org/fstream
                                            npm http GET https://registry.npmjs.org/tar
                                            npm http GET https://registry.npmjs.org/commander
                                            npm http 304 https://registry.npmjs.org/fstream
                                            npm http 304 https://registry.npmjs.org/tar
                                            npm http 304 https://registry.npmjs.org/commander
                                            npm http GET https://registry.npmjs.org/keypress
                                            npm http 304 https://registry.npmjs.org/keypress
                                            npm http GET https://registry.npmjs.org/node-uuid
                                            npm http GET https://registry.npmjs.org/aws-sign2
                                            npm http GET https://registry.npmjs.org/stringstream
                                            npm http GET https://registry.npmjs.org/tough-cookie
                                            npm http GET https://registry.npmjs.org/form-data
                                            npm http GET https://registry.npmjs.org/tunnel-agent
                                            npm http GET https://registry.npmjs.org/http-signature
                                            npm http GET https://registry.npmjs.org/oauth-sign
                                            npm http GET https://registry.npmjs.org/hawk/1.1.1
                                            npm http GET https://registry.npmjs.org/qs
                                            npm http GET https://registry.npmjs.org/json-stringify-safe
                                            npm http GET https://registry.npmjs.org/mime-types
                                            npm http GET https://registry.npmjs.org/forever-agent
                                            npm http GET https://registry.npmjs.org/minimist
                                            npm http 304 https://registry.npmjs.org/aws-sign2
                                            npm http 304 https://registry.npmjs.org/stringstream
                                            npm http 304 https://registry.npmjs.org/tough-cookie
                                            npm http 304 https://registry.npmjs.org/tunnel-agent
                                            npm http 304 https://registry.npmjs.org/oauth-sign
                                            npm http 200 https://registry.npmjs.org/node-uuid
                                            npm http 304 https://registry.npmjs.org/hawk/1.1.1
                                            npm http 200 https://registry.npmjs.org/form-data
                                            npm http 304 https://registry.npmjs.org/qs
                                            npm http 304 https://registry.npmjs.org/http-signature
                                            npm http 304 https://registry.npmjs.org/json-stringify-safe
                                            npm http 200 https://registry.npmjs.org/mime-types
                                            npm http 304 https://registry.npmjs.org/forever-agent
                                            npm http GET https://registry.npmjs.org/graceful-fs
                                            npm http GET https://registry.npmjs.org/inherits
                                            npm http GET https://registry.npmjs.org/mkdirp
                                            npm http GET https://registry.npmjs.org/rimraf
                                            npm http 200 https://registry.npmjs.org/minimist
                                            npm http 304 https://registry.npmjs.org/inherits
                                            npm http 304 https://registry.npmjs.org/mkdirp
                                            npm http 304 https://registry.npmjs.org/graceful-fs
                                            npm http 304 https://registry.npmjs.org/rimraf
                                            npm http GET https://registry.npmjs.org/combined-stream
                                            npm http GET https://registry.npmjs.org/async
                                            npm http GET https://registry.npmjs.org/nan
                                            npm http GET https://registry.npmjs.org/bindings
                                            npm http 304 https://registry.npmjs.org/combined-stream
                                            npm http 200 https://registry.npmjs.org/async
                                            npm http 200 https://registry.npmjs.org/nan
                                            npm http 304 https://registry.npmjs.org/bindings
                                            npm http GET https://registry.npmjs.org/block-stream
                                            npm http 304 https://registry.npmjs.org/block-stream
                                            npm http GET https://registry.npmjs.org/assert-plus/0.1.2
                                            npm http GET https://registry.npmjs.org/asn1/0.1.11
                                            npm http GET https://registry.npmjs.org/ctype/0.5.2
                                            npm http 304 https://registry.npmjs.org/asn1/0.1.11
                                            npm http
                                            
                                            

                                            Dann blieb er hängen.

                                            sonst mach ich den auch noch platt - aber nicht mehr heute 😉

                                            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

                                            927
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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