Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Alpha Test js-controller Kiera (v6.0)

NEWS

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

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

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Alpha Test js-controller Kiera (v6.0)

Geplant Angeheftet Gesperrt Verschoben Tester
alphajs-controllerkieratest
234 Beiträge 20 Kommentatoren 44.6k Aufrufe 25 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • foxriver76F foxriver76

    @mcm1957 Ja, im zweiten Post bereits angepasst, simple-api auch gleich auf dem Weg

    Rene55R Online
    Rene55R Online
    Rene55
    schrieb am zuletzt editiert von
    #74

    @foxriver76 Ich warte ab und werde dann berichten. :blush:

    Host: Fujitsu Intel(R) Pentium(R) CPU G4560T, 32 GB RAM, Proxmox 8.x + lxc Ubuntu 22.04
    ioBroker (8 GB RAM) Node.js: 20.19.1, NPM: 10.8.2, js-Controller: 7.0.6, Admin: 7.6.3
    Wetterstation: Froggit WH3000SE V1.6.6

    foxriver76F 1 Antwort Letzte Antwort
    0
    • Rene55R Rene55

      @foxriver76 Ich warte ab und werde dann berichten. :blush:

      foxriver76F Offline
      foxriver76F Offline
      foxriver76
      Developer
      schrieb am zuletzt editiert von
      #75

      @rene55 simple-api 2.8.0 ist auf dem Weg nach npm

      Videotutorials & mehr

      Hier könnt ihr mich unterstützen.

      Rene55R 1 Antwort Letzte Antwort
      0
      • foxriver76F foxriver76

        @mcm1957 Ja, im zweiten Post bereits angepasst, simple-api auch gleich auf dem Weg

        mcm1957M Online
        mcm1957M Online
        mcm1957
        schrieb am zuletzt editiert von
        #76

        @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

        @mcm1957 Ja, im zweiten Post bereits angepasst, simple-api auch gleich auf dem Weg

        Sorry, hätt hab ich nicht gesehn.

        Seh ich das richtig
        utils.commonTools.letsEncrypt;
        ist ein KO / Todo Kandidat.

        Dann werd ich das mal im checker mit scannen.

        Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
        Support Repositoryverwaltung.

        Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

        LESEN - gute Forenbeitrage

        foxriver76F 1 Antwort Letzte Antwort
        0
        • mcm1957M mcm1957

          @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

          @mcm1957 Ja, im zweiten Post bereits angepasst, simple-api auch gleich auf dem Weg

          Sorry, hätt hab ich nicht gesehn.

          Seh ich das richtig
          utils.commonTools.letsEncrypt;
          ist ein KO / Todo Kandidat.

          Dann werd ich das mal im checker mit scannen.

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          schrieb am zuletzt editiert von
          #77

          @mcm1957 Genau, das müsste auf das Package @iobroker/webserver umgestellt werden. Hoffe wir haben langsam alle.

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          1 Antwort Letzte Antwort
          0
          • mcm1957M Online
            mcm1957M Online
            mcm1957
            schrieb am zuletzt editiert von mcm1957
            #78

            @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

            @mcm1957 Genau, das müsste auf das Package @iobroker/webserver umgestellt werden. Hoffe wir haben langsam alle.

            Da wär noch was - wenn ichs richtig sehe:

            Telegram:
            https://github.com/iobroker-community-adapters/ioBroker.telegram/blob/86937de03dc13cf7618aedb8e01f1623aa5636f5/main.js#L15

            https://github.com/iobroker-community-adapters/ioBroker.telegram/issues/819

            Nachtrag: Wenns dich entlastet kann ich den Releasebuild dann machen. Nur Codeanpassung ohne zu wissen was ich GENAU tu mag ich bei dem wichtigen Adapter nicht so gern :-)

            Aber ja - lt github scan gibts den code sonst nirgends mehr (aktiv).

            Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
            Support Repositoryverwaltung.

            Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

            LESEN - gute Forenbeitrage

            1 Antwort Letzte Antwort
            0
            • foxriver76F foxriver76

              @feuersturm Kannst du nochmal updaten bitte, bzw. alle Linux Nutzer sollten nochmal updaten ;-)

              mcm1957M Online
              mcm1957M Online
              mcm1957
              schrieb am zuletzt editiert von
              #79

              @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

              @feuersturm Kannst du nochmal updaten bitte, bzw. alle Linux Nutzer sollten nochmal updaten ;-)

              Nurals Feedback:
              Arg fix bez-Instances / iCal Problem ist auch unter Windows gefixed.

              Hinweis and andere: Dies ist KEINE Empfehlung Windows zu aktualisiseren. Ich habe eine handeditierte Test-Installation !

              Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
              Support Repositoryverwaltung.

              Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

              LESEN - gute Forenbeitrage

              GaspodeG 1 Antwort Letzte Antwort
              0
              • mcm1957M mcm1957

                @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                @feuersturm Kannst du nochmal updaten bitte, bzw. alle Linux Nutzer sollten nochmal updaten ;-)

                Nurals Feedback:
                Arg fix bez-Instances / iCal Problem ist auch unter Windows gefixed.

                Hinweis and andere: Dies ist KEINE Empfehlung Windows zu aktualisiseren. Ich habe eine handeditierte Test-Installation !

                GaspodeG Online
                GaspodeG Online
                Gaspode
                schrieb am zuletzt editiert von
                #80

                @mcm1957 said in Alpha Test js-controller Kiera (v6.0):

                Hinweis and andere: Dies ist KEINE Empfehlung Windows zu aktualisiseren. Ich habe eine handeditierte Test-Installation !

                Zu Windows:
                Das grundsätzliche Problem sollte behoben sein.

                Allerdings ist es notwendig, nach (oder auch vor) der Aktualisierung von JS-Controller

                del iobroker.bat
                iob fix
                

                im ioBroker Cmd Fenster (starten über das Windows Starmenü) auszuführen.
                Der kommende Windows Installer wird das nach der Aktualisierung von JS-Controller automatisch machen, das wird aber erst relevant, wenn JS-Controller 6 im Stable Repostitory angekommen ist.

                Bis dahin gilt für Windows Tester (bitte auch ersten Beitrag von @foxriver76 beachten):
                Ausführen im Windows ioBroker Cmd Fenster:

                iob stop
                npm i iobroker.js-controller@next --omit=dev
                del iobroker.bat
                iob fix
                iob start
                

                Alternativ kann auch nur

                iob stop
                npm i iobroker.js-controller@next --omit=dev
                

                ausgeführt werden und der ioBroker Fixer dann via Windows GUI Installer.

                Viel Spaß beim Testen und Danke für eure Unterstützung!

                1 Antwort Letzte Antwort
                2
                • foxriver76F foxriver76

                  @rene55 simple-api 2.8.0 ist auf dem Weg nach npm

                  Rene55R Online
                  Rene55R Online
                  Rene55
                  schrieb am zuletzt editiert von
                  #81

                  @foxriver76 Simple-API läuft, Rest-API startet auch (- nur umgehen kann ich damit immer noch nicht).

                  Host: Fujitsu Intel(R) Pentium(R) CPU G4560T, 32 GB RAM, Proxmox 8.x + lxc Ubuntu 22.04
                  ioBroker (8 GB RAM) Node.js: 20.19.1, NPM: 10.8.2, js-Controller: 7.0.6, Admin: 7.6.3
                  Wetterstation: Froggit WH3000SE V1.6.6

                  1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @foxriver76

                    Was mir gerade noch auffällt: Ein eChart wird nicht mehr aktualisiert. Die Datenwerte kommen vornehmlich als alias rein, da vermute ich einen Zusammenhang mit

                    (foxriver76) optimize alias subscribe performance for non-redis dbs

                    Bastel aber noch dran herum.
                    Gegentest: Mit "js-controller": 5.0.19 füllen sich die DPs wieder korrekt.

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #82

                    @thomas-braun sagte in Alpha Test js-controller Kiera (v6.0):

                    Was mir gerade noch auffällt: Ein eChart wird nicht mehr aktualisiert. Die Datenwerte kommen vornehmlich als alias rein, da vermute ich einen Zusammenhang mit
                    (foxriver76) optimize alias subscribe performance for non-redis dbs
                    Bastel aber noch dran herum.
                    Gegentest: Mit "js-controller": 5.0.19 füllen sich die DPs wieder korrekt.

                    Hab eben den letzten Stand noch mal reingezogen, hier hat sich aber nichts verändert. Datenpunkte aus der History über einen Alias werden nicht aktualisiert.

                    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

                    foxriver76F 1 Antwort Letzte Antwort
                    0
                    • foxriver76F foxriver76
                      Aktuelle Test Version 6.0.0
                      Veröffentlichungsdatum 22.05.2024

                      Hallo ioBroker-Community,

                      Heute möchte ich Euch den js-controller 6.0 für einen ersten Alpha-test zur Verfügung stellen. Dieser Post enthält alle wichtigen Infos.

                      Node.js Versions-Anforderungen

                      In diesem Release entfällt Node.js 14.x und 16.x. Die unterstützten Node.js Versionen sind: 18.x, 20.x und voraussichtlich 22.x. Die empfohlene Node.js Version für ioBroker haben wir vor kurzem auf 20.x angehoben.
                      Bitte beachtet weiterhin bei Node.js Updates die Anleitung im Forum unter https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-14-16-und-18 !

                      Informationen zur Version

                      In dieser Version wurde die Umstellung des Quellcodes auf TypeScript nochmal vorangetrieben (5.X 76%, mit 6.X 90% der Codebase), wodurch am Ende die Stabilität weiter steigt weil viele Code-Fehler nicht mehr auftreten können.
                      Ebenfalls läuft der Controller nun komplett als ESM Modul, was uns technisch alle Möglichkeiten offen hält und auch Adapter nun komplett als ESM Module laufen können und somit keine Einschränkungen mehr haben falls Dependencies nur für ESM verfügbar sind.
                      Weiterhin sind auch einige neue Features unter anderem die Möglichkeit des automatisierten Adapter-Upgrades (Admin Funktionalität wird zeitnah implementiert), Informationen über das System Management (neue Pakete, restart nötig, ...) sowie das Management von geblockten Adapter-Versionen hinzugefügt.
                      Auch wenn mit dieser Version keine neuen relevanten Prüfungen hinzukommen, die zu Log-Ausgaben bei Adaptern führen, meldet aktuelle Logausgaben bitte weiterhin bei den Adaptern.

                      Detailliertere Informationen zu allen Änderungen und Features findet Ihr weiter unten und im Changelog. Ich hoffe auch diesmal auf Eure tatkräftige Unterstützung, sodass der Latest-Release dann genau so reibungslos verläuft wie bei den letzten Versionen.

                      Für die aktive Mitarbeit an dieser Version des js-controller bedanke mich diesmal wieder besonders bei Apollon77, AlCalzone und natürlich Bluefox und auch ein paar weiteren Entwicklern!

                      Darüber hinaus ist der js-controller 6.0 generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der Version 5.x ist problemlos möglich.
                      Ansonsten empfehlen wir ein schrittweises Update auf die 6.0 (3.3.x -> 4.0 -> 5.0).

                      Installation

                      VOR der Installation

                      Wie bei jedem Test dieser Art: Bitte macht ein Backup! iobroker backup bzw kopieren des iobroker-data Verzeichnisses reichen an sich aus. Bitte nicht das node_modules Verzeichnis einfach kopieren, da sonst symbolische Links kaputt gehen können, was zu größeren Problemen danach führt.
                      Eine alte 5.0.x-Version des js-controller kann im Notfall einfach wieder per npm install iobroker.js-controller@version ("version" durch die gewünschte Versionsnummer ersetzen) installiert werden und sollte alles wieder herstellen (Letzter Stable Stand ist die 5.0.19)

                      Nötige Adapter-Aktualisierungen

                      Am besten VOR dem js-controller Update alle verfügbaren Adapter-Updates prüfen und alle Updates installieren, die im Changelog auf Optimierungen oder Anpassungen für den js-controller 5.0 oder höher hinweisen.
                      Mit den stable Versionen der jeweiligen Adapter sollten keine Probleme auftreten, falls doch bitte hier melden.

                      Achtung: MASTER/SLAVE-Systeme Reihenfolgen beachten!

                      Bei einem Multi-Host-System, welches auf js-controller 5.0.x läuft, ist es beim Update auf Version 6.0 empfohlen, zuerst das Master-System zu aktualisieren. Der Master muss dann wieder gestartet werden. Die Slaves werden danach aktualisiert!

                      Bei Updates von Master/Slave-Systemen mit js-controller 4.x oder früher Bitte die jeweiligen Update Threads der empfohlenen Zwischenversionen prüfen.

                      Windows

                      Generell muss das Update manuell via npm installiert werden. Zusätzlich muss einmalig bei bestehenden Installationen der fixer ausgeführt werden und falls noch vorhanden die iobroker.bat gelöscht werden.

                      Hierzu werden folgende Befehle genutzt:

                      del iobroker.bat
                      iob fix
                      

                      Anschließend im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl npm i iobroker.js-controller@next --omit=dev ausführen.

                      Linux

                      • ioBroker stoppen (iobroker stop)
                      • Prüfen das keine Prozesse (Adapter, Backups) mehr laufen (ps auxww|grep io und auch ps auxww|grep backup). Es passiert manchmal das trotz dem Stoppen noch Zombies zurückbleiben
                      • cd /opt/iobroker
                      • Das Update erfolgt via npm i iobroker.js-controller@next --omit=dev
                      • ioBroker starten (iobroker start)

                      Bei Fehlern:

                      Wenn bei der Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer (iobroker fix wer schon einen js-controller 2.x oder höher hat, alternativ weiterhin manuell via curl -sL https://iobroker.net/fix.sh | bash -) nutzen und die Installation wiederholen.
                      Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install iobroker.js-controller@next --omit=dev versuchen. Bitte berichtet solche Fälle hier im Thread.

                      NACH der Installation

                      Wenn alles klappt merkt Ihr ausser der höheren Versionsnummer in der Host-Ansicht im Admin keinen Unterschied. Alles funktioniert weiterhin wie vorher. Alle Adapterinstanzen starten und funktionieren. Wenn das so ist hat alles geklappt.

                      Falls im Log Warn-Meldungen auftauchen mit dem Hinweis diese an den Entwickler zu senden, dann bitte schauen welcher Adapter es ist und entsprechend dort Issues bitte anlegen!
                      Was hat sich geändert, was besonders ansehen/beachten?

                      Neben einiger weiterer Bugfixes gibt es folgende Änderungen und Fixes zu erwähnen:

                      • generell siehe Changelog, speziell auch für die Features
                      • generell bitte im CLI und auch sonst überall drüber schauen. Die Typescript und ESM Umstellungen haben sehr viel Code angefasst.

                      Speziell die Entwickler sollten bitte die genannten Deprecations und neuen Features anschauen und beachten.

                      Wie bereits gesagt, viele Änderungen fanden hinter den Kulissen statt. Hier für Interessierte als Spoiler eine Zusammenfassung:

                      6.0.1 Release Kiera

                      Breaking changes

                      • Support for Node.js 16 is dropped!
                      • Binary states have been removed
                      • Let's encrypt has been removed

                      Features

                      • (foxriver76) Added possibility to automatically upgrade adapters (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#automatic-adapter-upgrade)
                      • (foxriver76) if updates for OS packages are available a notification is generated (Linux only)
                      • (foxriver76) the controller creates a notification if free disk space is critical (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#disk-space-warnings)
                      • (foxriver76) allow to ignore specific adapter versions (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#ignoring-specific-adapter-version)
                      • (foxriver76) if an adapter is blocklisted and thus stopped the controller now generates a notification
                      • (foxriver76) allow to configure redis tls during setup custom

                      Optimizations and fixes

                      • (foxriver76) we now send SIGKILL instead of SIGTERM if adapter does not stop in normal time to prevent ghost processes
                      • (foxriver76) prevent crash case if an invalid pattern is scanned in the database
                      • (foxriver76) we now log the pid if a adapter process is stopped
                      • (foxriver76/Apollon77) fixed crash case on file rotation
                      • (foxriver76) optimized error messages and help text for cli commands url and install
                      • (foxriver76) if users want to install non existing adapters we now hint to the url command instead of recommending the use of npm
                      • (foxriver76) when interacting with aliases we no longer check permissions of the alias and the original object, we now only check the alias
                      • (foxriver76) host object is now already created during setup first run, allowing eg to disable sentry globally before first start of ioBroker
                      • (foxriver76) if the user sets a custom title for instances this is now preserved during upload
                      • (foxriver76) on reinstallation of adapters we uninstall the package manually first to ensure a correct reinstall
                      • (foxriver76) fixed problem on multihost discover
                      • (foxriver76) if getState is called on a non existing or non linked alias we return null like for all other non existing states
                      • (foxriver76) optimize alias subscribe performance for non-redis dbs
                      • (foxriver76/bluefox/Apollon77) updated dependencies
                      • (foxriver76/bluefox/Apollon77) minor fixes and stability improvements

                      Developer relevant DEPRECATIONS/WARNINGS

                      • (foxriver76) adapters need to specify adapter-core version 3.1.4 or higher or allow an upgrade to this version by specifying e.g. ^3.x.x
                      • (foxriver76) it is now validated that obj.native is of type Record<string, unknown>
                      • (foxriver76) Let's encrypt has been removed (@iobroker/webeserver should be used instead)
                      • (foxriver76) deprecated delete/createState/channel/device methods
                      • (foxriver76) deprecated ioPack common.license which is replaced by the new object common.licenseInfo
                      • (foxriver76) ioPack mode subscribe has been removed as you can achieve the same with mode once and setting system.adapter.xy.alive state (also removed common.wakeup and common.subscribe because of this)

                      Developer relevant new features

                      • (foxriver76) js-controller (and thus the whole ioBroker) is now running as an ESM module internally while staying a 100 % backward compatible to adapters written in cjs
                      • (foxriver76) adapters can now be written as ESM modules having full support (including compact mode)
                      • (foxriver76) we provide all exports as ESM and as CJS to allow adapter developers to choose what to use
                      • (foxriver76) added convenient methods to manage node modules (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#managing-node-modules)
                      • (foxriver76) allow to specify reason and exit code on adapter.stop
                      • (foxriver76) if you blocklist a version in your io-package.json the controller won't start it anymore and will generate a notification
                      • (foxriver76) for adapters of type schedule and connectionType set to cloud the schedule will be automatically delayed by up to 60 seconds randomly per user if the CRON does not contain a seconds argument, this is to prevent DDoS attacks

                      Developer relevant optimizations and fixes

                      • (foxriver76) fixed crash case if an malformed object was defined in ioPack instanceObjects
                      • (foxriver76) when interacting with aliases we no longer check permissions of the alias and the original object, we now only check the alias
                      • (foxriver76) if getState is called on a non-existing or non-linked alias we return null like for all other non-existing states
                      • (foxriver76/bluefox) multiple improvements on type level

                      Generell ist zu testen, ob alles noch so funktioniert wie vorher auch. Das ist das wichtigste!
                      Wie Fehler melden?

                      Wer sich unsicher ist, ob ein Fehler vorliegt, sollte am besten hier im Thread das Problem beschreiben. So können wir alle versuchen, das Problem nachzuvollziehen und ggf. einzugrenzen.

                      Bitte checkt auch die "Known issues Liste" (zweiter Post) mit den Dingen die aktuell während der Alpha bekannt sind und bis zum Releasen noch angepasst werden.

                      Sobald ein Fehler auftritt der in einer Fehlermeldung oder einen Crash mit Fehlerdetails im Log oder auf Kommandozeile endet, dann dazu am besten direkt ein GitHub-Issue im js-controller Projekt öffnen und zusätzlich hier im Thread posten. Je detaillierter die Angaben im Issue sind (genaue Fehlermeldungen/Logs, Infos zur OS- und Node.js-Umgebung sowie genaue Schritte zur Reproduktion des Problems), umso schneller können wir Fehler einkreisen und beheben.

                      Bitte postet auch die Ausgabe von iob diag mit rein.
                      Wir wünschen allen viel Spaß beim Testen und vielen Dank für Eure Unterstützung!

                      Moritz

                      A Online
                      A Online
                      ag
                      schrieb am zuletzt editiert von
                      #83

                      @foxriver76
                      Hallo.
                      Habe grade auf meinem Testsystem das upgrade gemacht,
                      Bisher keine Probleme.
                      Alle installierten Adapter aktuelle Versionen.
                      RPi5 mit Bookworm
                      nodejs heute morgen auf Version 20.x

                      Gruß

                      Operating System: Debian GNU/Linux 12 architecture: arm64 Pi5 8GB
                      /usr/bin/nodejs v20.18.0 /usr/bin/node 20.18.1 /usr/bin/npm 10.8.2
                      js-controller 7.0.6 admin 7.4.10

                      mcm1957M 1 Antwort Letzte Antwort
                      1
                      • A ag

                        @foxriver76
                        Hallo.
                        Habe grade auf meinem Testsystem das upgrade gemacht,
                        Bisher keine Probleme.
                        Alle installierten Adapter aktuelle Versionen.
                        RPi5 mit Bookworm
                        nodejs heute morgen auf Version 20.x

                        Gruß

                        mcm1957M Online
                        mcm1957M Online
                        mcm1957
                        schrieb am zuletzt editiert von mcm1957
                        #84

                        @ag
                        DANKE für die Info. Foxriver freut sich derzeit sicher auch über jede "ist bei mir OK Meldung".
                        Ev. häng an deinen Beitrag die Liste der Adapter an die bei dir laufen. (iob list adapters)
                        Nur als Gegencheck wenns bei wem anderen klemmen sollte.

                        Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                        Support Repositoryverwaltung.

                        Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                        LESEN - gute Forenbeitrage

                        A 1 Antwort Letzte Antwort
                        1
                        • mcm1957M mcm1957

                          @ag
                          DANKE für die Info. Foxriver freut sich derzeit sicher auch über jede "ist bei mir OK Meldung".
                          Ev. häng an deinen Beitrag die Liste der Adapter an die bei dir laufen. (iob list adapters)
                          Nur als Gegencheck wenns bei wem anderen klemmen sollte.

                          A Online
                          A Online
                          ag
                          schrieb am zuletzt editiert von Homoran
                          #85

                          @mcm1957

                          pi@RPI5Test:~ $ iob list instances
                          + system.adapter.admin.0                  : admin                 : RPI5Test                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                            system.adapter.alias-manager.0          : alias-manager         : RPI5Test                                 -  enabled
                            system.adapter.backitup.0               : backitup              : RPI5Test                                 - disabled
                          + system.adapter.daikin.0                 : daikin                : RPI5Test                                 -  enabled
                          + system.adapter.discovery.0              : discovery             : RPI5Test                                 -  enabled
                          + system.adapter.echarts.0                : echarts               : RPI5Test                                 -  enabled
                            system.adapter.flot.0                   : flot                  : RPI5Test                                 -  enabled
                          + system.adapter.influxdb.0               : influxdb              : RPI5Test                                 -  enabled, port: 8086
                            system.adapter.mqtt.0                   : mqtt                  : RPI5Test                                 - disabled, port: 1883, bind: 0.0.0.0
                          + system.adapter.pvforecast.0             : pvforecast            : RPI5Test                                 -  enabled
                            system.adapter.pvforecast.1             : pvforecast            : RPI5Test                                 - disabled
                            system.adapter.shelly.0                 : shelly                : RPI5Test                                 - disabled, port: 1885, bind: 0.0.0.0
                          + system.adapter.sma-em.0                 : sma-em                : RPI5Test                                 -  enabled
                            system.adapter.sonoff.0                 : sonoff                : RPI5Test                                 - disabled, port: 1884, bind: 192.168.1.81
                          + system.adapter.web.0                    : web                   : RPI5Test                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          pi@RPI5Test:~ $ iob list adapters
                          system.adapter.admin                   : admin          - v6.13.16
                          system.adapter.alias-manager           : alias-manager  - v1.2.6
                          system.adapter.backitup                : backitup       - v2.11.0
                          system.adapter.daikin                  : daikin         - v1.4.2
                          system.adapter.discovery               : discovery      - v4.4.0
                          system.adapter.echarts                 : echarts        - v1.7.2
                          system.adapter.flot                    : flot           - v1.12.0
                          system.adapter.influxdb                : influxdb       - v4.0.2
                          system.adapter.mqtt                    : mqtt           - v5.2.0
                          system.adapter.pvforecast              : pvforecast     - v2.9.1
                          system.adapter.shelly                  : shelly         - v6.9.0
                          system.adapter.sma-em                  : sma-em         - v1.0.1
                          system.adapter.socketio                : socketio       - v6.7.0
                          system.adapter.sonoff                  : sonoff         - v3.0.3
                          system.adapter.web                     : web            - v6.2.5
                          system.adapter.ws                      : ws             - v2.6.1
                          

                          MOD-EDIT: Code in code-tags gesetzt!

                          Operating System: Debian GNU/Linux 12 architecture: arm64 Pi5 8GB
                          /usr/bin/nodejs v20.18.0 /usr/bin/node 20.18.1 /usr/bin/npm 10.8.2
                          js-controller 7.0.6 admin 7.4.10

                          1 Antwort Letzte Antwort
                          1
                          • Thomas BraunT Thomas Braun

                            @thomas-braun sagte in Alpha Test js-controller Kiera (v6.0):

                            Was mir gerade noch auffällt: Ein eChart wird nicht mehr aktualisiert. Die Datenwerte kommen vornehmlich als alias rein, da vermute ich einen Zusammenhang mit
                            (foxriver76) optimize alias subscribe performance for non-redis dbs
                            Bastel aber noch dran herum.
                            Gegentest: Mit "js-controller": 5.0.19 füllen sich die DPs wieder korrekt.

                            Hab eben den letzten Stand noch mal reingezogen, hier hat sich aber nichts verändert. Datenpunkte aus der History über einen Alias werden nicht aktualisiert.

                            foxriver76F Offline
                            foxriver76F Offline
                            foxriver76
                            Developer
                            schrieb am zuletzt editiert von
                            #86

                            @thomas-braun mit welchem history Adapter werden diese aufgezeichnet? Und wenn du auf die history Einstellungen des DPs gehst wurden diese nicht aufgezeichnet? Um es mal von der Visualisierung wegzubrechen.

                            Videotutorials & mehr

                            Hier könnt ihr mich unterstützen.

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • foxriver76F foxriver76

                              @thomas-braun mit welchem history Adapter werden diese aufgezeichnet? Und wenn du auf die history Einstellungen des DPs gehst wurden diese nicht aufgezeichnet? Um es mal von der Visualisierung wegzubrechen.

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #87

                              @foxriver76

                              iobroker.history@3.0.1
                              Muss aber später erst wieder die Alpha installieren... :-)

                              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 Antwort Letzte Antwort
                              0
                              • D Offline
                                D Offline
                                DLehmann
                                schrieb am zuletzt editiert von
                                #88

                                Hallo,

                                ich habe mal ein Update auf meinem Testsystem gemacht. Bei der Installation kamen keine Fehler. Der iob startet aber nicht. Habe nach dem obigen Tipp einmal controller.js direkt gestartet. Hier die Meldungen dazu.

                                root@iobroker-test:/opt/iobroker/node_modules/iobroker.js-controller# node controller.js
                                host.iobroker-test check instance "system.adapter.admin.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.history.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.javascript.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.scenes.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.scheduler.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.alexa2.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.backitup.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.cloud.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.feiertage.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.hm-rpc.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.hm-rpc.1" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.hue.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.ping.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.sonnen.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.adguard.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.daswetter.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.discovery.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.dwd.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.ecovacs-deebot.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.energiefluss-erweitert.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.gotify.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.heatingcontrol.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.iot.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.iqontrol.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.jarvis.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.pvforecast.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.ring.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.smartcontrol.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.tesla-motors.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.teslamateapi.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.vis-materialdesign.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.vis.0" for host "iobroker-test"
                                host.iobroker-test check instance "system.adapter.web.0" for host "iobroker-test"
                                Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'json')
                                    at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                    at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                    at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                Cannot read properties of undefined (reading 'json')
                                TypeError: Cannot read properties of undefined (reading 'json')
                                    at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                    at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                    at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                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:
                                TypeError: Cannot read properties of undefined (reading 'json')
                                    at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                    at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                    at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                object system.meta.uuid cannot be updated: Connection is closed.
                                object system.user.admin created
                                
                                Thomas BraunT foxriver76F 2 Antworten Letzte Antwort
                                0
                                • D DLehmann

                                  Hallo,

                                  ich habe mal ein Update auf meinem Testsystem gemacht. Bei der Installation kamen keine Fehler. Der iob startet aber nicht. Habe nach dem obigen Tipp einmal controller.js direkt gestartet. Hier die Meldungen dazu.

                                  root@iobroker-test:/opt/iobroker/node_modules/iobroker.js-controller# node controller.js
                                  host.iobroker-test check instance "system.adapter.admin.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.history.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.javascript.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.scenes.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.scheduler.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.alexa2.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.backitup.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.cloud.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.feiertage.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.hm-rpc.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.hm-rpc.1" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.hue.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.ping.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.sonnen.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.adguard.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.daswetter.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.discovery.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.dwd.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.ecovacs-deebot.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.energiefluss-erweitert.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.gotify.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.heatingcontrol.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.iot.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.iqontrol.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.jarvis.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.pvforecast.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.ring.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.smartcontrol.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.tesla-motors.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.teslamateapi.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.vis-materialdesign.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.vis.0" for host "iobroker-test"
                                  host.iobroker-test check instance "system.adapter.web.0" for host "iobroker-test"
                                  Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'json')
                                      at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                      at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                      at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                  Cannot read properties of undefined (reading 'json')
                                  TypeError: Cannot read properties of undefined (reading 'json')
                                      at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                      at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                      at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                  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:
                                  TypeError: Cannot read properties of undefined (reading 'json')
                                      at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                      at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                      at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                  object system.meta.uuid cannot be updated: Connection is closed.
                                  object system.user.admin created
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #89

                                  @dlehmann sagte in Alpha Test js-controller Kiera (v6.0):

                                  root@iobroker-test

                                  Nicht besonders klug. Um nicht zu sagen: Auch in einem Test-System hampelt man nicht als root herum...

                                  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 Antwort Letzte Antwort
                                  1
                                  • D DLehmann

                                    Hallo,

                                    ich habe mal ein Update auf meinem Testsystem gemacht. Bei der Installation kamen keine Fehler. Der iob startet aber nicht. Habe nach dem obigen Tipp einmal controller.js direkt gestartet. Hier die Meldungen dazu.

                                    root@iobroker-test:/opt/iobroker/node_modules/iobroker.js-controller# node controller.js
                                    host.iobroker-test check instance "system.adapter.admin.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.history.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.javascript.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.scenes.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.scheduler.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.alexa2.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.backitup.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.cloud.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.feiertage.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.hm-rpc.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.hm-rpc.1" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.hue.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.ping.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.sonnen.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.adguard.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.daswetter.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.discovery.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.dwd.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.ecovacs-deebot.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.energiefluss-erweitert.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.gotify.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.heatingcontrol.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.iot.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.iqontrol.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.jarvis.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.pvforecast.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.ring.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.smartcontrol.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.tesla-motors.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.teslamateapi.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.vis-materialdesign.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.vis.0" for host "iobroker-test"
                                    host.iobroker-test check instance "system.adapter.web.0" for host "iobroker-test"
                                    Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'json')
                                        at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                        at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                        at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                    Cannot read properties of undefined (reading 'json')
                                    TypeError: Cannot read properties of undefined (reading 'json')
                                        at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                        at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                        at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                    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:
                                    TypeError: Cannot read properties of undefined (reading 'json')
                                        at BlocklistManager.internalIsAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:113:39)
                                        at BlocklistManager.isAdapterVersionBlocked (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/blocklistManager.ts:99:21)
                                        at startInstance (file:///opt/iobroker/node_modules/iobroker.js-controller/src/main.ts:3783:23)
                                    object system.meta.uuid cannot be updated: Connection is closed.
                                    object system.user.admin created
                                    
                                    foxriver76F Offline
                                    foxriver76F Offline
                                    foxriver76
                                    Developer
                                    schrieb am zuletzt editiert von foxriver76
                                    #90

                                    @dlehmann ok irgendwie ist der repo Eintrag undefined, kann ich morgen abfangen.

                                    Videotutorials & mehr

                                    Hier könnt ihr mich unterstützen.

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • foxriver76F foxriver76

                                      @dlehmann ok irgendwie ist der repo Eintrag undefined, kann ich morgen abfangen.

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #91

                                      @foxriver76

                                      Ich glaube, ich habe die klemmende Stelle gefunden. Die Daten kommen per mqtt rein, das funktioniert auch.
                                      Dann werden die über dieses Skript aufgedröselt und nach 0_userdata.0 geschrieben. Aber da kommen keine aktualisierten Werte an. Mit dem stable js-controller funktioniert es, mit der alpha nicht.
                                      Ich kann nur kein JavaSkript... :-)

                                      // where the mqtt messages arrive
                                      
                                      const mqttDatenpunktObjectId = 'mqtt.0.solix.site.Stromstausee.scenInfo';
                                      
                                      // where the states should appear
                                      
                                      const userDataFolder = '0_userdata.0.solix';
                                      
                                       
                                      
                                      // ############## end user config
                                      
                                       
                                      
                                      // receive
                                      
                                      on(mqttDatenpunktObjectId, (obj) => {
                                      
                                        const jsonString = obj.state.val;
                                      
                                        const jsonData = JSON.parse(jsonString);
                                      
                                       
                                      
                                        function createObjectsRecursively(parent, data) {
                                      
                                          for (const key in data) {
                                      
                                            const obj = data[key];
                                      
                                            const stateName = `${parent}.${key}`;
                                      
                                           
                                      
                                            if (typeof obj === 'object') {
                                      
                                              createObjectsRecursively(stateName, obj);
                                      
                                            } else {
                                      
                                             let value = obj;  
                                      
                                       
                                      
                                              // Check if the state already exists. If it does, just update the value.
                                      
                                              // If it does not exist create the states.
                                      
                                              if (!existsState(stateName)) {
                                      
                                                // If the state does not exist, create it and set the value
                                      
                                                createState(stateName, value, {
                                      
                                                  name: key,
                                      
                                                  type: typeof value,
                                      
                                                  role: "value",
                                      
                                                  read: true,
                                      
                                                  write: true
                                      
                                                });
                                      
                                                log(`Created state ${stateName}`);
                                      
                                                
                                      
                                              } else {
                                      
                                                setState(stateName, value, true);
                                      
                                              }
                                      
                                            }
                                      
                                          }
                                      
                                        }
                                      
                                         createObjectsRecursively(userDataFolder, jsonData);
                                      
                                      });
                                      

                                      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

                                      foxriver76F 1 Antwort Letzte Antwort
                                      0
                                      • foxriver76F foxriver76

                                        @feuersturm die oberen mit dem zipFiles muss ich schauen wie wir das gefixt bekommen, liegt nicht direkt an den Adaptern, ist dort zwar fixbar aber wäre zu viel Aufwand für alle. Ist ja eh eine Testinstallation nehme ich an. Kannst du mal in /opt/iobroker den Befehl npm update ausführen. Und dann neustarten und schauen ob die oberen 3 Adapter laufen.

                                        Der letzte Adapter wo kommt der her? Finde ich weder im Repo noch auf npm noch mit einer kurzen Google Suche, vermute der ist schwer veraltet.

                                        FeuersturmF Online
                                        FeuersturmF Online
                                        Feuersturm
                                        schrieb am zuletzt editiert von Feuersturm
                                        #92

                                        @foxriver76 sagte in Alpha Test js-controller Kiera (v6.0):

                                        Der letzte Adapter wo kommt der her? Finde ich weder im Repo noch auf npm noch mit einer kurzen Google Suche, vermute der ist schwer veraltet.

                                        Der Samsung Adapter ist dieser hier https://github.com/iobroker-community-adapters/ioBroker.samsung aber auf meinem Testsystem hatte ich aus irgendwelchen Gründen eine github Installation drauf. Ich hab jetzt mal die letzte Version installiert und gestartet und das hier kommt dann im Log:

                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.837	error	instance system.adapter.samsung.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.835	error	Caught by controller[1]: Node.js v18.20.3
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.832	error	Caught by controller[0]: at node:internal/main/run_main_module:28:49
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.829	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.827	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.825	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.822	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.820	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.818	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.samsung/main.js:118:21)
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.815	error	Caught by controller[0]: TypeError: utils.Adapter is not a function
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.813	error	Caught by controller[0]: ^
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.810	error	Caught by controller[0]: var adapter = utils.Adapter({
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:59.807	error	Caught by controller[0]: /opt/iobroker/node_modules/iobroker.samsung/main.js:118
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:56.456	info	instance system.adapter.samsung.0 started with pid 22910
                                        host.ioBrokerTestsystem
                                        	2024-05-23 20:30:54.659	info	"system.adapter.samsung.0" enabled
                                        
                                        foxriver76F 1 Antwort Letzte Antwort
                                        0
                                        • FeuersturmF Feuersturm

                                          @foxriver76 sagte in Alpha Test js-controller Kiera (v6.0):

                                          Der letzte Adapter wo kommt der her? Finde ich weder im Repo noch auf npm noch mit einer kurzen Google Suche, vermute der ist schwer veraltet.

                                          Der Samsung Adapter ist dieser hier https://github.com/iobroker-community-adapters/ioBroker.samsung aber auf meinem Testsystem hatte ich aus irgendwelchen Gründen eine github Installation drauf. Ich hab jetzt mal die letzte Version installiert und gestartet und das hier kommt dann im Log:

                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.837	error	instance system.adapter.samsung.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.835	error	Caught by controller[1]: Node.js v18.20.3
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.832	error	Caught by controller[0]: at node:internal/main/run_main_module:28:49
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.829	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.827	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.825	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.822	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.820	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.818	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.samsung/main.js:118:21)
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.815	error	Caught by controller[0]: TypeError: utils.Adapter is not a function
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.813	error	Caught by controller[0]: ^
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.810	error	Caught by controller[0]: var adapter = utils.Adapter({
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:59.807	error	Caught by controller[0]: /opt/iobroker/node_modules/iobroker.samsung/main.js:118
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:56.456	info	instance system.adapter.samsung.0 started with pid 22910
                                          host.ioBrokerTestsystem
                                          	2024-05-23 20:30:54.659	info	"system.adapter.samsung.0" enabled
                                          
                                          foxriver76F Offline
                                          foxriver76F Offline
                                          foxriver76
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #93

                                          @feuersturm Ohje ja der ist komplett veraltet, der funktioniert aber mit 5.0.19 auch nicht oder? Aber ja kann man wieder lauffähig bekommen müsste man auf Adapter Core überhaupt mal umstellen.

                                          Videotutorials & mehr

                                          Hier könnt ihr mich unterstützen.

                                          mcm1957M 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          366

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe