Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test js-controller v2.0.x (GitHub)

    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

    Test js-controller v2.0.x (GitHub)

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

      @Nuggelbeb Ok, was genau heisst "Wenn ich Multihost einstelle"? Was läuft denn dann wo? Wo läuft der Admin? Logs? Gggf lass Admin mal im Debug laufen

      ? 1 Reply Last reply Reply Quote 0
      • D
        darkiop Most Active last edited by

        @apollon77

        iobroker state del
        

        löscht den Inhalt eines States, nicht den State selbst - ist aber auch unter 1.5 so.

        In der Doku steht:

        4b3c7985-b26b-4e1d-9960-6de0458e95ac-grafik.png

        Wäre auch meine Erwartung an die Funktion (bin gerade etwas leidvoll dabei ~30.000 States des Unifi Adapters zulöschen :))

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

          Dann bist du bei state falsch. Object ist dann richtig. Das sollte Objekt und State löschen.

          Iobroker object del name

          D 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @apollon77 last edited by A Former User

            @apollon77

            Ja Multihost 2 Raspberry, einer Master, einer Client.
            1.JPG

            Master ist ein Raspberry 4 mit 4GB RAM, auf diesem läuft der Admin, Logs und ein paar Instanzen.

            Auf dem Client, dieser ist ein Raspberry 2B mit 1 GB RAM, läuft Zigbee, Backup und Javaskript.

            Schicke dir gleich die JSON Datei. Puh, wie kann ich dir persönlich die Datei senden? Hier in den Thread? Im Prinzip sind dort nur sogenannte Aktoren. Ich glaube nicht, dass es an diesem Ordner liegt.

            apollon77 1 Reply Last reply Reply Quote 0
            • E
              e-i-k-e last edited by

              @Bluefox @apollon77

              vis-justgage läuft! 👍

              vis1.JPG

              1 Reply Last reply Reply Quote 1
              • D
                darkiop Most Active @apollon77 last edited by

                @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

                Dann bist du bei state falsch. Object ist dann richtig. Das sollte Objekt und State löschen.
                Iobroker object del name

                🤦‍♂️ 😄

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

                  @apollon77
                  das ist genau das, was ich nicht hören wollte....
                  Gut, dann warte ich noch......

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

                    @AlCalzone sagte in [Aufruf] js-controller 2.0 Beta Test:

                    @lobomau sagte in [Aufruf] js-controller 2.0 Beta Test:

                    Hat den jemand im Einsatz und hat Probleme seit js-controller 2.x?

                    Habs gerade nochmal bei mir probiert. Keine Probleme. Wüsste auch nicht, was Controller 2.0 damit zu tun haben könnte.

                    Eben funktionierte es wieder ohne Probleme. Vielleicht hatte der Schalter einen schlechten Tag.

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

                      @MathiasJ warum wolltest du master updaten aber slaves nicht?
                      Also warten ist relativ 😉 Vorauss. Morgen kommt noch ein Update und Richtung Wochenende kommt die Version ins latest ... so wäre der aktuelle Plan.

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

                        @Nuggelbeb iobroker@fischer-ka.de

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

                          @apollon77
                          Weil ich befürchte, daß Radar nicht mehr funktioniert.
                          Radar2 läuft auf dem Slave, deshalb wollte ich nur den Master updaten. Das geht aber nicht.
                          Deshalb warte ich noch ein bisschen.
                          Außerdem habe ich da noch eine andere Baustelle beim Wetter.......

                          apollon77 2 Replies Last reply Reply Quote 0
                          • apollon77
                            apollon77 @MathiasJ last edited by

                            @MathiasJ für radar2 gibt es die 1.0.9 die alles fixt. Die installieren und gut. Für broadlink2 fehlt noch eine Version. Aber da bereite ich heute meinen fork vor so dass man davon installieren kann.

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

                              @MathiasJ Baustelle beim Wetter? Mit Controller 2.0?

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

                                nein, eine andere Baustelle, darum habe ich hier nichts geschrieben, sonst wäre es OT...... was es jetzt auch geworden ist. 😄
                                Radar habe ich immer noch die 1.2.0 am laufen.Weil da kann man auch hci only einstellen.
                                Und Broadlink2 habe ich auch.........

                                apollon77 1 Reply Last reply Reply Quote 0
                                • D
                                  darkiop Most Active last edited by

                                  @apollon77

                                  Mir ist noch aufgefallen das beim Starten des Docker Containers mit 2.0 dies hier im Log des Containers geworfen wird. Bei 1.5 ist Ruhe.

                                  TCP Timeout
                                  
                                  (node:2126) UnhandledPromiseRejectionWarning: Error: TCP Timeout
                                      at Timeout.setTimeout [as _onTimeout] (/opt/iobroker/node_modules/tplink-smarthome-api/lib/client.js:226:20)
                                  (node:2521) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined
                                  
                                  (node:2521) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                                  (node:2521) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                  Tue, 08 Oct 2019 16:14:06 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
                                  In the future, you will have to enable it yourself.
                                  See https://github.com/yagop/node-telegram-bot-api/issues/319. at internal/modules/cjs/loader.js:778:30
                                  
                                  (node:2521) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'replace' of undefined
                                  (node:2521) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
                                  
                                  mania25 created this issue in yagop/node-telegram-bot-api

                                  closed Error: cannot enable cancellation after promises are in use #319

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

                                    @MathiasJ Am Ende ist der Fix "einfach" und weiter oben hier kommentiert. Man muss ein File ändern wie hier ersichtlich. https://github.com/frankjoke/myAdapter/pull/1/files
                                    File liegt normslerweise in node_modules/@frankjoke/myadapter/myAdapter.js Dann passt es wieder. ggf suchen ob es noch irgendwo in node_modules/iobroker.radar2/node_modules oder node_modules/iobroker.boradlink2/node_modules liegt

                                    Apollon77 created this issue in frankjoke/myAdapter

                                    open create a new Promise wrapper that also binds correctly for the class #1

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

                                      @darkiop Bitte bissl mehr log context (par Zeilen mehr davor und dahinter ... sonst ist es ein schönes Raten weil ich dann fragen muss ... wo verwendest Du denn irgendwas mit tplink?

                                      Kann es hs100 Adapter sein?

                                      1 Reply Last reply Reply Quote 0
                                      • SBorg
                                        SBorg Forum Testing Most Active @apollon77 last edited by

                                        @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                        ...Für broadlink2 fehlt noch eine Version. Aber da bereite ich heute meinen fork vor so dass man davon installieren kann.

                                        Falls es dir hilft: myAdapter.js
                                        Fertig gepatcht (mit beiden Änderungen, also auch .bind(adapter) ) und seit etlichen Tagen getestet und im Einsatz 🙂

                                        1 Reply Last reply Reply Quote 1
                                        • ?
                                          A Former User last edited by A Former User

                                          erledigt
                                          ich gebe es auf

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

                                            @Nuggelbeb sagte in [Aufruf] js-controller 2.0 Beta Test:

                                            ich gebe es auf

                                            Was. einst Du ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            648
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            48
                                            1047
                                            254426
                                            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