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. Test Adapter Samsung Smartthings v.0.0.x

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    205

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    576

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

Test Adapter Samsung Smartthings v.0.0.x

Geplant Angeheftet Gesperrt Verschoben Tester
292 Beiträge 84 Kommentatoren 68.1k Aufrufe 78 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.
  • S smarteppi

    Schade. Der Adapter scheint mit Node 20 nicht mehr zu funktionieren.
    Exception-Code: ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH: error:1C80006B:Provider routines::wrong final block length
    smartthings.0
    2025-12-22 22:09:59.099 error Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:193:29) at Smartthings.login (/opt/iobroker/node_modules/iobroker.smartthings/main.js:135:32) at Smartthings.onReady (/opt/iobroker/node_modules/iobroker.smartthings/main.js:58:18)
    smartthings.0
    2025-12-22 22:09:59.098 error unhandled promise rejection: error:1C80006B:Provider routines::wrong final block length
    smartthings.0
    2025-12-22 22:09:59.098 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().

    Abwarten ob da noch was kommt....

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

    @smarteppi sagte in Test Adapter Samsung Smartthings v.0.0.x:

    Der Adapter scheint mit Node 20 nicht mehr zu funktionieren.

    Losgelöst vom Problem solltest du ohnehin auf nodejs 22 wechseln.

    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

    S 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @smarteppi sagte in Test Adapter Samsung Smartthings v.0.0.x:

      Der Adapter scheint mit Node 20 nicht mehr zu funktionieren.

      Losgelöst vom Problem solltest du ohnehin auf nodejs 22 wechseln.

      S Offline
      S Offline
      smarteppi
      schrieb am zuletzt editiert von smarteppi
      #284

      @Thomas-Braun sagte in Test Adapter Samsung Smartthings v.0.0.x:

      @smarteppi sagte in Test Adapter Samsung Smartthings v.0.0.x:

      Der Adapter scheint mit Node 20 nicht mehr zu funktionieren.

      Losgelöst vom Problem solltest du ohnehin auf nodejs 22 wechseln.

      Ja werde ich.

      Ich denke aber es wird das Problem nicht lösen.

      ChatGTP sagt hier:
      ** *Gespeicherte Login-Daten / Token zu entschlüsseln
      *

      • Nutzt dafür crypto.createDecipheriv
      • Node.js ≥ 20 (OpenSSL 3) ist strenger
      • Alte Verschlüsselung → 💥**
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • S smarteppi

        @Thomas-Braun sagte in Test Adapter Samsung Smartthings v.0.0.x:

        @smarteppi sagte in Test Adapter Samsung Smartthings v.0.0.x:

        Der Adapter scheint mit Node 20 nicht mehr zu funktionieren.

        Losgelöst vom Problem solltest du ohnehin auf nodejs 22 wechseln.

        Ja werde ich.

        Ich denke aber es wird das Problem nicht lösen.

        ChatGTP sagt hier:
        ** *Gespeicherte Login-Daten / Token zu entschlüsseln
        *

        • Nutzt dafür crypto.createDecipheriv
        • Node.js ≥ 20 (OpenSSL 3) ist strenger
        • Alte Verschlüsselung → 💥**
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #285

        @smarteppi sagte in Test Adapter Samsung Smartthings v.0.0.x:

        Ich denke aber es wird das Problem nicht lösen.

        Das habe ich auch nicht behauptet. Allerdings befindet sich nodejs@20 kurz vor EoL und 22 ist schon länger die Empfehlung für den ioBroker.

        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
        • S Offline
          S Offline
          smarteppi
          schrieb am zuletzt editiert von
          #286

          Wie zu erwarten hat sich mit nodejs22 nichts verbessert.

          Please enter a valid codeUrl or Samsung Smartthings Token
          smartthings.0
          2025-12-27 18:11:20.419 error Please enter a Samsung Smartthings Code Url in the instance settings
          smartthings.0
          2025-12-27 18:11:20.418 info Start login via code url
          smartthings.0
          2025-12-27 18:11:20.400 info starting. Version 0.2.2 (non-npm: TA2k/ioBroker.smartthings#b055221990231cf4c8xxxxxxxxe94ff59b0fd75) in /opt/iobroker/node_modules/iobroker.smartthings, node: v22.21.0, js-controller: 7.0.7
          smartthings.0
          2025-12-27 18:11:16.483 info terminating
          smartthings.0
          2025-12-27 18:11:16.035 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
          smartthings.0
          2025-12-27 18:11:16.034 info terminating
          smartthings.0
          2025-12-27 18:11:16.033 info Got terminate signal TERMINATE_YOURSELF
          smartthings.0
          2025-12-27 18:11:15.980 error Exception-Code: ERR_OSSL_WRONG_FINAL_BLOCK_LENGTH: error:1C80006B:Provider routines::wrong final block length
          smartthings.0
          2025-12-27 18:11:15.980 error Error: error:1C80006B:Provider routines::wrong final block length at Decipheriv.final (node:internal/crypto/cipher:184:29) at Smartthings.login (/opt/iobroker/node_modules/iobroker.smartthings/main.js:135:32) at Smartthings.onReady (/opt/iobroker/node_modules/iobroker.smartthings/main.js:58:18)
          smartthings.0
          2025-12-27 18:11:15.980 error unhandled promise rejection: error:1C80006B:Provider routines::wrong final block length
          smartthings.0
          2025-12-27 18:11:15.979 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().
          smartthings.0
          2025-12-27 18:11:15.977 info Start login via code url
          smartthings.0
          2025-12-27 18:11:15.956 info starting. Version 0.2.2 (non-npm: TA2k/ioBroker.smartthings#b05522199023xxxxxxxxxbee94ff59b0fd75) in /opt/iobroker/node_modules/iobroker.smartthings, node: v22.21.0, js-controller: 7.0.7

          1 Antwort Letzte Antwort
          0
          • S Offline
            S Offline
            smarteppi
            schrieb am zuletzt editiert von
            #287

            Das sagt KI:
            Was genau schiefgeht (technisch korrekt)

            Node 20+ / 22 nutzt OpenSSL 3.x

            Der SmartThings-Adapter:

            verschlüsselt Tokens legacy-kompatibel

            entschlüsselt sie mit createDecipheriv

            OpenSSL 3 ist strenger bei:

            Padding

            Blocklängen

            Ergebnis:

            wrong final block length

            KI schlägt downgrade nodejs auf 18 vor - mach ich natürlich nicht

            Alternative:
            Node 22 behalten (nicht empfohlen, aber möglich)

            Nur mit Legacy-Provider:

            export NODE_OPTIONS=--openssl-legacy-provider
            iobroker restart

            Ist das zu empfehlen?

            Thomas BraunT T 2 Antworten Letzte Antwort
            0
            • S smarteppi

              Das sagt KI:
              Was genau schiefgeht (technisch korrekt)

              Node 20+ / 22 nutzt OpenSSL 3.x

              Der SmartThings-Adapter:

              verschlüsselt Tokens legacy-kompatibel

              entschlüsselt sie mit createDecipheriv

              OpenSSL 3 ist strenger bei:

              Padding

              Blocklängen

              Ergebnis:

              wrong final block length

              KI schlägt downgrade nodejs auf 18 vor - mach ich natürlich nicht

              Alternative:
              Node 22 behalten (nicht empfohlen, aber möglich)

              Nur mit Legacy-Provider:

              export NODE_OPTIONS=--openssl-legacy-provider
              iobroker restart

              Ist das zu empfehlen?

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

              @smarteppi

              Dann schau in die Issues des Adapters und leg entsprechend eins an, falls es noch nichts passendes gibt.

              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

              S 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @smarteppi

                Dann schau in die Issues des Adapters und leg entsprechend eins an, falls es noch nichts passendes gibt.

                S Offline
                S Offline
                smarteppi
                schrieb am zuletzt editiert von
                #289

                @Thomas-Braun Leider muss ich sagen das mir dazu die Kenntnisse fehlen. Ich hab auch kein Github Konto.
                Ich bin ein User der sich da so durchkämpft. Wenn der Adapter nicht mehr weiterentwickelt wird ist das zu akzeptieren. Danke trotzdem Danke!

                1 Antwort Letzte Antwort
                0
                • S smarteppi

                  Das sagt KI:
                  Was genau schiefgeht (technisch korrekt)

                  Node 20+ / 22 nutzt OpenSSL 3.x

                  Der SmartThings-Adapter:

                  verschlüsselt Tokens legacy-kompatibel

                  entschlüsselt sie mit createDecipheriv

                  OpenSSL 3 ist strenger bei:

                  Padding

                  Blocklängen

                  Ergebnis:

                  wrong final block length

                  KI schlägt downgrade nodejs auf 18 vor - mach ich natürlich nicht

                  Alternative:
                  Node 22 behalten (nicht empfohlen, aber möglich)

                  Nur mit Legacy-Provider:

                  export NODE_OPTIONS=--openssl-legacy-provider
                  iobroker restart

                  Ist das zu empfehlen?

                  T Offline
                  T Offline
                  tombox
                  schrieb am zuletzt editiert von tombox
                  #290

                  @smarteppi ich habe das problem mit node 22.21.1 auf MacOS nicht. welches OS verwendest du

                  === Node.js and OpenSSL Version Information ===
                  
                  Node.js version: v22.21.1
                  Node.js platform: darwin
                  Node.js arch: arm64
                  
                  OpenSSL version: 3.6.0
                  
                  === All Process Versions ===
                  node: 22.21.1
                  acorn: 8.15.0
                  ada: 2.9.2
                  amaro: 1.1.4
                  ares: 1.34.5
                  brotli: 1.2.0
                  cjs_module_lexer: 2.1.0
                  cldr: 48.0
                  icu: 78.1
                  llhttp: 9.3.0
                  modules: 127
                  napi: 10
                  nbytes: 0.1.1
                  ncrypto: 0.0.1
                  nghttp2: 1.68.0
                  openssl: 3.6.0
                  simdjson: 4.2.2
                  simdutf: 7.7.0
                  sqlite: 3.51.0
                  tz: 2025b
                  undici: 6.22.0
                  unicode: 17.0
                  uv: 1.51.0
                  uvwasi: 0.0.23
                  v8: 12.4.254.21-node.33
                  zlib: 1.2.12
                  zstd: 1.5.7
                  
                  === Crypto Capabilities ===
                  Available ciphers: 130
                  Has aes-128-cbc: YES
                  
                  === OpenSSL Constants Available ===
                  Crypto constants defined: YES
                  

                  Du kannst es auch selber überprüfen einfach in test.js speichern und dann ausführen
                  node test.js

                  const crypto = require('crypto');
                  
                  console.log('=== Node.js and OpenSSL Version Information ===\n');
                  console.log('Node.js version:', process.version);
                  console.log('Node.js platform:', process.platform);
                  console.log('Node.js arch:', process.arch);
                  console.log('');
                  
                  // Check OpenSSL version
                  console.log('OpenSSL version:', process.versions.openssl);
                  console.log('');
                  
                  // Get all crypto-related versions
                  console.log('=== All Process Versions ===');
                  Object.keys(process.versions).forEach(key => {
                    console.log(`${key}: ${process.versions[key]}`);
                  });
                  console.log('');
                  
                  // Check available crypto features
                  console.log('=== Crypto Capabilities ===');
                  console.log('Available ciphers:', crypto.getCiphers().length);
                  console.log('Has aes-128-cbc:', crypto.getCiphers().includes('aes-128-cbc') ? 'YES' : 'NO');
                  console.log('');
                  
                  // Try to get more detailed OpenSSL info
                  try {
                    const { constants } = crypto;
                    console.log('=== OpenSSL Constants Available ===');
                    console.log('Crypto constants defined:', Object.keys(constants).length > 0 ? 'YES' : 'NO');
                  } catch (e) {
                    console.log('Could not access crypto constants:', e.message);
                  }
                  
                  
                  S 1 Antwort Letzte Antwort
                  0
                  • T tombox

                    @smarteppi ich habe das problem mit node 22.21.1 auf MacOS nicht. welches OS verwendest du

                    === Node.js and OpenSSL Version Information ===
                    
                    Node.js version: v22.21.1
                    Node.js platform: darwin
                    Node.js arch: arm64
                    
                    OpenSSL version: 3.6.0
                    
                    === All Process Versions ===
                    node: 22.21.1
                    acorn: 8.15.0
                    ada: 2.9.2
                    amaro: 1.1.4
                    ares: 1.34.5
                    brotli: 1.2.0
                    cjs_module_lexer: 2.1.0
                    cldr: 48.0
                    icu: 78.1
                    llhttp: 9.3.0
                    modules: 127
                    napi: 10
                    nbytes: 0.1.1
                    ncrypto: 0.0.1
                    nghttp2: 1.68.0
                    openssl: 3.6.0
                    simdjson: 4.2.2
                    simdutf: 7.7.0
                    sqlite: 3.51.0
                    tz: 2025b
                    undici: 6.22.0
                    unicode: 17.0
                    uv: 1.51.0
                    uvwasi: 0.0.23
                    v8: 12.4.254.21-node.33
                    zlib: 1.2.12
                    zstd: 1.5.7
                    
                    === Crypto Capabilities ===
                    Available ciphers: 130
                    Has aes-128-cbc: YES
                    
                    === OpenSSL Constants Available ===
                    Crypto constants defined: YES
                    

                    Du kannst es auch selber überprüfen einfach in test.js speichern und dann ausführen
                    node test.js

                    const crypto = require('crypto');
                    
                    console.log('=== Node.js and OpenSSL Version Information ===\n');
                    console.log('Node.js version:', process.version);
                    console.log('Node.js platform:', process.platform);
                    console.log('Node.js arch:', process.arch);
                    console.log('');
                    
                    // Check OpenSSL version
                    console.log('OpenSSL version:', process.versions.openssl);
                    console.log('');
                    
                    // Get all crypto-related versions
                    console.log('=== All Process Versions ===');
                    Object.keys(process.versions).forEach(key => {
                      console.log(`${key}: ${process.versions[key]}`);
                    });
                    console.log('');
                    
                    // Check available crypto features
                    console.log('=== Crypto Capabilities ===');
                    console.log('Available ciphers:', crypto.getCiphers().length);
                    console.log('Has aes-128-cbc:', crypto.getCiphers().includes('aes-128-cbc') ? 'YES' : 'NO');
                    console.log('');
                    
                    // Try to get more detailed OpenSSL info
                    try {
                      const { constants } = crypto;
                      console.log('=== OpenSSL Constants Available ===');
                      console.log('Crypto constants defined:', Object.keys(constants).length > 0 ? 'YES' : 'NO');
                    } catch (e) {
                      console.log('Could not access crypto constants:', e.message);
                    }
                    
                    
                    S Offline
                    S Offline
                    smarteppi
                    schrieb am zuletzt editiert von
                    #291

                    @tombox Debian 12 blockworm in einem LXC Container in Proxmox

                    Das Script läuft bei mir nicht.

                    T 1 Antwort Letzte Antwort
                    0
                    • S smarteppi

                      @tombox Debian 12 blockworm in einem LXC Container in Proxmox

                      Das Script läuft bei mir nicht.

                      T Offline
                      T Offline
                      tombox
                      schrieb am zuletzt editiert von
                      #292

                      @smarteppi Bitte immer mit dem konkreten Fehler antworten

                      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

                      942

                      Online

                      32.5k

                      Benutzer

                      81.8k

                      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