Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere)

    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

    [Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere)

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

      Hallo,

      mein Tuya Adapter bleibt leider gelb.
      Das Einbinden ging ohne Probleme (QRCode)
      Die Geräte werden auch im Iobroker angezeigt
      Das Log vom Iobroker

      host.RHM-IObroker-01	2019-06-07 16:39:10.955	info	Restart adapter system.adapter.tuya.0 because enabled
      host.RHM-IObroker-01	2019-06-07 16:39:10.955	error	instance system.adapter.tuya.0 terminated with code 0 (OK)
      host.RHM-IObroker-01	2019-06-07 16:39:10.955	error	Caught by controller[0]: port: 6666 }
      host.RHM-IObroker-01	2019-06-07 16:39:10.955	error	Caught by controller[0]: address: '0.0.0.0',
      host.RHM-IObroker-01	2019-06-07 16:39:10.955	error	Caught by controller[0]: syscall: 'bind',
      host.RHM-IObroker-01	2019-06-07 16:39:10.955	error	Caught by controller[0]: errno: 'EADDRINUSE',
      host.RHM-IObroker-01	2019-06-07 16:39:10.954	error	Caught by controller[0]: code: 'EADDRINUSE',
      host.RHM-IObroker-01	2019-06-07 16:39:10.954	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:180:9)
      host.RHM-IObroker-01	2019-06-07 16:39:10.954	error	Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:141:11)
      host.RHM-IObroker-01	2019-06-07 16:39:10.954	error	Caught by controller[0]: at _handle.lookup (dgram.js:266:18)
      host.RHM-IObroker-01	2019-06-07 16:39:10.954	error	Caught by controller[0]: at _exceptionWithHostPort (util.js:1044:20)
      host.RHM-IObroker-01	2019-06-07 16:39:10.954	error	Caught by controller[0]: at Object._errnoException (util.js:1022:11)
      host.RHM-IObroker-01	2019-06-07 16:39:10.953	error	Caught by controller[0]: { Error: bind EADDRINUSE 0.0.0.0:6666
      host.RHM-IObroker-01	2019-06-07 16:39:05.110	info	instance system.adapter.tuya.0 started with pid 788
      

      Woran kann es liegen?

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

        Kann es sein das der Adapter doppelt läuft? Irgendetwas blockiert Port 6666 auf dem Host ... das muss weg

        K 1 Reply Last reply Reply Quote 0
        • K
          krodon @apollon77 last edited by krodon

          @apollon77

          Du hattest recht, reboot tut gut.
          Der Adapter ist kurz mal grün gewesen, dann wieder auf rot.
          Dies konnte ich im Log finden

          tuya.0	2019-06-07 17:29:44.125	info	06200282b4e62d1adf77: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
          tuya.0	2019-06-07 17:29:44.109	info	06200282b4e62d1adf77 Init with IP=192.168.1.81, Key=undefined
          tuya.0	2019-06-07 17:29:41.627	info	Discover for local Tuya devices on port 6666
          tuya.0	2019-06-07 17:29:41.616	info	Existing devices initialized
          tuya.0	2019-06-07 17:29:41.615	info	328214383c71bf311f48: Can not start because IP unknown
          tuya.0	2019-06-07 17:29:41.508	info	starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.11.1
          tuya.0	2019-06-07 17:29:41.351	info	States connected to redis: 127.0.0.1:6379
          
          

          Ich habe noch mal einen Sync gemacht, nun ist es gelb

          tuya.0	2019-06-07 17:41:08.491	info	328214383c71bf311f48: Can not start because IP unknown
          tuya.0	2019-06-07 17:41:08.441	info	{"schema":"[{\"mode\":\"rw\",\"code\":\"status\",\"name\":\"窗帘状态\",\"property\":{\"range\":[\"1\",\"2\",\"3\"],\"type\":\"enum\"},\"id\":1,\"type\":\"obj\",\"desc\":\"开 关 暂停\"}]","schemaExt":"[]"}
          tuya.0	2019-06-07 17:41:08.440	info	new Shema added for product type MA6aYCAx1vYF4pH7. Please send next line from logfile on disk to developer!
          
          
          lobomau 1 Reply Last reply Reply Quote 0
          • lobomau
            lobomau @krodon last edited by

            @krodon sagte in [Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere):

            @apollon77

            Du hattest recht, reboot tut gut.
            Der Adapter ist kurz mal grün gewesen, dann wieder auf rot.
            Dies konnte ich im Log finden

            tuya.0	2019-06-07 17:29:44.125	info	06200282b4e62d1adf77: No local encryption key available, get data using polling, controlling of device NOT possibe. Please sync with App!
            tuya.0	2019-06-07 17:29:44.109	info	06200282b4e62d1adf77 Init with IP=192.168.1.81, Key=undefined
            tuya.0	2019-06-07 17:29:41.627	info	Discover for local Tuya devices on port 6666
            tuya.0	2019-06-07 17:29:41.616	info	Existing devices initialized
            tuya.0	2019-06-07 17:29:41.615	info	328214383c71bf311f48: Can not start because IP unknown
            tuya.0	2019-06-07 17:29:41.508	info	starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.tuya, node: v8.11.1
            tuya.0	2019-06-07 17:29:41.351	info	States connected to redis: 127.0.0.1:6379
            
            

            Ich habe noch mal einen Sync gemacht, nun ist es gelb

            tuya.0	2019-06-07 17:41:08.491	info	328214383c71bf311f48: Can not start because IP unknown
            tuya.0	2019-06-07 17:41:08.441	info	{"schema":"[{\"mode\":\"rw\",\"code\":\"status\",\"name\":\"窗帘状态\",\"property\":{\"range\":[\"1\",\"2\",\"3\"],\"type\":\"enum\"},\"id\":1,\"type\":\"obj\",\"desc\":\"开 关 暂停\"}]","schemaExt":"[]"}
            tuya.0	2019-06-07 17:41:08.440	info	new Shema added for product type MA6aYCAx1vYF4pH7. Please send next line from logfile on disk to developer!
            
            

            Dann hast du ein Gerät, dass noch nicht geht. Du musst die Zeile auf GitHub als issue anlegen auf https://github.com/Apollon77/ioBroker.tuya

            K 1 Reply Last reply Reply Quote 0
            • K
              krodon @lobomau last edited by

              Dann hast du ein Gerät, dass noch nicht geht. Du musst die Zeile auf GitHub als issue anlegen auf https://github.com/Apollon77/ioBroker.tuya

              Danke!
              Aber ein neues Gerät glaube ich nicht, hier ist es schon in Betrieb, oder wurde evtl. die Firmware geändert?
              https://www.youtube.com/watch?v=DFrnoPjsQPk

              lobomau 1 Reply Last reply Reply Quote 0
              • lobomau
                lobomau @krodon last edited by

                @krodon achso. Wenn es mit dem Gerät schon lief ist es was anderes. Aber wie du sagtest eventuell durch Firmware Änderung.

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

                  Die Meldungen im log ermöglichen mir die Gerätetypen im Adapter zu hinterlegen das neue User Gleich die richtigen State Typen bekommen. Das Gerät geht an sich mach Proxy Sync immer - es sei denn es ist keine IP da ... dazu siehe mehrfach weiter oben.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DirkS last edited by

                    Gibt es inzwischen schon Neuigkeiten, wenn die neue API integriert wird? Die Tuyapi wurde letztens in Version 5.0 veröffentlicht. Aber in den Release Notes steht nichts von neuer Firmwares... 😞

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

                      Es scheint wir sind nah dran. Die 5.1 wird das wohl können. Einen PR gibts der aktuell geprüft wird.

                      Das Problem ist das ich kein solches Gerät habe und die testerei damit seeehr schwierig und langwierig wird. Und blind programmieren macht keinen Spaß. Hat ggf jemand ein Gerät mit neuer Firmware „übrig“ welches er zur Verfügung stellen kann? Wenn ja bitte unter iobroker@fischer-ka.de melden.

                      K 1 Reply Last reply Reply Quote 0
                      • D
                        DirkS last edited by

                        Ich vermute es reicht nicht aus nur die Referenz zu tauschen. Habe mit meinem gefährlichen Halbwissen mal einen Fork erstellt und nur die Abhängigkeit der Tuyapi auf 5.1.1. gestellt. Dann über das Katzensymbol die URL auf meinen Fork gestellt. Leider keine Änderung. Oder müsste ich das Gerät neu anlernen?

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

                          Jetzt rate mal warum ich sage das ich es testen muss sobald die neue Version (seit letzter Nacht) da ist Die es wohl kann. Der Adapter nutzt noch eine ältere Version der lib und ich muss mir das jetzt in Ruhe ansehen was man wie ändern muss. Schnellschüsse bringen niemandem was! Wie haben jetzt recht lange warten müssen gebt mir bitte noch ein paar Tage Zeit und habt Geduld!

                          Es sei denn jemand kann programmieren, versteht den Adapter und liefert einen PR.

                          Danke

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

                            @DirkS und ja das kann so nicht tun. Es braucht noch eine weitere Änderung.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              DirkS @apollon77 last edited by

                              Die Aktion war nicht aus Ungeduld getrieben, sondern eher ein Testen, wie so etwas gehen könnte. Hatte es ja noch nicht probiert. Also forken und in iobroker einbinden. Zudem sind in js nur ein paar Basics vorhanden, die teilweise schon 10 Jahre "alt" sind, als ich noch Webseiten programmierte.

                              1 Reply Last reply Reply Quote 0
                              • K
                                krodon @apollon77 last edited by

                                @apollon77 said in [Aufruf] Neuer Adapter ioBroker.tuya (WLAN devices Tuya Smart Life und andere):

                                Es scheint wir sind nah dran. Die 5.1 wird das wohl können. Einen PR gibts der aktuell geprüft wird.

                                Das Problem ist das ich kein solches Gerät habe und die testerei damit seeehr schwierig und langwierig wird. Und blind programmieren macht keinen Spaß. Hat ggf jemand ein Gerät mit neuer Firmware „übrig“ welches er zur Verfügung stellen kann? Wenn ja bitte unter iobroker@fischer-ka.de melden.

                                Du hast eine Mail 😉

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

                                  Super, Danke. Ich denke bis zum Wochenende habe Ich was zum testen und wie neben dem Geburtstag meiner Tochter Zeit ist schaue ich mir das mal an und arbeite noch die ganzen anderen ab.

                                  D K 2 Replies Last reply Reply Quote 1
                                  • D
                                    DirkS @apollon77 last edited by

                                    @apollon77 👍

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

                                      Hallo zusammen.

                                      Ich habe die Birnen von Teckin im Einsatz. Sie werden erkannt, jedoch kann ich diese nicht schalten. Die Verbindung wechselt zwischen Online/Offline hin und her. Steckdosen sind von Aisierer. Diese lassen sich einwandfrei schalten.

                                      Hat jemand ebenfalls Birnen von Teckin im Einsatz oder kann helfen? Über Antworten würde ich mich sehr freuen.

                                      VG
                                      Martin

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        krodon @apollon77 last edited by

                                        @apollon77 👍 👍

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

                                          Achja: könnte sich etwas verzögern weil Amazon den Alexa2 kaputt gemacht hat. Der hat Prio weil mehr User betroffen sind ... aber tuya kommt danach.

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

                                            Soooo ... für alle Experimentierfreudigen: https://forum.iobroker.net/topic/23431/aufruf-tuya-adapter-tests-verschlüsselte-geräte

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            729
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            547
                                            149308
                                            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