Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.2 jetzt im STABLE!

    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

    js-controller 3.2 jetzt im STABLE!

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      derrapf @Stabilostick last edited by derrapf

      Hallo alle
      Ich habe nun auch auf den neuesten js-controller upgedatet.
      Node.js v12.16.3
      NPM 6.14.4
      Nun hab ich folgende Probleme:

      • Die IOBroker Website und auch VIS reagieren sehr langsam. Alle Eingaben sind unheimlich laggy. Wenn man z.B. einen Wert in einen Datenpunkt eingeben möchte dauert es mehrere Sekunden bis er angezeigt wird. Auch Eingaben in VIS oder das Selektieren und verschieben von Widgets geht nicht mehr verzögerungsfrei.

      • Zudem kommt nun hinzu dass ich über Alexa keine Befehle mehr ausführen kann. Ich bekomme "etwas ist schiefgelaufen" und ich solle den Skin neu installieren.

      Gibt es eine Möglichkeit wieder auf die Vorgängerversion zu wechseln oder muss ich ein Backup einspielen?
      Gruss Ralf

      Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @derrapf last edited by Thomas Braun

        @derrapf

        who -r
        iobroker status
        free -h
        iobroker repo list
        iobroker list instances
        
        D 1 Reply Last reply Reply Quote 0
        • D
          derrapf @Thomas Braun last edited by derrapf

          @thomas-braun

          
          
          root@ioBroker-Rock64:~# who -r
                   run-level 5  2021-04-17 11:23
          root@ioBroker-Rock64:~# iobroker status
          iobroker is running on this host.
          
          
          Objects type: file
          States  type: redis
          root@ioBroker-Rock64:~# free -h
                        total        used        free      shared  buff/cache   available
          Mem:           3,9G        2,1G        1,2G         10M        646M        1,7G
          Swap:          1,0G          0B        1,0G
          root@ioBroker-Rock64:~# iobroker repo list
          stable      : http://download.iobroker.net/sources-dist.json
          beta        : http://download.iobroker.net/sources-dist-latest.json
          
          Active repo: stable
          root@ioBroker-Rock64:~# iobroker list instances
          + system.adapter.admin.0                  : admin                 : ioBroker-Rock64                          -  enabled, port: 8081, bind: 192.168.111.176, run as: admin
          + system.adapter.alexa2.0                 : alexa2                : ioBroker-Rock64                          -  enabled
          + system.adapter.cloud.0                  : cloud                 : ioBroker-Rock64                          -  enabled
            system.adapter.daswetter.0              : daswetter             : ioBroker-Rock64                          -  enabled
          + system.adapter.discovery.0              : discovery             : ioBroker-Rock64                          -  enabled
            system.adapter.dwd.0                    : dwd                   : ioBroker-Rock64                          -  enabled
          + system.adapter.enigma2.0                : enigma2               : ioBroker-Rock64                          -  enabled
            system.adapter.flot.0                   : flot                  : ioBroker-Rock64                          - disabled
          + system.adapter.fritzbox.0               : fritzbox              : ioBroker-Rock64                          -  enabled
          + system.adapter.fullybrowser.0           : fullybrowser          : ioBroker-Rock64                          -  enabled
          + system.adapter.history.0                : history               : ioBroker-Rock64                          -  enabled
          + system.adapter.hm-rega.0                : hm-rega               : ioBroker-Rock64                          -  enabled
          + system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker-Rock64                          -  enabled, port: 0
          + system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker-Rock64                          -  enabled, port: 0
          + system.adapter.hm-rpc.2                 : hm-rpc                : ioBroker-Rock64                          -  enabled, port: 0
            system.adapter.ical.0                   : ical                  : ioBroker-Rock64                          -  enabled
            system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: ioBroker-Rock64                          - disabled
            system.adapter.icons-icons8.0           : icons-icons8          : ioBroker-Rock64                          -  enabled
            system.adapter.icons-material-png.0     : icons-material-png    : ioBroker-Rock64                          - disabled
            system.adapter.icons-material-svg.0     : icons-material-svg    : ioBroker-Rock64                          - disabled
            system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBroker-Rock64                          -  enabled
            system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: ioBroker-Rock64                          - disabled
            system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : ioBroker-Rock64                          - disabled
          + system.adapter.info.0                   : info                  : ioBroker-Rock64                          -  enabled
          + system.adapter.iot.0                    : iot                   : ioBroker-Rock64                          -  enabled
          + system.adapter.javascript.0             : javascript            : ioBroker-Rock64                          -  enabled
            system.adapter.js-controller.0          : js-controller         : ioBroker-Rock64                          - disabled
            system.adapter.luftdaten.0              : luftdaten             : ioBroker-Rock64                          -  enabled
            system.adapter.luftdaten.1              : luftdaten             : ioBroker-Rock64                          -  enabled
            system.adapter.material.0               : material              : ioBroker-Rock64                          -  enabled
            system.adapter.mobile.0                 : mobile                : ioBroker-Rock64                          - disabled
            system.adapter.mqtt-client.0            : mqtt-client           : ioBroker-Rock64                          - disabled, port: 18383
            system.adapter.owntracks.0              : owntracks             : ioBroker-Rock64                          - disabled, port: 1883, bind: 192.168.111.176
            system.adapter.parser.0                 : parser                : ioBroker-Rock64                          - disabled
            system.adapter.places.0                 : places                : ioBroker-Rock64                          - disabled
          + system.adapter.pushover.0               : pushover              : ioBroker-Rock64                          -  enabled
            system.adapter.rickshaw.0               : rickshaw              : ioBroker-Rock64                          - disabled
          + system.adapter.samsung.0                : samsung               : ioBroker-Rock64                          -  enabled
          + system.adapter.sayit.0                  : sayit                 : ioBroker-Rock64                          -  enabled, port: 0
          + system.adapter.scenes.0                 : scenes                : ioBroker-Rock64                          -  enabled
          + system.adapter.shelly.0                 : shelly                : ioBroker-Rock64                          -  enabled, port: 1882, bind: 0.0.0.0
          + system.adapter.simple-api.0             : simple-api            : ioBroker-Rock64                          -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
          + system.adapter.socketio.0               : socketio              : ioBroker-Rock64                          -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
          + system.adapter.synology.0               : synology              : ioBroker-Rock64                          -  enabled, port: 5001
          + system.adapter.telegram.0               : telegram              : ioBroker-Rock64                          -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.text2command.0           : text2command          : ioBroker-Rock64                          -  enabled
          + system.adapter.tr-064.0                 : tr-064                : ioBroker-Rock64                          -  enabled
            system.adapter.tvspielfilm.0            : tvspielfilm           : ioBroker-Rock64                          -  enabled
            system.adapter.vis-bars.0               : vis-bars              : ioBroker-Rock64                          - disabled
            system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : ioBroker-Rock64                          - disabled
            system.adapter.vis-colorpicker.0        : vis-colorpicker       : ioBroker-Rock64                          - disabled
            system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : ioBroker-Rock64                          - disabled
            system.adapter.vis-google-fonts.0       : vis-google-fonts      : ioBroker-Rock64                          - disabled
            system.adapter.vis-history.0            : vis-history           : ioBroker-Rock64                          - disabled
            system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioBroker-Rock64                          - disabled
          + system.adapter.vis-inventwo.0           : vis-inventwo          : ioBroker-Rock64                          -  enabled
            system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : ioBroker-Rock64                          - disabled
            system.adapter.vis-justgage.0           : vis-justgage          : ioBroker-Rock64                          - disabled
            system.adapter.vis-keyboard.0           : vis-keyboard          : ioBroker-Rock64                          - disabled
            system.adapter.vis-lcars.0              : vis-lcars             : ioBroker-Rock64                          - disabled
            system.adapter.vis-map.0                : vis-map               : ioBroker-Rock64                          - disabled
            system.adapter.vis-material-advanced.0  : vis-material-advanced : ioBroker-Rock64                          -  enabled
            system.adapter.vis-materialdesign.0     : vis-materialdesign    : ioBroker-Rock64                          -  enabled
            system.adapter.vis-metro.0              : vis-metro             : ioBroker-Rock64                          - disabled
            system.adapter.vis-players.0            : vis-players           : ioBroker-Rock64                          - disabled
            system.adapter.vis-plumb.0              : vis-plumb             : ioBroker-Rock64                          - disabled
            system.adapter.vis-rgraph.0             : vis-rgraph            : ioBroker-Rock64                          - disabled
            system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker-Rock64                          - disabled
            system.adapter.vis.0                    : vis                   : ioBroker-Rock64                          -  enabled
          + system.adapter.vw-connect.0             : vw-connect            : ioBroker-Rock64                          -  enabled
          + system.adapter.web.0                    : web                   : ioBroker-Rock64                          -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          + instance is alive
          root@ioBroker-Rock64:~#
          

          Ich hab den Rock64 jetzt mal restartet und den Rechner auch. Dann einen anderen Browser verwendet. Aktuell sieht es aus als ob der Lag-Effekt weg wäre. Ich hoffe er kommt nicht wieder. Aber Alexa geht immer noch nicht.
          Aber ev. hat das Eine mit dem Anderen gar nichts zu tun.
          Ich scheue mich ehrlich gesagt den Skill zu deaktivieren und neu zu starten, weil dann alle Gruppen und Routinen wieder weg sind...
          Gruss Ralf

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @derrapf last edited by Thomas Braun

            @derrapf Die üblichen Dinge...
            Root login, run level 5.
            Bei Amazon ist heute irgendwas umgestellt worden. Gibt einen Thread dazu.

            D 1 Reply Last reply Reply Quote 0
            • D
              derrapf @Thomas Braun last edited by derrapf

              @thomas-braun

              Root login, run level 5.

              Ägypten?
              Ich habe nur den login als root. Anderen user/password habe ich nicht, kenne ich nicht. Das war schon so als ich das Image von hormoran für IObroker auf den Rock64 drauf gespielt habe.
              Was ist run level 5?

              Bei Amazon ist heute irgendwas umgestellt worden. Gibt einen Thread dazu.
              

              Den such ich mal..

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @derrapf last edited by Thomas Braun

                @derrapf

                Man richtet sich das System aber mit anderen usern ein. Solltest du nachholen.
                Siehe auch die Armbian readme:

                How to login?

                Login as root on console (HDMI / serial) or via SSH and use password 1234. You will be prompted to change this password at first login. You will then be asked to create a normal user account that is sudo enabled (beware of default QWERTY keyboard settings at this stage).

                Genauso wie einen dauerhaften Betrieb im RunLevel 3 (Serverbetrieb ohne Desktop).

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

                  @thomas-braun Dann muss ich mich erst mal schlau machen wie das alles geht...

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

                    @derrapf Verzögerungen beim editieren in Vis liegen in deinem Browser weil das alles dort läuft. Da kann der Controller nix für.

                    Auch iot und Alexa ist iot Adapter und nichts mit Controller zu tun. Die skill Verknüpfung hält immer nur ein Jahr. Kann es sein das das rum ist? Einfach mal neu verbinden wenn er das sagt

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

                      @apollon77 sagte in js-controller 3.2 jetzt im STABLE!:

                      Die skill Verknüpfung hält immer nur ein Jahr. Kann es sein das das rum ist?
                      Kann sein.
                      Jetzt muss ich aber mal blöd fragen: Was heißt das genau, dass die Skill Verknüpfung nur ein Jahr hält? Was passiert da nach einem Jahr? Wird die dann schimmlig?
                      Muss ich quasi immer nach einem Jahr alles wieder von vorne einstellen? Warum ist das so? Kann man das irgendwie vermeiden?
                      Gruss Ralf

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

                        @derrapf sagte in js-controller 3.2 jetzt im STABLE!:

                        Jetzt muss ich aber mal blöd fragen: Was heißt das genau, dass die Skill Verknüpfung nur ein Jahr hält? Was passiert da nach einem Jahr? Wird die dann schimmlig?
                        Muss ich quasi immer nach einem Jahr alles wieder von vorne einstellen? Warum ist das so? Kann man das irgendwie vermeiden?
                        Gruss Ralf

                        DIskutieren wir schon im anderen - etwas passenderen aber auch eigentlich falschem - thread

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

                          @apollon77

                          Vielen DAnk für das Update. Alles scheint zu laufen, bis auf die Anzeige und die Möglichkeit der Adapter-Updates:

                          98881a52-37ae-4aac-896b-1b5746ad13e0-grafik.png

                          Das Feld "Verfügbare Version" ist überall leer.

                          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @jmyxa last edited by

                            @jmyxa sagte in js-controller 3.2 jetzt im STABLE!:

                            Das Feld "Verfügbare Version" ist überall leer.

                            hast du (besser dein Server) Internet-Verbindung und funktionierendes DNS?
                            Seite oben links neu laden und im log nachsehen, wo es hängt

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @jmyxa last edited by

                              @jmyxa

                              Mal

                              iobroker update
                              

                              in der Konsole probiert?
                              Und schau mal welches Repo da aktiv ist:

                              iobroker repo list
                              
                              1 Reply Last reply Reply Quote 0
                              • K
                                Knallix last edited by

                                Hallo,
                                habe das update gemacht und es kommen jetzt diese Meldungen.
                                Die verstehe ich zwar, nur kommen die von verschiedenen Adaptern und diese habe ich ja nicht selber angelegt.

                                286ff46c-d161-4966-8fc8-000bb9356a62-image.png

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

                                  Kann es sein das Du in https://forum.iobroker.net/topic/44624/js-controller-3-3-jetzt-im-latest eher richtig bist als hier??

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

                                    @apollon77 said in js-controller 3.2 jetzt im STABLE!:

                                    Kann es sein das Du in https://forum.iobroker.net/topic/44624/js-controller-3-3-jetzt-im-latest eher richtig bist als hier??

                                    oh ja :-)... Hatte nur in der INFO den Link kopiert und nicht direkt drauf geachtet.
                                    DANKE

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      klausiob last edited by

                                      @apollon77 sagte in js-controller 3.2 jetzt im STABLE!:

                                      Developer relevant DEPRECATIONS/WARNINGS

                                      (foxriver76) we warn if object not exists when setting a state via adapter.setState. Adjust your code that a state value is NOT set before the object is successfully created. If this deep check is NOT wanted for performance reasons the adapter needs to be initialized with strictObjectChecks = false!! (see DOCS LINK TODO)

                                      @foxriver76 Habe versucht strictObjectChecks = false zu setzen, um folgende Warnings zu verhindern:

                                      this.log.warn(`Object ${id} is invalid: ${e.message}`);
                                      this.log.warn('This object will not be created in future versions. Please report this to the developer.');
                                      

                                      hat aber nichts gebracht.

                                      function startAdapter(options) {
                                        options = options || {strictObjectChecks: false}; //KH
                                        Object.assign(options, {
                                          name: "gardena",
                                          install: adapter_install,
                                          unload: adapter_unload,
                                          objectChange: adapter_objectChange,
                                          stateChange: adapter_stateChange,
                                          ready: adapter_ready,
                                          message: adapter_message
                                        });
                                        adapter = new utils.Adapter(options);
                                      
                                        return adapter;
                                      }
                                      

                                      ... oder habe ich da einen Anfängerfehler gemacht?

                                      Anbei noch eine Frage: Dieses (see DOCS LINK TODO), wo finde ich das? 🤷‍♂️ 🤔

                                      foxriver76 1 Reply Last reply Reply Quote 0
                                      • foxriver76
                                        foxriver76 Developer @klausiob last edited by foxriver76

                                        @klausiob Welchen Adapter entwickelst du denn? Und warum möchtest du das Flag setzen?

                                        Ach so und Id is invalid hat nix mit den strictObjectChecks zu tun. Ist ein separater Check und sollte auf jeden Fall gefixt werden.

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          klausiob @foxriver76 last edited by klausiob

                                          @foxriver76 Ich versuche den alten Gardena-Adapter, der seit js-controller 3.2 nicht mehr richtig funktioniert erstmal für mich wieder zum Laufen zu bringen. Wollte mich nach 3 Jahren Javascript-Abstinenz mal wieder einarbeiten und etwas experimentieren. Bei dem Adapter gehen noch alle Statusabfragen, aber man kann keine Kommandos mehr absetzen. Qualitycode = [0x20].
                                          Sorry, oder war es diese Fehlemeldung.

                                          2021-05-13 18:42:15.191 - warn: gardena.0 (9623) State "gardena.0.datapoints.xxx" has no existing object, this might lead to an error in future versions
                                          

                                          Kannst Du mir trotzdem sagen, wo ich den Link finde (DOCS LINK TODO) aus dem 1. Beitrag?

                                          foxriver76 2 Replies Last reply Reply Quote 0
                                          • foxriver76
                                            foxriver76 Developer @klausiob last edited by

                                            @klausiob Also das mit dem invaliden Objekt, sollte ja eine Fehlermeldung ausgeben die relativ aussagekräftig ist. z. B obj.type has to exist dann fehlt dem Objekt bei Erstellung einfach das entsprechende Attribut. Dann schaust du kurz in die Doku, was du brauchst, meistens vermutlich state. Ist jetzt nur ein Beispiel, weiß ja nicht was für ein Fehler tatsächlich kommt.

                                            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

                                            369
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            58
                                            275
                                            64550
                                            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