Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. tomlei1

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Best 0
    • Groups 1

    tomlei1

    @tomlei1

    Starter

    0
    Reputation
    7
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tomlei1 Follow
    Starter

    Latest posts made by tomlei1

    • RE: MQTT Explorer - Steuerung eines Relais

      Foren Admin

      Was sind das für blödsinnige Fehlermeldungen beim Submit: Error Forbidden ...???

      Wieso kann ich nicht auf einen Post antworten mittels Quote oder Replay...???

      Vor einiger Zeit habe ich hier schon einmal darauf hingewiesen, dass diese Foren Software Version nicht sehr übersichtlich und benutzerfreundlich ist. Es gibt wirklich zeitgemäßere Foren Software.

      posted in ioBroker Allgemein
      T
      tomlei1
    • RE: MQTT Explorer - Steuerung eines Relais

      Danke für Deine Mühe! Das hatte ich auch schon nach Deinen Hinweis auf Jason probiert - ohne Erfolg.
      Die Lösung war der Topic Strang "cmnd" - der mir nur leider zunächst im MQTT Explorer nicht angezeigt wurde...

      posted in ioBroker Allgemein
      T
      tomlei1
    • RE: MQTT Explorer - Steuerung eines Relais

      @cinimod said in MQTT Explorer - Steuerung eines Relais:

      @tomlei1 ich kenne das teil nicht, aber mal versucht on/off groß zu schreiben ? wenn du json angeklickt hast, musst du es vermutlich auch im json Format schreiben

      Ich habe es herausbekommen. Mit folgendem Topic funktioniert es:

      5d1ab2fd-d621-4139-9b2b-9a2b9c11d63a-image.png

      posted in ioBroker Allgemein
      T
      tomlei1
    • RE: MQTT Explorer - Steuerung eines Relais

      @cinimod said in MQTT Explorer - Steuerung eines Relais:

      @tomlei1 Mal versucht on/off groß zu schreiben ?

      588b1e76-cdcf-49f7-9ff2-b814b8d6298a-image.png

      Habe ich auch schon probiert - geht auch nicht.

      Das verrückte ist, dass ich es irgendwie zwischendurch schon einmal hinbekommen habe mit:

      cmd power1 on

      Da hatte ich allerdings nicht aufgepasst, welches Topic ich links ausgewählt hatte... Jetzt habe ich aber schon alles mögliche ausprobiert und bekomme es nicht mehr hin.
      In der Console habe ich folgendes:
      5c1c4b03-1046-4d20-92cf-240abc2ea3bf-image.png

      Da habe ich mir das Topic entnommen: "tasmota_ch2Platine/stat/POWER1" Aber ich denke, dass ist nur der Status und damit kann man nicht publishen - oder?

      posted in ioBroker Allgemein
      T
      tomlei1
    • MQTT Explorer - Steuerung eines Relais

      Ich habe einen MQTT Server laufen, verbinde mich mit dem MQTT Explorer und sehe dort alle Topics.
      Jetzt möchte ich über MQTT ein Relais schalten (Tasmota) und ich bekomme es einfach nicht hin den richtigen Befehl zu publishen.
      Es handelt sich um eine Platine mit zwei Relais (Power1, Power2).

      3a9f035e-7933-4a9a-b311-6f7617c2aeba-image.png

      Das Topic lautet: tele/State=

      {
      	"Time": "2024-07-07T08:06:36",
      	"Uptime": "0T03:21:44",
      	"UptimeSec": 12104,
      	"Heap": 27,
      	"SleepMode": "Dynamic",
      	"Sleep": 50,
      	"LoadAvg": 19,
      	"MqttCount": 2,
      	"POWER1": "OFF",
      	"POWER2": "ON",
      	"Wifi": {
      		"AP": 1,
      		"SSId": "#####",
      		"BSSId": "########",
      		"Channel": 5,
      		"Mode": "11n",
      		"RSSI": 100,
      		"Signal": -49,
      		"LinkCount": 2,
      		"Downtime": "0T00:00:07"
      	}
      }
      

      Ich versuche Power1 mit ON oder OFF zu publishen, aber es wird nicht umgesetzt:

      179c2d54-57f9-40d5-907f-64db37425e46-image.png

      In der Console von Tasmota kann ich ganz normal steuern mit: Power1 ON oder Power1 OFF

      Hat jemand einen Tip was ich im MQTT Explorer ändern muss?

      posted in ioBroker Allgemein
      T
      tomlei1
    • RE: SQL Adapter - keine Verbindung zum Server

      Hat keiner einen Hinweis? Welche Fallstricke existieren beim Installieren einer angebotenen Bibliothek? Warum kann das nicht einfach funktionieren - wurde diese Version ausreichend getestet.

      IOBroker für Windows von der Homepage geladen - installiert - ging eigentlich problemlos, ohne Fehlermeldung.
      Instanz für den SQL Connector installiert, ohne Fehlermeldung.
      Verbindung nicht möglich - mit für mich unverständlichen Informationen im Log.

      So macht das keinen Spaß.

      Tom

      posted in ioBroker Allgemein
      T
      tomlei1
    • SQL Adapter - keine Verbindung zum Server

      Ich habe den IOBroker komplett neu aufgesetzt und bekomme den SQL Adapter nicht mit der SQL Server Express Instanz verbunden.
      Mit HeidiSQL kann ich auf den SQL Server problemlos zugreifen. Die Verbindungsdaten habe ich genauso eingegeben wie am PC2 bei dem die IOBroker Installation läuft und dem auch ein SQL Server läuft (Benutzerrechte sind vergeben, Port ist definiert, etc.).

      Kann mir jemand bei der Interpretation des Fehlerlogs helfen?

      FehlerLog:

      2024-05-30 18:01:36.053 - info: host.MiniPC instance system.adapter.sql.0 started with pid 3492
      2024-05-30 18:01:36.517 - info: sql.0 (3492) starting. Version 2.2.0 in C:/ioBroker/node_modules/iobroker.sql, node: v20.14.0, js-controller: 5.0.19
      2024-05-30 18:01:36.526 - error: sql.0 (3492) 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().
      2024-05-30 18:01:36.526 - error: sql.0 (3492) unhandled promise rejection: Cannot find module 'mssql'
      Require stack:
      - C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js
      - C:\ioBroker\node_modules\iobroker.sql\main.js
      2024-05-30 18:01:36.528 - error: sql.0 (3492) Error: Cannot find module 'mssql'
      Require stack:
      - C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js
      - C:\ioBroker\node_modules\iobroker.sql\main.js
      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
      at Function.Module._load (node:internal/modules/cjs/loader:986:27)
      at Module.require (node:internal/modules/cjs/loader:1233:19)
      at require (node:internal/modules/helpers:179:18)
      at Object. (C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js:6:31)
      at Object. (C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js:61:4)
      at Module._compile (node:internal/modules/cjs/loader:1358:14)
      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
      at Module.load (node:internal/modules/cjs/loader:1208:32)
      at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
      2024-05-30 18:01:36.528 - error: sql.0 (3492) Exception-Code: MODULE_NOT_FOUND: Cannot find module 'mssql'
      Require stack:
      - C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js
      - C:\ioBroker\node_modules\iobroker.sql\main.js
      2024-05-30 18:01:37.540 - warn: sql.0 (3492) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: Error: Cannot find module 'mssql'
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: Require stack:
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: - C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: - C:\ioBroker\node_modules\iobroker.sql\main.js
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Function.Module._load (node:internal/modules/cjs/loader:986:27)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Module.require (node:internal/modules/cjs/loader:1233:19)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at require (node:internal/modules/helpers:179:18)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Object. (C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js:6:31)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Object. (C:\ioBroker\node_modules\iobroker.sql\lib\mssql-client.js:61:4)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Module._compile (node:internal/modules/cjs/loader:1358:14)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Module.load (node:internal/modules/cjs/loader:1208:32)
      2024-05-30 18:01:38.087 - error: host.MiniPC Caught by controller[1]: at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
      2024-05-30 18:01:38.087 - error: host.MiniPC instance system.adapter.sql.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2024-05-30 18:01:38.087 - info: host.MiniPC Rebuild for adapter system.adapter.sql.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
      

      MOD-EDIT: Code in code-tags gesetzt!

      posted in ioBroker Allgemein
      T
      tomlei1
    • RE: Probleme mit s7 adapter nach nodejs und OS update

      @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
      
      posted in ioBroker Allgemein
      T
      tomlei1
    • RE: Probleme mit s7 adapter nach nodejs und OS update

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

      posted in ioBroker Allgemein
      T
      tomlei1
    • RE: Probleme mit s7 adapter nach nodejs und OS update

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

      posted in ioBroker Allgemein
      T
      tomlei1
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo