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 5.0.x jetzt in der BETA

NEWS

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

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

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

js-controller 5.0.x jetzt in der BETA

Scheduled Pinned Locked Moved ioBroker Allgemein
580 Posts 71 Posters 196.1k Views 67 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.
  • FeuersturmF Feuersturm

    @crunchip Welche Adminversion nutzt du?
    Mit Admin 6.5.7 und dem letzten js-controller aus dem Alpha Stadium sieht das bei mir so aus:
    e4bf2c07-0bab-4051-bde2-766a24122093-grafik.png

    crunchipC Away
    crunchipC Away
    crunchip
    Forum Testing Most Active
    wrote on last edited by
    #28

    @feuersturm sagte in js-controller 5.0.x jetzt in der BETA:

    Admin 6.5.7

    umgestiegen von Proxmox auf Unraid

    foxriver76F 1 Reply Last reply
    0
    • foxriver76F foxriver76

      @heinhan mach mal bitte ein Upload vom vis Adapter, evtl. Ist es dann gefixt

      heinhanH Offline
      heinhanH Offline
      heinhan
      wrote on last edited by
      #29

      @foxriver76 upload durchgeführt, zusätzlich war ein Reboot notwendig. Jetzt läuft der Host ohne Fehlermeldung. Dies zur Info

      heinhanH 1 Reply Last reply
      0
      • ice987I Offline
        ice987I Offline
        ice987
        wrote on last edited by ice987
        #30

        bei mir erscheint

        IMG_0254.jpeg

        2023-06-12 21:02:59.879 - info: host.iobroker-testsystem8 Updating repository "beta" under "http://download.iobroker.net/sources-dist-latest.json"
        2023-06-12 21:03:32.474 - info: host.iobroker-testsystem8 Controller will upgrade itself to version 5.0.2
        2023-06-12 21:04:11.371 - info: host.iobroker-testsystem8 Controller will upgrade itself to version 5.0.2
        

        Plattform: docker
        Betriebssystem: linux
        Architektur: x64
        Node.js: v18.16.0
        NPM: 9.5.1

        husqvarna-automower, meteoblue, wiserbyfeller, spritmonitor

        ice987I 1 Reply Last reply
        0
        • crunchipC crunchip

          @feuersturm sagte in js-controller 5.0.x jetzt in der BETA:

          Admin 6.5.7

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          wrote on last edited by
          #31

          @crunchip Welches Betriebssystem?

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          crunchipC 1 Reply Last reply
          0
          • foxriver76F foxriver76

            @crunchip Welches Betriebssystem?

            crunchipC Away
            crunchipC Away
            crunchip
            Forum Testing Most Active
            wrote on last edited by crunchip
            #32

            @foxriver76 debian VM in Proxmox
            aktuell js-controller: 5.0.1-alpha.0-20230406-4552d569
            f9c214e7-78b9-422b-8ab1-bda8e9a9cdba-image.png

            umgestiegen von Proxmox auf Unraid

            foxriver76F 1 Reply Last reply
            0
            • crunchipC crunchip

              @foxriver76 debian VM in Proxmox
              aktuell js-controller: 5.0.1-alpha.0-20230406-4552d569
              f9c214e7-78b9-422b-8ab1-bda8e9a9cdba-image.png

              foxriver76F Offline
              foxriver76F Offline
              foxriver76
              Developer
              wrote on last edited by
              #33

              @crunchip Hmm.. ok dann sollte es eigentlich gehen. Müsste @Bluefox etwas zu sagen, wie der Admin Check genau ausschaut.

              Videotutorials & mehr

              Hier könnt ihr mich unterstützen.

              haselchenH crunchipC 2 Replies Last reply
              0
              • foxriver76F foxriver76

                @crunchip Hmm.. ok dann sollte es eigentlich gehen. Müsste @Bluefox etwas zu sagen, wie der Admin Check genau ausschaut.

                haselchenH Offline
                haselchenH Offline
                haselchen
                Most Active
                wrote on last edited by
                #34

                @foxriver76

                @crunchip , ich und erstmal @heinhan hatten das „VIS“ Problem.
                Kommt da ein Fix zu ?!

                Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                E 1 Reply Last reply
                0
                • apollon77A apollon77

                  Hallo ioBroker-Community,

                  Heute möchte ich Euch den js-controller 5.0 auch als Beta zur Verfügung stellen. Dieser Post enthält alle wichtigen Infos. Bitte unbedingt lesen!!
                  Ich bedanke mich bei allen Usern die bisher die neue Version bereits als Alpha getestet und Feedback gegeben haben.

                  Node.js Versions-Anforderungen
                  In diesem Release entfällt Node.js 12.x welches seit April letztem Jahr nicht mehr gepflegt wird und Node.js 14.x welches seit April diesem Jahres EOL ist. Node.js 18.x ist dazugekommen. Die unterstützten Node.js Versionen sind: 16.4.0+ und 18.x und nach aktuellem Stand auf Node.js 20.x, wobei hier noch erfahrungen fehlen. Die empfohlene Node.js Version für ioBroker haben wir vor kurzem auf 18.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
                  Es gibt EINIGE Adapter die aktualisiert werden müssen!! Bitte weiter unten lesen!

                  In dieser Version wurde die Umstellung des Quellcodes auf TypeScript sehr stark vorangetrieben (inzwischen bei 76%), wodurch am Ende die Stabilität weiter steigt weil viele Code-Fehler nicht mehr auftreten können. Natürlich sind neben Optimierungen und Fehlerbehebungen auch ein paar neue Features hinzugekommen. Auch wenn mit dieser Version keine neuen 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 foxriver76, AlCalzone und natürlich Bluefox und auch ein paar weiteren Entwicklern!

                  ACHTUNG backups inkompatibel bei Downgrades!!

                  Neben der Node.js Version gibt es eine wichtige Inkompatibilität: Backups die mit der 5.0 des js-controller erstellt wurden lassen sich nicht mit einem js-controller 4 oder kleiner wieder restoren!

                  Darüber hinaus ist der js-controller 5.0 generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der 2.0/2.1/2.2/3.x ist problemlos möglich. Wir empfehlen allerings vor dem Update auf die 5.0 idealerweise ein Update auf die 4.0 und vorher auf 3.3.x durchzuführen, da ein Downgrade nach einem erfolgten Update nur auf eine 3.3.x möglich ist (siehe FAQ)! Nur die Node.js Version muss weiterhin mindestens 16.x sein, wie oben bereits ausgeführt. Wer überlegt die Node.js Version anzuheben bitte weiter unten im Abschnitt "Was ist zu testen" lesen 🙂

                  Aufgrund einiger internen Umstellungen brauchen wieder einige Adapter Updates. Diese sollten am besten VOR dem Update installiert werden!
                  Bitte dazu die Informationen weiter unten beachten!


                  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 4.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 4.0.24)

                  Nötige Adapter-Aktualisierungen

                  Am besten dennoch 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 4.0 oder höher hinweisen.

                  Diesmal sind doch einige Adapter auf der Liste die man updaten muss! Siehe Spoiler!

                  • admin -> v6.2.23+
                  • backitup v2.6.16+
                  • cloud v4.2.3+
                  • discovery v3.0.6+
                  • email v1.1.4+
                  • enigma2 (GitHub version fixed)
                  • fitbit-fitness - noch kein Fix
                  • history v2.2.4+
                  • hmrega v3.0.46+
                  • iquontrol v2.2.1+
                  • lgtv from https://github.com/foxriver76/ioBroker.lgtv nutzen bis Entwickler angepasst hat
                  • lovelace - > v2.2.0+
                  • mercury - released v0.1.6+
                  • mqtt: v4.1.1+
                  • nibeuplink v1.2.1+
                  • node-red v4.0.1+
                  • onvif 1.0.1+
                  • owntracks v1.0.5+
                  • pimatic v0.3.1+
                  • rest-api -> v1.0.5+
                  • ring - released in v3.2.7+
                  • sayit v1.13.0+
                  • simple-api v2.7.2+
                  • smart-visu GitHub
                  • socketio -> v6.2.0+
                  • sonos v2.3.1+
                  • synology v2.1.13+
                  • tado v???? (issue opened)
                  • telegram v1.15.1+
                  • terminal v1.0.0+
                  • tr-064 v4.2.18+
                  • tuya v3.7.0+
                  • unifi-protect v0.0.12+
                  • web v5.2.10+
                  • ws -> v2.2.0+
                  • vis-google-fonts v1.0.4+
                  • xterm v1.1.0+
                  • yahka - v1.0.0+
                  Achtung: MASTER-Systeme Reihenfolgen beachten!

                  Bei einem Multi-Host-System, welches auf js-controller 2.2, 3.x oder 4.0.x läuft, ist es beim Update auf Version 5.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 1.5 oder früher Bitte die jeweiligen Update Threads der empfohlenen Zwischenversionen prüfen.

                  Windows
                  Generell muss das Update manuell via npm installiert werden.

                  Hierzu im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl iob upgrade self 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 iob upgrade self
                  • 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 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 Umstellungen haben sehr viel Code angefasst.
                  • Falls jemand sporadisch Alias Fehler im Log hatte bitte versuchen diese mit der neuen version wieder zu provoziere und rückmelden

                  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:

                  5.0. Release Jana

                  BREAKING CHANGES

                  • Support for Node.js 12 and 14 is dropped! Supported are Node.js 16.4.0+ and 18.x and hopefully 20.x
                  • Backups created with the new js-controller version cannot be restored on hosts with lower js-controller version!
                  • Update recommended npm version to 8
                  • Deprecate binary states, Adapters will change to use Files instead!

                  Features

                  • (foxriver76) Show npm error message on failing adapter installations and update also without debug parameter
                  • (foxriver76) Introduce iobroker setting (dnsResolution) to choose between verbatim and ipv4 first dns resolution order
                  • (foxriver76) Add support for windows for iob fix
                  • (bluefox) Added CLI option to restart/start/stop all instances of an adapter (e.g. iob stop admin now also works)
                  • (foxriver76) Allow to use iob host oldname command when new host already exists but has no instances
                  • (foxriver76) Added an admin notification if redis is misconfigured and info how to fix it
                  • (foxriver76) Enable upgrade of js-controller via Admin UI (Linux only)

                  Optimizations and Fixes

                  • (foxriver76) Speedup "getStates" calls with many IDs often used by visualizations: JSONL 17 times faster, Redis 23 times faster
                  • (foxriver76) significantly reduce backup size
                  • (foxriver76) Enhance CLI help for list command to show all possible types to list
                  • (foxriver76) Also stop instances before updating from GitHub
                  • (foxriver76) Conversion of big parts of the js-controller codebase to typeScript and address all found issues
                  • (Apollon77) Only log error on "enable/disable via .alive" if there is an error
                  • (foxriver76) Optimize adapter unload and stop handling for edge cases
                  • (AlCalzone) Carefully normalize jsonlOptions
                  • (bluefox) Do not show warning on a requested adapter stop/termination
                  • (bluefox) Make sure that the first log line is not missing in Admin
                  • (foxriver76) Fix wrong formatting of cli get binary state if no encoding is passed
                  • (foxriver76) Fix restoring backups from pre js-controller 4.x which were created without config.system
                  • (foxriver76) Preserve tier setting on adapter upload
                  • (foxriver76) update apt sources before installing os dependencies
                  • (foxriver76) Only skip erase on upload if opted out explicitly to always cleanup unneeded files
                  • (foxriver76) Try to fix strange alias errors, inform us if it happens again!
                  • (foxriver76) Remove windows bat files completely, installer will create them when needed
                  • (AlCalzone/Apollon77) Update jsonl db to prevent locking issues
                  • (foxriver76) Fixes iob file sync not working for jsonl
                  • (foxriver76) Do not crash if we cannot initialize db backup directory on start
                  • (foxriver76) Fixed issue with certificate validity on leap years
                  • (Apollon77/foxriver76) Make sure that all relevant files are removed when eraseOnUpload is used
                  • (foxriver76) fix wrong hostname after backup restore
                  • (bluefox) allow CLI vendor update without explicitly specifying vendor file (default file is used)
                  • (Apollon77, foxriver76, bluefox, AlCalzone) Several fixes and refactorings to prevent potential crash cases reported by Sentry and other sources

                  Developer relevant DEPRECATIONS/WARNINGS

                  • Deprecate binary states, Migrate your adapters to use Files instead!
                  • If you need to access special js-controller common tools please use adapter-core instead of js-controller directly - see https://github.com/ioBroker/adapter-core#commontools
                  • Parameter that contain patterns (e.g. mqtt.*) are now checked for allowed characters and general correctness!

                  Developer relevant new Features

                  • (bluefox) Added options to subscribe to file changes: subscribeForeignFiles, unsubscribeForeignFiles, onAdapterFileChanged (event contains id, fileName, size and not the whole content of the file!)

                  • (foxriver76) Introduce on("install") handler for adapter which is automatically called when adapter process is started with --install

                  • (foxriver76) Introduce io-package flag common.nodeProcessParams to allow to pass adapter specific nodejs process parameters (disables compact mode for the adapter!)

                  • (foxriver76) Respect dns resolution (ipv4/ipv6 first) from config internally and provide relevant methods via adapter-core

                  • (foxriver76) Add JSON-Schema for iobroker.json

                  • (bluefox) Allowed export of password.js (to be used with adapter-core)

                  • (bluefox) Added _design/chart to the system designs

                  • (foxriver76) Automatically generated Code-Docs for Adapter class https://github.com/ioBroker/ioBroker.js-controller/tree/master/packages/controller/doc

                  • (foxriver76) Added (foreign)objectExists to adapter methods

                  • (bluefox) Extend getSuitableLicenses to look for other licenses

                  • (buefox/foxriver76) Added new category for notifications: blocked and respect js-controller common.blockedVersions to block versions from starting

                  • (bluefox) Added new system view "custom-full" to return the full objects for objects with a custom part and not only the custom details

                  • (foxriver76) Added support for getForeignObjects with an array of strings as pattern

                  • (AlCalzone) Preparations to allow js-controller Dev version to be used with dev-server

                  • (foxriver76) Validate max timeout value (max 32bit max number) on setTimeout/setInterval and throw on error to prevent issues

                  • (foxriver76) new io-package flag common.supportedMessages to replace messagebox and other messagebox-related properties

                  • (foxriver76) adapter.sendTo now accepts an optional timeout argument

                  • Developer relevant Optimizations and Fixes

                  • (foxriver76) Ensure setObjectNotExists returns id on success

                  • (foxriver76) Fix Typings for sendTo/sendToHost

                  • (Bluefox) Add User permission check to requireLog

                  • (foxriver76) added nonEdit property of objects to types and document functionality

                  • (foxriver76) introduced constants for state quality

                  • (foxriver76) subscribeStates now also accepts an array of ids

                  • general dependency updates

                  • code style optimizations and streamline code

                  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).

                  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!

                  Ingo

                  ChaotC Offline
                  ChaotC Offline
                  Chaot
                  wrote on last edited by Chaot
                  #35

                  @apollon77
                  Der LGTV Adapter fällt aus wie erwartet (ist aber bei mir eher unwichtig)
                  Dazu kommt noch eine Fehlermeldung:

                  host.ioBroker
                  2023-06-12 22:06:50.881	error	cannot call visUtils: Not exists
                  
                  

                  Die Fehlermeldung blieb jetzt erstmal weg nachdem ich den VIS Adapter nochmal hochgeladen habe.
                  Ansonsten scheint alles zu laufen.

                  Edit:
                  Scheinbar kommt doch noch was:

                  host.ioBroker
                  2023-06-12 22:20:00.903	error	instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.ioBroker
                  2023-06-12 22:20:00.903	error	Caught by controller[1]: at processImmediate (node:internal/timers:478:21)
                  host.ioBroker
                  2023-06-12 22:20:00.902	error	Caught by controller[1]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46)
                  host.ioBroker
                  2023-06-12 22:20:00.902	error	Caught by controller[1]: at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15)
                  host.ioBroker
                  2023-06-12 22:20:00.902	error	Caught by controller[1]: Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                  host.ioBroker
                  2023-06-12 22:20:00.902	error	Caught by controller[0]: at processImmediate (node:internal/timers:478:21)
                  host.ioBroker
                  2023-06-12 22:20:00.902	error	Caught by controller[0]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46)
                  host.ioBroker
                  2023-06-12 22:20:00.901	error	Caught by controller[0]: at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15)
                  host.ioBroker
                  2023-06-12 22:20:00.899	error	Caught by controller[0]: Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                  
                  web.0
                  2023-06-12 22:20:00.678	error	The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                  
                  web.0
                  2023-06-12 22:20:00.678	error	Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46) at processImmediate (node:internal/timers:478:21)
                  
                  web.0
                  2023-06-12 22:20:00.677	error	uncaught exception: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                  
                  web.0
                  2023-06-12 22:20:00.638	error	The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                  
                  web.0
                  2023-06-12 22:20:00.637	error	Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46) at processImmediate (node:internal/timers:478:21)
                  
                  web.0
                  2023-06-12 22:20:00.631	error	uncaught exception: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                  

                  ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                  apollon77A ? 2 Replies Last reply
                  0
                  • ChaotC Offline
                    ChaotC Offline
                    Chaot
                    wrote on last edited by
                    #36

                    Der VIS Editor hat auf zwei von 5 Projekten mit einem Absturz reagiert. Nach einem Neustart der ganzen VM scheint es jetzt allerdings zu laufen.
                    Ich habe zwei Fehlermeldungen, die aber scheinbar bei mir aus dem System kommen und nichts mit dem Controler zu tun haben.
                    Wie bekomme ich die weg?

                    host.ioBroker
                    2023-06-12 22:30:52.020	error	iobroker npm-install: host.ioBroker Unknown packetName fontui. Please install packages from outside the repository using npm!
                    host.ioBroker
                    2023-06-12 22:30:43.727	error	iobroker npm-install: host.ioBroker Unknown packetName openuv. Please install packages from outside the repository using npm!
                    

                    Da scheint irgendwas falsch installiert zu sein.

                    ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                    Thomas BraunT 1 Reply Last reply
                    0
                    • ChaotC Chaot

                      Der VIS Editor hat auf zwei von 5 Projekten mit einem Absturz reagiert. Nach einem Neustart der ganzen VM scheint es jetzt allerdings zu laufen.
                      Ich habe zwei Fehlermeldungen, die aber scheinbar bei mir aus dem System kommen und nichts mit dem Controler zu tun haben.
                      Wie bekomme ich die weg?

                      host.ioBroker
                      2023-06-12 22:30:52.020	error	iobroker npm-install: host.ioBroker Unknown packetName fontui. Please install packages from outside the repository using npm!
                      host.ioBroker
                      2023-06-12 22:30:43.727	error	iobroker npm-install: host.ioBroker Unknown packetName openuv. Please install packages from outside the repository using npm!
                      

                      Da scheint irgendwas falsch installiert zu sein.

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

                      @chaot sagte in js-controller 5.0.x jetzt in der BETA:

                      Wie bekomme ich die weg?

                      Das sind wohl verwaiste Adapter. Wenn die nicht benötigt werden würde ich die vor die Tür setzen.

                      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

                      ChaotC 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @chaot sagte in js-controller 5.0.x jetzt in der BETA:

                        Wie bekomme ich die weg?

                        Das sind wohl verwaiste Adapter. Wenn die nicht benötigt werden würde ich die vor die Tür setzen.

                        ChaotC Offline
                        ChaotC Offline
                        Chaot
                        wrote on last edited by
                        #38

                        @thomas-braun Dachte ich auch. Danke dir.
                        Haben gerade den Tritt bekommen.

                        ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                        1 Reply Last reply
                        0
                        • haselchenH haselchen

                          @foxriver76

                          @crunchip , ich und erstmal @heinhan hatten das „VIS“ Problem.
                          Kommt da ein Fix zu ?!

                          E Offline
                          E Offline
                          e-i-k-e
                          wrote on last edited by
                          #39

                          @haselchen sagte in js-controller 5.0.x jetzt in der BETA:

                          @foxriver76

                          @crunchip , ich und erstmal @heinhan hatten das „VIS“ Problem.
                          Kommt da ein Fix zu ?!

                          Ich habe den Fehler bei mir auch beobachten können. Bin allerdings noch auf der letzten Alpha von js.Controller.

                          1 Reply Last reply
                          0
                          • Merlin123M Offline
                            Merlin123M Offline
                            Merlin123
                            wrote on last edited by Merlin123
                            #40

                            Wenn ich in einem Blockly einen anderen DP auswählen will öffnet sich der Objektbaum, die Anzeige springt zum aktuellen DP und dann dreht sich nur noch der Wartekreis. Keine Chance, den DP wieder zu ändern.

                            Versuche ich einen Reload der Seite ( http://192.168.0.251:8081/#tab-javascript ) kommt erstmal ein "Webseite nicht erreichbar".
                            Muss dann so ne halbe bis ganze Minute warten, dann läd er die Seite wieder. Versuche ich den DP nochmal zu ändern gleiches Spiel.
                            Alle Adapter auf den neusten Beta Stand.

                            EDIT: Nach Downgrade auf 4.0.24 geht das wieder.

                            Beta-Tester

                            apollon77A 1 Reply Last reply
                            0
                            • heinhanH heinhan

                              @foxriver76 upload durchgeführt, zusätzlich war ein Reboot notwendig. Jetzt läuft der Host ohne Fehlermeldung. Dies zur Info

                              heinhanH Offline
                              heinhanH Offline
                              heinhan
                              wrote on last edited by
                              #41

                              @heinhan Leider ist der Fehler heute wieder auf getaucht.

                              error: host.Iobroker cannot call visUtils: Not exi
                              
                              M 1 Reply Last reply
                              0
                              • heinhanH heinhan

                                @heinhan Leider ist der Fehler heute wieder auf getaucht.

                                error: host.Iobroker cannot call visUtils: Not exi
                                
                                M Offline
                                M Offline
                                Marty56
                                wrote on last edited by Marty56
                                #42

                                Installation von js-controller 5.0.x ist möglich.
                                Allerdings kann ich diverse Adapter nicht mehr upgraden.
                                Ich bekomme die Fehlermeldung:

                                js-controller (>=2.0.0): 5.0.2
                                node (>=14.0.0):
                                
                                

                                Meine Node Versionen sind größer als 14.00

                                 node -v
                                v18.16.0
                                npm -v
                                9.5.1
                                

                                Update: nach iob fix funktionierte es wieder

                                Folgende Ausfälle bei mir.

                                Yakha (V1.03)

                                host.iobroker
                                2023-06-13 08:11:39.286	error	instance system.adapter.yahka.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[26]: [Yahka-0 011F@Wasseralarm@Wasseralarm@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[25]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[24]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[23]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[22]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[21]: [Yahka-0 011F@nördliches Fenster K1@nördliches Fenster K1@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[20]: [Yahka-0 011F@südliche, rechte Fenster K3@südliche,rechteFenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[19]: [Yahka-0 011F@südliche, linke Fenster K3@südliche,linke Fenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[18]: [Yahka-0 011F@südliche, rechte Fenster im OG@südliche, rechte Fenster im OG@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[17]: [Yahka-0 011F@südliche, linke Fenster im OG@südliche, linke Fenster im OG@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[16]: [Yahka-0 011F@nördliches Fenster im Bad@nördliches Fenster im Bad@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[15]: [Yahka-0 011F@südliches Fenster OF@südliches Fenster OF@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.286	error	Caught by controller[14]: [Yahka-0 011F@südliches Fenster KZ@südliches Fenster KZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[13]: [Yahka-0 011F@westliches Fenster KZ@westliches Fenster KZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[12]: [Yahka-0 011F@westliches Fenster SZ@westliches Fenster SZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[11]: [Yahka-0 011F@nördliches Fenster SZ@nördliches Fenster SZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[10]: [Yahka-0 011F@Haustür@Haustür@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[9]: [Yahka-0 011F@Haustür@Haustür@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[8]: [Yahka-0 011F@westliche Tür@westliche Tür@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[7]: [Yahka-0 011F@westliche Tür@westliche Tür@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[6]: [Yahka-0 011F@Terrasse rechts@Terrassentür rechts@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[5]: [Yahka-0 011F@Terrasse links@Terrassentür links@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[4]: [Yahka-0 011F@Neue Post@Neue Post@On] characteristic value expected boolean and received undefined
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[4]: [Yahka-0 011F@Garage@Garage@Obstruction Detected] characteristic value expected boolean and received undefined
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[3]: [Yahka-0 011F@Lampe im Schlafzimmer@Nachttischlampe@Hue] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.285	error	Caught by controller[2]: [Yahka-0 011F@Lampe im Schlafzimmer@Nachttischlampe@Saturation] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.284	error	Caught by controller[1]: [Yahka-0 011F@Luftqual@Luftqualität@PM2.5 Density] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:39.284	error	Caught by controller[0]: [Yahka-0 011F@Justin@Justin@On] characteristic value expected boolean and received undefined
                                
                                yahka.0
                                2023-06-13 08:11:38.555	error	Error The pattern "ObstructionDetectedObstructionDetectedObstructionDetectedObstructionDetected0_userdata.0.Garage.ObstructionDetected" is not a valid ID pattern
                                
                                yahka.0
                                2023-06-13 08:11:38.555	error	ReplyError: Error The pattern "ObstructionDetectedObstructionDetectedObstructionDetectedObstructionDetected0_userdata.0.Garage.ObstructionDetected" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                
                                yahka.0
                                2023-06-13 08:11:38.544	error	unhandled promise rejection: Error The pattern "ObstructionDetectedObstructionDetectedObstructionDetectedObstructionDetected0_userdata.0.Garage.ObstructionDetected" is not a valid ID pattern
                                
                                yahka.0
                                2023-06-13 08:11:38.536	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().
                                host.iobroker
                                2023-06-13 08:11:05.745	error	instance system.adapter.yahka.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                host.iobroker
                                2023-06-13 08:11:05.745	error	Caught by controller[26]: [Yahka-0 011F@Wasseralarm@Wasseralarm@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[25]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[24]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[23]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[22]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[21]: [Yahka-0 011F@nördliches Fenster K1@nördliches Fenster K1@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[20]: [Yahka-0 011F@südliche, rechte Fenster K3@südliche,rechteFenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[19]: [Yahka-0 011F@südliche, linke Fenster K3@südliche,linke Fenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                host.iobroker
                                2023-06-13 08:11:05.744	error	Caught by controller[18]: [Yahka-0 011F@südliche, rechte Fenster im OG@südliche, rechte Fenster im OG@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                

                                VIS (V 1.4.16 ) Anzeige Web UI

                                File index.html not found: {}
                                

                                Log File:

                                vis.0
                                2023-06-13 08:30:13.571	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                
                                vis.0
                                2023-06-13 08:30:13.063	error	Not exists
                                
                                vis.0
                                2023-06-13 08:30:13.062	error	Error: Not exists at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/build/lib/objects/objectsInRedisClient.js:856:19) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/build/lib/objects/objectsInRedisClient.js:893:59) at process.processImmediate (node:internal/timers:478:21)
                                
                                vis.0
                                2023-06-13 08:30:13.061	error	unhandled promise rejection: Not exists
                                
                                vis.0
                                2023-06-13 08:30:13.059	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().
                                
                                

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

                                apollon77A 1 Reply Last reply
                                0
                                • apollon77A apollon77

                                  Neue erkannte Probleme, die noch nicht behandelt sind:

                                  • stiebel-isg update nötig
                                  • lgtv sollte fixed sein mit 1.1.12
                                  • web kann crashen falls Widgets in vis falsch konfiguriert sind (PR in socket-classes existiert bereits)
                                  • js-controller upgrade via Admin startet js-controller nicht wieder
                                  • Admin zeigt falsche Log grösse an -> Fixed in Admin 6.5.8+
                                  • km200 sollte gefixt sein mit 2.0.4
                                  • miio muss geprüft werden
                                  • fakeroku GitHub Version gefixt, release fehlt noch
                                  • pi-hole update nötig
                                  • node-red muss geprüft werden
                                  • enigma2.0 mindestens 1.4.0+
                                  • doorbird update nötig
                                  • linux-control update nötig
                                  mcm1957M Online
                                  mcm1957M Online
                                  mcm1957
                                  wrote on last edited by mcm1957
                                  #43

                                  @apollon77
                                  FHEM sollte auch auf die Liste der bekannten Adapterinkompatibilitäten:
                                  https://github.com/iobroker-community-adapters/ioBroker.fhem/issues/213
                                  sieht nach Problem analog zu stiebel-isg aus

                                  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

                                  haselchenH 1 Reply Last reply
                                  0
                                  • ChaotC Chaot

                                    @apollon77
                                    Der LGTV Adapter fällt aus wie erwartet (ist aber bei mir eher unwichtig)
                                    Dazu kommt noch eine Fehlermeldung:

                                    host.ioBroker
                                    2023-06-12 22:06:50.881	error	cannot call visUtils: Not exists
                                    
                                    

                                    Die Fehlermeldung blieb jetzt erstmal weg nachdem ich den VIS Adapter nochmal hochgeladen habe.
                                    Ansonsten scheint alles zu laufen.

                                    Edit:
                                    Scheinbar kommt doch noch was:

                                    host.ioBroker
                                    2023-06-12 22:20:00.903	error	instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.ioBroker
                                    2023-06-12 22:20:00.903	error	Caught by controller[1]: at processImmediate (node:internal/timers:478:21)
                                    host.ioBroker
                                    2023-06-12 22:20:00.902	error	Caught by controller[1]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46)
                                    host.ioBroker
                                    2023-06-12 22:20:00.902	error	Caught by controller[1]: at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15)
                                    host.ioBroker
                                    2023-06-12 22:20:00.902	error	Caught by controller[1]: Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                    host.ioBroker
                                    2023-06-12 22:20:00.902	error	Caught by controller[0]: at processImmediate (node:internal/timers:478:21)
                                    host.ioBroker
                                    2023-06-12 22:20:00.902	error	Caught by controller[0]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46)
                                    host.ioBroker
                                    2023-06-12 22:20:00.901	error	Caught by controller[0]: at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15)
                                    host.ioBroker
                                    2023-06-12 22:20:00.899	error	Caught by controller[0]: Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                    
                                    web.0
                                    2023-06-12 22:20:00.678	error	The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                    
                                    web.0
                                    2023-06-12 22:20:00.678	error	Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46) at processImmediate (node:internal/timers:478:21)
                                    
                                    web.0
                                    2023-06-12 22:20:00.677	error	uncaught exception: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                    
                                    web.0
                                    2023-06-12 22:20:00.638	error	The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                    
                                    web.0
                                    2023-06-12 22:20:00.637	error	Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46) at processImmediate (node:internal/timers:478:21)
                                    
                                    web.0
                                    2023-06-12 22:20:00.631	error	uncaught exception: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                    
                                    apollon77A Offline
                                    apollon77A Offline
                                    apollon77
                                    wrote on last edited by
                                    #44

                                    @chaot Also hier bitte web issue um die Fehler besser abzufangen und ansonsten such welches Widget mit solchen Daten hantiert weil das macht was komisches und versufht scheinbar DInge abzufragen die keine State IDs sind!! Also da ist eher in deiner Vis oder einem Widget was broken!

                                    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
                                    • Merlin123M Merlin123

                                      Wenn ich in einem Blockly einen anderen DP auswählen will öffnet sich der Objektbaum, die Anzeige springt zum aktuellen DP und dann dreht sich nur noch der Wartekreis. Keine Chance, den DP wieder zu ändern.

                                      Versuche ich einen Reload der Seite ( http://192.168.0.251:8081/#tab-javascript ) kommt erstmal ein "Webseite nicht erreichbar".
                                      Muss dann so ne halbe bis ganze Minute warten, dann läd er die Seite wieder. Versuche ich den DP nochmal zu ändern gleiches Spiel.
                                      Alle Adapter auf den neusten Beta Stand.

                                      EDIT: Nach Downgrade auf 4.0.24 geht das wieder.

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

                                      @merlin123 Bitte Admin issue mit der relevanten Browser Konsole Fehlermeldung ... da müsste es eine geben

                                      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
                                      • M Marty56

                                        Installation von js-controller 5.0.x ist möglich.
                                        Allerdings kann ich diverse Adapter nicht mehr upgraden.
                                        Ich bekomme die Fehlermeldung:

                                        js-controller (>=2.0.0): 5.0.2
                                        node (>=14.0.0):
                                        
                                        

                                        Meine Node Versionen sind größer als 14.00

                                         node -v
                                        v18.16.0
                                        npm -v
                                        9.5.1
                                        

                                        Update: nach iob fix funktionierte es wieder

                                        Folgende Ausfälle bei mir.

                                        Yakha (V1.03)

                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	instance system.adapter.yahka.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[26]: [Yahka-0 011F@Wasseralarm@Wasseralarm@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[25]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[24]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[23]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[22]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[21]: [Yahka-0 011F@nördliches Fenster K1@nördliches Fenster K1@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[20]: [Yahka-0 011F@südliche, rechte Fenster K3@südliche,rechteFenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[19]: [Yahka-0 011F@südliche, linke Fenster K3@südliche,linke Fenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[18]: [Yahka-0 011F@südliche, rechte Fenster im OG@südliche, rechte Fenster im OG@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[17]: [Yahka-0 011F@südliche, linke Fenster im OG@südliche, linke Fenster im OG@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[16]: [Yahka-0 011F@nördliches Fenster im Bad@nördliches Fenster im Bad@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[15]: [Yahka-0 011F@südliches Fenster OF@südliches Fenster OF@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.286	error	Caught by controller[14]: [Yahka-0 011F@südliches Fenster KZ@südliches Fenster KZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[13]: [Yahka-0 011F@westliches Fenster KZ@westliches Fenster KZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[12]: [Yahka-0 011F@westliches Fenster SZ@westliches Fenster SZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[11]: [Yahka-0 011F@nördliches Fenster SZ@nördliches Fenster SZ@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[10]: [Yahka-0 011F@Haustür@Haustür@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[9]: [Yahka-0 011F@Haustür@Haustür@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[8]: [Yahka-0 011F@westliche Tür@westliche Tür@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[7]: [Yahka-0 011F@westliche Tür@westliche Tür@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[6]: [Yahka-0 011F@Terrasse rechts@Terrassentür rechts@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[5]: [Yahka-0 011F@Terrasse links@Terrassentür links@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[4]: [Yahka-0 011F@Neue Post@Neue Post@On] characteristic value expected boolean and received undefined
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[4]: [Yahka-0 011F@Garage@Garage@Obstruction Detected] characteristic value expected boolean and received undefined
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[3]: [Yahka-0 011F@Lampe im Schlafzimmer@Nachttischlampe@Hue] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.285	error	Caught by controller[2]: [Yahka-0 011F@Lampe im Schlafzimmer@Nachttischlampe@Saturation] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.284	error	Caught by controller[1]: [Yahka-0 011F@Luftqual@Luftqualität@PM2.5 Density] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:39.284	error	Caught by controller[0]: [Yahka-0 011F@Justin@Justin@On] characteristic value expected boolean and received undefined
                                        
                                        yahka.0
                                        2023-06-13 08:11:38.555	error	Error The pattern "ObstructionDetectedObstructionDetectedObstructionDetectedObstructionDetected0_userdata.0.Garage.ObstructionDetected" is not a valid ID pattern
                                        
                                        yahka.0
                                        2023-06-13 08:11:38.555	error	ReplyError: Error The pattern "ObstructionDetectedObstructionDetectedObstructionDetectedObstructionDetected0_userdata.0.Garage.ObstructionDetected" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                        
                                        yahka.0
                                        2023-06-13 08:11:38.544	error	unhandled promise rejection: Error The pattern "ObstructionDetectedObstructionDetectedObstructionDetectedObstructionDetected0_userdata.0.Garage.ObstructionDetected" is not a valid ID pattern
                                        
                                        yahka.0
                                        2023-06-13 08:11:38.536	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().
                                        host.iobroker
                                        2023-06-13 08:11:05.745	error	instance system.adapter.yahka.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                        host.iobroker
                                        2023-06-13 08:11:05.745	error	Caught by controller[26]: [Yahka-0 011F@Wasseralarm@Wasseralarm@Status Low Battery] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[25]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[24]: [Yahka-0 011F@Heizung im Kinderzimmer@KZ Heizung@Status Low Battery] characteristic value expected valid finite number and received "NaN" (number)
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[23]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[22]: [Yahka-0 011F@Leuchtstreifen@Leuchtstreifen@Color Temperature] characteristic was supplied illegal value: number 0 exceeded minimum of 140
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[21]: [Yahka-0 011F@nördliches Fenster K1@nördliches Fenster K1@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[20]: [Yahka-0 011F@südliche, rechte Fenster K3@südliche,rechteFenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[19]: [Yahka-0 011F@südliche, linke Fenster K3@südliche,linke Fenster K3@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        host.iobroker
                                        2023-06-13 08:11:05.744	error	Caught by controller[18]: [Yahka-0 011F@südliche, rechte Fenster im OG@südliche, rechte Fenster im OG@Contact Sensor State] characteristic value expected valid finite number and received "undefined" (undefined)
                                        

                                        VIS (V 1.4.16 ) Anzeige Web UI

                                        File index.html not found: {}
                                        

                                        Log File:

                                        vis.0
                                        2023-06-13 08:30:13.571	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                        
                                        vis.0
                                        2023-06-13 08:30:13.063	error	Not exists
                                        
                                        vis.0
                                        2023-06-13 08:30:13.062	error	Error: Not exists at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/build/lib/objects/objectsInRedisClient.js:856:19) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/build/lib/objects/objectsInRedisClient.js:893:59) at process.processImmediate (node:internal/timers:478:21)
                                        
                                        vis.0
                                        2023-06-13 08:30:13.061	error	unhandled promise rejection: Not exists
                                        
                                        vis.0
                                        2023-06-13 08:30:13.059	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().
                                        
                                        
                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        wrote on last edited by
                                        #46

                                        @marty56 Bitte issue in yahka anlegen und "iob upload vis" machen. Danach ok? Auch issue in vis bitte dennich mit der Fehlermeldung

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

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

                                          @apollon77
                                          Der LGTV Adapter fällt aus wie erwartet (ist aber bei mir eher unwichtig)
                                          Dazu kommt noch eine Fehlermeldung:

                                          host.ioBroker
                                          2023-06-12 22:06:50.881	error	cannot call visUtils: Not exists
                                          
                                          

                                          Die Fehlermeldung blieb jetzt erstmal weg nachdem ich den VIS Adapter nochmal hochgeladen habe.
                                          Ansonsten scheint alles zu laufen.

                                          Edit:
                                          Scheinbar kommt doch noch was:

                                          host.ioBroker
                                          2023-06-12 22:20:00.903	error	instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                          host.ioBroker
                                          2023-06-12 22:20:00.903	error	Caught by controller[1]: at processImmediate (node:internal/timers:478:21)
                                          host.ioBroker
                                          2023-06-12 22:20:00.902	error	Caught by controller[1]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46)
                                          host.ioBroker
                                          2023-06-12 22:20:00.902	error	Caught by controller[1]: at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15)
                                          host.ioBroker
                                          2023-06-12 22:20:00.902	error	Caught by controller[1]: Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                          host.ioBroker
                                          2023-06-12 22:20:00.902	error	Caught by controller[0]: at processImmediate (node:internal/timers:478:21)
                                          host.ioBroker
                                          2023-06-12 22:20:00.902	error	Caught by controller[0]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46)
                                          host.ioBroker
                                          2023-06-12 22:20:00.901	error	Caught by controller[0]: at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15)
                                          host.ioBroker
                                          2023-06-12 22:20:00.899	error	Caught by controller[0]: Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                          
                                          web.0
                                          2023-06-12 22:20:00.678	error	The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                          
                                          web.0
                                          2023-06-12 22:20:00.678	error	Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46) at processImmediate (node:internal/timers:478:21)
                                          
                                          web.0
                                          2023-06-12 22:20:00.677	error	uncaught exception: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                          
                                          web.0
                                          2023-06-12 22:20:00.638	error	The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                          
                                          web.0
                                          2023-06-12 22:20:00.637	error	Error: The pattern "Montag<br>12.06.2023" is not a valid ID pattern at Object.pattern2RegEx (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/tools.ts:2415:15) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:9313:46) at processImmediate (node:internal/timers:478:21)
                                          
                                          web.0
                                          2023-06-12 22:20:00.631	error	uncaught exception: The pattern "Montag<br>12.06.2023" is not a valid ID pattern
                                          
                                          ? Offline
                                          ? Offline
                                          A Former User
                                          wrote on last edited by
                                          #47

                                          @chaot sagte in js-controller 5.0.x jetzt in der BETA:

                                          @apollon77
                                          Der LGTV Adapter fällt aus wie erwartet (ist aber bei mir eher unwichtig)
                                          Dazu kommt noch eine Fehlermeldung:

                                          Es gibt mittlerweile einen Fork von @basti4557 vom LG Adapter, Version 1.1.11, die funktioniert auch mit js-controller 5.x einwandfrei.
                                          https://github.com/basti4557/ioBroker.lgtvs

                                          apollon77A 1 Reply 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

                                          733

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          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