Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test js-controller v2.0.x (GitHub)

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    6
    1
    56

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.4k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

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

Scheduled Pinned Locked Moved Tester
js-controller
1.0k Posts 48 Posters 324.4k Views 35 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • apollon77A apollon77

    @Marty56 Dann bitte GitHub Issue im Javascript adapter anlegen das createState auch mit 0_userdata.0 funktioniert

    M Offline
    M Offline
    Marty56
    wrote on last edited by
    #975

    @apollon77
    Es gibt ja schon den Vorschlag von paul53. Ob man dafür createState erweitert oder createUserState neu definiert, ist mir gleichgültig.

    Ein kleines Zwischenfazit

    Habe mittlerweile meine 2 ioBroker Server umgestellt. Lief völlig unproblematisch. Auf einem Server benutze ich jetzt auch den kompakt Modus und auch das funktioniert super.Alle Server wurde auch auf redis umgestellt.

    Ich habe begonnen, meine Speicherspartricks https://forum.iobroker.net/topic/12855/memory-sparen jetzt wieder successive auszubauen. Leider unterstützt der sayit adapter noch keinen kompakt Modus.

    Großartige Arbeit!!!!! Ich bin begeistert. :grinning: :grinning:

    HW:NUC (16 GB Ram)
    OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

    1 Reply Last reply
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      wrote on last edited by
      #976

      Hallo an die Beta-Tester-Runde ... wir sind noch nicht ganz fertig ;-)

      Ich habe heute (vorab, bevor es später ins Latest kommt) für Euch auf GitHub die 2.0.40 (Aka Stable-RC1). Es sind noch viele Kleinigkeiten eingeflossen:

      2.0.40 (2019-11-08) Release Bella RC1

      • (Apollon77) make sure multiple instances of same adapter do not disturb each other in compact mode, finalize compact mode
      • (AlCalzone) correctly handle git commits and branches as custom install sources
      • (Apollon77) make sure callbacks with setImmediate return the rela values from code execution and not pot. changed values from other actions (fixing file content being undefined when write/read happen in parallel)
      • (Apollon77) handle more cases for aliases automatically (On/Ein is converted to true case insensitive now)
      • (bluefox) getForeignStates() return correct ids when used with aliases
      • (Apollon77) optimize controller group stopping
      • (Apollon77) when target state is deleted also emit "null" onChange events to adapters for alias states
      • (Apollon77) optimize controller stop behaviour with compact groups
      • (Apollon77) make sure that schedules instances can start even after a "once" run that set a sigKill value
      • (Apollon77) add method to synchronize file directories with file DB storage
        • add new CLI command "iobroker file sync <id>" to do the sync
        • integrate the sync with "iobroker setup first"

      Vor allem der letzte Punkt könnte interessant sein für die die immer noch eigene Files in offizielle Verzeichnisse reinkopiert haben. Beim Install dieser Version daher bitte mal auf die Ausgaben von nom (nach dem "node iobroker.js setup first") achten, was da so kommt.

      Bin gespannt ob es tut habe es natürlich nur bei mir testen können bisher.

      Files in offiziellen Verzeichnissen werden gesynct, Eigene Verzeichnisse werden "angemeckert", aber nicht gesynct (gibt ja nichts definiertes wohin).

      Ingo

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      D 1 Reply Last reply
      1
      • M Offline
        M Offline
        msauer
        wrote on last edited by msauer
        #977

        Hi,

        wenn ich Files mit "iobroker file write file.png 0_userdata.0/files/icons/" (Schreibweise richtig?) schreibe, wo finde ich die denn im VIS Explorer?

        Danke

        Proxmox 3 Node HA-Cluster TRIGKEY Mini-PC N100 mit 32 GB RAM und 3x1TB shared SSDs. VM- iobroker ,Raspberrymatic. LXC - Adguard, , Traccar, iSpy, Fileserver (emby, MiniDLNA)...usw

        apollon77A 1 Reply Last reply
        0
        • M msauer

          Hi,

          wenn ich Files mit "iobroker file write file.png 0_userdata.0/files/icons/" (Schreibweise richtig?) schreibe, wo finde ich die denn im VIS Explorer?

          Danke

          apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #978

          @msauer sagte in Test js-controller v2.0.x (GitHub):

          0_userdata.0/files/icons/

          Unter /0_userdata.0/files/icons/

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          M 1 Reply Last reply
          0
          • apollon77A apollon77

            Hallo an die Beta-Tester-Runde ... wir sind noch nicht ganz fertig ;-)

            Ich habe heute (vorab, bevor es später ins Latest kommt) für Euch auf GitHub die 2.0.40 (Aka Stable-RC1). Es sind noch viele Kleinigkeiten eingeflossen:

            2.0.40 (2019-11-08) Release Bella RC1

            • (Apollon77) make sure multiple instances of same adapter do not disturb each other in compact mode, finalize compact mode
            • (AlCalzone) correctly handle git commits and branches as custom install sources
            • (Apollon77) make sure callbacks with setImmediate return the rela values from code execution and not pot. changed values from other actions (fixing file content being undefined when write/read happen in parallel)
            • (Apollon77) handle more cases for aliases automatically (On/Ein is converted to true case insensitive now)
            • (bluefox) getForeignStates() return correct ids when used with aliases
            • (Apollon77) optimize controller group stopping
            • (Apollon77) when target state is deleted also emit "null" onChange events to adapters for alias states
            • (Apollon77) optimize controller stop behaviour with compact groups
            • (Apollon77) make sure that schedules instances can start even after a "once" run that set a sigKill value
            • (Apollon77) add method to synchronize file directories with file DB storage
              • add new CLI command "iobroker file sync <id>" to do the sync
              • integrate the sync with "iobroker setup first"

            Vor allem der letzte Punkt könnte interessant sein für die die immer noch eigene Files in offizielle Verzeichnisse reinkopiert haben. Beim Install dieser Version daher bitte mal auf die Ausgaben von nom (nach dem "node iobroker.js setup first") achten, was da so kommt.

            Bin gespannt ob es tut habe es natürlich nur bei mir testen können bisher.

            Files in offiziellen Verzeichnissen werden gesynct, Eigene Verzeichnisse werden "angemeckert", aber nicht gesynct (gibt ja nichts definiertes wohin).

            Ingo

            D Offline
            D Offline
            darkiop
            Most Active
            wrote on last edited by
            #979

            @apollon77 sagte in Test js-controller v2.0.x (GitHub):

            Hallo an die Beta-Tester-Runde ... wir sind noch nicht ganz fertig

            Läuft hier, werde beobachten übers WE :)

            Proxmox-ioBroker-Redis-HA Doku: https://forum.iobroker.net/topic/47478/dokumentation-einer-proxmox-iobroker-redis-ha-umgebung

            sigi234S 1 Reply Last reply
            0
            • D darkiop

              @apollon77 sagte in Test js-controller v2.0.x (GitHub):

              Hallo an die Beta-Tester-Runde ... wir sind noch nicht ganz fertig

              Läuft hier, werde beobachten übers WE :)

              sigi234S Online
              sigi234S Online
              sigi234
              Forum Testing Most Active
              wrote on last edited by
              #980

              @darkiop sagte in Test js-controller v2.0.x (GitHub):

              @apollon77 sagte in Test js-controller v2.0.x (GitHub):

              Hallo an die Beta-Tester-Runde ... wir sind noch nicht ganz fertig 
              

              Läuft hier, werde beobachten übers WE :)

              Welche Version hast du?

              Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Immer Daten sichern!

              D 1 Reply Last reply
              0
              • sigi234S sigi234

                @darkiop sagte in Test js-controller v2.0.x (GitHub):

                @apollon77 sagte in Test js-controller v2.0.x (GitHub):

                Hallo an die Beta-Tester-Runde ... wir sind noch nicht ganz fertig 
                

                Läuft hier, werde beobachten übers WE :)

                Welche Version hast du?

                D Offline
                D Offline
                darkiop
                Most Active
                wrote on last edited by
                #981

                @sigi234 sagte in Test js-controller v2.0.x (GitHub):

                Welche Version hast du?

                Die 2.0.40 - aufm master + slave

                Proxmox-ioBroker-Redis-HA Doku: https://forum.iobroker.net/topic/47478/dokumentation-einer-proxmox-iobroker-redis-ha-umgebung

                1 Reply Last reply
                0
                • apollon77A Offline
                  apollon77A Offline
                  apollon77
                  wrote on last edited by
                  #982

                  Die 2.0.40 sollte inzwischen auch im latest kommen.

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  E 1 Reply Last reply
                  0
                  • apollon77A apollon77

                    @msauer sagte in Test js-controller v2.0.x (GitHub):

                    0_userdata.0/files/icons/

                    Unter /0_userdata.0/files/icons/

                    M Offline
                    M Offline
                    msauer
                    wrote on last edited by
                    #983

                    @apollon77 hii...1...das Icon von gestern ist jetzt im Dateimanager zu sehen, komisch...nun habe ich versucht mehrere Dateien zu kopieren. Das scheint nicht zu gehen..ok, dachte ich, dann einzeln...also Befehl "iobroker file write /tmp/thermo/control_minus.png 0_userdata.0/files/icons/thermo/" abgesetzt...Also Antwort kam dann "File "/tmp/thermo/control_minus.png" stored as "files/icons/thermo/"..Im Dateimanager ist aber nichts zu sehen... auch refresh hilft nicht...

                    cb1da8dd-40db-425c-8dd9-ca071045a270-image.png

                    Wie kann ich den eine ganze Gruppe von Dateien, wenn es denn geht, kopieren?
                    Danke
                    Mark

                    Proxmox 3 Node HA-Cluster TRIGKEY Mini-PC N100 mit 32 GB RAM und 3x1TB shared SSDs. VM- iobroker ,Raspberrymatic. LXC - Adguard, , Traccar, iSpy, Fileserver (emby, MiniDLNA)...usw

                    apollon77A 1 Reply Last reply
                    0
                    • coyoteC Offline
                      coyoteC Offline
                      coyote
                      Most Active
                      wrote on last edited by
                      #984

                      Update auf 2.0.40 gemacht, keine Fehler im Log, alle Adapter grün. Sieht soweit gut aus:+1:

                      1 Reply Last reply
                      0
                      • apollon77A apollon77

                        Die 2.0.40 sollte inzwischen auch im latest kommen.

                        E Offline
                        E Offline
                        Einstein67
                        wrote on last edited by
                        #985

                        @apollon77 said in Test js-controller v2.0.x (GitHub):

                        Die 2.0.40 sollte inzwischen auch im latest kommen.

                        Jaaa da hab ich sie gefunden ;) Installation hat funktioniert, IoBroker läuft perfekt wie immer! ABER das stoppen vom IoBroker dauert bei mir nun so um die 90 Sekunden!

                        2019-11-09 13:40:00.972  - info: host.iob12b instance system.adapter.admin.0 terminated with code 156 (156)
                        2019-11-09 13:40:00.974  - info: host.iob12b instance system.adapter.pi-hole.0 terminated with code 156 (156)
                        2019-11-09 13:40:00.977  - info: host.iob12b instance system.adapter.netatmo.0 terminated with code 156 (156)
                        2019-11-09 13:40:00.980  - info: host.iob12b instance system.adapter.yeelight-2.0 terminated with code 156 (156)
                        2019-11-09 13:40:00.987  - info: host.iob12b instance system.adapter.javascript.0 terminated with code 156 (156)
                        2019-11-09 13:40:00.989  - info: host.iob12b instance system.adapter.web.0 terminated with code 156 (156)
                        2019-11-09 13:40:01.001  - info: host.iob12b instance system.adapter.history.0 terminated with code 156 (156)
                        2019-11-09 13:40:01.458  - info: host.iob12b stopInstance system.adapter.sonoff.0 killing pid 2064
                        2019-11-09 13:40:01.459  - info: host.iob12b stopInstance system.adapter.backitup.0 killing pid 2087
                        2019-11-09 13:40:01.463  - warn: host.iob12b instance system.adapter.sonoff.0 terminated due to SIGTERM
                        2019-11-09 13:40:01.464  - info: host.iob12b instance system.adapter.sonoff.0 terminated with code null ()
                        2019-11-09 13:40:01.464  - warn: host.iob12b instance system.adapter.backitup.0 terminated due to SIGTERM
                        2019-11-09 13:40:01.464  - info: host.iob12b instance system.adapter.backitup.0 terminated with code null ()
                        2019-11-09 13:40:01.464  - info: host.iob12b All instances are stopped.
                        

                        Also nach "All Instances are stopped" dauert es 90s bis man auf der Konsole wieder was eingeben kann. Was könnte denn das für ein Problem sein?

                        J 1 Reply Last reply
                        0
                        • E Einstein67

                          @apollon77 said in Test js-controller v2.0.x (GitHub):

                          Die 2.0.40 sollte inzwischen auch im latest kommen.

                          Jaaa da hab ich sie gefunden ;) Installation hat funktioniert, IoBroker läuft perfekt wie immer! ABER das stoppen vom IoBroker dauert bei mir nun so um die 90 Sekunden!

                          2019-11-09 13:40:00.972  - info: host.iob12b instance system.adapter.admin.0 terminated with code 156 (156)
                          2019-11-09 13:40:00.974  - info: host.iob12b instance system.adapter.pi-hole.0 terminated with code 156 (156)
                          2019-11-09 13:40:00.977  - info: host.iob12b instance system.adapter.netatmo.0 terminated with code 156 (156)
                          2019-11-09 13:40:00.980  - info: host.iob12b instance system.adapter.yeelight-2.0 terminated with code 156 (156)
                          2019-11-09 13:40:00.987  - info: host.iob12b instance system.adapter.javascript.0 terminated with code 156 (156)
                          2019-11-09 13:40:00.989  - info: host.iob12b instance system.adapter.web.0 terminated with code 156 (156)
                          2019-11-09 13:40:01.001  - info: host.iob12b instance system.adapter.history.0 terminated with code 156 (156)
                          2019-11-09 13:40:01.458  - info: host.iob12b stopInstance system.adapter.sonoff.0 killing pid 2064
                          2019-11-09 13:40:01.459  - info: host.iob12b stopInstance system.adapter.backitup.0 killing pid 2087
                          2019-11-09 13:40:01.463  - warn: host.iob12b instance system.adapter.sonoff.0 terminated due to SIGTERM
                          2019-11-09 13:40:01.464  - info: host.iob12b instance system.adapter.sonoff.0 terminated with code null ()
                          2019-11-09 13:40:01.464  - warn: host.iob12b instance system.adapter.backitup.0 terminated due to SIGTERM
                          2019-11-09 13:40:01.464  - info: host.iob12b instance system.adapter.backitup.0 terminated with code null ()
                          2019-11-09 13:40:01.464  - info: host.iob12b All instances are stopped.
                          

                          Also nach "All Instances are stopped" dauert es 90s bis man auf der Konsole wieder was eingeben kann. Was könnte denn das für ein Problem sein?

                          J Offline
                          J Offline
                          Jan1
                          wrote on last edited by
                          #986

                          @Einstein67
                          Kann ich bestätigen, hatte mal den Beelink durch booten wollen und der zeigt mit an was beim Restart passiert. Da hat er ewig beim Stoppen vom IOBroke rum gerödelt, was vorher deutlich schneller lief.

                          apollon77A 2 Replies Last reply
                          0
                          • M msauer

                            @apollon77 hii...1...das Icon von gestern ist jetzt im Dateimanager zu sehen, komisch...nun habe ich versucht mehrere Dateien zu kopieren. Das scheint nicht zu gehen..ok, dachte ich, dann einzeln...also Befehl "iobroker file write /tmp/thermo/control_minus.png 0_userdata.0/files/icons/thermo/" abgesetzt...Also Antwort kam dann "File "/tmp/thermo/control_minus.png" stored as "files/icons/thermo/"..Im Dateimanager ist aber nichts zu sehen... auch refresh hilft nicht...

                            cb1da8dd-40db-425c-8dd9-ca071045a270-image.png

                            Wie kann ich den eine ganze Gruppe von Dateien, wenn es denn geht, kopieren?
                            Danke
                            Mark

                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            wrote on last edited by
                            #987

                            @msauer gib mal bei dem Kommando beim ziel auch den Dateinamen am Ende an. Nicht nur den Pfad. Ich schau beim Kommando nochmal.

                            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                            1 Reply Last reply
                            0
                            • J Jan1

                              @Einstein67
                              Kann ich bestätigen, hatte mal den Beelink durch booten wollen und der zeigt mit an was beim Restart passiert. Da hat er ewig beim Stoppen vom IOBroke rum gerödelt, was vorher deutlich schneller lief.

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              wrote on last edited by
                              #988

                              @Jan1 Interessant, nutzt Ihr Compact Mode?

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              J E 2 Replies Last reply
                              0
                              • apollon77A apollon77

                                @Jan1 Interessant, nutzt Ihr Compact Mode?

                                J Offline
                                J Offline
                                Jan1
                                wrote on last edited by
                                #989

                                @apollon77
                                Ja und da auch endlich für Telegramm ohne Probleme

                                1 Reply Last reply
                                0
                                • apollon77A apollon77

                                  @Jan1 Interessant, nutzt Ihr Compact Mode?

                                  E Offline
                                  E Offline
                                  Einstein67
                                  wrote on last edited by
                                  #990

                                  @apollon77 said in Test js-controller v2.0.x (GitHub):

                                  @Jan1 Interessant, nutzt Ihr Compact Mode?

                                  Ich hab den Compact Mode mal getestet (hat auch problemlos funktioniert), aber mittlerweile ist der Modus "disabled".

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    Marty56
                                    wrote on last edited by
                                    #991

                                    @apollon77
                                    Wäre es eigentlich möglich, dass in dem iobroker list instances Befehl auch gelistet wird, ob der Adapter überhaupt den Compact Modus grundsätzlich unterstützt?

                                    Sonst ist das immer ein Try und Error.

                                    HW:NUC (16 GB Ram)
                                    OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                                    apollon77A 1 Reply Last reply
                                    0
                                    • J Jan1

                                      @Einstein67
                                      Kann ich bestätigen, hatte mal den Beelink durch booten wollen und der zeigt mit an was beim Restart passiert. Da hat er ewig beim Stoppen vom IOBroke rum gerödelt, was vorher deutlich schneller lief.

                                      apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      wrote on last edited by
                                      #992

                                      @Jan1 gefunden. die 2.0.41 kommt heute bend

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      J 1 Reply Last reply
                                      0
                                      • apollon77A apollon77

                                        @Jan1 gefunden. die 2.0.41 kommt heute bend

                                        J Offline
                                        J Offline
                                        Jan1
                                        wrote on last edited by
                                        #993

                                        @apollon77
                                        Wo ist Deine Kaffeekasse?

                                        apollon77A 1 Reply Last reply
                                        0
                                        • J Jan1

                                          @apollon77
                                          Wo ist Deine Kaffeekasse?

                                          apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          wrote on last edited by
                                          #994

                                          @Jan1 in meiner Signatur stehen beide ;-)

                                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          J 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          348

                                          Online

                                          32.5k

                                          Users

                                          81.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe