Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 3.0/3.1 jetzt im Latest!

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    12
    2
    251

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

js-controller 3.0/3.1 jetzt im Latest!

js-controller 3.0/3.1 jetzt im Latest!

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controller
1.3k Posts 127 Posters 493.9k Views 89 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.
  • TH GT TH G

    Die Skripte kommen nicht von mir sondern erstellt ein anderer User. Es geht um die SMA Steuerung der Akku Ladung.

    Ich habe gestern das Update auf meinem RPI4 gemacht und seit dem gibt es Probleme. Es werden keine Fehler angezeigt.

    Der Skriptersteller hat keine Erklärung und ich soll auf die 2.2.9 wieder zurück gehen, um das Problem eingrenzen zu können.

    Das Update ist über die Konsole/Terminal erfolgt.

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

    @TH-G
    Da gabs wohl Probleme mit "Log" und "Logs", was im Script steht und der 3er JS wohl etwas strenger ist, das bemängelt und still legt. Kannst ja mal danach suchen.
    Wobei es einfach nimmer bisschen naiv ist, wenn man kein Plan, hat sich einfach Scripte von andern zu schnappen und zu erwarten, dass das läuft 😉
    Ich hatte zu Beginn auch kein Plan, aber schön meine Scripte mit Blockly gebastelt, da mir Java Script immer noch ein Buch mit 7 Siegeln ist. So weiß ich wenigstens was meine Scripte machen und kann selber dafür sorgen, dass sie laufen.

    1 Reply Last reply
    0
    • TH GT Offline
      TH GT Offline
      TH G
      wrote on last edited by
      #852

      Glaube mir bitte, dass die Zusammenarbeit mit dem anderen User sehr gut ist und ein intensiver Austausch, nicht nur mit mir, erfolgt, denn ich bin nicht der einzige, der Probleme mit der SMA Hersteller Lösung hat.

      Ich war so naiv auf 3.0 zu gehen, da mir das alles recht stabil aussah und ich nicht das Gefühl hatte, dass es solche Probleme geben könnte.

      Deswegen bitte nochmals die Frage.

      Gibt es einen Befehl wieder auf die 2.2.9 zu gehen?

      Thomas BraunT J 2 Replies Last reply
      0
      • TH GT TH G

        Glaube mir bitte, dass die Zusammenarbeit mit dem anderen User sehr gut ist und ein intensiver Austausch, nicht nur mit mir, erfolgt, denn ich bin nicht der einzige, der Probleme mit der SMA Hersteller Lösung hat.

        Ich war so naiv auf 3.0 zu gehen, da mir das alles recht stabil aussah und ich nicht das Gefühl hatte, dass es solche Probleme geben könnte.

        Deswegen bitte nochmals die Frage.

        Gibt es einen Befehl wieder auf die 2.2.9 zu gehen?

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by Thomas Braun
        #853

        @TH-G

        iobroker install js-controller@2.2.9
        

        Kann aber sein, das das dann noch orgendwo klemmt. Müssen wir sehen.
        Am besten aber einen eigenen Thread dafür aufmachen, das gehört hier nicht rein.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        TH GT 1 Reply Last reply
        0
        • TH GT TH G

          Glaube mir bitte, dass die Zusammenarbeit mit dem anderen User sehr gut ist und ein intensiver Austausch, nicht nur mit mir, erfolgt, denn ich bin nicht der einzige, der Probleme mit der SMA Hersteller Lösung hat.

          Ich war so naiv auf 3.0 zu gehen, da mir das alles recht stabil aussah und ich nicht das Gefühl hatte, dass es solche Probleme geben könnte.

          Deswegen bitte nochmals die Frage.

          Gibt es einen Befehl wieder auf die 2.2.9 zu gehen?

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

          @TH-G
          Das Problem ist nicht 3.* sondern die fehlerhaften Scripte und da musst Du ansetzten, nicht am stabilen JS der jetzt eben Dinge nicht mehr durchgehen lässt, die nicht richtig sind, aber trotzdem funktioniert haben.
          Wenn Du schon so ein guten Draht zu den Urhebern der Scripte hast, dann sollten die auch ihre Scripte anpassen. Nicht der Berg sollte zum Propheten 😉

          M 1 Reply Last reply
          1
          • Thomas BraunT Thomas Braun

            @TH-G

            iobroker install js-controller@2.2.9
            

            Kann aber sein, das das dann noch orgendwo klemmt. Müssen wir sehen.
            Am besten aber einen eigenen Thread dafür aufmachen, das gehört hier nicht rein.

            TH GT Offline
            TH GT Offline
            TH G
            wrote on last edited by
            #855

            @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

            @TH-G

            iobroker install js-controller@2.2.9
            

            Kann aber sein, das das dann noch orgendwo klemmt. Müssen wir sehen.

            Sind dann die Einstellungen weg?

            Hier ist das Skript RC1.1 das die Probleme verursacht.

            https://github.com/Maverick78de/SMA_forecast_charging

            Eine ältere Version läuft allerdings.

            Thomas BraunT 1 Reply Last reply
            0
            • TH GT TH G

              @Thomas-Braun sagte in js-controller 3.0 jetzt im Latest!:

              @TH-G

              iobroker install js-controller@2.2.9
              

              Kann aber sein, das das dann noch orgendwo klemmt. Müssen wir sehen.

              Sind dann die Einstellungen weg?

              Hier ist das Skript RC1.1 das die Probleme verursacht.

              https://github.com/Maverick78de/SMA_forecast_charging

              Eine ältere Version läuft allerdings.

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #856

              @TH-G sagte in js-controller 3.0 jetzt im Latest!:

              Sind dann die Einstellungen weg?

              Vielleicht. Und die Katze explodiert evtl. auch. Aber du hast ja ein Backup. Nur für die Katze ist es doof.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Reply Last reply
              0
              • TH GT Offline
                TH GT Offline
                TH G
                wrote on last edited by
                #857

                pi@raspberrypi:~ $ iobroker install js-controller 2.2.9
                adapter "js-controller" already installed. Use "upgrade" to upgrade to a newer version.
                pi@raspberrypi:~ $ iobroker version
                3.0.20

                Geht leider nicht

                Thomas BraunT 1 Reply Last reply
                0
                • TH GT TH G

                  pi@raspberrypi:~ $ iobroker install js-controller 2.2.9
                  adapter "js-controller" already installed. Use "upgrade" to upgrade to a newer version.
                  pi@raspberrypi:~ $ iobroker version
                  3.0.20

                  Geht leider nicht

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by Thomas Braun
                  #858

                  @TH-G Da fehlt das @.
                  Und mach dafür einen eigenen Thread auf!

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Reply Last reply
                  0
                  • TH GT Offline
                    TH GT Offline
                    TH G
                    wrote on last edited by
                    #859

                    Danke mache ich und mit dem @ habe ich es auch probiert

                    apollon77A 1 Reply Last reply
                    0
                    • TH GT TH G

                      Danke mache ich und mit dem @ habe ich es auch probiert

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

                      @TH-G Ne nimm einfach "npm install iobroker.js-controller@2.2.9" .. sieht Doku im ersten Post

                      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
                      Thomas BraunT 1 Reply Last reply
                      0
                      • apollon77A apollon77

                        @TH-G Ne nimm einfach "npm install iobroker.js-controller@2.2.9" .. sieht Doku im ersten Post

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by Thomas Braun
                        #861

                        @apollon77 Im neuen Thread hatten wir das dann auch gleich richtig gemacht... 🙂

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

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

                          Hey All,

                          nachdem die 3.0.20 nun ein paar Tage bereits im Einsatz ist und über 3000 Installationen aufweist sind wir fast soweit das es ins Stable gehen kann. Wir haben noch ein paar Fixes gesammelt und vor allem die Aktivierung des Sentry Fehler-Reportings noch etwas deutlicher bei der Erstinstallation eines 3.xer js-controllers hervorgehoben.

                          Es kam noch ein kleineres Feature dazu und daher haben wir (auch weil wir schon bei 3.0.20 waren) für als Vorbereitung für den Stable Release das ganze zur 3.1 gemacht 🙂

                          Changelog:

                          3.1.2 (2020-05-09) Release Francesca

                          • (foxriver76) catch error on alias ids with empty objects
                          • (Apollon77) make sure promise rejections without error are not crashing the controller
                          • (bluefox) Add Controller messages to allow read and write controller base settings (iobroker.json); introduce adapter feature flag CONTROLLER_READWRITE_BASE_SETTINGS
                          • (Apollon77) handle edge case where hostName is not a string when sending messages (Sentry IOBROKER-ADMIN-B)
                          • (Apollon77) handle case where letsencrypt directory can not be created (Sentry IOBROKER-ADMIN-C/IOBROKER-WEB-B)
                          • (bluefox) add IDs to some log messages
                          • (foxriver76) fix some logging in objects lib
                          • (Apollon77) make sure to catch error when reading log directory (Sentry IOBROKER-JS-CONTROLLER-1F)
                          • (foxriver76) Make decrypt and encrypt methods available in adapter object for developers. System secret is read automatically soonly the value is passed to the function
                          • (AlCalzone) Add adapter exit code 13 (ADAPTER_REQUESTED_REBUILD) to also allow to tell js-controller to rebuild this adapter.
                          • (Apollon77) change logging for invalid readFile actions to debug because ca be triggered also by other cases then planned ones. Update objects lib
                          • (Apollon77) make sure command on cmdExec is a string (Sentry IOBROKER-JS-CONTROLLER-1H)
                          • (Apollon77) Check more cases for existence of variables before accessing them (Sentry IOBROKER-JS-CONTROLLER-E)
                          • (Apollon77) Add a node.js version check and output special error message if node.js version is not satisfied
                          • (AlCalzone) Add missing parameter digest to crypto calls
                          • (AlCalzone) further code optimizatons
                          • (AlCalzone) Allow reverse lookup of exit codes (exit code -> error name)
                          • (Apollon77) make sure Objects/States backup files are deleted correctly according to backup settings
                          • (foxriver76) Make sure default state value is only set if state is not existing also in setObject
                          • (foxriver76) check that alias is of type state when adding subscribing pattern
                          • (Apollon77) Make sure error are checked correctly (Sentry IOBROKER-JS-CONTROLLER-1N)
                          • (Apollon77) Inform about sentry activation if not configured on "iobroker setup first"
                          • (bluefox) implement maintenance mode for adapter methods
                          • (bluefox) store for binary states the binary flag in objects
                          • (Apollon77) update Plugin system
                          • (Apollon77) update Sentry plugin to respect all options to disable reporting including new disableDataReporting flag ( will be integrated into Admin later)
                          • (AlCalzone) Add Plugin CLI commands to enable/disable plugins

                          Die Version sollte in de nächsten Stunden im Latest Repository auftauchen. Wenn alles klappt werden wir ab morgen über den Info Adapter eine Info Meldung für alle Latest Nutzer einblenden die auf die neue Version hinweist und im Laufe der nächsten Woche geht der Controller 3.1 ins Stable.

                          Viel Spass damit.

                          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
                          Thomas BraunT L sigi234S 3 Replies Last reply
                          5
                          • apollon77A apollon77

                            Hey All,

                            nachdem die 3.0.20 nun ein paar Tage bereits im Einsatz ist und über 3000 Installationen aufweist sind wir fast soweit das es ins Stable gehen kann. Wir haben noch ein paar Fixes gesammelt und vor allem die Aktivierung des Sentry Fehler-Reportings noch etwas deutlicher bei der Erstinstallation eines 3.xer js-controllers hervorgehoben.

                            Es kam noch ein kleineres Feature dazu und daher haben wir (auch weil wir schon bei 3.0.20 waren) für als Vorbereitung für den Stable Release das ganze zur 3.1 gemacht 🙂

                            Changelog:

                            3.1.2 (2020-05-09) Release Francesca

                            • (foxriver76) catch error on alias ids with empty objects
                            • (Apollon77) make sure promise rejections without error are not crashing the controller
                            • (bluefox) Add Controller messages to allow read and write controller base settings (iobroker.json); introduce adapter feature flag CONTROLLER_READWRITE_BASE_SETTINGS
                            • (Apollon77) handle edge case where hostName is not a string when sending messages (Sentry IOBROKER-ADMIN-B)
                            • (Apollon77) handle case where letsencrypt directory can not be created (Sentry IOBROKER-ADMIN-C/IOBROKER-WEB-B)
                            • (bluefox) add IDs to some log messages
                            • (foxriver76) fix some logging in objects lib
                            • (Apollon77) make sure to catch error when reading log directory (Sentry IOBROKER-JS-CONTROLLER-1F)
                            • (foxriver76) Make decrypt and encrypt methods available in adapter object for developers. System secret is read automatically soonly the value is passed to the function
                            • (AlCalzone) Add adapter exit code 13 (ADAPTER_REQUESTED_REBUILD) to also allow to tell js-controller to rebuild this adapter.
                            • (Apollon77) change logging for invalid readFile actions to debug because ca be triggered also by other cases then planned ones. Update objects lib
                            • (Apollon77) make sure command on cmdExec is a string (Sentry IOBROKER-JS-CONTROLLER-1H)
                            • (Apollon77) Check more cases for existence of variables before accessing them (Sentry IOBROKER-JS-CONTROLLER-E)
                            • (Apollon77) Add a node.js version check and output special error message if node.js version is not satisfied
                            • (AlCalzone) Add missing parameter digest to crypto calls
                            • (AlCalzone) further code optimizatons
                            • (AlCalzone) Allow reverse lookup of exit codes (exit code -> error name)
                            • (Apollon77) make sure Objects/States backup files are deleted correctly according to backup settings
                            • (foxriver76) Make sure default state value is only set if state is not existing also in setObject
                            • (foxriver76) check that alias is of type state when adding subscribing pattern
                            • (Apollon77) Make sure error are checked correctly (Sentry IOBROKER-JS-CONTROLLER-1N)
                            • (Apollon77) Inform about sentry activation if not configured on "iobroker setup first"
                            • (bluefox) implement maintenance mode for adapter methods
                            • (bluefox) store for binary states the binary flag in objects
                            • (Apollon77) update Plugin system
                            • (Apollon77) update Sentry plugin to respect all options to disable reporting including new disableDataReporting flag ( will be integrated into Admin later)
                            • (AlCalzone) Add Plugin CLI commands to enable/disable plugins

                            Die Version sollte in de nächsten Stunden im Latest Repository auftauchen. Wenn alles klappt werden wir ab morgen über den Info Adapter eine Info Meldung für alle Latest Nutzer einblenden die auf die neue Version hinweist und im Laufe der nächsten Woche geht der Controller 3.1 ins Stable.

                            Viel Spass damit.

                            Ingo

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #863

                            @apollon77

                            pi@raspberrypi:~ $ iobroker version
                            3.1.2
                            pi@raspberrypi:~ $ iobroker status
                            iobroker is running on this host.
                            
                            At least one iobroker host is running.
                            
                            Objects type: file
                            States  type: redis
                            

                            startup unauffällig, iobroker.current.log bleibt auch ruhig.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            1 Reply Last reply
                            1
                            • apollon77A apollon77

                              Hey All,

                              nachdem die 3.0.20 nun ein paar Tage bereits im Einsatz ist und über 3000 Installationen aufweist sind wir fast soweit das es ins Stable gehen kann. Wir haben noch ein paar Fixes gesammelt und vor allem die Aktivierung des Sentry Fehler-Reportings noch etwas deutlicher bei der Erstinstallation eines 3.xer js-controllers hervorgehoben.

                              Es kam noch ein kleineres Feature dazu und daher haben wir (auch weil wir schon bei 3.0.20 waren) für als Vorbereitung für den Stable Release das ganze zur 3.1 gemacht 🙂

                              Changelog:

                              3.1.2 (2020-05-09) Release Francesca

                              • (foxriver76) catch error on alias ids with empty objects
                              • (Apollon77) make sure promise rejections without error are not crashing the controller
                              • (bluefox) Add Controller messages to allow read and write controller base settings (iobroker.json); introduce adapter feature flag CONTROLLER_READWRITE_BASE_SETTINGS
                              • (Apollon77) handle edge case where hostName is not a string when sending messages (Sentry IOBROKER-ADMIN-B)
                              • (Apollon77) handle case where letsencrypt directory can not be created (Sentry IOBROKER-ADMIN-C/IOBROKER-WEB-B)
                              • (bluefox) add IDs to some log messages
                              • (foxriver76) fix some logging in objects lib
                              • (Apollon77) make sure to catch error when reading log directory (Sentry IOBROKER-JS-CONTROLLER-1F)
                              • (foxriver76) Make decrypt and encrypt methods available in adapter object for developers. System secret is read automatically soonly the value is passed to the function
                              • (AlCalzone) Add adapter exit code 13 (ADAPTER_REQUESTED_REBUILD) to also allow to tell js-controller to rebuild this adapter.
                              • (Apollon77) change logging for invalid readFile actions to debug because ca be triggered also by other cases then planned ones. Update objects lib
                              • (Apollon77) make sure command on cmdExec is a string (Sentry IOBROKER-JS-CONTROLLER-1H)
                              • (Apollon77) Check more cases for existence of variables before accessing them (Sentry IOBROKER-JS-CONTROLLER-E)
                              • (Apollon77) Add a node.js version check and output special error message if node.js version is not satisfied
                              • (AlCalzone) Add missing parameter digest to crypto calls
                              • (AlCalzone) further code optimizatons
                              • (AlCalzone) Allow reverse lookup of exit codes (exit code -> error name)
                              • (Apollon77) make sure Objects/States backup files are deleted correctly according to backup settings
                              • (foxriver76) Make sure default state value is only set if state is not existing also in setObject
                              • (foxriver76) check that alias is of type state when adding subscribing pattern
                              • (Apollon77) Make sure error are checked correctly (Sentry IOBROKER-JS-CONTROLLER-1N)
                              • (Apollon77) Inform about sentry activation if not configured on "iobroker setup first"
                              • (bluefox) implement maintenance mode for adapter methods
                              • (bluefox) store for binary states the binary flag in objects
                              • (Apollon77) update Plugin system
                              • (Apollon77) update Sentry plugin to respect all options to disable reporting including new disableDataReporting flag ( will be integrated into Admin later)
                              • (AlCalzone) Add Plugin CLI commands to enable/disable plugins

                              Die Version sollte in de nächsten Stunden im Latest Repository auftauchen. Wenn alles klappt werden wir ab morgen über den Info Adapter eine Info Meldung für alle Latest Nutzer einblenden die auf die neue Version hinweist und im Laufe der nächsten Woche geht der Controller 3.1 ins Stable.

                              Viel Spass damit.

                              Ingo

                              L Offline
                              L Offline
                              lonsimbt
                              wrote on last edited by
                              #864

                              @apollon77

                              Ihr seid so schnell, da kommt man mit dem Testen nicht hinterher 😉

                              Keine Auffälligkeiten im Log, alle Adapter grün.

                              Viele Grüße
                              Marco

                              iobroker im Container (debian Bullseye) unter proxmox 7.1
                              debmatic in VM (debian Buster) unter proxmox 7.1 mit HB-RF-USB und RPI-RF-MOD
                              40 HomeMatic Geräte, Phillips Hue, Ikea Tradfri, Logitech Harmony Hub, Botvac Connected, Robonect

                              1 Reply Last reply
                              1
                              • apollon77A apollon77

                                Hey All,

                                nachdem die 3.0.20 nun ein paar Tage bereits im Einsatz ist und über 3000 Installationen aufweist sind wir fast soweit das es ins Stable gehen kann. Wir haben noch ein paar Fixes gesammelt und vor allem die Aktivierung des Sentry Fehler-Reportings noch etwas deutlicher bei der Erstinstallation eines 3.xer js-controllers hervorgehoben.

                                Es kam noch ein kleineres Feature dazu und daher haben wir (auch weil wir schon bei 3.0.20 waren) für als Vorbereitung für den Stable Release das ganze zur 3.1 gemacht 🙂

                                Changelog:

                                3.1.2 (2020-05-09) Release Francesca

                                • (foxriver76) catch error on alias ids with empty objects
                                • (Apollon77) make sure promise rejections without error are not crashing the controller
                                • (bluefox) Add Controller messages to allow read and write controller base settings (iobroker.json); introduce adapter feature flag CONTROLLER_READWRITE_BASE_SETTINGS
                                • (Apollon77) handle edge case where hostName is not a string when sending messages (Sentry IOBROKER-ADMIN-B)
                                • (Apollon77) handle case where letsencrypt directory can not be created (Sentry IOBROKER-ADMIN-C/IOBROKER-WEB-B)
                                • (bluefox) add IDs to some log messages
                                • (foxriver76) fix some logging in objects lib
                                • (Apollon77) make sure to catch error when reading log directory (Sentry IOBROKER-JS-CONTROLLER-1F)
                                • (foxriver76) Make decrypt and encrypt methods available in adapter object for developers. System secret is read automatically soonly the value is passed to the function
                                • (AlCalzone) Add adapter exit code 13 (ADAPTER_REQUESTED_REBUILD) to also allow to tell js-controller to rebuild this adapter.
                                • (Apollon77) change logging for invalid readFile actions to debug because ca be triggered also by other cases then planned ones. Update objects lib
                                • (Apollon77) make sure command on cmdExec is a string (Sentry IOBROKER-JS-CONTROLLER-1H)
                                • (Apollon77) Check more cases for existence of variables before accessing them (Sentry IOBROKER-JS-CONTROLLER-E)
                                • (Apollon77) Add a node.js version check and output special error message if node.js version is not satisfied
                                • (AlCalzone) Add missing parameter digest to crypto calls
                                • (AlCalzone) further code optimizatons
                                • (AlCalzone) Allow reverse lookup of exit codes (exit code -> error name)
                                • (Apollon77) make sure Objects/States backup files are deleted correctly according to backup settings
                                • (foxriver76) Make sure default state value is only set if state is not existing also in setObject
                                • (foxriver76) check that alias is of type state when adding subscribing pattern
                                • (Apollon77) Make sure error are checked correctly (Sentry IOBROKER-JS-CONTROLLER-1N)
                                • (Apollon77) Inform about sentry activation if not configured on "iobroker setup first"
                                • (bluefox) implement maintenance mode for adapter methods
                                • (bluefox) store for binary states the binary flag in objects
                                • (Apollon77) update Plugin system
                                • (Apollon77) update Sentry plugin to respect all options to disable reporting including new disableDataReporting flag ( will be integrated into Admin later)
                                • (AlCalzone) Add Plugin CLI commands to enable/disable plugins

                                Die Version sollte in de nächsten Stunden im Latest Repository auftauchen. Wenn alles klappt werden wir ab morgen über den Info Adapter eine Info Meldung für alle Latest Nutzer einblenden die auf die neue Version hinweist und im Laufe der nächsten Woche geht der Controller 3.1 ins Stable.

                                Viel Spass damit.

                                Ingo

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

                                @apollon77

                                Läuft, alle Adapter Grün, vorläufig keine Meldungen im Log.

                                Screenshot (2433).png

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

                                1 Reply Last reply
                                1
                                • Holger76H Offline
                                  Holger76H Offline
                                  Holger76
                                  wrote on last edited by Holger76
                                  #866

                                  bei mir leider nicht. Es streikt der Unifi - Adapter, bleibt gelb (0.5, aber auch ein downgrade auf den vorigen läuft nicht) Meldung im LOG :

                                  (3030) Error: api.err.Invalid

                                  Ansonsten streikt auch der Discovergy Adapter, bleibt rot. (Login-Daten stimmen, nochmal kontrolliert, ging ja vorher auch)

                                  LOG:

                                  2020-05-10 00:02:01.030 - info: discovergy.0 (3267) starting. Version 0.5.4 in /opt/iobroker/node_modules/iobroker.discovergy, node: v12.16.3, js-controller: 3.1.2
                                  2020-05-10 00:02:01.044 - info: discovergy.0 (3267) Discovergy Adapter startet, trying to discover meters associated with your account
                                  2020-05-10 00:02:01.209 - error: discovergy.0 (3267) Connection_Failed at meter indication run, check your credentials !
                                  2020-05-10 00:02:01.211 - error: 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().
                                  2020-05-10 00:02:01.211 - error: discovergy.0 (3267) unhandled promise rejection: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                  2020-05-10 00:02:01.214 - error: discovergy.0 (3267) StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                  at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                  at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                  at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                  at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                  at Request.emit (events.js:310:20)
                                  at Request.EventEmitter.emit (domain.js:482:12)
                                  at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                  at Request.emit (events.js:310:20)
                                  at Request.EventEmitter.emit (domain.js:482:12)
                                  at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                  2020-05-10 00:02:01.214 - info: discovergy.0 (3267) cleaned everything up...
                                  2020-05-10 00:02:01.266 - info: discovergy.0 (3267) terminating
                                  2020-05-10 00:02:01.267 - info: discovergy.0 (3267) Terminated (NO_ERROR): Without reason
                                  2020-05-10 00:02:01.789 - error: host.ioBroker Caught by controller[0]: 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(). The promise rejected with the reason:
                                  2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                  2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                  2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                  2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                  2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                  2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                  2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                  2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                  2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                  2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                  2020-05-10 00:02:01.792 - error: host.ioBroker Caught by controller[1]: at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                  2020-05-10 00:02:01.792 - info: host.ioBroker instance system.adapter.discovergy.0 terminated with code 0 (NO_ERROR)
                                  2020-05-10 00:02:01.792 - info: host.ioBroker Restart adapter system.adapter.discovergy.0 because enabled
                                  
                                  

                                  Alle Adapter sind latest.
                                  Debian 10, NodeJS12

                                  NUC8I5BEH (32GB,1TB-SSD) -> Proxmox VM [ioBroker.Pro auf Debian]+[InfluxDB/Grafana]+[AdGuard]+[ Rasp.matic] + [Conbee3] +[Graylog]+[Octopi]
                                  NUC6CAYH (16GB) [Proxmox Backup Server]+[OMV]

                                  apollon77A 2 Replies Last reply
                                  0
                                  • Holger76H Holger76

                                    bei mir leider nicht. Es streikt der Unifi - Adapter, bleibt gelb (0.5, aber auch ein downgrade auf den vorigen läuft nicht) Meldung im LOG :

                                    (3030) Error: api.err.Invalid

                                    Ansonsten streikt auch der Discovergy Adapter, bleibt rot. (Login-Daten stimmen, nochmal kontrolliert, ging ja vorher auch)

                                    LOG:

                                    2020-05-10 00:02:01.030 - info: discovergy.0 (3267) starting. Version 0.5.4 in /opt/iobroker/node_modules/iobroker.discovergy, node: v12.16.3, js-controller: 3.1.2
                                    2020-05-10 00:02:01.044 - info: discovergy.0 (3267) Discovergy Adapter startet, trying to discover meters associated with your account
                                    2020-05-10 00:02:01.209 - error: discovergy.0 (3267) Connection_Failed at meter indication run, check your credentials !
                                    2020-05-10 00:02:01.211 - error: 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().
                                    2020-05-10 00:02:01.211 - error: discovergy.0 (3267) unhandled promise rejection: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                    2020-05-10 00:02:01.214 - error: discovergy.0 (3267) StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                    at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                    at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                    at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                    at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                    at Request.emit (events.js:310:20)
                                    at Request.EventEmitter.emit (domain.js:482:12)
                                    at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                    at Request.emit (events.js:310:20)
                                    at Request.EventEmitter.emit (domain.js:482:12)
                                    at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                    2020-05-10 00:02:01.214 - info: discovergy.0 (3267) cleaned everything up...
                                    2020-05-10 00:02:01.266 - info: discovergy.0 (3267) terminating
                                    2020-05-10 00:02:01.267 - info: discovergy.0 (3267) Terminated (NO_ERROR): Without reason
                                    2020-05-10 00:02:01.789 - error: host.ioBroker Caught by controller[0]: 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(). The promise rejected with the reason:
                                    2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                    2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                    2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                    2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                    2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                    2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                    2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                    2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                    2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                    2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                    2020-05-10 00:02:01.792 - error: host.ioBroker Caught by controller[1]: at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                    2020-05-10 00:02:01.792 - info: host.ioBroker instance system.adapter.discovergy.0 terminated with code 0 (NO_ERROR)
                                    2020-05-10 00:02:01.792 - info: host.ioBroker Restart adapter system.adapter.discovergy.0 because enabled
                                    
                                    

                                    Alle Adapter sind latest.
                                    Debian 10, NodeJS12

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

                                    @Holger76 dann bitte die Fehler bei beiden Adaptern melden, haben beide nichts direkt mit dem Controller zu tun. Am besten in den einschlägigen Forum Threads bzw als GitHub-Issue

                                    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
                                    • Holger76H Holger76

                                      bei mir leider nicht. Es streikt der Unifi - Adapter, bleibt gelb (0.5, aber auch ein downgrade auf den vorigen läuft nicht) Meldung im LOG :

                                      (3030) Error: api.err.Invalid

                                      Ansonsten streikt auch der Discovergy Adapter, bleibt rot. (Login-Daten stimmen, nochmal kontrolliert, ging ja vorher auch)

                                      LOG:

                                      2020-05-10 00:02:01.030 - info: discovergy.0 (3267) starting. Version 0.5.4 in /opt/iobroker/node_modules/iobroker.discovergy, node: v12.16.3, js-controller: 3.1.2
                                      2020-05-10 00:02:01.044 - info: discovergy.0 (3267) Discovergy Adapter startet, trying to discover meters associated with your account
                                      2020-05-10 00:02:01.209 - error: discovergy.0 (3267) Connection_Failed at meter indication run, check your credentials !
                                      2020-05-10 00:02:01.211 - error: 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().
                                      2020-05-10 00:02:01.211 - error: discovergy.0 (3267) unhandled promise rejection: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                      2020-05-10 00:02:01.214 - error: discovergy.0 (3267) StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                      at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                      at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                      at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                      at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                      at Request.emit (events.js:310:20)
                                      at Request.EventEmitter.emit (domain.js:482:12)
                                      at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                      at Request.emit (events.js:310:20)
                                      at Request.EventEmitter.emit (domain.js:482:12)
                                      at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                      2020-05-10 00:02:01.214 - info: discovergy.0 (3267) cleaned everything up...
                                      2020-05-10 00:02:01.266 - info: discovergy.0 (3267) terminating
                                      2020-05-10 00:02:01.267 - info: discovergy.0 (3267) Terminated (NO_ERROR): Without reason
                                      2020-05-10 00:02:01.789 - error: host.ioBroker Caught by controller[0]: 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(). The promise rejected with the reason:
                                      2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: StatusCodeError: 401 - "401 Unauthorized: Invalid email or password supplied in the HTTP Authorization header"
                                      2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15)
                                      2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33)
                                      2020-05-10 00:02:01.790 - error: host.ioBroker Caught by controller[1]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31)
                                      2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                                      2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                      2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                      2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request. (/opt/iobroker/node_modules/request/request.js:1154:10)
                                      2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.emit (events.js:310:20)
                                      2020-05-10 00:02:01.791 - error: host.ioBroker Caught by controller[1]: at Request.EventEmitter.emit (domain.js:482:12)
                                      2020-05-10 00:02:01.792 - error: host.ioBroker Caught by controller[1]: at IncomingMessage. (/opt/iobroker/node_modules/request/request.js:1076:12)
                                      2020-05-10 00:02:01.792 - info: host.ioBroker instance system.adapter.discovergy.0 terminated with code 0 (NO_ERROR)
                                      2020-05-10 00:02:01.792 - info: host.ioBroker Restart adapter system.adapter.discovergy.0 because enabled
                                      
                                      

                                      Alle Adapter sind latest.
                                      Debian 10, NodeJS12

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

                                      @Holger76 Versuch mal im Admin die Passwörter neu zu einzugeben bei den beiden Adaptern.

                                      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
                                      Holger76H 1 Reply Last reply
                                      0
                                      • apollon77A apollon77

                                        @Holger76 Versuch mal im Admin die Passwörter neu zu einzugeben bei den beiden Adaptern.

                                        Holger76H Offline
                                        Holger76H Offline
                                        Holger76
                                        wrote on last edited by
                                        #869

                                        @apollon77 hatte ich natürlich schon getestet, bevor ich sowas hier melde 😉

                                        ok ich meld mich bei den Adaptern direkt...

                                        NUC8I5BEH (32GB,1TB-SSD) -> Proxmox VM [ioBroker.Pro auf Debian]+[InfluxDB/Grafana]+[AdGuard]+[ Rasp.matic] + [Conbee3] +[Graylog]+[Octopi]
                                        NUC6CAYH (16GB) [Proxmox Backup Server]+[OMV]

                                        apollon77A 1 Reply Last reply
                                        0
                                        • Holger76H Holger76

                                          @apollon77 hatte ich natürlich schon getestet, bevor ich sowas hier melde 😉

                                          ok ich meld mich bei den Adaptern direkt...

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

                                          @Holger76 Ich habe gerade die 3.1.3 released die deine Probleme beheben sollte. Habe mich entschieden nach Check das ganze im js-controller zu fixen. Es lag daran das die Passwörter falsch entschlüsselt wurden. Bitte checke mal die 3.1.3 sobald Sie für dich da ist

                                          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
                                          S Holger76H 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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          101

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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