Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-red Flow zum Steuern von tuya

    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

    Node-red Flow zum Steuern von tuya

    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zerpmaster last edited by

      Guten Abend zusammen,

      ich möchte gerne per node-red meine Steckdosen (Tuya Adapter) aus der Ferne per Flow an und ausschalten können, mit meinen Sonoff Geräten funktioniert das bis her alles super aber nun würde ich gerne die Steckdosen auch noch mit einbauen.

      Ich würde mich sehr über Hilfe freuen…

      LG und Danke

      1 Reply Last reply Reply Quote 0
      • R
        rewenode last edited by

        @Zerpmaster:

        aus der Ferne per Flow `

        Über Alexa ?

        Zeig doch mal wie du es mit den sonoff gemacht hast, dann kann man darüber nachdenken ob (und falls ja wie) man die Tuya integrieren kann.

        1 Reply Last reply Reply Quote 0
        • Z
          Zerpmaster last edited by

          Über das Alexa App würde es funktionieren aber das möchte ich nicht.

          ! [
          ! {
          ! "id": "f1ba0ca2.3047e",
          ! "type": "tab",
          ! "label": "Sonoff Steckdosen",
          ! "disabled": false,
          ! "info": ""
          ! },
          ! {
          ! "id": "b840ed68.b196f",
          ! "type": "ui_switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "PoolLampe",
          ! "label": "PoolLampe",
          ! "group": "eb2d516a.e00a6",
          ! "order": 0,
          ! "width": 0,
          ! "height": 0,
          ! "passthru": false,
          ! "decouple": "false",
          ! "topic": "",
          ! "style": "",
          ! "onvalue": "ON",
          ! "onvalueType": "str",
          ! "onicon": "",
          ! "oncolor": "",
          ! "offvalue": "OFF",
          ! "offvalueType": "str",
          ! "officon": "",
          ! "offcolor": "",
          ! "x": 730,
          ! "y": 440,
          ! "wires": [
          ! [
          ! "a6726893.967358",
          ! "496aec37.330274"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "496aec37.330274",
          ! "type": "mqtt out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": "cmnd/PoolLampe/POWER",
          ! "qos": "",
          ! "retain": "",
          ! "broker": "f3965353.7f1dd",
          ! "x": 940,
          ! "y": 500,
          ! "wires": []
          ! },
          ! {
          ! "id": "df79c988.8c9698",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "OFF",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 510,
          ! "y": 500,
          ! "wires": [
          ! [
          ! "b840ed68.b196f",
          ! "496aec37.330274"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "4430a193.93ecd",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "ON",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 510,
          ! "y": 460,
          ! "wires": [
          ! [
          ! "b840ed68.b196f",
          ! "496aec37.330274"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "d030b811.88f538",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "true",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 670,
          ! "y": 340,
          ! "wires": [
          ! [
          ! "472804ce.02fbec"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "c8f5321e.9ad5d",
          ! "type": "rbe",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "func": "rbe",
          ! "gap": "",
          ! "start": "",
          ! "inout": "out",
          ! "property": "payload",
          ! "x": 350,
          ! "y": 360,
          ! "wires": [
          ! [
          ! "a6726893.967358"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "bd82081b.571a98",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "true"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "false"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 350,
          ! "y": 480,
          ! "wires": [
          ! [
          ! "4430a193.93ecd"
          ! ],
          ! [
          ! "df79c988.8c9698"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "6ce970ee.b8ce8",
          ! "type": "ioBroker in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Garten PoolLampe Status",
          ! "topic": "node-red.0.Garten.PoolLampe.Status",
          ! "payloadType": "value",
          ! "onlyack": "",
          ! "func": "all",
          ! "gap": "",
          ! "x": 170,
          ! "y": 480,
          ! "wires": [
          ! [
          ! "bd82081b.571a98"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "472804ce.02fbec",
          ! "type": "ioBroker out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Garten PoolLampe Status",
          ! "topic": "node-red.0.Garten.PoolLampe.Status",
          ! "ack": "true",
          ! "autoCreate": "true",
          ! "x": 930,
          ! "y": 360,
          ! "wires": []
          ! },
          ! {
          ! "id": "78e9a12d.e70b4",
          ! "type": "mqtt in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": "stat/PoolLampe/POWER",
          ! "qos": "2",
          ! "broker": "f3965353.7f1dd",
          ! "x": 170,
          ! "y": 360,
          ! "wires": [
          ! [
          ! "c8f5321e.9ad5d"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "a6726893.967358",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "ON"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "OFF"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 510,
          ! "y": 360,
          ! "wires": [
          ! [
          ! "d030b811.88f538"
          ! ],
          ! [
          ! "f1c54d81.741cc"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "f1c54d81.741cc",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "false",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 670,
          ! "y": 380,
          ! "wires": [
          ! [
          ! "472804ce.02fbec"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "3e4460f4.8fb6f",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "false",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 670,
          ! "y": 660,
          ! "wires": [
          ! [
          ! "b64959c4.466508"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "2553f147.892bae",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "true",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 670,
          ! "y": 620,
          ! "wires": [
          ! [
          ! "b64959c4.466508"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "359cd265.82bbfe",
          ! "type": "rbe",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "func": "rbe",
          ! "gap": "",
          ! "start": "",
          ! "inout": "out",
          ! "property": "payload",
          ! "x": 350,
          ! "y": 640,
          ! "wires": [
          ! [
          ! "83a93d9c.6fb54"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "53734098.1a1a5",
          ! "type": "mqtt in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": "stat/PoolPumpe/POWER",
          ! "qos": "2",
          ! "broker": "f3965353.7f1dd",
          ! "x": 130,
          ! "y": 640,
          ! "wires": [
          ! [
          ! "359cd265.82bbfe"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "83a93d9c.6fb54",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "ON"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "OFF"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 510,
          ! "y": 640,
          ! "wires": [
          ! [
          ! "2553f147.892bae"
          ! ],
          ! [
          ! "3e4460f4.8fb6f"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "b64959c4.466508",
          ! "type": "ioBroker out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Garten PoolPumpe Status",
          ! "topic": "node-red.0.Garten.PoolPumpe.Status",
          ! "ack": "true",
          ! "autoCreate": "true",
          ! "x": 930,
          ! "y": 640,
          ! "wires": []
          ! },
          ! {
          ! "id": "d6f7ad9b.e96ba",
          ! "type": "ioBroker in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Garten PoolPumpe Status",
          ! "topic": "node-red.0.Garten.PoolPumpe.Status",
          ! "payloadType": "value",
          ! "onlyack": "",
          ! "func": "all",
          ! "gap": "",
          ! "x": 170,
          ! "y": 760,
          ! "wires": [
          ! [
          ! "56922d65.1d2804"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "56922d65.1d2804",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "true"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "false"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 350,
          ! "y": 760,
          ! "wires": [
          ! [
          ! "9023ab67.a9c2f8"
          ! ],
          ! [
          ! "f3d2bdc7.02da8"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "5225203f.c042e",
          ! "type": "mqtt out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": "cmnd/PoolPumpe/POWER",
          ! "qos": "",
          ! "retain": "",
          ! "broker": "f3965353.7f1dd",
          ! "x": 940,
          ! "y": 780,
          ! "wires": []
          ! },
          ! {
          ! "id": "f3d2bdc7.02da8",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "OFF",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 510,
          ! "y": 780,
          ! "wires": [
          ! [
          ! "5225203f.c042e",
          ! "4f563911.a27008"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "4f563911.a27008",
          ! "type": "ui_switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "PoolPumpe",
          ! "label": "PoolPumpe",
          ! "group": "eb2d516a.e00a6",
          ! "order": 0,
          ! "width": 0,
          ! "height": 0,
          ! "passthru": false,
          ! "decouple": "false",
          ! "topic": "",
          ! "style": "",
          ! "onvalue": "ON",
          ! "onvalueType": "str",
          ! "onicon": "",
          ! "oncolor": "",
          ! "offvalue": "OFF",
          ! "offvalueType": "str",
          ! "officon": "",
          ! "offcolor": "",
          ! "x": 730,
          ! "y": 720,
          ! "wires": [
          ! [
          ! "5225203f.c042e",
          ! "83a93d9c.6fb54"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "9023ab67.a9c2f8",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "ON",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 510,
          ! "y": 740,
          ! "wires": [
          ! [
          ! "5225203f.c042e",
          ! "4f563911.a27008"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "308450ee.e04a3",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "false",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 690,
          ! "y": 900,
          ! "wires": [
          ! [
          ! "4e69bcf4.618784"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "7e3b61f2.6e1c",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "true",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 690,
          ! "y": 860,
          ! "wires": [
          ! [
          ! "4e69bcf4.618784"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "f9b2a16e.21bbc",
          ! "type": "ioBroker in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Garten Weihnachtsbeleuchtung_Aussen Status",
          ! "topic": "node-red.0.Garten.Weihnachtsbeleuchtung_Aussen.Status",
          ! "payloadType": "value",
          ! "onlyack": "",
          ! "func": "all",
          ! "gap": "",
          ! "x": 200,
          ! "y": 960,
          ! "wires": [
          ! [
          ! "85b9a76e.ece228"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "cb325299.ac71a",
          ! "type": "rbe",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "func": "rbe",
          ! "gap": "",
          ! "start": "",
          ! "inout": "out",
          ! "property": "payload",
          ! "x": 390,
          ! "y": 900,
          ! "wires": [
          ! [
          ! "e43411c8.15f62"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "85b9a76e.ece228",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "true"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "false"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 370,
          ! "y": 1000,
          ! "wires": [
          ! [
          ! "c7dc5ba7.4cac78"
          ! ],
          ! [
          ! "1ac2081c.aae238"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "a2bde8a.35ec518",
          ! "type": "mqtt out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": "cmnd/Weihnachtsbeleuchtung_Aussen/POWER",
          ! "qos": "",
          ! "retain": "",
          ! "broker": "f3965353.7f1dd",
          ! "x": 960,
          ! "y": 1040,
          ! "wires": []
          ! },
          ! {
          ! "id": "1d0b0f26.155701",
          ! "type": "mqtt in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": " stat/Weihnachtsbeleuchtung_Aussen/POWER",
          ! "qos": "2",
          ! "broker": "f3965353.7f1dd",
          ! "x": 190,
          ! "y": 840,
          ! "wires": [
          ! [
          ! "cb325299.ac71a"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "1ac2081c.aae238",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "OFF",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 530,
          ! "y": 1020,
          ! "wires": [
          ! [
          ! "a2bde8a.35ec518",
          ! "f062041d.3862f8"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "e43411c8.15f62",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "ON"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "OFF"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 550,
          ! "y": 880,
          ! "wires": [
          ! [
          ! "7e3b61f2.6e1c"
          ! ],
          ! [
          ! "308450ee.e04a3"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "f062041d.3862f8",
          ! "type": "ui_switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Weihnachtsbeleuchtung Garten",
          ! "label": "Weihnachtsbeleuchtung Garten",
          ! "tooltip": "",
          ! "group": "eb2d516a.e00a6",
          ! "order": 0,
          ! "width": 0,
          ! "height": 0,
          ! "passthru": false,
          ! "decouple": "false",
          ! "topic": "",
          ! "style": "",
          ! "onvalue": "ON",
          ! "onvalueType": "str",
          ! "onicon": "",
          ! "oncolor": "",
          ! "offvalue": "OFF",
          ! "offvalueType": "str",
          ! "officon": "",
          ! "offcolor": "",
          ! "x": 870,
          ! "y": 980,
          ! "wires": [
          ! [
          ! "a2bde8a.35ec518",
          ! "e43411c8.15f62"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "c7dc5ba7.4cac78",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "ON",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 530,
          ! "y": 980,
          ! "wires": [
          ! [
          ! "a2bde8a.35ec518",
          ! "f062041d.3862f8"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "4e69bcf4.618784",
          ! "type": "ioBroker out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Weihnachtsbeleuchtung_Aussen",
          ! "topic": "node-red.0.Garten.Weihnachtsbeleuchtung_Aussen.Status",
          ! "ack": "true",
          ! "autoCreate": "true",
          ! "x": 980,
          ! "y": 880,
          ! "wires": []
          ! },
          ! {
          ! "id": "d1375045.55b3a",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "ON",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 500,
          ! "y": 180,
          ! "wires": [
          ! [
          ! "9705cc8d.6d55f",
          ! "a96e289d.318318"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "4c6ded0.8b59d14",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet an",
          ! "rules": [
          ! {
          ! "to": "true",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 670,
          ! "y": 60,
          ! "wires": [
          ! [
          ! "a02b2763.bd2188"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "f78d9cd9.91e54",
          ! "type": "mqtt in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": "stat/Wasserfall/POWER",
          ! "qos": "2",
          ! "broker": "f3965353.7f1dd",
          ! "x": 160,
          ! "y": 80,
          ! "wires": [
          ! [
          ! "81a622be.26188"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "cf684af9.daf458",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "OFF",
          ! "pt": "msg",
          ! "tot": "str",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 510,
          ! "y": 240,
          ! "wires": [
          ! [
          ! "9705cc8d.6d55f",
          ! "a96e289d.318318"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "17f40c5f.0b9864",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "ON"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "OFF"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 510,
          ! "y": 80,
          ! "wires": [
          ! [
          ! "4c6ded0.8b59d14"
          ! ],
          ! [
          ! "b03c6f97.c13cc"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "43daa3b1.755f2c",
          ! "type": "switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "property": "payload",
          ! "propertyType": "msg",
          ! "rules": [
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "true"
          ! },
          ! {
          ! "vt": "str",
          ! "t": "eq",
          ! "v": "false"
          ! }
          ! ],
          ! "checkall": "true",
          ! "repair": false,
          ! "outputs": 2,
          ! "x": 350,
          ! "y": 200,
          ! "wires": [
          ! [
          ! "d1375045.55b3a"
          ! ],
          ! [
          ! "cf684af9.daf458"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "b03c6f97.c13cc",
          ! "type": "change",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Geraet aus",
          ! "rules": [
          ! {
          ! "to": "false",
          ! "pt": "msg",
          ! "tot": "bool",
          ! "p": "payload",
          ! "t": "set"
          ! }
          ! ],
          ! "action": "",
          ! "property": "",
          ! "from": "",
          ! "to": "",
          ! "reg": false,
          ! "x": 670,
          ! "y": 100,
          ! "wires": [
          ! [
          ! "a02b2763.bd2188"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "abc7c951.3a6cf8",
          ! "type": "ioBroker in",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Garten Wasserfall Status",
          ! "topic": "node-red.0.Garten.Wasserfall.Status",
          ! "payloadType": "value",
          ! "onlyack": "",
          ! "func": "all",
          ! "gap": "",
          ! "x": 170,
          ! "y": 200,
          ! "wires": [
          ! [
          ! "43daa3b1.755f2c"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "81a622be.26188",
          ! "type": "rbe",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "func": "rbe",
          ! "gap": "",
          ! "start": "",
          ! "inout": "out",
          ! "property": "payload",
          ! "x": 350,
          ! "y": 80,
          ! "wires": [
          ! [
          ! "17f40c5f.0b9864"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "a02b2763.bd2188",
          ! "type": "ioBroker out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Garten Wasserfall Status",
          ! "topic": "node-red.0.Garten.Wasserfall.Status",
          ! "ack": "true",
          ! "autoCreate": "true",
          ! "x": 930,
          ! "y": 60,
          ! "wires": []
          ! },
          ! {
          ! "id": "a96e289d.318318",
          ! "type": "mqtt out",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "",
          ! "topic": "cmnd/Wasserfall/POWER",
          ! "qos": "",
          ! "retain": "",
          ! "broker": "f3965353.7f1dd",
          ! "x": 990,
          ! "y": 200,
          ! "wires": []
          ! },
          ! {
          ! "id": "9705cc8d.6d55f",
          ! "type": "ui_switch",
          ! "z": "f1ba0ca2.3047e",
          ! "name": "Wasserfall",
          ! "label": "Wasserfall",
          ! "group": "eb2d516a.e00a6",
          ! "order": 0,
          ! "width": 0,
          ! "height": 0,
          ! "passthru": false,
          ! "decouple": "false",
          ! "topic": "",
          ! "style": "",
          ! "onvalue": "ON",
          ! "onvalueType": "str",
          ! "onicon": "",
          ! "oncolor": "",
          ! "offvalue": "OFF",
          ! "offvalueType": "str",
          ! "officon": "",
          ! "offcolor": "",
          ! "x": 730,
          ! "y": 160,
          ! "wires": [
          ! [
          ! "17f40c5f.0b9864",
          ! "a96e289d.318318"
          ! ]
          ! ]
          ! },
          ! {
          ! "id": "eb2d516a.e00a6",
          ! "type": "ui_group",
          ! "z": "",
          ! "name": "Garten",
          ! "tab": "ffe253ce.b2d8d",
          ! "order": 1,
          ! "disp": true,
          ! "width": "6",
          ! "collapse": false
          ! },
          ! {
          ! "id": "f3965353.7f1dd",
          ! "type": "mqtt-broker",
          ! "z": "",
          ! "name": "",
          ! "broker": "192.168.178.50",
          ! "port": "1883",
          ! "clientid": "",
          ! "usetls": false,
          ! "compatmode": true,
          ! "keepalive": "60",
          ! "cleansession": true,
          ! "birthTopic": "",
          ! "birthQos": "0",
          ! "birthPayload": "",
          ! "closeTopic": "",
          ! "closePayload": "",
          ! "willTopic": "",
          ! "willQos": "0",
          ! "willPayload": ""
          ! },
          ! {
          ! "id": "ffe253ce.b2d8d",
          ! "type": "ui_tab",
          ! "z": "",
          ! "name": "Sonoff Steckdosen",
          ! "icon": "dashboard",
          ! "order": 2
          ! }
          ! ]

          1 Reply Last reply Reply Quote 0
          • R
            rewenode last edited by

            Sieht ja lustig aus der Flow :lol: Aber alles gut wenn er läuft !

            Was heist "aus der Ferne" für dich?

            Wo soll denn der Schaltbefehl für die Tuya herkommen (mqtt ?, gibt es da bereits einen ioBroker-State?

            OT:

            In deinem Flow ist mir spontan aufgefallen, wie du die nodes reduzieren kannst. Aber wie gesagt, wenns läuft…

            3999_bild_1.png

            1 Reply Last reply Reply Quote 0
            • Z
              Zerpmaster last edited by

              Aktuell habe ich hier ein Dashboard von Node-Red wo die Flows von weiter Oben drin sind.

              http://prntscr.com/lwnztj

              und hier würde ich dann gerne noch die anderen Steckdosen mit einbauen, die Steckdosen haben leider keinen MQTT daher nutze ich den Tuya adapter auf Iobroker…

              1 Reply Last reply Reply Quote 0
              • R
                rewenode last edited by

                Ok, habe kapiert.

                Das sollte nun ganz einfach sein. Du brauchst den iobroker-in-node, den dashboard-switch-node und den iobroker-out-node

                3999_dash.png

                Läuft bei mir genauso.

                1 Reply Last reply Reply Quote 0
                • Z
                  Zerpmaster last edited by

                  Danke dir für deine hilfe aber leider schaltet er die Steckdose nicht 😞

                  ! [
                  ! {
                  ! "id": "8bd0bbda.d50458",
                  ! "type": "tab",
                  ! "label": "Tuya Steckdosen",
                  ! "disabled": false,
                  ! "info": ""
                  ! },
                  ! {
                  ! "id": "743fe240.fd441c",
                  ! "type": "ioBroker in",
                  ! "z": "8bd0bbda.d50458",
                  ! "name": "Terrarium",
                  ! "topic": "tuya.0.18122702600194bfdf46.1",
                  ! "payloadType": "value",
                  ! "onlyack": "",
                  ! "func": "all",
                  ! "gap": "",
                  ! "x": 260,
                  ! "y": 120,
                  ! "wires": [
                  ! [
                  ! "b514ae96.41fd1"
                  ! ]
                  ! ]
                  ! },
                  ! {
                  ! "id": "b514ae96.41fd1",
                  ! "type": "ui_switch",
                  ! "z": "8bd0bbda.d50458",
                  ! "name": "Terrarium",
                  ! "label": "Terrarium",
                  ! "tooltip": "",
                  ! "group": "432076dd.0d7eb8",
                  ! "order": 0,
                  ! "width": 0,
                  ! "height": 0,
                  ! "passthru": false,
                  ! "decouple": "true",
                  ! "topic": "",
                  ! "style": "",
                  ! "onvalue": "true",
                  ! "onvalueType": "str",
                  ! "onicon": "",
                  ! "oncolor": "",
                  ! "offvalue": "false",
                  ! "offvalueType": "str",
                  ! "officon": "",
                  ! "offcolor": "",
                  ! "x": 480,
                  ! "y": 120,
                  ! "wires": [
                  ! [
                  ! "c7d6e80e.33b1d8"
                  ! ]
                  ! ]
                  ! },
                  ! {
                  ! "id": "c7d6e80e.33b1d8",
                  ! "type": "ioBroker out",
                  ! "z": "8bd0bbda.d50458",
                  ! "name": "Terrarium",
                  ! "topic": "tuya.0.18122702600194bfdf46.1",
                  ! "ack": "true",
                  ! "autoCreate": "false",
                  ! "x": 680,
                  ! "y": 120,
                  ! "wires": []
                  ! },
                  ! {
                  ! "id": "432076dd.0d7eb8",
                  ! "type": "ui_group",
                  ! "z": "",
                  ! "name": "Wohnzimmer",
                  ! "tab": "8885684e.b04d58",
                  ! "disp": true,
                  ! "width": "6",
                  ! "collapse": false
                  ! },
                  ! {
                  ! "id": "8885684e.b04d58",
                  ! "type": "ui_tab",
                  ! "z": "",
                  ! "name": "Tuya Steckdosen",
                  ! "icon": "dashboard",
                  ! "order": 3
                  ! }
                  ! ]

                  edit:

                  Habe den Fehler gefunden… nun schaltet er sauber 😄 Danke dir recht herzlich

                  Andere Frage?

                  kann ich mir den Stromverbrauch anzeigen lassen?

                  1 Reply Last reply Reply Quote 0
                  • R
                    rewenode last edited by

                    Klar doch. Vorausgesetzt du hast einen power state deiner Steckdose im tuya-Adapter.

                    Dann geht das wie folgt:

                    ioBroker-in (tuya.0.xxxxx.power) -> change-node payload bei bedarf in deine Anzeige-einheit konvertieren -> dashboard-text-node zum anzeigen

                    3999_power.png

                    1 Reply Last reply Reply Quote 0
                    • Z
                      Zerpmaster last edited by

                      Schade da bekomme ich keine Ausgabe angezeigt 😕

                      das habe ich schon mehrmals versucht aber irgendwie habe ich es bis heute nicht verstanden 😞

                      1 Reply Last reply Reply Quote 0
                      • R
                        rewenode last edited by

                        Häng doch mal einen Debug-node an den iobroker-in-Node und poste mal wie das Objekt aussieht was das ausgeben wird.

                        Gesendet von iPhone mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • Z
                          Zerpmaster last edited by

                          wie mache ich das?

                          http://prntscr.com/lwph5r

                          1 Reply Last reply Reply Quote 0
                          • R
                            rewenode last edited by

                            Oh weh 😉 Wenn du dir da mal nicht zuviel zumutest. Na, wer A sagt…

                            3999_debug.png

                            Also, wenn dein power-state Daten produziert, sollten die über den debug-node (1) im debug-panel (2) auflaufen (3). natürlich nur, wenn sich Daten ändern.

                            Falls da Daten einlaufen, kann man sie auch darstellen.

                            1 Reply Last reply Reply Quote 0
                            • Z
                              Zerpmaster last edited by

                              Ok,

                              er Zeigt mir im Debug fenstern an was an Watt verbraucht wird, nun muss ich das nur noch im Node-Red Dashboard angezeigt bekommen 😄

                              1 Reply Last reply Reply Quote 0
                              • R
                                rewenode last edited by

                                Poste mal wie die debug Ausgabe aussieht.

                                Gesendet von iPhone mit Tapatalk

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  Zerpmaster last edited by

                                  So ich habe nun die Anzeige hinbekommen das er mir sagt wie der aktuelle Watt Verbrauch ist falls ich mich nicht irre aber nun muss ich das noch in kw/h ausgeben lassen 😞

                                  http://prntscr.com/lwq5d7

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    rewenode last edited by

                                    Na also, geht doch[emoji3]

                                    @Zerpmaster:

                                    So ich habe nun die Anzeige hinbekommen das er mir sagt wie der aktuelle Watt Verbrauch ist falls ich mich nicht irre aber nun muss ich das noch in kw/h ausgeben lassen 😞 `

                                    Da solltest du hier im Forum mal schauen. Ich glaube, das hat grad jemand mit einem Script gebastelt. Vlt kannst du das mit einen Funktion-Node einbinden.

                                    Gesendet von iPhone mit Tapatalk

                                    1 Reply Last reply Reply Quote 0
                                    • Z
                                      Zerpmaster last edited by

                                      Ich habe da doch noch eine frage oder ein Problem.

                                      Wenn ich das Terrarium per Kalender Ein schalten lassen Zeigt mir mein Dashboard nicht an das es Eingeschaltet ist.

                                      Bild 1:

                                      In diesen Bild ist der Schalter vom Terrarium aus aber das Terrarium ist an.

                                      http://prntscr.com/lwxova

                                      Hier ist das Node-Red Script.

                                      ! [
                                      ! {
                                      ! "id": "550e3807.3d7688",
                                      ! "type": "comment",
                                      ! "z": "8bd0bbda.d50458",
                                      ! "name": "Tuya SP 22 Steckdosen Wohnzimmer ",
                                      ! "info": "",
                                      ! "x": 337.01734924316406,
                                      ! "y": 55.010414123535156,
                                      ! "wires": []
                                      ! }
                                      ! ]

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rewenode last edited by

                                        Da hast du nur ein Kommentar-node gepostete. Das passiert leicht, wenn man beim Export aus "Selected Nodes" stehen hat und nur ein Node markiert ist. Ist mir auch schon öfter passiert.

                                        Entweder noch mal vergewissern, dass man ALLE gewünschten Nodes markiert hat, bevor man exportiert, oder den ganzen flow exportieren,
                                        3999_export.png
                                        Exportiere noch mal ganzen flow.

                                        1 Reply Last reply Reply Quote 0
                                        • Z
                                          Zerpmaster last edited by

                                          ! [
                                          ! {
                                          ! "id": "8bd0bbda.d50458",
                                          ! "type": "tab",
                                          ! "label": "Tuya Steckdosen",
                                          ! "disabled": false,
                                          ! "info": ""
                                          ! },
                                          ! {
                                          ! "id": "743fe240.fd441c",
                                          ! "type": "ioBroker in",
                                          ! "z": "8bd0bbda.d50458",
                                          ! "name": "Terrarium",
                                          ! "topic": "tuya.0.18122702600194bfdf46.1",
                                          ! "payloadType": "value",
                                          ! "onlyack": "",
                                          ! "func": "all",
                                          ! "gap": "",
                                          ! "x": 140,
                                          ! "y": 120,
                                          ! "wires": [
                                          ! [
                                          ! "b514ae96.41fd1"
                                          ! ]
                                          ! ]
                                          ! },
                                          ! {
                                          ! "id": "b514ae96.41fd1",
                                          ! "type": "ui_switch",
                                          ! "z": "8bd0bbda.d50458",
                                          ! "name": "Terrarium",
                                          ! "label": "Terrarium",
                                          ! "tooltip": "",
                                          ! "group": "432076dd.0d7eb8",
                                          ! "order": 0,
                                          ! "width": 0,
                                          ! "height": 0,
                                          ! "passthru": false,
                                          ! "decouple": "true",
                                          ! "topic": "",
                                          ! "style": "",
                                          ! "onvalue": "true",
                                          ! "onvalueType": "str",
                                          ! "onicon": "",
                                          ! "oncolor": "",
                                          ! "offvalue": "false",
                                          ! "offvalueType": "str",
                                          ! "officon": "",
                                          ! "offcolor": "",
                                          ! "x": 480,
                                          ! "y": 100,
                                          ! "wires": [
                                          ! [
                                          ! "c7d6e80e.33b1d8"
                                          ! ]
                                          ! ]
                                          ! },
                                          ! {
                                          ! "id": "c7d6e80e.33b1d8",
                                          ! "type": "ioBroker out",
                                          ! "z": "8bd0bbda.d50458",
                                          ! "name": "Terrarium",
                                          ! "topic": "tuya.0.18122702600194bfdf46.1",
                                          ! "ack": "false",
                                          ! "autoCreate": "false",
                                          ! "x": 680,
                                          ! "y": 120,
                                          ! "wires": []
                                          ! },
                                          ! {
                                          ! "id": "550e3807.3d7688",
                                          ! "type": "comment",
                                          ! "z": "8bd0bbda.d50458",
                                          ! "name": "Tuya SP 22 Steckdosen Wohnzimmer ",
                                          ! "info": "",
                                          ! "x": 337.01734924316406,
                                          ! "y": 55.010414123535156,
                                          ! "wires": []
                                          ! },
                                          ! {
                                          ! "id": "40b7a40.9b9135c",
                                          ! "type": "ioBroker in",
                                          ! "z": "8bd0bbda.d50458",
                                          ! "name": "Weihnachtsbaum",
                                          ! "topic": "tuya.0.18122702600194bff221.1",
                                          ! "payloadType": "value",
                                          ! "onlyack": "",
                                          ! "func": "all",
                                          ! "gap": "",
                                          ! "x": 140,
                                          ! "y": 220,
                                          ! "wires": [
                                          ! [
                                          ! "40fc8285.63b15c"
                                          ! ]
                                          ! ]
                                          ! },
                                          ! {
                                          ! "id": "40fc8285.63b15c",
                                          ! "type": "ui_switch",
                                          ! "z": "8bd0bbda.d50458",
                                          ! "name": "Weihnachtsbaum",
                                          ! "label": "Weihnachtsbaum",
                                          ! "tooltip": "",
                                          ! "group": "432076dd.0d7eb8",
                                          ! "order": 0,
                                          ! "width": 0,
                                          ! "height": 0,
                                          ! "passthru": false,
                                          ! "decouple": "true",
                                          ! "topic": "",
                                          ! "style": "",
                                          ! "onvalue": "true",
                                          ! "onvalueType": "str",
                                          ! "onicon": "",
                                          ! "oncolor": "",
                                          ! "offvalue": "false",
                                          ! "offvalueType": "str",
                                          ! "officon": "",
                                          ! "offcolor": "",
                                          ! "x": 510,
                                          ! "y": 220,
                                          ! "wires": [
                                          ! [
                                          ! "4f766617.b40318"
                                          ! ]
                                          ! ]
                                          ! },
                                          ! {
                                          ! "id": "4f766617.b40318",
                                          ! "type": "ioBroker out",
                                          ! "z": "8bd0bbda.d50458",
                                          ! "name": "Weihnachtsbaum",
                                          ! "topic": "tuya.0.18122702600194bff221.1",
                                          ! "ack": "false",
                                          ! "autoCreate": "false",
                                          ! "x": 730,
                                          ! "y": 220,
                                          ! "wires": []
                                          ! },
                                          ! {
                                          ! "id": "432076dd.0d7eb8",
                                          ! "type": "ui_group",
                                          ! "z": "",
                                          ! "name": "Wohnzimmer",
                                          ! "tab": "8885684e.b04d58",
                                          ! "disp": true,
                                          ! "width": "6",
                                          ! "collapse": false
                                          ! },
                                          ! {
                                          ! "id": "8885684e.b04d58",
                                          ! "type": "ui_tab",
                                          ! "z": "",
                                          ! "name": "Steckdosen Haus",
                                          ! "icon": "dashboard",
                                          ! "order": 3
                                          ! }
                                          ! ]

                                          so sorry

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            rewenode last edited by

                                            Sieht eigentlich alles richtig aus.

                                            Welcher Kalender? Wie schaltet denn der Kalender die Steckdose? Kann mir eigentlich nur denken, dass der state nicht gesetzt wird.

                                            Häng doch mal den debug-node an den iobroker-in-node und lass per Kalender schalten. Dann kannst du sehen, on und wenn ja welches Signal am state anliegt.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            524
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            20
                                            2921
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo