Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [iot-Aktion] iot-Adapter verbindet sich nicht bzw Verbindung ist "gelb"

    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

    [iot-Aktion] iot-Adapter verbindet sich nicht bzw Verbindung ist "gelb"

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

      Die Warnungen beim install können von install via cloud kommen

      Die zweite Meldung weißt für mich auf ein smart gerät hin was keine vollständige Definition hat. Am besten hier GitHub issue beim Iot Adapter anlegen. Sehe ich aber zum ersten Mal.

      Zu EAI_AGAIN

      EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.

      Hat dein lokales System ein DNS Problem?

      Gesendet vom Handy …

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

        Hallo,

        ich habe den iot Adapter installiert, alles wie beschrieben konfiguriert, aber leider lässt sich dieser nicht starten. Anbei das Log

        ` > 2018-12-29 14:25:12.210 - info: host.raspberrypi instance system.adapter.iot.0 started with pid 4043

        2018-12-29 14:25:12.760 - error: Caught by controller[0]: /opt/iobroker/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js:1

        2018-12-29 14:25:12.761 - error: Caught by controller[0]: (function (exports, require, module, __filename, __dirname) { {"name":"hoek","description":"General purpose node utilities","version":"4.2.0","repository":{"type":"git","url":"git://github.com/hapijs/hoek.git"},"main":"lib/index.js","keywords":["utilities"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"code":"4.x.x","lab":"13.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -t 100 -L -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"1db691bc84ae059321146b83e03889adf36c8ef4","bugs":{"url":"https://github.com/hapijs/hoek/issues

        2018-12-29 14:25:12.761 - error: Caught by controller[0]: SyntaxError: Unexpected token :

        2018-12-29 14:25:12.761 - error: Caught by controller[0]: at new Script (vm.js:79:7)

        2018-12-29 14:25:12.761 - error: Caught by controller[0]: at createScript (vm.js:251:10)

        2018-12-29 14:25:12.761 - error: Caught by controller[0]: at Object.runInThisContext (vm.js:303:10)

        2018-12-29 14:25:12.762 - error: Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:657:28)

        2018-12-29 14:25:12.762 - error: Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)

        2018-12-29 14:25:12.762 - error: Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:599:32)

        2018-12-29 14:25:12.762 - error: Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

        2018-12-29 14:25:12.762 - error: Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:530:3)

        2018-12-29 14:25:12.762 - error: Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:637:17)

        2018-12-29 14:25:12.762 - error: Caught by controller[0]: at require (internal/modules/cjs/helpers.js:22:18)

        2018-12-29 14:25:12.762 - error: host.raspberrypi instance system.adapter.iot.0 terminated with code 1 () `

        Was kann hier das Problem sein?

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

          Problem gelöst. Ich habe ioBroker noch einmal neu installiert, diesmal allerdings mit nodejs 8. Vorher hatte ich die Version 10 installiert

          1 Reply Last reply Reply Quote 0
          • P
            pandel last edited by

            Moin zusammen!

            Ich habe seit gerade das Problem, dass der iot Adapter auf "gelb" stehen bleibt. Im Log steht nur

            2018-12-30 02:35:27.673  - info: iot.0 starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.iot, node: v8.15.0
            2018-12-30 02:35:27.713  - info: iot.0 Connecting with KEY.iot.eu-west-1.amazonaws.com
            2018-12-30 02:35:28.423  - error: iot.0 {}
            

            Was hab ich gemacht:

            • zwei Szenen umbenannt (Beispiel: aus 0.nr wurde Nachtruhe, d. h. scene.0.nr -> scene.Nachtruhe)

            • in der iot Konfiguration kontrolliert, ob die Umbenennung angekommen ist, jop

            • mit Alexa die Geräte neu gesucht, dabei festgestellt, dass beide Szenen jetzt nicht mehr gefunden werden

            • Geräte in den iot Einstellungen gelöscht

            • die beiden Szenen wieder zurück umbenannt

            • Geräte in den iot Einstellungen wieder hinzugefügt

            • neu gesucht, aber nix

            • iobroker gestoppt und wieder gestartet, seitdem auf gelb

            Dann hab ich noch versucht, die beiden Szenen aus der iot Konfiguration zu entfernen, was auch geklappt hat, aber das Ding bleibt hartnäckig auf gelb. Komischerweise kann ich KEY.iot.eu-west-1.amazonaws.com auch nicht anpingen, ein nslookup funktioniert jedoch. Kann ich iwie prüfen, ob das zufällig gerade mit nem Problem bei Amazon zu tun hat??? Ich weiß auch leider nicht, wie ich es zu noch mehr Logausgaben zwingen könnte…

            Hat wer vielleicht eine Idee? Es hat bis ich auf die Idee mit der Umbenennung kam, so schön funktioniert, ich könnt kotzen 😞

            Lg, Holger

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

              Mehr Logzeilen gibt es nicht?

              Gruß,

              Eric

              Von unterwegs getippert

              1 Reply Last reply Reply Quote 0
              • P
                pandel last edited by

                Nein, leider nicht :roll:

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

                  Seltsam … nach der unteren Zeile hätte ich noch weitere Infos erhofft.

                  Auch keine weiteren Zeilen, die nicht vom Iot, sondern z.B. von ioBroker kommt? Poste doch einfach ein paar mehr Zeilen (kostet ja nix).

                  Gruß,

                  Eric

                  Von unterwegs getippert

                  1 Reply Last reply Reply Quote 0
                  • P
                    pandel last edited by

                    Na klar, da kommen noch weitere Zeilen, aber das sind nur die üblichen Infos, connects meiner Sonoffs, etc., sonst nix relevantes.

                    Es kommen nur Meldungen dazu, wenn ich im Adapter in den Einstellungen bin, die sehen dann so aus:

                    iot.0	2018-12-30 03:28:50.778	info	Request enums
                    iot.0	2018-12-30 03:28:37.477	info	Request V3 devices
                    iot.0	2018-12-30 03:28:37.398	info	Request devices
                    

                    Das ist aber auch nix besonderes - ich verstehe es einfach nicht. Fühlt sich so an, als wär die Skill-Instanz bei Amazon abgeraucht und nähme keine Anfragen mehr an oder so… ist aber nur Gelaber, weil ich absolut null Plan davon hab, wie der ganze Skill Kram überhaupt funktioniert...

                    Ich geh erstmal pennen. Danke für die späten Erste-Hilfe-Versuche 😉 - vielleicht hat sich's ja bis morgen erholt.

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

                      Bitte mal versuchen die Verbindungszertifikate erneut auszutauschen über iot Adapter Konfiguration

                      1 Reply Last reply Reply Quote 0
                      • P
                        pandel last edited by

                        Habe den Button gedrückt. Jetzt kommt:

                        2018-12-30 13:59:23.380  - info: host.autopi instance system.adapter.iot.0 terminated with code 0 (OK)
                        2018-12-30 13:59:25.854  - info: host.autopi instance system.adapter.iot.0 started with pid 27744
                        2018-12-30 13:59:28.131  - info: iot.0 starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.iot, node: v8.15.0
                        2018-12-30 13:59:28.168  - info: iot.0 Connecting with KEY.iot.eu-west-1.amazonaws.com
                        2018-12-30 13:59:29.781  - error: iot.0 Cannot fetch keys: "Internal server error"
                        2018-12-30 13:59:29.784  - error: iot.0 {}
                        

                        EDIT: Key unkenntlich gemacht; Homoran; Admin

                        1 Reply Last reply Reply Quote 0
                        • P
                          pandel last edited by

                          Jetzt habe ich den Adapter mal wirklich auf DEBUG gestellt (hatte bis gerade keine Ahnung, wie das geht)… Starte den ganze Krempel mal neu und poste dann erst neue Logausgaben...

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

                            Bitte auch mal E-Mail Adresse des pro Accounts an mich per pn. Danke

                            Gesendet vom Handy …

                            1 Reply Last reply Reply Quote 0
                            • P
                              pandel last edited by

                              PN ist raus.

                              Hier der Logauszug vom Restart inkl. Debugs vom iot Adapter.

                              ! iot.0 2018-12-30 14:17:47.852 debug system.adapter.admin.0: logging true iot.0 2018-12-30 14:16:41.926 error {} iot.0 2018-12-30 14:16:41.924 error Cannot fetch keys: "Internal server error" iot.0 2018-12-30 14:16:41.245 debug Created entertainment ALEXA device: Commands iot.0 2018-12-30 14:16:41.245 debug Created entertainment ALEXA device: Player iot.0 2018-12-30 14:16:41.242 debug Invalid state "rpi2.0.wlan.wifi_send". Not exist or no native part. iot.0 2018-12-30 14:16:41.242 debug Invalid state "rpi2.0.wlan.wifi_received". Not exist or no native part. iot.0 2018-12-30 14:16:41.242 debug Invalid state "rpi2.0.uptime.uptime". Not exist or no native part. iot.0 2018-12-30 14:16:41.242 debug Invalid state "rpi2.0.temperature.soc_temp". Not exist or no native part. iot.0 2018-12-30 14:16:41.242 debug Invalid state "rpi2.0.swap.swap_used". Not exist or no native part. iot.0 2018-12-30 14:16:41.241 debug Invalid state "rpi2.0.swap.swap_total". Not exist or no native part. iot.0 2018-12-30 14:16:41.241 debug Invalid state "rpi2.0.sdcard.sdcard_boot_used". Not exist or no native part. iot.0 2018-12-30 14:16:41.241 debug Invalid state "rpi2.0.sdcard.sdcard_root_used". Not exist or no native part. iot.0 2018-12-30 14:16:41.241 debug Invalid state "rpi2.0.sdcard.sdcard_boot_total". Not exist or no native part. iot.0 2018-12-30 14:16:41.241 debug Invalid state "rpi2.0.sdcard.sdcard_root_total". Not exist or no native part. iot.0 2018-12-30 14:16:41.240 debug Invalid state "rpi2.0.network.net_send". Not exist or no native part. iot.0 2018-12-30 14:16:41.240 debug Invalid state "rpi2.0.network.net_received". Not exist or no native part. iot.0 2018-12-30 14:16:41.240 debug Invalid state "rpi2.0.memory.memory_available". Not exist or no native part. iot.0 2018-12-30 14:16:41.240 debug Invalid state "rpi2.0.memory.memory_free". Not exist or no native part. iot.0 2018-12-30 14:16:41.240 debug Invalid state "rpi2.0.memory.memory_total". Not exist or no native part. iot.0 2018-12-30 14:16:41.240 debug Invalid state "rpi2.0.cpu.scaling_governor". Not exist or no native part. iot.0 2018-12-30 14:16:41.239 debug Invalid state "rpi2.0.cpu.load15". Not exist or no native part. iot.0 2018-12-30 14:16:41.239 debug Invalid state "rpi2.0.cpu.load5". Not exist or no native part. iot.0 2018-12-30 14:16:41.239 debug Invalid state "rpi2.0.cpu.load1". Not exist or no native part. iot.0 2018-12-30 14:16:41.239 debug Invalid state "rpi2.0.cpu.cpu_frequency". Not exist or no native part. iot.0 2018-12-30 14:16:41.237 debug Invalid state "sonoff.0.sonoff_badspiegel_links.alive". Not exist or no native part. iot.0 2018-12-30 14:16:41.236 debug Invalid state "sonoff.0.sonoff_lavalampe.alive". Not exist or no native part. iot.0 2018-12-30 14:16:41.236 debug Invalid state "sonoff.0.sonoff_wandadapter_1.alive". Not exist or no native part. iot.0 2018-12-30 14:16:41.236 debug Invalid state "sonoff.0.sonoff_badspiegel_rechts.alive". Not exist or no native part. iot.0 2018-12-30 14:16:41.236 debug Invalid state "sonoff.0.sonoff_wandadapter_2.alive". Not exist or no native part. iot.0 2018-12-30 14:16:41.234 debug Name "Player" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.127 debug Fetching keys... iot.0 2018-12-30 14:16:41.117 debug Created ALEXA device: Audio Streaming ["setPercentage","incrementPercentage","decrementPercentage","turnOn","turnOff"] iot.0 2018-12-30 14:16:41.116 debug Created ALEXA device: Fernseher ["setPercentage","incrementPercentage","decrementPercentage","turnOn","turnOff"] iot.0 2018-12-30 14:16:41.116 debug Created ALEXA device: IKEA Stehlampe ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.116 debug Created ALEXA device: Ikealampe ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.116 debug Created ALEXA device: Lavalampe ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.116 debug Created ALEXA device: Nachtruhe ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.115 debug Created ALEXA device: Stehlampe im Esszimmer ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.115 debug Created ALEXA device: Wohnzimmerlicht ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.115 debug Created ALEXA device: linken Spiegel im Bad ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.115 debug Created ALEXA device: rechten Spiegel im Bad ["turnOn","turnOff"] iot.0 2018-12-30 14:16:41.114 debug Name "sonoff_wandadapter_1 Uptime" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.113 debug Name "sonoff_wandadapter_1 INFO Version" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.113 debug Name "sonoff_wandadapter_1 INFO RestartReason" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.113 debug Name "sonoff_wandadapter_1 INFO Module" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.113 debug Name "sonoff_wandadapter_1 INFO IPAddress" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.112 debug Name "sonoff_wandadapter_1 INFO Hostname" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.111 debug Name "sonoff_lavalampe Uptime" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.111 debug Name "sonoff_lavalampe INFO Version" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.110 debug Name "sonoff_lavalampe INFO RestartReason" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.110 debug Name "sonoff_lavalampe INFO Module" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.110 debug Name "sonoff_lavalampe INFO IPAddress" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.110 debug Name "sonoff_lavalampe INFO Hostname" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.108 debug Name "sonoff_badspiegel_rechts Uptime" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.108 debug Name "sonoff_badspiegel_rechts INFO Version" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.108 debug Name "sonoff_badspiegel_rechts INFO RestartReason" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.108 debug Name "sonoff_badspiegel_rechts INFO Module" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.107 debug Name "sonoff_badspiegel_rechts INFO IPAddress" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.107 debug Name "sonoff_badspiegel_rechts INFO Hostname" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.106 debug Name "sonoff_badspiegel_links Uptime" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.105 debug Name "sonoff_badspiegel_links INFO Version" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.105 debug Name "sonoff_badspiegel_links INFO RestartReason" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.104 debug Name "sonoff_badspiegel_links INFO Module" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.104 debug Name "sonoff_badspiegel_links INFO IPAddress" cannot be written and will be ignored iot.0 2018-12-30 14:16:41.103 debug Name "sonoff_badspiegel_links INFO Hostname" cannot be written and will be ignored iot.0 2018-12-30 14:16:40.497 info Connecting with KEY.iot.eu-west-1.amazonaws.com iot.0 2018-12-30 14:16:40.461 info starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.iot, node: v8.15.0 iot.0 2018-12-30 14:16:40.279 debug statesDB connected iot.0 2018-12-30 14:16:40.213 debug objectDB connected !

                              Gruß

                              Holger

                              EDIT: noch mal Key unkenntlich gemacht; Homoran; Admin

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

                                Can not fetch keys heißt an sich das ggf Dir Login Daten falsch sind. Bitte gib die nochmal ein und checke auch das du mit dem was du eingibst dich auf iobroker.pro einloggen kannst.

                                Gesendet vom Handy …

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pandel last edited by

                                  DARF NICHT WAHR SEIN!

                                  Das Neueingeben des Kennworts hat geholfen 😄 ! Perfekt! Tausend Dank!

                                  Ich hätte das nicht ausprobiert, weil ich an der Stelle ja gar nichts geändert hatte. Sehr merkwürdig, aber egal. Beim nächsten Mal probiere ich das sofort - danke für die Lernstunde! Alexa hat auch schon alles geänderte sauber gefunden.

                                  Allen einen Guten Rutsch!

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

                                    Irgendwas kann da aber nicht stimmen.

                                    Habe die letzen Tage nichts geändert und heute auf einmal der IoT Adapter auf gelb.

                                    Habe den Alexa Skill deaktiviert und wieder aktiviert hat nichts gebracht.

                                    Auch das neu anfordern des Verbindungszertifikats hat nichts gebracht.

                                    Jetzt habe ich mein Passwort neu eingegeben und komischerweise klappt es jetzt wieder.

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

                                      Legt bitte mal beim iot adapter ein issue an. Nicht das das Passwort nicht sauber persistiert wird.

                                      Gesendet vom Handy …

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        schotte last edited by

                                        kann bestätigen, bei mir lief alles bis heute, dann

                                        Cannot fetch keys: "Internal server error"

                                        skill neustart brachte nichts, password gelöscht und neu eingegeben und voila - läuft wieder.

                                        danke für die infos.

                                        schotte

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dirkhe Developer last edited by

                                          Hallo,

                                          Ich habe dassselbe Problem und habe mal debugged: In der main.js, Zeile 647:

                                                  }).catch(e => {
                                                      adapter.log.error(JSON.stringify(e));
                                          
                                                      if (e === 'timeout' && retry < 10) {
                                                          setTimeout(() => startDevice(clientId, login, password, retry + 1), 10000);
                                                      }
                                                  });
                                          

                                          e ist in diesem Fall:

                                          Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
                                          message:"error:0906D06C:PEM routines:PEM_read_bio:no start line"
                                          stack:"Error: error:0906D06C:PEM routines:PEM_read_bio:no start line\n    at Object.createSecureContext (_tls_common.js:124:17)\n    at Object.exports.connect (_tls_wrap.js:1131:48)\n    at Object.buildBuilder [as mqtts] (/opt/iobroker/node_modules/aws-iot-device-sdk/device/lib/tls.js:26:21)\n    at MqttClient._wrapper [as streamBuilder] (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:636:33)\n    at MqttClient._setupStream (/opt/iobroker/node_modules/mqtt/lib/client.js:246:22)\n    at new MqttClient (/opt/iobroker/node_modules/mqtt/lib/client.js:227:8)\n    at new DeviceClient (/opt/iobroker/node_modules/aws-iot-device-sdk/device/index.js:639:17)\n    at readKeys.catch.then.catch.then.key (/opt/iobroker/node_modules/iobroker.iot/main.js:526:22)\n    at process._tickCallback (internal/process/next_tick.js:178:7)"
                                          
                                          

                                          Stringify gibt aber nur {} aus

                                          Vlt. sollte man prüfen auf e.message und dann diese ausgeben, hilf dann zumindest schon mal bei der Fehlersuche.

                                          Edit:

                                          In diesem Fall brauchte ich nur das Zertifikat erneuern.

                                          gruss

                                          Dirk

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

                                            Super Erkenntnis. Ja logging von error Objekten ist manchmal blöd. Machst du mal ein github issue bzw nen pr draus?

                                            Gesendet vom Handy …

                                            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

                                            934
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            15
                                            48
                                            7320
                                            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