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 Latest!

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    js-controller 3.2 jetzt im Latest!

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

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

      @jleg Wie schaust Du denn nach Änderungen? Ich hoffe nicht nur über die Dateigrösse 🙂 Also bei

      naa 🙂
      letztes Beispiel

      -rwxrwxrwx+   1 iobroker iobroker 13789525 Jan 23 18:33 objects.json
      -rwxrwxrwx+   1 iobroker iobroker 13789525 Jan 23 18:33 objects.json.bak
      

      hier reicht ein

      diff objects.json objects.json.bak
      

      Im Fall dass es Unterschiede gibt, konvertiere ich vor'm diff natürlich nach "lesbar"...

      meinem System ist aktuell (18:38) die objects.json von 18:32 als ich ihn neu gestartet habe.

      Die states.json ist von 18:37

      Was laufen denn so für Adapter?

      diverse 🙂 als "auffällig" identifiziert sind aber "WLED" und "DWD", die waren einfach zu finden, da die tatsächlich dauernd Objekte ändern (WLED: timestamps, DWD: da wechselt regelmässig mein Ortname und "")

      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @Dr. Bakterius last edited by

        @dr-bakterius Naja da haben wirs ... DasWetter ist ein Cron Adapter, das heisst das der bei jedem Lauf die Objekte aktualisiert. Es gibt ein Issue im js-controller das ggf zu optimieren - hat es aber nicht in die aktuelle Version geschafft.
        ABER das die Files keinen Unterschied haben kann an sich nicht sein weil sich mindestens Zeitstempel ändern in den Objekten.

        Wir hier im Thread weiter oben besprochen kann die Schreibfreequenz über "writeFileInterval" in iobroker.json bei den File Db Konfigs geändert werden.
        Es hat sich an der Thematik iom Vergleich zum 3.1.6er Adapter oder davor nichts geändert.

        Dr. Bakterius paul53 2 Replies Last reply Reply Quote 0
        • apollon77
          apollon77 @JLeg last edited by

          @jleg Dann wären das Adapter-Issues

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

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

            @jleg Dann wären das Adapter-Issues

            Ah, ok; hatte auch vergessen zu erwähnen - diese ganze "diskwrite"-SSD-wearout-Geschichte (im Nachbarthread) hat imo nichts mit "3.2 im Latest" zu tun, das sieht unter 3.1.x komplett genauso aus, ist also OT...

            1 Reply Last reply Reply Quote 1
            • Dr. Bakterius
              Dr. Bakterius Most Active @apollon77 last edited by

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

              ABER das die Files keinen Unterschied haben kann an sich nicht sein weil sich mindestens Zeitstempel ändern in den Objekten.

              Mea culpa - aber es ist nicht leicht die Unterschiede in einer großen Datei zu finden die nur eine Zeile hat. Es haben sich tatsächlich einige Timestamps geändert.

              Das mit 'DasWetter' leuchtet mir ein. Warum aber beim 'Netatmo'? Allerdings frage ich mich, was die Timestamps in den objects zu suchen haben? Würden die nicht in die states gehören?

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

                @apollon77 sagte: weil sich mindestens Zeitstempel ändern in den Objekten.

                In den (statischen) Objekten ändern sich Zeitstempel? Ich kenne bisher nur einen Zeitstempel im Objekt, der das Erstellungsdatum des Objektes enthält und konstant bleibt.

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

                  @paul53 Objekte haben wir States ein „Last changed timestamp“ und „last change by“.

                  Dies ist nötig weil es durchaus Objekte gibt die Content beinhalten Woman wissen muss wenn sich etwa geändert hat (zb JavaScript scripte und blockly speichern den Content in Objekten und ein sync auf Platte muss wissen wo sich jetzt wann zuletzt etwas geändert hat)

                  Also das wissen ist outdated ;-))

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

                    @apollon77 sagte: wissen muss wenn sich etwa geändert hat (zb JavaScript scripte und blockly

                    Habe den "ts" in den statischen Objekten unter scripts.js mal geprüft: Ja, sie werden bei Änderung des Scripts neu geschrieben. Es ändert sich ja auch der Inhalt.

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

                      @paul53 naja ist alles so ne Sache. Eine diskussionsfrage ist ob ein Objekt was geschrieben wurde aber identisch zu vorher war einen neuen timestamp bekommen sollte. Die Überlegungen sind vor allem auch Performance. Jedes Mal die Daten des Objekts zu vergleichen kostet auch einiges an Performance.

                      Mal schauen. wir haben Noch andere Ideen wie wir das optimieren können.

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

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

                        @Diginix Bitte auch deine hängenden Prozesse beobachten

                        Seit gestern 19:20 Uhr und mittlerweile über 100 mal per Skript gestoppt/gestartete radar2 Instanz keine hängenden Prozesse.
                        3.2.10 läuft bei mir somit bisher auch unauffällig. Besten Dank für den schnellen Bugfix!
                        Nun müssen nur noch paar Adapter korrigiert werden damit die "no existing object" Meldungen im Log verschwinden.

                        1 Reply Last reply Reply Quote 1
                        • J
                          Jan1 last edited by

                          Ich hatte mit der 3.2.8 schon keine Auffälligkeiten und die 3.210 läuft nun ebenfalls ohne Probleme.

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

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

                            bitte mit der kommenden 3.2.910 vom controller

                            kam kein Fehler mehr👍

                            ausser (zwar nur Warnung) , dieses wiederholende Cannot get view... beim beenden, hängt das mit dem sonoff Adapter zusammen?

                            2021-01-24 10:28:08.639 - info: host.IoBroker instance system.adapter.virtualpowermeter.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                            2021-01-24 10:28:08.640 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.806 - info: host.IoBroker instance system.adapter.javascript.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                            2021-01-24 10:28:09.807 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.848 - info: host.IoBroker terminated
                            2021-01-24 10:28:09.848 - warn: host.IoBroker instance system.adapter.ping.0 terminated due to SIGTERM
                            2021-01-24 10:28:09.849 - info: host.IoBroker instance system.adapter.ping.0 terminated with code null ()
                            2021-01-24 10:28:09.849 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.852 - warn: host.IoBroker Cannot get view: Error: Connection is closed.
                            2021-01-24 10:28:09.853 - warn: host.IoBroker Cannot get view: Error: Connection is closed.
                            2021-01-24 10:28:09.853 - warn: host.IoBroker Cannot get view: Error: Connection is closed.
                            2021-01-24 10:28:09.853 - warn: host.IoBroker Cannot get view: Error: Connection is closed.
                            2021-01-24 10:28:09.853 - warn: host.IoBroker Cannot get view: Error: Connection is closed.
                            2021-01-24 10:28:09.853 - warn: host.IoBroker Cannot get view: Error: Connection is closed.
                            2021-01-24 10:28:09.854 - warn: host.IoBroker Cannot get view: Error: Connection is closed.
                            2021-01-24 10:28:09.855 - warn: host.IoBroker instance system.adapter.sonoff.0 terminated due to SIGTERM
                            2021-01-24 10:28:09.855 - info: host.IoBroker instance system.adapter.sonoff.0 terminated with code null ()
                            2021-01-24 10:28:09.855 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.855 - warn: host.IoBroker instance system.adapter.tankerkoenig.0 terminated due to SIGTERM
                            2021-01-24 10:28:09.856 - info: host.IoBroker instance system.adapter.tankerkoenig.0 terminated with code null ()
                            2021-01-24 10:28:09.856 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.856 - warn: host.IoBroker instance system.adapter.telegram.0 terminated due to SIGTERM
                            2021-01-24 10:28:09.856 - info: host.IoBroker instance system.adapter.telegram.0 terminated with code null ()
                            2021-01-24 10:28:09.856 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.857 - warn: host.IoBroker instance system.adapter.telegram.1 terminated due to SIGTERM
                            2021-01-24 10:28:09.857 - info: host.IoBroker instance system.adapter.telegram.1 terminated with code null ()
                            2021-01-24 10:28:09.857 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.857 - warn: host.IoBroker instance system.adapter.text2command.0 terminated due to SIGTERM
                            2021-01-24 10:28:09.857 - info: host.IoBroker instance system.adapter.text2command.0 terminated with code null ()
                            2021-01-24 10:28:09.858 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.858 - warn: host.IoBroker instance system.adapter.sayit.0 terminated due to SIGTERM
                            2021-01-24 10:28:09.858 - info: host.IoBroker instance system.adapter.sayit.0 terminated with code null ()
                            2021-01-24 10:28:09.858 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:28:09.858 - warn: host.IoBroker instance system.adapter.zigbee.0 terminated due to SIGTERM
                            2021-01-24 10:28:09.858 - info: host.IoBroker instance system.adapter.zigbee.0 terminated with code null ()
                            2021-01-24 10:28:09.859 - info: host.IoBroker All instances are stopped.
                            2021-01-24 10:31:25.603 - info: host.IoBroker iobroker.js-controller version 3.2.10 js-controller starting
                            2021-01-24 10:31:25.607 - info: host.IoBroker Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                            
                            2021-01-24 10:28:03.648 - info: sonoff.0 (17189) getForeignState not processed because States database not connected
                            2021-01-24 10:28:03.649 - info: sonoff.0 (17189) setForeignState not processed because States database not connected
                            2021-01-24 10:28:03.704 - info: sonoff.0 (17189) getForeignState not processed because States database not connected
                            2021-01-24 10:28:03.705 - info: sonoff.0 (17189) setForeignState not processed because States database not connected
                            2021-01-24 10:28:04.716 - info: sonoff.0 (17189) getForeignState not processed because States database not connected
                            2021-01-24 10:28:04.717 - info: sonoff.0 (17189) setForeignState not processed because States database not connected
                            2021-01-24 10:28:04.763 - info: sonoff.0 (17189) getForeignState not processed because States database not connected
                            2021-01-24 10:28:04.764 - info: sonoff.0 (17189) setForeignState not processed because States database not connected
                            
                            J apollon77 2 Replies Last reply Reply Quote 0
                            • J
                              Josh @crunchip last edited by

                              Mein Synology-Adapter kam nach dem Update nicht mehr hoch, Er blieb gelb. Aber ein Restart des Adapters brachte ihn wieder auf grün. Läuft alles bisher ohne Auffälligkeiten.

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

                                @crunchip Also diese Meldungen die bisher quasi "verschluckt waren" bedeuten das der Adaoter irgendwie Daten schreiben will obwohlvalles schon beendet ist. Also Issue beim Adapter das man da schaut was los ist. SO lange es aber nur beim beenden eines Adapters passiert ists "ok-ish"

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

                                  @apollon77 ICh würd mich heute auch mal an der 3.2.10 versuchen, bleibt es beim Vorgehen ERST Master, DANN Slaves ?

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

                                    Hi, mir ist beim Update folgende Fehlerzeile aufgefallen (auf 4.10.13):

                                    (17828) npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issu
                                    

                                    bekannt? Problem?
                                    VG Thorsten

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • M
                                      myssv last edited by Negalein

                                      Ich bekomme jedes Mal folgende Meldung:

                                      root@iobroker:/opt/iobroker# pkill io
                                      root@iobroker:/opt/iobroker# iobroker upgrade self
                                      **Controller is running. Please stop ioBroker first.**
                                      root@iobroker:/opt/iobroker#
                                      

                                      Was kann ich tun?

                                      ioBroker läuft im Docker auf einer Synology.

                                      F 1 Reply Last reply Reply Quote 0
                                      • F
                                        fastfoot @myssv last edited by

                                        @myssv sagte in js-controller 3.2 jetzt im Latest!:

                                        root@iobroker:/opt/iobroker# pkill io

                                        nimm pkill -u iobroker. Prüfen kannst du noch laufende Prozesse mit ps aux, da sollte links nicht mehr der iobroker auftauchen

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          myssv @fastfoot last edited by

                                          @fastfoot DANKE !!

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

                                            @amg_666 Wenn du noch eine 3.1.x hast dann ja. Wenn schon 3.2 frühere Version dann egal

                                            amg_666 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

                                            916
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            575
                                            96301
                                            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