Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 18
    • Best 0
    • Groups 1

    Bertzel

    @Bertzel

    0
    Reputation
    19
    Profile views
    18
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Bertzel Follow
    Starter

    Latest posts made by Bertzel

    • RE: mihome-vacuum Adapter zeigt keine Räume

      e8d4807a-55e3-4ed7-90c0-e15b31fd91b4-image.png

      Das sieht mir auch nicht richtig aus. Er lädt die Map ja gar nicht.

      posted in ioBroker Allgemein
      B
      Bertzel
    • RE: mihome-vacuum Adapter zeigt keine Räume

      @dirkhe ich habe einen S5.
      Sorry, bin ein ziemlich unbedarfter user...weiß nicht genau was du aus dem Log genau brauchst. Ich habe jetzt mal den Expertenmodus aktiviert und die Instanz neu gestartet und davon die Logs kopiert.
      Hier:

      mihome-vacuum.0
      2022-05-03 08:05:11.835 info create state for carpet_mode

      mihome-vacuum.0
      2022-05-03 08:05:11.538 info create states for water box

      mihome-vacuum.0
      2022-05-03 08:05:11.510 info change states from State control.fan_power

      mihome-vacuum.0
      2022-05-03 08:05:11.425 info Map selected create states...

      mihome-vacuum.0
      2022-05-03 08:05:10.409 info settest next timer: not available

      mihome-vacuum.0
      2022-05-03 08:05:09.743 info select standard vacuum protocol....

      mihome-vacuum.0
      2022-05-03 08:05:09.578 info IOT enabled, create state

      mihome-vacuum.0
      2022-05-03 08:05:09.370 info starting. Version 3.3.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v14.19.1, js-controller: 4.0.23

      sonoff.0
      2022-05-03 08:05:05.525 warn Client "Stehtisch" not connected
      host.ioBroker-RasPi
      2022-05-03 08:05:04.682 info instance system.adapter.mihome-vacuum.0 started with pid 32666
      host.ioBroker-RasPi
      2022-05-03 08:05:02.185 info instance system.adapter.mihome-vacuum.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)

      mihome-vacuum.0
      2022-05-03 08:05:01.417 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason

      mihome-vacuum.0
      2022-05-03 08:05:01.399 info terminating

      mihome-vacuum.0
      2022-05-03 08:05:01.396 error Socket Close
      host.ioBroker-RasPi
      2022-05-03 08:05:01.391 info stopInstance system.adapter.mihome-vacuum.0 send kill signal

      mihome-vacuum.0
      2022-05-03 08:05:01.383 info Got terminate signal TERMINATE_YOURSELF
      host.ioBroker-RasPi
      2022-05-03 08:05:01.354 info stopInstance system.adapter.mihome-vacuum.0 (force=false, process=true)

      posted in ioBroker Allgemein
      B
      Bertzel
    • mihome-vacuum Adapter zeigt keine Räume

      Hallo, wenn ich das, was ich hier im Forum zu dem Thema gelesen habe richtig verstanden habe, dann sollte mir der mihome-vacuum Adapter meine Räume, die ich in der App definiert habe automatisch als Objekte im iobroker anlegen?!

      Das funktioniert bei mir leider nicht. Ich habe natürlich in der App Räume definiert und kann diese auch über die App ansteuern, aber ich habe keine Objekte dazu.
      1a8e379a-06a1-454a-a77d-39bbb7978269-image.png

      Der Adapter funktioniert grundsätzlich. Starten, stoppen, usw. funktioniert.
      Meine Settings sehen so aus:
      f304e0bb-3780-4088-85f7-0d861bd02ca1-image.png

      Ich habe bereits mal den Adapter gelöscht und neu installiert und den "loadRooms" button geklickt, aber das hilft leider nicht.

      Habe ich etwas vergessen, oder wo könnte das Problem liegen?
      Vielen Dank!

      posted in ioBroker Allgemein
      B
      Bertzel
    • RE: Fehler bei Adapterinstallation

      @Thomas-Braun @arteck

      Danke für Eure Vorschläge, als erstes habe ich NodeJS auf Version 12 gebracht. Das hat auch alles funktioniert.
      Leider Kann ich den Adapter danach noch immer nicht installieren:


      $ ./iobroker add mihome-vacuum --host ioBroker-RasPi
      NPM version: 6.14.6
      npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
      Package pixman-1 was not found in the pkg-config search path.Perhaps you should add the directory containing `pixman-1.pc'to the PKG_CONFIG_PATH environment variableNo package 'pixman-1' foundgyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      gyp

      ERR! configure error
      gyp ERR! stack Error: gyp failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.14.30-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
      gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
      node-pre-gyp
      ERR! build error
      node-pre-gyp
      ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
      node-pre-gyp ERR! System Linux 4.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v12.18.4
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok
      npm
      ERR! code ELIFECYCLEnpm ERR! errno 1
      npm
      ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 1npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-09-18T11_41_16_771Z-debug.log
      ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1
      ERROR: process exited with code 25

      Anschließend habe ich es mit npm install canvas probiert, das schlägt aber leider auf fehl:

      canvas@2.6.1 install /opt/iobroker/node_modules/canvas
      node-pre-gyp install --fallback-to-build

      node-pre-gyp WARN Using request for node-pre-gyp https download
      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glib c-arm.tar.gz
      node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
      Package pixman-1 was not found in the pkg-config search path.
      Perhaps you should add the directory containing pixman-1.pc' to the PKG_CONFIG_PATH environment variable No package 'pixman-1' found gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp` failed with exit code: 1
      gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
      gyp ERR! stack at ChildProcess.emit (events.js:315:20)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
      gyp ERR! System Linux 4.14.30-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/i obroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi _version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
      gyp ERR! cwd /opt/iobroker/node_modules/canvas
      gyp ERR! node -v v12.18.4
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback- to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/bu ild/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
      node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
      node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
      node-pre-gyp ERR! System Linux 4.14.30-v7+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      node-pre-gyp ERR! node -v v12.18.4
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      node-pre-gyp ERR! not ok
      Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker /node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 -- node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {" os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@^2.0.0 (node_modules/node-dtls-client/node_modules/node-aead-crypto):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for node-aead-crypto@2.2.0: wanted: {"node":">4 <10"} (current: {"node":"12.18.4","n pm":"6.14.6"})
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: node-aead-crypto@2.2.0
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/needle/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-aead-crypto/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json'
      npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-build
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the canvas@2.6.1 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/iobroker/.npm/_logs/2020-09-18T11_42_40_498Z-debug.log

      Habt ihr noch weitere Vorschläge?

      posted in Error/Bug
      B
      Bertzel
    • Fehler bei Adapterinstallation

      Hallo,

      ich brauche mal wieder Hilfe...ich habe versucht den mihome-vacuum Adapter zu aktualisieren (es war noch eine sehr alte Version). Leider schlug das Update fehl, woraufhin ich kurzerhand den Adapter bzw. die Instanz deinstalliert habe und einfach eine Neuinstallation machen wollte. Leider schlägt die Neuinstallation auch fehl. Ich habe per SSH versucht den Adapter manuell zu deinstallieren, leider ohne Erfolg.
      Hier die Fehlermeldung bei der Installation:


      $ ./iobroker add mihome-vacuum --host ioBroker-RasPi
      NPM version: 6.11.3
      npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
      NPM version: 6.11.3
      npm install iobroker.mihome-vacuum@2.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
      path.js:1077 path = process.cwd(); ^Error: ENOENT: no such file or directory, uv_cwd at Object.resolve (path.js:1077:24) at Function.Module._resolveLookupPaths (internal/modules/cjs/loader.js:534:17) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:629:20) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:8:13) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32)
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)node-pre-gyp ERR! System Linux 4.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack Error: ENOENT: no such file or directory, uv_cwdnode-pre-gyp ERR! stack at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28)node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:86:7node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/build.js:44:33node-pre-gyp ERR! stack at /opt/iobroker/node_modules/node-pre-gyp/lib/configure.js:48:24node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:20)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)node-pre-gyp ERR! System Linux 4.14.30-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120 log.error('cwd', process.cwd()); ^Error: ENOENT: no such file or directory, uv_cwd at errorMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:120:28) at issueMessage (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:126:3) at process.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/bin/node-pre-gyp:111:3) at process.emit (events.js:198:13) at process._fatalException (internal/bootstrap/node.js:497:27)
      sh: 1: node-pre-gyp: not found
      npm
      ERR! code ELIFECYCLEnpm ERR! errno 7
      npm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 7npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-09-17T13_43_22_189Z-debug.log
      ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 7
      npm
      ERR! code ELIFECYCLEnpm ERR! syscall spawnnpm ERR!
      file shnpm ERR! errno ENOENTnpm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-buildnpm ERR! spawn ENOENT
      npm ERR! npm ERR! Failed at the canvas@2.6.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR!
      A complete log of this run can be found in:
      npm
      ERR! /home/iobroker/.npm/_logs/2020-09-17T13_43_22_403Z-debug.log
      ERROR: host.ioBroker-RasPi Cannot install iobroker.mihome-vacuum@2.0.7: 1
      ERROR: process exited with code 25

      Das System ist ein Raspberry 3 - iobroker Version 3.1.6
      Wie kann ich vorgehen?
      Danke im Voraus.

      posted in Error/Bug
      B
      Bertzel
    • RE: Hilfe, bei Fehlerhafter iobroker Installation

      Hallo,

      wollte nochmal nachfragen, ob mir jemand helfen kann?

      posted in ioBroker Allgemein
      B
      Bertzel
    • Hilfe, bei Fehlerhafter iobroker Installation

      Hallo, ich brauche Hilfe mit meinem iobroker.

      Vorweg, ich habe keine Ahnung von Linux, habe alles immer nur streng nach Anleitungen gemacht – das hat meistens gut funktioniert, aber sobald etwas nicht nach Anleitung läuft bin ich aufgeschmissen. Dies bitte bei Euren Antworten bedenken.

      Zu meinem System: Ich habe vor ca. 2 Jahren ein Iobroker Image auf meinem Raspberry Pi installiert und habe mit dem ganzen Thema begonnen. Habe dann immer mal die Adapter aktualisiert usw. Funktionierte alles gut.

      Dann habe ich irgendwann streng nach der Anleitung den Host inkl. Js-controller und node.js Aktualisiert. Von 1.x auf 2.x Ich kann leider nicht mehr exakt wiedergeben, was dort genau passiert ist, aber es kamen einige Fehlermeldungen. Ich habe die Installation mehrfach versucht, und auch den Installation-Fixer mehrfach gestartet. Habe auch versucht die Fehler mit anderen Foreneinträgen zu lösen. Am Ende gab es zwar immernoch eine Fehlermeldung, aber der iobroker lief wieder.

      An dem Punkt habe ich dann erstmal aufgehört und nichts weiter unternommen.

      Das ist nun einige Monate her und ich stelle fest das ich hier und dort merkwürdige Probleme mit dem iobroker habe. Unter anderem scheinen einige Scripte nicht mehr 100% zu funktionieren.

      Nun bietet mein iobroker mir ein Update der Script Engine von 4.1.12 auf 4.3.4 an. Das Update kann aber nicht installiert werden, weil: „falsche Version von Admin“ Meine Admin Version lautet 3.7.8

      Außerdem bietet er mir ein Hostupdate von 2.1.0 auf 2.2.9 an. Dieses funktioniert allerdings auch nicht. Wenn ich laut Anleitung vorgehe und den ersten Befehl eingebe:

      „Iobroker stop“
      Erhalte ich zurück: „iobroker controller daemon is not running“
      Der iobroker wiederum läuft aber!

      Ich habe auch nochmal versucht den Installations-Fixer zu starten, aber dieser läuft natürlich auch nicht, weil ich den iobroker nicht beenden kann.

      Könntet ihr mir helfen, um erstmal zu analysieren, was mit meinem iobroker nicht stimmt um anschließend die Probleme lösen zu können?

      Vielen Dank im Voraus.

      UPDATE: Ich habe auch bereits folgendes probiert um den iobroker zu beenden:
      "sudo iobroker stop" - gleiche Fehlermeldung wie oben.
      "sudo systemctl stop iobroker" - es kommt keine Fehlermeldung, aber die iobroker läuft trotzdem weiter.

      posted in ioBroker Allgemein
      B
      Bertzel
    • RE: Sonoff Lichtschalter + Tradfri LED Lampe

      Ah, ja das mit der Dauerphase macht Sinn. Vielen Dank!

      posted in Skripten / Logik
      B
      Bertzel
    • Sonoff Lichtschalter + Tradfri LED Lampe

      Hallo,

      ich habe leider nichts passendes gefunden, deshalb ein neues Thema.

      Ich habe hinter allen Lichtschaltern Sonoffs mit Tasmota verbaut und die Lichtschalter über GPIO angeschlossen, weil ich nie auf den klassischen Lichtschalter verzichten möchte und so das Licht sowohl über den Schalter, als auch Handy, Alexa, etc ein und ausschalten kann. Soweit so gut!

      Jetzt habe ich mir z.b. für den Esstisch Tradfri LEDs besorgt, und einen Tradfri Dimmer unterm Esstisch befestigt, weil ich das Licht hier auch dimmen möchte.

      Das Problem ist natürlich, dass die Tradfri Lampe jetzt tot ist, wenn ich das Licht am Lichtschalter ausschalte, der Dimmer funktioniert dann also nicht mehr.
      Habe es schon mit einem Skript probiert, dass den Sonoff immer wieder einschaltet, und die Tradfri Lampe auf Brightness 0 setzt, sobald der Sonoff am Schalter ausgeschaltet wurde. Das funktioniert im Prinzip auch genau so, wie es sein soll, allerdings geht die Lampe zufällig irgendwann plötzlich an, meistens mitten in der Nacht.
      Da wundert man sich morgens, wenn man runter kommt und sicher ist, dass man das Licht am Abend aus gemacht hat.
      Unbenannt.JPG

      Sowas hat doch bestimmt schon mal jemand vor mir probiert, oder nicht?!

      posted in Skripten / Logik
      B
      Bertzel
    • RE: Hilfe bei simplem Blocky zur Steuerung einer Steckdose

      Ich muss das Thema nochmal hervor holen.

      So wie ich es als "Lösung" beschrieben habe, funktioniert es natürlich nicht.

      Denn wenn zwei Fenster offen sind läuft die Dunstabzugshaube. Soweit ok, Wenn ich jetzt jedoch ein Fenster schließe, geht sie aus. Obwohl ja noch ein Fenster offen ist.

      Das verhalten ist klar, steht ja genauso im Script.

      • Ich müssten also doch wieder prüfen, ob eines der fünf Fenster geöffnet sind.

        • Außerdem geht die Dunstabzugshaube nach ein paar Minuten immer automatisch aus, obwohl das Fenster nicht geschlossen wurde.

        Das ist also Mist so.

        @dondaik

        Du hast ja geschrieben:
        > und monsterverknüpfungen machen in meinen augen keinen sinn

        Wie würdest du denn dann so eine Oder, oder, oder, oder…Funktion umsetzen?

      posted in Skripten / Logik
      B
      Bertzel
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo