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. Probleme mit s7 adapter nach nodejs und OS update

NEWS

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

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

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

Probleme mit s7 adapter nach nodejs und OS update

Probleme mit s7 adapter nach nodejs und OS update

Scheduled Pinned Locked Moved ioBroker Allgemein
37 Posts 8 Posters 2.4k Views 9 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.
  • jogibear9988J Offline
    jogibear9988J Offline
    jogibear9988
    wrote on last edited by
    #1

    Seit dem update auf rpi bookworm und node 20 habe ich problem den s7 adapter zu installieren:

    15fddb08-fa35-471f-aca3-b5931266ee44-image.png

    57d426cd-e979-4fa7-bd5c-af677f6b2b51-image.png

    f3433f28-e140-4e5e-a73b-0580c2fcec4b-image.png e

    Check my ioBroker webui - a vis alternative
    see: https://github.com/iobroker-community-adapters/ioBroker.webui

    Thomas BraunT 2 Replies Last reply
    0
    • jogibear9988J jogibear9988

      Seit dem update auf rpi bookworm und node 20 habe ich problem den s7 adapter zu installieren:

      15fddb08-fa35-471f-aca3-b5931266ee44-image.png

      57d426cd-e979-4fa7-bd5c-af677f6b2b51-image.png

      f3433f28-e140-4e5e-a73b-0580c2fcec4b-image.png e

      Thomas BraunT Offline
      Thomas BraunT Offline
      Thomas Braun
      Most Active
      wrote on last edited by
      #2

      @jogibear9988

      Texte aus der Konsole immer in CodeTags hier rein. Das kann und will doch niemand lesen.

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

      1 Reply Last reply
      0
      • jogibear9988J jogibear9988

        Seit dem update auf rpi bookworm und node 20 habe ich problem den s7 adapter zu installieren:

        15fddb08-fa35-471f-aca3-b5931266ee44-image.png

        57d426cd-e979-4fa7-bd5c-af677f6b2b51-image.png

        f3433f28-e140-4e5e-a73b-0580c2fcec4b-image.png e

        Thomas BraunT Offline
        Thomas BraunT Offline
        Thomas Braun
        Most Active
        wrote on last edited by Thomas Braun
        #3

        @jogibear9988

        https://github.com/mathiask88/node-snap7/issues/88
        https://github.com/mathiask88/node-snap7/issues/92
        https://github.com/ioBroker/ioBroker.s7/issues/183

        An node-snap7 wird aber wohl nichts mehr getan. Schaut schlecht aus.

        Grothesk242 created this issue in mathiask88/node-snap7

        closed Won't build with nodejs19 #88

        Sinclair81 created this issue in mathiask88/node-snap7

        closed Won't work with Node.js v20.x #92

        Grothesk242 created this issue in ioBroker/ioBroker.s7

        closed Hint: node-snap7 does not build with nodeJS@19 #183

        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

        Jey CeeJ 1 Reply Last reply
        1
        • Thomas BraunT Thomas Braun

          @jogibear9988

          https://github.com/mathiask88/node-snap7/issues/88
          https://github.com/mathiask88/node-snap7/issues/92
          https://github.com/ioBroker/ioBroker.s7/issues/183

          An node-snap7 wird aber wohl nichts mehr getan. Schaut schlecht aus.

          Grothesk242 created this issue in mathiask88/node-snap7

          closed Won't build with nodejs19 #88

          Sinclair81 created this issue in mathiask88/node-snap7

          closed Won't work with Node.js v20.x #92

          Grothesk242 created this issue in ioBroker/ioBroker.s7

          closed Hint: node-snap7 does not build with nodeJS@19 #183

          Jey CeeJ Online
          Jey CeeJ Online
          Jey Cee
          Developer
          wrote on last edited by
          #4

          @thomas-braun sagte in Probleme mit s7 adapter nach nodejs und OS update:

          An node-snap7 wird aber wohl nichts mehr getan. Schaut schlecht aus.

          Es gibt einen Fork davon der für node v19+ fit gemacht wurde: https://github.com/Jozo132/node-snap7-v19/commits/master
          Der hier sieht auch so aus als könnte er mit node v19+ funktionieren: https://github.com/LukeAz/node-snap7

          Persönlicher Support
          Spenden -> paypal.me/J3YC33

          Thomas BraunT 1 Reply Last reply
          0
          • Jey CeeJ Jey Cee

            @thomas-braun sagte in Probleme mit s7 adapter nach nodejs und OS update:

            An node-snap7 wird aber wohl nichts mehr getan. Schaut schlecht aus.

            Es gibt einen Fork davon der für node v19+ fit gemacht wurde: https://github.com/Jozo132/node-snap7-v19/commits/master
            Der hier sieht auch so aus als könnte er mit node v19+ funktionieren: https://github.com/LukeAz/node-snap7

            Thomas BraunT Offline
            Thomas BraunT Offline
            Thomas Braun
            Most Active
            wrote on last edited by
            #5

            @jey-cee

            Oh, danach hatte ich gar nicht gebuddelt. Dann müsste wohl der Fork in den Adapter reingezogen werden.

            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

            apollon77A 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @jey-cee

              Oh, danach hatte ich gar nicht gebuddelt. Dann müsste wohl der Fork in den Adapter reingezogen werden.

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

              @thomas-braun ich hab auch geschaut gestern Abend unabhängig vom fork. Mal schauen was die so tun. Schade ist aber das keiner der Forken einen PR gemacht hat oder auch nur ein gescheites issue :-(. Na dann mache Ich das wohl mal. Vllt gibts dann ja ein offizielles Update.

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

                @thomas-braun ich hab auch geschaut gestern Abend unabhängig vom fork. Mal schauen was die so tun. Schade ist aber das keiner der Forken einen PR gemacht hat oder auch nur ein gescheites issue :-(. Na dann mache Ich das wohl mal. Vllt gibts dann ja ein offizielles Update.

                jogibear9988J Offline
                jogibear9988J Offline
                jogibear9988
                wrote on last edited by
                #7

                @apollon77
                ohne ofizielles update, können wir auf einen fork wechseln?

                Check my ioBroker webui - a vis alternative
                see: https://github.com/iobroker-community-adapters/ioBroker.webui

                apollon77A 1 Reply Last reply
                0
                • jogibear9988J jogibear9988

                  @apollon77
                  ohne ofizielles update, können wir auf einen fork wechseln?

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

                  @jogibear9988 naja wir sollten dem Entwickler schon mal zeit geben meinen PR anzunehmen und eine gefixte Version zu releasen, korrekt?

                  https://github.com/mathiask88/node-snap7/pull/93#issuecomment-1799376004

                  Und oohhh Wunder kaum macht jemand einen PR gehts auch voran (no offencse an die hier anwesenden, eher genrell offense zu den Helden die nen Fork machen ohne nen PR und dann den Fork noch "-v19" fpür "nodejs 19 nennen was ne Dev Version ist und schon EOL ... und den bestimmt künftig regelmässig updaten werden 😉 )

                  Apollon77 opened this pull request in mathiask88/node-snap7

                  closed Node.js 20 compatibility #93

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

                    @jogibear9988 naja wir sollten dem Entwickler schon mal zeit geben meinen PR anzunehmen und eine gefixte Version zu releasen, korrekt?

                    https://github.com/mathiask88/node-snap7/pull/93#issuecomment-1799376004

                    Und oohhh Wunder kaum macht jemand einen PR gehts auch voran (no offencse an die hier anwesenden, eher genrell offense zu den Helden die nen Fork machen ohne nen PR und dann den Fork noch "-v19" fpür "nodejs 19 nennen was ne Dev Version ist und schon EOL ... und den bestimmt künftig regelmässig updaten werden 😉 )

                    Apollon77 opened this pull request in mathiask88/node-snap7

                    closed Node.js 20 compatibility #93

                    jogibear9988J Offline
                    jogibear9988J Offline
                    jogibear9988
                    wrote on last edited by
                    #9

                    @apollon77 said in Probleme mit s7 adapter nach nodejs und OS update:

                    Node.js 20 compatibility

                    oh, gab wohl nen pull req: https://github.com/mathiask88/node-snap7/pull/94

                    mathiask88 opened this pull request in mathiask88/node-snap7

                    closed add GitHub Actions #94

                    Check my ioBroker webui - a vis alternative
                    see: https://github.com/iobroker-community-adapters/ioBroker.webui

                    apollon77A 1 Reply Last reply
                    0
                    • jogibear9988J jogibear9988

                      @apollon77 said in Probleme mit s7 adapter nach nodejs und OS update:

                      Node.js 20 compatibility

                      oh, gab wohl nen pull req: https://github.com/mathiask88/node-snap7/pull/94

                      mathiask88 opened this pull request in mathiask88/node-snap7

                      closed add GitHub Actions #94

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

                      @jogibear9988 Jupp dass ist der re-do von meinem PR vom entwickle selbst. Alles gut. Es passiert was.

                      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
                      • apollon77A Offline
                        apollon77A Offline
                        apollon77
                        wrote on last edited by
                        #11

                        sooo ... https://github.com/mathiask88/node-snap7/releases/tag/v1.0.7 ...ich schaue das ich die Tage mal den Adapter aktualisiere

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

                          sooo ... https://github.com/mathiask88/node-snap7/releases/tag/v1.0.7 ...ich schaue das ich die Tage mal den Adapter aktualisiere

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

                          @apollon77 Ok die neue version ist noch nicht auf npm gelandet ... der Dev ist dran ... sollte Richtung Wochenende klappen

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

                            @apollon77 Ok die neue version ist noch nicht auf npm gelandet ... der Dev ist dran ... sollte Richtung Wochenende klappen

                            T Offline
                            T Offline
                            tomlei1
                            wrote on last edited by
                            #13

                            @apollon77 Gibt es hier schon etwas neues?
                            Ich habe heute auf die Node Version 18.19 aktualisiert, weil einige andere Adapter das erforderten und jetzt läuft der S7 Adapter nicht mehr.

                            apollon77A 1 Reply Last reply
                            0
                            • T tomlei1

                              @apollon77 Gibt es hier schon etwas neues?
                              Ich habe heute auf die Node Version 18.19 aktualisiert, weil einige andere Adapter das erforderten und jetzt läuft der S7 Adapter nicht mehr.

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

                              @tomlei1 warten auf den Dev .... https://github.com/mathiask88/node-snap7/pull/94#issuecomment-1837161342 ... wobei Nodejs 18 an sich vorher tat ... welchen Fehler hast Du genau?

                              mathiask88 opened this pull request in mathiask88/node-snap7

                              closed add GitHub Actions #94

                              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
                              T 1 Reply Last reply
                              0
                              • apollon77A Offline
                                apollon77A Offline
                                apollon77
                                wrote on last edited by
                                #15

                                s7 Adapter Version 1.4.0 (funktioniert ab Node.js 16.x) geht gerade auf npm bzw. ins Beta Repo.

                                Bitte gebt Feedback

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

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

                                  @tomlei1 warten auf den Dev .... https://github.com/mathiask88/node-snap7/pull/94#issuecomment-1837161342 ... wobei Nodejs 18 an sich vorher tat ... welchen Fehler hast Du genau?

                                  mathiask88 opened this pull request in mathiask88/node-snap7

                                  closed add GitHub Actions #94

                                  T Offline
                                  T Offline
                                  tomlei1
                                  wrote on last edited by tomlei1
                                  #16

                                  @apollon77

                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: Node.js v18.19.0
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]:
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: }
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32) {
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\node-snap7\lib\node-snap7.js:8:45)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at bindings (C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\bindings\bindings.js:112:48)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._extensions..node (node:internal/modules/cjs/loader:1452:18)
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: was compiled against a different Node.js version using
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: Error: The module '\\?\C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\node-snap7\build\Release\node_snap7.node'
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]:
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: ^
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: throw e;
                                  host.Lenovo-i5SmartHomeDEServer3)
                                  2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\bindings\bindings.js:121
                                  

                                  Verbindung wird nicht mehr hergestellt und bleibt rot.

                                  apollon77A 1 Reply Last reply
                                  0
                                  • T tomlei1

                                    @apollon77

                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: Node.js v18.19.0
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]:
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: }
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32) {
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\node-snap7\lib\node-snap7.js:8:45)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.128	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at bindings (C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\bindings\bindings.js:112:48)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: at Module._extensions..node (node:internal/modules/cjs/loader:1452:18)
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: was compiled against a different Node.js version using
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: Error: The module '\\?\C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\node-snap7\build\Release\node_snap7.node'
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]:
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: ^
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: throw e;
                                    host.Lenovo-i5SmartHomeDEServer3)
                                    2023-12-03 10:41:14.127	error	host.Lenovo-i5(SmartHomeDEServer3) Caught by controller[0]: C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\bindings\bindings.js:121
                                    

                                    Verbindung wird nicht mehr hergestellt und bleibt rot.

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

                                    @tomlei1 Scheinbar klappt das automatische rebuild nicht ... also musst du das manuell machen.

                                    versuch mal

                                    cd C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\node-snap7\
                                    npm rebuild
                                    

                                    wenn das nicht geht ... "npm install" ... wenn das nicht geht lösche das "build" Directory in dem Verzeichnis und dann nochmal das obige

                                    ... oder einfach das update installieren was ich oben erwähnt hab?

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

                                      @tomlei1 Scheinbar klappt das automatische rebuild nicht ... also musst du das manuell machen.

                                      versuch mal

                                      cd C:\Program Files\iobroker\SmartHomeDEServer3\node_modules\node-snap7\
                                      npm rebuild
                                      

                                      wenn das nicht geht ... "npm install" ... wenn das nicht geht lösche das "build" Directory in dem Verzeichnis und dann nochmal das obige

                                      ... oder einfach das update installieren was ich oben erwähnt hab?

                                      T Offline
                                      T Offline
                                      tomlei1
                                      wrote on last edited by tomlei1
                                      #18

                                      @apollon77 said in Probleme mit s7 adapter nach nodejs und OS update:

                                      ... oder einfach das update installieren was ich oben erwähnt hab?

                                      Ich habe die Version 1.4.0 installiert und dann ging gar nichts mehr. Nachdem ich den Adapter deinstalliert und in der Version 1.3.15 neu installiert hatte, funktioniert diese scheinbar wieder. Jetzt muss ich nur meine ganzen IO's neu eingeben...

                                      Log

                                      
                                      s7.0
                                      2023-12-03 10:54:57.039	info	Successfully connected in S7 mode
                                      s7.0
                                      2023-12-03 10:54:56.972	info	Connect in S7 mode to 0 / 1
                                      s7.0
                                      2023-12-03 10:54:56.935	info	starting. Version 1.3.15 in C:/Program Files/iobroker/SmartHomeDEServer3/node_modules/iobroker.s7, node: v18.19.0, js-controller: 4.0.23
                                      
                                      1 Reply Last reply
                                      0
                                      • apollon77A apollon77

                                        s7 Adapter Version 1.4.0 (funktioniert ab Node.js 16.x) geht gerade auf npm bzw. ins Beta Repo.

                                        Bitte gebt Feedback

                                        M Online
                                        M Online
                                        mrjeschke
                                        wrote on last edited by
                                        #19

                                        @apollon77
                                        Mit der Version 1.4.0 kann ich den Adapter nicht mehr konfigurieren.
                                        Es kommt ein Browserfehler.
                                        Debian Bookworm
                                        Nodejs 18.19.0
                                        js-controller 5.0.17
                                        admin 6.12.6

                                        Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
                                            at Z (react.production.min.js:18:327)
                                            at t.useContext (react.production.min.js:22:269)
                                            at makeStyles.js:189:40
                                            at withStyles.js:50:21
                                            at bc (react-dom.production.min.js:167:137)
                                            at ys (react-dom.production.min.js:193:57)
                                            at bi (react-dom.production.min.js:294:275)
                                            at xl (react-dom.production.min.js:280:389)
                                            at gl (react-dom.production.min.js:280:320)
                                            at fl (react-dom.production.min.js:280:180)
                                            at cl (react-dom.production.min.js:271:88)
                                            at rl (react-dom.production.min.js:268:429)
                                            at y (scheduler.production.min.js:13:203)
                                            at MessagePort.T (scheduler.production.min.js:14:128)
                                        (anonym) @ console.ts:40
                                        us @ react-dom.production.min.js:189
                                        n.callback @ react-dom.production.min.js:189
                                        Dr @ react-dom.production.min.js:144
                                        Hi @ react-dom.production.min.js:262
                                        xi @ react-dom.production.min.js:260
                                        Mi @ react-dom.production.min.js:259
                                        (anonym) @ react-dom.production.min.js:283
                                        yl @ react-dom.production.min.js:281
                                        rl @ react-dom.production.min.js:270
                                        y @ scheduler.production.min.js:13
                                        T @ scheduler.production.min.js:14
                                        react.production.min.js:18 Uncaught Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
                                            at Z (react.production.min.js:18:327)
                                            at t.useContext (react.production.min.js:22:269)
                                            at makeStyles.js:189:40
                                            at withStyles.js:50:21
                                            at bc (react-dom.production.min.js:167:137)
                                            at ys (react-dom.production.min.js:193:57)
                                            at bi (react-dom.production.min.js:294:275)
                                            at xl (react-dom.production.min.js:280:389)
                                            at gl (react-dom.production.min.js:280:320)
                                            at fl (react-dom.production.min.js:280:180)
                                            at cl (react-dom.production.min.js:271:88)
                                            at rl (react-dom.production.min.js:268:429)
                                            at y (scheduler.production.min.js:13:203)
                                            at MessagePort.T (scheduler.production.min.js:14:128)
                                        Z @ react.production.min.js:18
                                        t.useContext @ react.production.min.js:22
                                        (anonym) @ makeStyles.js:189
                                        (anonym) @ withStyles.js:50
                                        bc @ react-dom.production.min.js:167
                                        ys @ react-dom.production.min.js:193
                                        bi @ react-dom.production.min.js:294
                                        xl @ react-dom.production.min.js:280
                                        gl @ react-dom.production.min.js:280
                                        fl @ react-dom.production.min.js:280
                                        cl @ react-dom.production.min.js:271
                                        rl @ react-dom.production.min.js:268
                                        y @ scheduler.production.min.js:13
                                        T @ scheduler.production.min.js:14
                                        
                                        

                                        Upload und Neustart probiert, keine Änderung.

                                        apollon77A 1 Reply Last reply
                                        0
                                        • M mrjeschke

                                          @apollon77
                                          Mit der Version 1.4.0 kann ich den Adapter nicht mehr konfigurieren.
                                          Es kommt ein Browserfehler.
                                          Debian Bookworm
                                          Nodejs 18.19.0
                                          js-controller 5.0.17
                                          admin 6.12.6

                                          Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
                                              at Z (react.production.min.js:18:327)
                                              at t.useContext (react.production.min.js:22:269)
                                              at makeStyles.js:189:40
                                              at withStyles.js:50:21
                                              at bc (react-dom.production.min.js:167:137)
                                              at ys (react-dom.production.min.js:193:57)
                                              at bi (react-dom.production.min.js:294:275)
                                              at xl (react-dom.production.min.js:280:389)
                                              at gl (react-dom.production.min.js:280:320)
                                              at fl (react-dom.production.min.js:280:180)
                                              at cl (react-dom.production.min.js:271:88)
                                              at rl (react-dom.production.min.js:268:429)
                                              at y (scheduler.production.min.js:13:203)
                                              at MessagePort.T (scheduler.production.min.js:14:128)
                                          (anonym) @ console.ts:40
                                          us @ react-dom.production.min.js:189
                                          n.callback @ react-dom.production.min.js:189
                                          Dr @ react-dom.production.min.js:144
                                          Hi @ react-dom.production.min.js:262
                                          xi @ react-dom.production.min.js:260
                                          Mi @ react-dom.production.min.js:259
                                          (anonym) @ react-dom.production.min.js:283
                                          yl @ react-dom.production.min.js:281
                                          rl @ react-dom.production.min.js:270
                                          y @ scheduler.production.min.js:13
                                          T @ scheduler.production.min.js:14
                                          react.production.min.js:18 Uncaught Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
                                              at Z (react.production.min.js:18:327)
                                              at t.useContext (react.production.min.js:22:269)
                                              at makeStyles.js:189:40
                                              at withStyles.js:50:21
                                              at bc (react-dom.production.min.js:167:137)
                                              at ys (react-dom.production.min.js:193:57)
                                              at bi (react-dom.production.min.js:294:275)
                                              at xl (react-dom.production.min.js:280:389)
                                              at gl (react-dom.production.min.js:280:320)
                                              at fl (react-dom.production.min.js:280:180)
                                              at cl (react-dom.production.min.js:271:88)
                                              at rl (react-dom.production.min.js:268:429)
                                              at y (scheduler.production.min.js:13:203)
                                              at MessagePort.T (scheduler.production.min.js:14:128)
                                          Z @ react.production.min.js:18
                                          t.useContext @ react.production.min.js:22
                                          (anonym) @ makeStyles.js:189
                                          (anonym) @ withStyles.js:50
                                          bc @ react-dom.production.min.js:167
                                          ys @ react-dom.production.min.js:193
                                          bi @ react-dom.production.min.js:294
                                          xl @ react-dom.production.min.js:280
                                          gl @ react-dom.production.min.js:280
                                          fl @ react-dom.production.min.js:280
                                          cl @ react-dom.production.min.js:271
                                          rl @ react-dom.production.min.js:268
                                          y @ scheduler.production.min.js:13
                                          T @ scheduler.production.min.js:14
                                          
                                          

                                          Upload und Neustart probiert, keine Änderung.

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

                                          @mrjeschke Bitte legt es als GitHub issue an ... muss ich schauen ... kann versuchen ein par Dependency Updates im UI Teil zurückzunehmen und nochmal zu versuchen

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

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

                                          63

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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