Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Shellys ("Alt und Plus") über MQTT Adapter

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    218

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.4k

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

Shellys ("Alt und Plus") über MQTT Adapter

Scheduled Pinned Locked Moved ioBroker Allgemein
512 Posts 5 Posters 97.9k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mickymM mickym

    @dos1973 Ok dann machen wir jetzt einen eigenen Datenpunkt unter Userdata für jeden Switch. Und da sagst mir wo Du den angelegt hast. Also erstelle unter 0_userdata.0 und weiter unten einen Datenpunkt für jeden Switch und ich mache Dir den Flow soweit fertig. Oder ich kann den auch im Flow erstellen, wenn Du erlaubst dass NodeRed Datenpunkte erstellen darf. Dann sag mir nur wo.

    D Offline
    D Offline
    dos1973
    wrote on last edited by
    #320

    @mickym

    ich habe soetwas schon in der form für die GEN1 Shellys

    Bildschirmfoto 2023-04-07 um 22.47.14.png

    mickymM 1 Reply Last reply
    0
    • D dos1973

      @mickym

      ich habe soetwas schon in der form für die GEN1 Shellys

      Bildschirmfoto 2023-04-07 um 22.47.14.png

      mickymM Offline
      mickymM Offline
      mickym
      Most Active
      wrote on last edited by
      #321

      @dos1973 Genau dann mach mir für Deine beiden Schalter da gleiche nun für Deinen shelly 2 pm und kopiere hier den Pfad in code tags rein.

      also

      0_userdata.0.Wohnung.Status.Shellys.node-red.Badezimmer.Lichtschalter
      

      und dann vielleicht noch wie Dein 2. Schalter heißt-

      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

      D 1 Reply Last reply
      0
      • mickymM mickym

        @dos1973 Genau dann mach mir für Deine beiden Schalter da gleiche nun für Deinen shelly 2 pm und kopiere hier den Pfad in code tags rein.

        also

        0_userdata.0.Wohnung.Status.Shellys.node-red.Badezimmer.Lichtschalter
        

        und dann vielleicht noch wie Dein 2. Schalter heißt-

        D Offline
        D Offline
        dos1973
        wrote on last edited by
        #322

        @mickym
        ich habe 2 Schalter angelegt

        0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
        0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1
        
        
        mickymM 1 Reply Last reply
        0
        • mickymM mickym

          @dos1973 Ok dann machen wir jetzt einen eigenen Datenpunkt unter Userdata für jeden Switch. Und da sagst mir wo Du den angelegt hast. Also erstelle unter 0_userdata.0 und weiter unten einen Datenpunkt für jeden Switch und ich mache Dir den Flow soweit fertig. Oder ich kann den auch im Flow erstellen, wenn Du erlaubst dass NodeRed Datenpunkte erstellen darf. Dann sag mir nur wo.

          D Offline
          D Offline
          dos1973
          wrote on last edited by
          #323

          @mickym sagte in Shellys ("Alt und Plus") über MQTT Adapter:

          wenn Du erlaubst dass NodeRed Datenpunkte erstellen darf.

          ja, das ist OK für mich :-)
          0_userdata.0.TEST

          1 Reply Last reply
          0
          • D dos1973

            @mickym
            ich habe 2 Schalter angelegt

            0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
            0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1
            
            
            mickymM Offline
            mickymM Offline
            mickym
            Most Active
            wrote on last edited by mickym
            #324

            @dos1973 So damit müsste es nun gehen:

            [
               {
                   "id": "2bf73377995fc91c",
                   "type": "group",
                   "z": "2e7d4cac81c671e3",
                   "name": "Bad_Licht_1",
                   "style": {
                       "label": true
                   },
                   "nodes": [
                       "9e100ac5f50d3cd6",
                       "3b4f85e836524760",
                       "d5873b80da9bffe4",
                       "63aa968ce646014e",
                       "1e20c3b5d8901123",
                       "26b503db29b93916",
                       "5645ee14ff4f7fec",
                       "bf5063cb0fe61730"
                   ],
                   "x": 34,
                   "y": 3219,
                   "w": 1092,
                   "h": 242
               },
               {
                   "id": "9e100ac5f50d3cd6",
                   "type": "comment",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "Schalten",
                   "info": "",
                   "x": 140,
                   "y": 3380,
                   "wires": []
               },
               {
                   "id": "3b4f85e836524760",
                   "type": "comment",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "Status",
                   "info": "",
                   "x": 150,
                   "y": 3260,
                   "wires": []
               },
               {
                   "id": "d5873b80da9bffe4",
                   "type": "ioBroker out",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "",
                   "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1",
                   "ack": "true",
                   "autoCreate": "true",
                   "stateName": "",
                   "role": "",
                   "payloadType": "boolean",
                   "readonly": "false",
                   "stateUnit": "",
                   "stateMin": "",
                   "stateMax": "",
                   "x": 880,
                   "y": 3320,
                   "wires": []
               },
               {
                   "id": "63aa968ce646014e",
                   "type": "change",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "payload.output",
                           "tot": "msg"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 530,
                   "y": 3320,
                   "wires": [
                       [
                           "d5873b80da9bffe4"
                       ]
                   ]
               },
               {
                   "id": "1e20c3b5d8901123",
                   "type": "mqtt in",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "",
                   "topic": "shellies/Licht/Badezimmer/status/switch:1",
                   "qos": "2",
                   "datatype": "auto-detect",
                   "broker": "",
                   "nl": false,
                   "rap": true,
                   "rh": 0,
                   "inputs": 0,
                   "x": 240,
                   "y": 3320,
                   "wires": [
                       [
                           "63aa968ce646014e"
                       ]
                   ]
               },
               {
                   "id": "26b503db29b93916",
                   "type": "ioBroker in",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "",
                   "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1",
                   "payloadType": "value",
                   "onlyack": "command",
                   "func": "all",
                   "gap": "",
                   "fireOnStart": "false",
                   "outFormat": "MQTT",
                   "x": 280,
                   "y": 3420,
                   "wires": [
                       [
                           "5645ee14ff4f7fec"
                       ]
                   ]
               },
               {
                   "id": "5645ee14ff4f7fec",
                   "type": "change",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "{\t   \"id\":123,\t   \"src\":\"dos1973\",\t   \"method\":\"Switch.Set\",\t   \"params\":{\"id\":1,\"on\":payload}\t}\t",
                           "tot": "jsonata"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 630,
                   "y": 3420,
                   "wires": [
                       [
                           "bf5063cb0fe61730"
                       ]
                   ]
               },
               {
                   "id": "bf5063cb0fe61730",
                   "type": "mqtt out",
                   "z": "2e7d4cac81c671e3",
                   "g": "2bf73377995fc91c",
                   "name": "",
                   "topic": "shellies/Licht/Badezimmer/rpc",
                   "qos": "",
                   "retain": "",
                   "respTopic": "",
                   "contentType": "",
                   "userProps": "",
                   "correl": "",
                   "expiry": "",
                   "broker": "",
                   "x": 890,
                   "y": 3420,
                   "wires": []
               },
               {
                   "id": "5f971d7afd1d1584",
                   "type": "group",
                   "z": "2e7d4cac81c671e3",
                   "name": "Bad_Licht_0",
                   "style": {
                       "label": true
                   },
                   "nodes": [
                       "c3d1c63e97c6ae55",
                       "3a0b9507df4f29c7",
                       "3f795830c443d287",
                       "ca6f9a9ebfef76ab",
                       "c578998a9c4a925f",
                       "0025e02b5f4d42fb",
                       "28b02e5b64ac52b3",
                       "20bab29527cd1d3e"
                   ],
                   "x": 34,
                   "y": 2959,
                   "w": 1092,
                   "h": 242
               },
               {
                   "id": "c3d1c63e97c6ae55",
                   "type": "comment",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "Schalten",
                   "info": "",
                   "x": 140,
                   "y": 3120,
                   "wires": []
               },
               {
                   "id": "3a0b9507df4f29c7",
                   "type": "comment",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "Status",
                   "info": "",
                   "x": 150,
                   "y": 3000,
                   "wires": []
               },
               {
                   "id": "3f795830c443d287",
                   "type": "ioBroker out",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "",
                   "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0",
                   "ack": "true",
                   "autoCreate": "true",
                   "stateName": "",
                   "role": "",
                   "payloadType": "boolean",
                   "readonly": "false",
                   "stateUnit": "",
                   "stateMin": "",
                   "stateMax": "",
                   "x": 880,
                   "y": 3060,
                   "wires": []
               },
               {
                   "id": "ca6f9a9ebfef76ab",
                   "type": "change",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "payload.output",
                           "tot": "msg"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 530,
                   "y": 3060,
                   "wires": [
                       [
                           "3f795830c443d287"
                       ]
                   ]
               },
               {
                   "id": "c578998a9c4a925f",
                   "type": "mqtt in",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "",
                   "topic": "shellies/Licht/Badezimmer/status/switch:0",
                   "qos": "2",
                   "datatype": "auto-detect",
                   "broker": "",
                   "nl": false,
                   "rap": true,
                   "rh": 0,
                   "inputs": 0,
                   "x": 240,
                   "y": 3060,
                   "wires": [
                       [
                           "ca6f9a9ebfef76ab"
                       ]
                   ]
               },
               {
                   "id": "0025e02b5f4d42fb",
                   "type": "ioBroker in",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "",
                   "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0",
                   "payloadType": "value",
                   "onlyack": "command",
                   "func": "all",
                   "gap": "",
                   "fireOnStart": "false",
                   "outFormat": "MQTT",
                   "x": 280,
                   "y": 3160,
                   "wires": [
                       [
                           "28b02e5b64ac52b3"
                       ]
                   ]
               },
               {
                   "id": "28b02e5b64ac52b3",
                   "type": "change",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "",
                   "rules": [
                       {
                           "t": "set",
                           "p": "payload",
                           "pt": "msg",
                           "to": "{\t   \"id\":123,\t   \"src\":\"dos1973\",\t   \"method\":\"Switch.Set\",\t   \"params\":{\"id\":0,\"on\":payload}\t}\t",
                           "tot": "jsonata"
                       }
                   ],
                   "action": "",
                   "property": "",
                   "from": "",
                   "to": "",
                   "reg": false,
                   "x": 630,
                   "y": 3160,
                   "wires": [
                       [
                           "20bab29527cd1d3e"
                       ]
                   ]
               },
               {
                   "id": "20bab29527cd1d3e",
                   "type": "mqtt out",
                   "z": "2e7d4cac81c671e3",
                   "g": "5f971d7afd1d1584",
                   "name": "",
                   "topic": "shellies/Licht/Badezimmer/rpc",
                   "qos": "",
                   "retain": "",
                   "respTopic": "",
                   "contentType": "",
                   "userProps": "",
                   "correl": "",
                   "expiry": "",
                   "broker": "",
                   "x": 890,
                   "y": 3160,
                   "wires": []
               }
            ]
            

            03a38aa5-da04-4374-b095-398d00ec8eb7-image.png

            Du musst nur noch deinen mqtt-Broker in die mqtt- Nodes eintragen.

            Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

            D 2 Replies Last reply
            0
            • mickymM mickym

              @dos1973 So damit müsste es nun gehen:

              [
                 {
                     "id": "2bf73377995fc91c",
                     "type": "group",
                     "z": "2e7d4cac81c671e3",
                     "name": "Bad_Licht_1",
                     "style": {
                         "label": true
                     },
                     "nodes": [
                         "9e100ac5f50d3cd6",
                         "3b4f85e836524760",
                         "d5873b80da9bffe4",
                         "63aa968ce646014e",
                         "1e20c3b5d8901123",
                         "26b503db29b93916",
                         "5645ee14ff4f7fec",
                         "bf5063cb0fe61730"
                     ],
                     "x": 34,
                     "y": 3219,
                     "w": 1092,
                     "h": 242
                 },
                 {
                     "id": "9e100ac5f50d3cd6",
                     "type": "comment",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "Schalten",
                     "info": "",
                     "x": 140,
                     "y": 3380,
                     "wires": []
                 },
                 {
                     "id": "3b4f85e836524760",
                     "type": "comment",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "Status",
                     "info": "",
                     "x": 150,
                     "y": 3260,
                     "wires": []
                 },
                 {
                     "id": "d5873b80da9bffe4",
                     "type": "ioBroker out",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "",
                     "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1",
                     "ack": "true",
                     "autoCreate": "true",
                     "stateName": "",
                     "role": "",
                     "payloadType": "boolean",
                     "readonly": "false",
                     "stateUnit": "",
                     "stateMin": "",
                     "stateMax": "",
                     "x": 880,
                     "y": 3320,
                     "wires": []
                 },
                 {
                     "id": "63aa968ce646014e",
                     "type": "change",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "payload.output",
                             "tot": "msg"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 530,
                     "y": 3320,
                     "wires": [
                         [
                             "d5873b80da9bffe4"
                         ]
                     ]
                 },
                 {
                     "id": "1e20c3b5d8901123",
                     "type": "mqtt in",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "",
                     "topic": "shellies/Licht/Badezimmer/status/switch:1",
                     "qos": "2",
                     "datatype": "auto-detect",
                     "broker": "",
                     "nl": false,
                     "rap": true,
                     "rh": 0,
                     "inputs": 0,
                     "x": 240,
                     "y": 3320,
                     "wires": [
                         [
                             "63aa968ce646014e"
                         ]
                     ]
                 },
                 {
                     "id": "26b503db29b93916",
                     "type": "ioBroker in",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "",
                     "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1",
                     "payloadType": "value",
                     "onlyack": "command",
                     "func": "all",
                     "gap": "",
                     "fireOnStart": "false",
                     "outFormat": "MQTT",
                     "x": 280,
                     "y": 3420,
                     "wires": [
                         [
                             "5645ee14ff4f7fec"
                         ]
                     ]
                 },
                 {
                     "id": "5645ee14ff4f7fec",
                     "type": "change",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "{\t   \"id\":123,\t   \"src\":\"dos1973\",\t   \"method\":\"Switch.Set\",\t   \"params\":{\"id\":1,\"on\":payload}\t}\t",
                             "tot": "jsonata"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 630,
                     "y": 3420,
                     "wires": [
                         [
                             "bf5063cb0fe61730"
                         ]
                     ]
                 },
                 {
                     "id": "bf5063cb0fe61730",
                     "type": "mqtt out",
                     "z": "2e7d4cac81c671e3",
                     "g": "2bf73377995fc91c",
                     "name": "",
                     "topic": "shellies/Licht/Badezimmer/rpc",
                     "qos": "",
                     "retain": "",
                     "respTopic": "",
                     "contentType": "",
                     "userProps": "",
                     "correl": "",
                     "expiry": "",
                     "broker": "",
                     "x": 890,
                     "y": 3420,
                     "wires": []
                 },
                 {
                     "id": "5f971d7afd1d1584",
                     "type": "group",
                     "z": "2e7d4cac81c671e3",
                     "name": "Bad_Licht_0",
                     "style": {
                         "label": true
                     },
                     "nodes": [
                         "c3d1c63e97c6ae55",
                         "3a0b9507df4f29c7",
                         "3f795830c443d287",
                         "ca6f9a9ebfef76ab",
                         "c578998a9c4a925f",
                         "0025e02b5f4d42fb",
                         "28b02e5b64ac52b3",
                         "20bab29527cd1d3e"
                     ],
                     "x": 34,
                     "y": 2959,
                     "w": 1092,
                     "h": 242
                 },
                 {
                     "id": "c3d1c63e97c6ae55",
                     "type": "comment",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "Schalten",
                     "info": "",
                     "x": 140,
                     "y": 3120,
                     "wires": []
                 },
                 {
                     "id": "3a0b9507df4f29c7",
                     "type": "comment",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "Status",
                     "info": "",
                     "x": 150,
                     "y": 3000,
                     "wires": []
                 },
                 {
                     "id": "3f795830c443d287",
                     "type": "ioBroker out",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "",
                     "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0",
                     "ack": "true",
                     "autoCreate": "true",
                     "stateName": "",
                     "role": "",
                     "payloadType": "boolean",
                     "readonly": "false",
                     "stateUnit": "",
                     "stateMin": "",
                     "stateMax": "",
                     "x": 880,
                     "y": 3060,
                     "wires": []
                 },
                 {
                     "id": "ca6f9a9ebfef76ab",
                     "type": "change",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "payload.output",
                             "tot": "msg"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 530,
                     "y": 3060,
                     "wires": [
                         [
                             "3f795830c443d287"
                         ]
                     ]
                 },
                 {
                     "id": "c578998a9c4a925f",
                     "type": "mqtt in",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "",
                     "topic": "shellies/Licht/Badezimmer/status/switch:0",
                     "qos": "2",
                     "datatype": "auto-detect",
                     "broker": "",
                     "nl": false,
                     "rap": true,
                     "rh": 0,
                     "inputs": 0,
                     "x": 240,
                     "y": 3060,
                     "wires": [
                         [
                             "ca6f9a9ebfef76ab"
                         ]
                     ]
                 },
                 {
                     "id": "0025e02b5f4d42fb",
                     "type": "ioBroker in",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "",
                     "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0",
                     "payloadType": "value",
                     "onlyack": "command",
                     "func": "all",
                     "gap": "",
                     "fireOnStart": "false",
                     "outFormat": "MQTT",
                     "x": 280,
                     "y": 3160,
                     "wires": [
                         [
                             "28b02e5b64ac52b3"
                         ]
                     ]
                 },
                 {
                     "id": "28b02e5b64ac52b3",
                     "type": "change",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "",
                     "rules": [
                         {
                             "t": "set",
                             "p": "payload",
                             "pt": "msg",
                             "to": "{\t   \"id\":123,\t   \"src\":\"dos1973\",\t   \"method\":\"Switch.Set\",\t   \"params\":{\"id\":0,\"on\":payload}\t}\t",
                             "tot": "jsonata"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 630,
                     "y": 3160,
                     "wires": [
                         [
                             "20bab29527cd1d3e"
                         ]
                     ]
                 },
                 {
                     "id": "20bab29527cd1d3e",
                     "type": "mqtt out",
                     "z": "2e7d4cac81c671e3",
                     "g": "5f971d7afd1d1584",
                     "name": "",
                     "topic": "shellies/Licht/Badezimmer/rpc",
                     "qos": "",
                     "retain": "",
                     "respTopic": "",
                     "contentType": "",
                     "userProps": "",
                     "correl": "",
                     "expiry": "",
                     "broker": "",
                     "x": 890,
                     "y": 3160,
                     "wires": []
                 }
              ]
              

              03a38aa5-da04-4374-b095-398d00ec8eb7-image.png

              Du musst nur noch deinen mqtt-Broker in die mqtt- Nodes eintragen.

              D Offline
              D Offline
              dos1973
              wrote on last edited by
              #325

              @mickym
              Moment, brauche 5min - bin vor der Tür gerade…

              1 Reply Last reply
              0
              • mickymM mickym

                @dos1973 So damit müsste es nun gehen:

                [
                   {
                       "id": "2bf73377995fc91c",
                       "type": "group",
                       "z": "2e7d4cac81c671e3",
                       "name": "Bad_Licht_1",
                       "style": {
                           "label": true
                       },
                       "nodes": [
                           "9e100ac5f50d3cd6",
                           "3b4f85e836524760",
                           "d5873b80da9bffe4",
                           "63aa968ce646014e",
                           "1e20c3b5d8901123",
                           "26b503db29b93916",
                           "5645ee14ff4f7fec",
                           "bf5063cb0fe61730"
                       ],
                       "x": 34,
                       "y": 3219,
                       "w": 1092,
                       "h": 242
                   },
                   {
                       "id": "9e100ac5f50d3cd6",
                       "type": "comment",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "Schalten",
                       "info": "",
                       "x": 140,
                       "y": 3380,
                       "wires": []
                   },
                   {
                       "id": "3b4f85e836524760",
                       "type": "comment",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "Status",
                       "info": "",
                       "x": 150,
                       "y": 3260,
                       "wires": []
                   },
                   {
                       "id": "d5873b80da9bffe4",
                       "type": "ioBroker out",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "",
                       "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1",
                       "ack": "true",
                       "autoCreate": "true",
                       "stateName": "",
                       "role": "",
                       "payloadType": "boolean",
                       "readonly": "false",
                       "stateUnit": "",
                       "stateMin": "",
                       "stateMax": "",
                       "x": 880,
                       "y": 3320,
                       "wires": []
                   },
                   {
                       "id": "63aa968ce646014e",
                       "type": "change",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "",
                       "rules": [
                           {
                               "t": "set",
                               "p": "payload",
                               "pt": "msg",
                               "to": "payload.output",
                               "tot": "msg"
                           }
                       ],
                       "action": "",
                       "property": "",
                       "from": "",
                       "to": "",
                       "reg": false,
                       "x": 530,
                       "y": 3320,
                       "wires": [
                           [
                               "d5873b80da9bffe4"
                           ]
                       ]
                   },
                   {
                       "id": "1e20c3b5d8901123",
                       "type": "mqtt in",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "",
                       "topic": "shellies/Licht/Badezimmer/status/switch:1",
                       "qos": "2",
                       "datatype": "auto-detect",
                       "broker": "",
                       "nl": false,
                       "rap": true,
                       "rh": 0,
                       "inputs": 0,
                       "x": 240,
                       "y": 3320,
                       "wires": [
                           [
                               "63aa968ce646014e"
                           ]
                       ]
                   },
                   {
                       "id": "26b503db29b93916",
                       "type": "ioBroker in",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "",
                       "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_1",
                       "payloadType": "value",
                       "onlyack": "command",
                       "func": "all",
                       "gap": "",
                       "fireOnStart": "false",
                       "outFormat": "MQTT",
                       "x": 280,
                       "y": 3420,
                       "wires": [
                           [
                               "5645ee14ff4f7fec"
                           ]
                       ]
                   },
                   {
                       "id": "5645ee14ff4f7fec",
                       "type": "change",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "",
                       "rules": [
                           {
                               "t": "set",
                               "p": "payload",
                               "pt": "msg",
                               "to": "{\t   \"id\":123,\t   \"src\":\"dos1973\",\t   \"method\":\"Switch.Set\",\t   \"params\":{\"id\":1,\"on\":payload}\t}\t",
                               "tot": "jsonata"
                           }
                       ],
                       "action": "",
                       "property": "",
                       "from": "",
                       "to": "",
                       "reg": false,
                       "x": 630,
                       "y": 3420,
                       "wires": [
                           [
                               "bf5063cb0fe61730"
                           ]
                       ]
                   },
                   {
                       "id": "bf5063cb0fe61730",
                       "type": "mqtt out",
                       "z": "2e7d4cac81c671e3",
                       "g": "2bf73377995fc91c",
                       "name": "",
                       "topic": "shellies/Licht/Badezimmer/rpc",
                       "qos": "",
                       "retain": "",
                       "respTopic": "",
                       "contentType": "",
                       "userProps": "",
                       "correl": "",
                       "expiry": "",
                       "broker": "",
                       "x": 890,
                       "y": 3420,
                       "wires": []
                   },
                   {
                       "id": "5f971d7afd1d1584",
                       "type": "group",
                       "z": "2e7d4cac81c671e3",
                       "name": "Bad_Licht_0",
                       "style": {
                           "label": true
                       },
                       "nodes": [
                           "c3d1c63e97c6ae55",
                           "3a0b9507df4f29c7",
                           "3f795830c443d287",
                           "ca6f9a9ebfef76ab",
                           "c578998a9c4a925f",
                           "0025e02b5f4d42fb",
                           "28b02e5b64ac52b3",
                           "20bab29527cd1d3e"
                       ],
                       "x": 34,
                       "y": 2959,
                       "w": 1092,
                       "h": 242
                   },
                   {
                       "id": "c3d1c63e97c6ae55",
                       "type": "comment",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "Schalten",
                       "info": "",
                       "x": 140,
                       "y": 3120,
                       "wires": []
                   },
                   {
                       "id": "3a0b9507df4f29c7",
                       "type": "comment",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "Status",
                       "info": "",
                       "x": 150,
                       "y": 3000,
                       "wires": []
                   },
                   {
                       "id": "3f795830c443d287",
                       "type": "ioBroker out",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "",
                       "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0",
                       "ack": "true",
                       "autoCreate": "true",
                       "stateName": "",
                       "role": "",
                       "payloadType": "boolean",
                       "readonly": "false",
                       "stateUnit": "",
                       "stateMin": "",
                       "stateMax": "",
                       "x": 880,
                       "y": 3060,
                       "wires": []
                   },
                   {
                       "id": "ca6f9a9ebfef76ab",
                       "type": "change",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "",
                       "rules": [
                           {
                               "t": "set",
                               "p": "payload",
                               "pt": "msg",
                               "to": "payload.output",
                               "tot": "msg"
                           }
                       ],
                       "action": "",
                       "property": "",
                       "from": "",
                       "to": "",
                       "reg": false,
                       "x": 530,
                       "y": 3060,
                       "wires": [
                           [
                               "3f795830c443d287"
                           ]
                       ]
                   },
                   {
                       "id": "c578998a9c4a925f",
                       "type": "mqtt in",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "",
                       "topic": "shellies/Licht/Badezimmer/status/switch:0",
                       "qos": "2",
                       "datatype": "auto-detect",
                       "broker": "",
                       "nl": false,
                       "rap": true,
                       "rh": 0,
                       "inputs": 0,
                       "x": 240,
                       "y": 3060,
                       "wires": [
                           [
                               "ca6f9a9ebfef76ab"
                           ]
                       ]
                   },
                   {
                       "id": "0025e02b5f4d42fb",
                       "type": "ioBroker in",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "",
                       "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0",
                       "payloadType": "value",
                       "onlyack": "command",
                       "func": "all",
                       "gap": "",
                       "fireOnStart": "false",
                       "outFormat": "MQTT",
                       "x": 280,
                       "y": 3160,
                       "wires": [
                           [
                               "28b02e5b64ac52b3"
                           ]
                       ]
                   },
                   {
                       "id": "28b02e5b64ac52b3",
                       "type": "change",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "",
                       "rules": [
                           {
                               "t": "set",
                               "p": "payload",
                               "pt": "msg",
                               "to": "{\t   \"id\":123,\t   \"src\":\"dos1973\",\t   \"method\":\"Switch.Set\",\t   \"params\":{\"id\":0,\"on\":payload}\t}\t",
                               "tot": "jsonata"
                           }
                       ],
                       "action": "",
                       "property": "",
                       "from": "",
                       "to": "",
                       "reg": false,
                       "x": 630,
                       "y": 3160,
                       "wires": [
                           [
                               "20bab29527cd1d3e"
                           ]
                       ]
                   },
                   {
                       "id": "20bab29527cd1d3e",
                       "type": "mqtt out",
                       "z": "2e7d4cac81c671e3",
                       "g": "5f971d7afd1d1584",
                       "name": "",
                       "topic": "shellies/Licht/Badezimmer/rpc",
                       "qos": "",
                       "retain": "",
                       "respTopic": "",
                       "contentType": "",
                       "userProps": "",
                       "correl": "",
                       "expiry": "",
                       "broker": "",
                       "x": 890,
                       "y": 3160,
                       "wires": []
                   }
                ]
                

                03a38aa5-da04-4374-b095-398d00ec8eb7-image.png

                Du musst nur noch deinen mqtt-Broker in die mqtt- Nodes eintragen.

                D Offline
                D Offline
                dos1973
                wrote on last edited by
                #326

                @mickym
                schalten funktioniert,

                0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
                

                aber wenn ich im shelly webinterface schalte dann aktualisiert der wert nicht

                mickymM D 2 Replies Last reply
                0
                • D dos1973

                  @mickym
                  schalten funktioniert,

                  0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
                  

                  aber wenn ich im shelly webinterface schalte dann aktualisiert der wert nicht

                  mickymM Offline
                  mickymM Offline
                  mickym
                  Most Active
                  wrote on last edited by
                  #327

                  @dos1973 sagte in Shellys ("Alt und Plus") über MQTT Adapter:

                  @mickym
                  schalten funktioniert,

                  0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
                  

                  aber wenn ich im shelly webinterface schalte dann aktualisiert der wert nicht

                  dann mach bitte hinter die mqtt.In Node einen debug Node. und schaue ob ich den Pfad im topic richtig eingegeben habe:

                  shellies/Licht/Badezimmer/status/switch:0
                  

                  8ec536ed-42fe-45cf-a8e4-c3d1f61d5417-image.png

                  Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                  1 Reply Last reply
                  0
                  • D dos1973

                    @mickym
                    schalten funktioniert,

                    0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
                    

                    aber wenn ich im shelly webinterface schalte dann aktualisiert der wert nicht

                    D Offline
                    D Offline
                    dos1973
                    wrote on last edited by
                    #328

                    @dos1973 sagte in Shellys ("Alt und Plus") über MQTT Adapter:

                    @mickym
                    schalten funktioniert,

                    0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
                    

                    aber wenn ich im shelly webinterface schalte dann aktualisiert der wert nicht

                    war mein Fehler ... funktioniert, auch der sync

                    mickymM 1 Reply Last reply
                    0
                    • D dos1973

                      @dos1973 sagte in Shellys ("Alt und Plus") über MQTT Adapter:

                      @mickym
                      schalten funktioniert,

                      0_userdata.0.Wohnung.Status.Shellys.node-red.BadLicht_0
                      

                      aber wenn ich im shelly webinterface schalte dann aktualisiert der wert nicht

                      war mein Fehler ... funktioniert, auch der sync

                      mickymM Offline
                      mickymM Offline
                      mickym
                      Most Active
                      wrote on last edited by
                      #329

                      @dos1973 Na gut . dann ist ja alles gut - und du kannst beruhigt schlafen und musst den armen Shelly nicht verschrotten. Wenn Du Fragen hast gerne. :)

                      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                      D 1 Reply Last reply
                      0
                      • mickymM mickym

                        @dos1973 Na gut . dann ist ja alles gut - und du kannst beruhigt schlafen und musst den armen Shelly nicht verschrotten. Wenn Du Fragen hast gerne. :)

                        D Offline
                        D Offline
                        dos1973
                        wrote on last edited by
                        #330

                        @mickym
                        war aber knapp :-)

                        ich habe noch einen im Rollermode - noch Nerven mit mir

                        mickymM 1 Reply Last reply
                        0
                        • D dos1973

                          @mickym
                          war aber knapp :-)

                          ich habe noch einen im Rollermode - noch Nerven mit mir

                          mickymM Offline
                          mickymM Offline
                          mickym
                          Most Active
                          wrote on last edited by mickym
                          #331

                          @dos1973 Ja können wir probieren - ich hab die Shellies zwar nicht, aber müssen wir halt probieren. ;) Du musst mir halt alles posten. Screenshots der Datenpunkte und Inhalt der Ausgaben mit debug Nodes.

                          Erstelle halt wieder einen Datenpunkt unter 0_userdata.0

                          Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                          D 1 Reply Last reply
                          1
                          • mickymM mickym

                            @dos1973 Ja können wir probieren - ich hab die Shellies zwar nicht, aber müssen wir halt probieren. ;) Du musst mir halt alles posten. Screenshots der Datenpunkte und Inhalt der Ausgaben mit debug Nodes.

                            Erstelle halt wieder einen Datenpunkt unter 0_userdata.0

                            D Offline
                            D Offline
                            dos1973
                            wrote on last edited by dos1973
                            #332

                            @mickym

                            Bildschirmfoto 2023-04-07 um 23.26.40.png

                            hier mal alle daten:
                            der rollo bewegt sich mit "state":"opening/closing/stopped

                            rpc

                            {"src":"shellyplus2pm-a8032ab70240","dst":"shellies/Rolladen/Wohnen/events","method":"NotifyStatus","params":{"ts":1680902820.02,"cover:0":{"id":0,"aenergy":{"by_minute":[0.000,0.000,0.000],"minute_ts":1680902819,"total":0.000}}}}
                            

                            cover:0

                            {"id":0, "source":"WS_in", "state":"stopped","apower":0.0,"voltage":234.2,"current":0.000,"pf":0.00,"aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1680902819},"temperature":{"tC":57.5, "tF":135.5},"pos_control":false}
                            

                            öffnen

                            {"id":0, "source":"WS_in", "state":"opening","move_timeout":60.00, "move_started_at":1680903013.99,"apower":0.0,"voltage":234.0,"current":0.000,"pf":-0.00,"aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1680903013},"temperature":{"tC":56.0, "tF":132.8},"pos_control":false}
                            

                            schliessen

                            {"id":0, "source":"WS_in", "state":"closing","move_timeout":60.00, "move_started_at":1680903053.46,"apower":0.0,"voltage":234.3,"current":0.000,"pf":0.00,"aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1680903053},"temperature":{"tC":55.7, "tF":132.3},"pos_control":false}
                            

                            der hängt nur am strom, noch kein Rollo und keine Calibrierung für die Position

                            mickymM 1 Reply Last reply
                            0
                            • D dos1973

                              @mickym

                              Bildschirmfoto 2023-04-07 um 23.26.40.png

                              hier mal alle daten:
                              der rollo bewegt sich mit "state":"opening/closing/stopped

                              rpc

                              {"src":"shellyplus2pm-a8032ab70240","dst":"shellies/Rolladen/Wohnen/events","method":"NotifyStatus","params":{"ts":1680902820.02,"cover:0":{"id":0,"aenergy":{"by_minute":[0.000,0.000,0.000],"minute_ts":1680902819,"total":0.000}}}}
                              

                              cover:0

                              {"id":0, "source":"WS_in", "state":"stopped","apower":0.0,"voltage":234.2,"current":0.000,"pf":0.00,"aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1680902819},"temperature":{"tC":57.5, "tF":135.5},"pos_control":false}
                              

                              öffnen

                              {"id":0, "source":"WS_in", "state":"opening","move_timeout":60.00, "move_started_at":1680903013.99,"apower":0.0,"voltage":234.0,"current":0.000,"pf":-0.00,"aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1680903013},"temperature":{"tC":56.0, "tF":132.8},"pos_control":false}
                              

                              schliessen

                              {"id":0, "source":"WS_in", "state":"closing","move_timeout":60.00, "move_started_at":1680903053.46,"apower":0.0,"voltage":234.3,"current":0.000,"pf":0.00,"aenergy":{"total":0.000,"by_minute":[0.000,0.000,0.000],"minute_ts":1680903053},"temperature":{"tC":55.7, "tF":132.3},"pos_control":false}
                              

                              der hängt nur am strom, noch kein Rollo und keine Calibrierung für die Position

                              mickymM Offline
                              mickymM Offline
                              mickym
                              Most Active
                              wrote on last edited by
                              #333

                              @dos1973 na dann machts aber im Moment nicht viel Sinn.

                              Im Prinzip zum Steuern können wir wieder über den command Ast gehen.

                              Den Status bekommst du hier:

                              9021a92d-d305-4889-a26c-4763a3811f9d-image.png

                              2f622630-c676-49e4-9f43-1a9fc76cbe54-image.png

                              In dem Fall würde ich Dir 2 Datenpunkte unter 0_userdata.0 empfehlen. Einen für den Status, den Du nicht beschreiben kannst, den Du aber für den Status in der vis auslesen kannst und einen zum Steuern. Wenn Du beides hast, denn nenn mir die Datenpunkte.

                              Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                              D 1 Reply Last reply
                              0
                              • mickymM mickym

                                @dos1973 na dann machts aber im Moment nicht viel Sinn.

                                Im Prinzip zum Steuern können wir wieder über den command Ast gehen.

                                Den Status bekommst du hier:

                                9021a92d-d305-4889-a26c-4763a3811f9d-image.png

                                2f622630-c676-49e4-9f43-1a9fc76cbe54-image.png

                                In dem Fall würde ich Dir 2 Datenpunkte unter 0_userdata.0 empfehlen. Einen für den Status, den Du nicht beschreiben kannst, den Du aber für den Status in der vis auslesen kannst und einen zum Steuern. Wenn Du beides hast, denn nenn mir die Datenpunkte.

                                D Offline
                                D Offline
                                dos1973
                                wrote on last edited by
                                #334

                                @mickym
                                beide als String anlegen?

                                mickymM 1 Reply Last reply
                                0
                                • D dos1973

                                  @mickym
                                  beide als String anlegen?

                                  mickymM Offline
                                  mickymM Offline
                                  mickym
                                  Most Active
                                  wrote on last edited by
                                  #335

                                  @dos1973 Ja

                                  Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                  D 1 Reply Last reply
                                  0
                                  • mickymM mickym

                                    @dos1973 Ja

                                    D Offline
                                    D Offline
                                    dos1973
                                    wrote on last edited by dos1973
                                    #336

                                    @mickym

                                    0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control
                                    0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status
                                    

                                    der status ist nicht schreibbar

                                    kann den Rolladen aus kurz anschliessen...

                                    mickymM 1 Reply Last reply
                                    0
                                    • D dos1973

                                      @mickym

                                      0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control
                                      0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status
                                      

                                      der status ist nicht schreibbar

                                      kann den Rolladen aus kurz anschliessen...

                                      mickymM Offline
                                      mickymM Offline
                                      mickym
                                      Most Active
                                      wrote on last edited by mickym
                                      #337

                                      @dos1973 sagte in Shellys ("Alt und Plus") über MQTT Adapter:

                                                                                                                                                                  0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control                                                                                                                                                                            0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status                                            
                                      

                                      So dann müsste dieser Flow funktionieren:

                                      [
                                         {
                                             "id": "6d49413af6de6a69",
                                             "type": "group",
                                             "z": "2e7d4cac81c671e3",
                                             "style": {
                                                 "stroke": "#999999",
                                                 "stroke-opacity": "1",
                                                 "fill": "none",
                                                 "fill-opacity": "1",
                                                 "label": true,
                                                 "label-position": "nw",
                                                 "color": "#a4a4a4"
                                             },
                                             "nodes": [
                                                 "2687ef51e182ae3e",
                                                 "8c2f0aa73a8f9642",
                                                 "4f4d7ebeab8af33c",
                                                 "582dd65ed0823483",
                                                 "c2e2efbc11b4b072",
                                                 "59af2f2b6ec08346",
                                                 "ce2e90a37a7ef5e7"
                                             ],
                                             "x": 54,
                                             "y": 2819,
                                             "w": 1092,
                                             "h": 222
                                         },
                                         {
                                             "id": "2687ef51e182ae3e",
                                             "type": "mqtt in",
                                             "z": "2e7d4cac81c671e3",
                                             "g": "6d49413af6de6a69",
                                             "name": "",
                                             "topic": "shellies/Rolladen/Wohnen/status/cover:0",
                                             "qos": "2",
                                             "datatype": "auto-detect",
                                             "broker": "",
                                             "nl": false,
                                             "rap": true,
                                             "rh": 0,
                                             "inputs": 0,
                                             "x": 240,
                                             "y": 2900,
                                             "wires": [
                                                 [
                                                     "8c2f0aa73a8f9642"
                                                 ]
                                             ]
                                         },
                                         {
                                             "id": "8c2f0aa73a8f9642",
                                             "type": "change",
                                             "z": "2e7d4cac81c671e3",
                                             "g": "6d49413af6de6a69",
                                             "name": "",
                                             "rules": [
                                                 {
                                                     "t": "set",
                                                     "p": "payload",
                                                     "pt": "msg",
                                                     "to": "payload.state",
                                                     "tot": "msg"
                                                 }
                                             ],
                                             "action": "",
                                             "property": "",
                                             "from": "",
                                             "to": "",
                                             "reg": false,
                                             "x": 530,
                                             "y": 2900,
                                             "wires": [
                                                 [
                                                     "4f4d7ebeab8af33c"
                                                 ]
                                             ]
                                         },
                                         {
                                             "id": "4f4d7ebeab8af33c",
                                             "type": "ioBroker out",
                                             "z": "2e7d4cac81c671e3",
                                             "g": "6d49413af6de6a69",
                                             "name": "",
                                             "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status",
                                             "ack": "true",
                                             "autoCreate": "true",
                                             "stateName": "",
                                             "role": "",
                                             "payloadType": "boolean",
                                             "readonly": "false",
                                             "stateUnit": "",
                                             "stateMin": "",
                                             "stateMax": "",
                                             "x": 890,
                                             "y": 2900,
                                             "wires": []
                                         },
                                         {
                                             "id": "582dd65ed0823483",
                                             "type": "comment",
                                             "z": "2e7d4cac81c671e3",
                                             "g": "6d49413af6de6a69",
                                             "name": "Status",
                                             "info": "",
                                             "x": 130,
                                             "y": 2860,
                                             "wires": []
                                         },
                                         {
                                             "id": "c2e2efbc11b4b072",
                                             "type": "comment",
                                             "z": "2e7d4cac81c671e3",
                                             "g": "6d49413af6de6a69",
                                             "name": "Schalten",
                                             "info": "",
                                             "x": 140,
                                             "y": 2960,
                                             "wires": []
                                         },
                                         {
                                             "id": "59af2f2b6ec08346",
                                             "type": "ioBroker in",
                                             "z": "2e7d4cac81c671e3",
                                             "g": "6d49413af6de6a69",
                                             "name": "",
                                             "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control",
                                             "payloadType": "value",
                                             "onlyack": "command",
                                             "func": "all",
                                             "gap": "",
                                             "fireOnStart": "false",
                                             "outFormat": "MQTT",
                                             "x": 310,
                                             "y": 3000,
                                             "wires": [
                                                 [
                                                     "ce2e90a37a7ef5e7"
                                                 ]
                                             ]
                                         },
                                         {
                                             "id": "ce2e90a37a7ef5e7",
                                             "type": "mqtt out",
                                             "z": "2e7d4cac81c671e3",
                                             "g": "6d49413af6de6a69",
                                             "name": "",
                                             "topic": "shellies/Rolladen/Wohnen/command/cover:0",
                                             "qos": "",
                                             "retain": "",
                                             "respTopic": "",
                                             "contentType": "",
                                             "userProps": "",
                                             "correl": "",
                                             "expiry": "",
                                             "broker": "",
                                             "x": 770,
                                             "y": 3000,
                                             "wires": []
                                         }
                                      ]
                                      

                                      129886f0-c37e-4a83-8410-8196a8c91c46-image.png

                                      Die Kommandos siehst ja unten im Screenshot.

                                      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                      D mickymM 2 Replies Last reply
                                      0
                                      • mickymM mickym

                                        @dos1973 sagte in Shellys ("Alt und Plus") über MQTT Adapter:

                                                                                                                                                                    0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control                                                                                                                                                                            0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status                                            
                                        

                                        So dann müsste dieser Flow funktionieren:

                                        [
                                           {
                                               "id": "6d49413af6de6a69",
                                               "type": "group",
                                               "z": "2e7d4cac81c671e3",
                                               "style": {
                                                   "stroke": "#999999",
                                                   "stroke-opacity": "1",
                                                   "fill": "none",
                                                   "fill-opacity": "1",
                                                   "label": true,
                                                   "label-position": "nw",
                                                   "color": "#a4a4a4"
                                               },
                                               "nodes": [
                                                   "2687ef51e182ae3e",
                                                   "8c2f0aa73a8f9642",
                                                   "4f4d7ebeab8af33c",
                                                   "582dd65ed0823483",
                                                   "c2e2efbc11b4b072",
                                                   "59af2f2b6ec08346",
                                                   "ce2e90a37a7ef5e7"
                                               ],
                                               "x": 54,
                                               "y": 2819,
                                               "w": 1092,
                                               "h": 222
                                           },
                                           {
                                               "id": "2687ef51e182ae3e",
                                               "type": "mqtt in",
                                               "z": "2e7d4cac81c671e3",
                                               "g": "6d49413af6de6a69",
                                               "name": "",
                                               "topic": "shellies/Rolladen/Wohnen/status/cover:0",
                                               "qos": "2",
                                               "datatype": "auto-detect",
                                               "broker": "",
                                               "nl": false,
                                               "rap": true,
                                               "rh": 0,
                                               "inputs": 0,
                                               "x": 240,
                                               "y": 2900,
                                               "wires": [
                                                   [
                                                       "8c2f0aa73a8f9642"
                                                   ]
                                               ]
                                           },
                                           {
                                               "id": "8c2f0aa73a8f9642",
                                               "type": "change",
                                               "z": "2e7d4cac81c671e3",
                                               "g": "6d49413af6de6a69",
                                               "name": "",
                                               "rules": [
                                                   {
                                                       "t": "set",
                                                       "p": "payload",
                                                       "pt": "msg",
                                                       "to": "payload.state",
                                                       "tot": "msg"
                                                   }
                                               ],
                                               "action": "",
                                               "property": "",
                                               "from": "",
                                               "to": "",
                                               "reg": false,
                                               "x": 530,
                                               "y": 2900,
                                               "wires": [
                                                   [
                                                       "4f4d7ebeab8af33c"
                                                   ]
                                               ]
                                           },
                                           {
                                               "id": "4f4d7ebeab8af33c",
                                               "type": "ioBroker out",
                                               "z": "2e7d4cac81c671e3",
                                               "g": "6d49413af6de6a69",
                                               "name": "",
                                               "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status",
                                               "ack": "true",
                                               "autoCreate": "true",
                                               "stateName": "",
                                               "role": "",
                                               "payloadType": "boolean",
                                               "readonly": "false",
                                               "stateUnit": "",
                                               "stateMin": "",
                                               "stateMax": "",
                                               "x": 890,
                                               "y": 2900,
                                               "wires": []
                                           },
                                           {
                                               "id": "582dd65ed0823483",
                                               "type": "comment",
                                               "z": "2e7d4cac81c671e3",
                                               "g": "6d49413af6de6a69",
                                               "name": "Status",
                                               "info": "",
                                               "x": 130,
                                               "y": 2860,
                                               "wires": []
                                           },
                                           {
                                               "id": "c2e2efbc11b4b072",
                                               "type": "comment",
                                               "z": "2e7d4cac81c671e3",
                                               "g": "6d49413af6de6a69",
                                               "name": "Schalten",
                                               "info": "",
                                               "x": 140,
                                               "y": 2960,
                                               "wires": []
                                           },
                                           {
                                               "id": "59af2f2b6ec08346",
                                               "type": "ioBroker in",
                                               "z": "2e7d4cac81c671e3",
                                               "g": "6d49413af6de6a69",
                                               "name": "",
                                               "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control",
                                               "payloadType": "value",
                                               "onlyack": "command",
                                               "func": "all",
                                               "gap": "",
                                               "fireOnStart": "false",
                                               "outFormat": "MQTT",
                                               "x": 310,
                                               "y": 3000,
                                               "wires": [
                                                   [
                                                       "ce2e90a37a7ef5e7"
                                                   ]
                                               ]
                                           },
                                           {
                                               "id": "ce2e90a37a7ef5e7",
                                               "type": "mqtt out",
                                               "z": "2e7d4cac81c671e3",
                                               "g": "6d49413af6de6a69",
                                               "name": "",
                                               "topic": "shellies/Rolladen/Wohnen/command/cover:0",
                                               "qos": "",
                                               "retain": "",
                                               "respTopic": "",
                                               "contentType": "",
                                               "userProps": "",
                                               "correl": "",
                                               "expiry": "",
                                               "broker": "",
                                               "x": 770,
                                               "y": 3000,
                                               "wires": []
                                           }
                                        ]
                                        

                                        129886f0-c37e-4a83-8410-8196a8c91c46-image.png

                                        Die Kommandos siehst ja unten im Screenshot.

                                        D Offline
                                        D Offline
                                        dos1973
                                        wrote on last edited by
                                        #338

                                        @mickym
                                        status stimmt: steht opening /closing/stopped

                                        aber unter control passiert nichts, wenn ich da etwas engebe

                                        1 Reply Last reply
                                        0
                                        • mickymM mickym

                                          @dos1973 sagte in Shellys ("Alt und Plus") über MQTT Adapter:

                                                                                                                                                                      0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control                                                                                                                                                                            0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status                                            
                                          

                                          So dann müsste dieser Flow funktionieren:

                                          [
                                             {
                                                 "id": "6d49413af6de6a69",
                                                 "type": "group",
                                                 "z": "2e7d4cac81c671e3",
                                                 "style": {
                                                     "stroke": "#999999",
                                                     "stroke-opacity": "1",
                                                     "fill": "none",
                                                     "fill-opacity": "1",
                                                     "label": true,
                                                     "label-position": "nw",
                                                     "color": "#a4a4a4"
                                                 },
                                                 "nodes": [
                                                     "2687ef51e182ae3e",
                                                     "8c2f0aa73a8f9642",
                                                     "4f4d7ebeab8af33c",
                                                     "582dd65ed0823483",
                                                     "c2e2efbc11b4b072",
                                                     "59af2f2b6ec08346",
                                                     "ce2e90a37a7ef5e7"
                                                 ],
                                                 "x": 54,
                                                 "y": 2819,
                                                 "w": 1092,
                                                 "h": 222
                                             },
                                             {
                                                 "id": "2687ef51e182ae3e",
                                                 "type": "mqtt in",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "",
                                                 "topic": "shellies/Rolladen/Wohnen/status/cover:0",
                                                 "qos": "2",
                                                 "datatype": "auto-detect",
                                                 "broker": "",
                                                 "nl": false,
                                                 "rap": true,
                                                 "rh": 0,
                                                 "inputs": 0,
                                                 "x": 240,
                                                 "y": 2900,
                                                 "wires": [
                                                     [
                                                         "8c2f0aa73a8f9642"
                                                     ]
                                                 ]
                                             },
                                             {
                                                 "id": "8c2f0aa73a8f9642",
                                                 "type": "change",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "",
                                                 "rules": [
                                                     {
                                                         "t": "set",
                                                         "p": "payload",
                                                         "pt": "msg",
                                                         "to": "payload.state",
                                                         "tot": "msg"
                                                     }
                                                 ],
                                                 "action": "",
                                                 "property": "",
                                                 "from": "",
                                                 "to": "",
                                                 "reg": false,
                                                 "x": 530,
                                                 "y": 2900,
                                                 "wires": [
                                                     [
                                                         "4f4d7ebeab8af33c"
                                                     ]
                                                 ]
                                             },
                                             {
                                                 "id": "4f4d7ebeab8af33c",
                                                 "type": "ioBroker out",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "",
                                                 "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.status",
                                                 "ack": "true",
                                                 "autoCreate": "true",
                                                 "stateName": "",
                                                 "role": "",
                                                 "payloadType": "boolean",
                                                 "readonly": "false",
                                                 "stateUnit": "",
                                                 "stateMin": "",
                                                 "stateMax": "",
                                                 "x": 890,
                                                 "y": 2900,
                                                 "wires": []
                                             },
                                             {
                                                 "id": "582dd65ed0823483",
                                                 "type": "comment",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "Status",
                                                 "info": "",
                                                 "x": 130,
                                                 "y": 2860,
                                                 "wires": []
                                             },
                                             {
                                                 "id": "c2e2efbc11b4b072",
                                                 "type": "comment",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "Schalten",
                                                 "info": "",
                                                 "x": 140,
                                                 "y": 2960,
                                                 "wires": []
                                             },
                                             {
                                                 "id": "59af2f2b6ec08346",
                                                 "type": "ioBroker in",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "",
                                                 "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.control",
                                                 "payloadType": "value",
                                                 "onlyack": "command",
                                                 "func": "all",
                                                 "gap": "",
                                                 "fireOnStart": "false",
                                                 "outFormat": "MQTT",
                                                 "x": 310,
                                                 "y": 3000,
                                                 "wires": [
                                                     [
                                                         "ce2e90a37a7ef5e7"
                                                     ]
                                                 ]
                                             },
                                             {
                                                 "id": "ce2e90a37a7ef5e7",
                                                 "type": "mqtt out",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "",
                                                 "topic": "shellies/Rolladen/Wohnen/command/cover:0",
                                                 "qos": "",
                                                 "retain": "",
                                                 "respTopic": "",
                                                 "contentType": "",
                                                 "userProps": "",
                                                 "correl": "",
                                                 "expiry": "",
                                                 "broker": "",
                                                 "x": 770,
                                                 "y": 3000,
                                                 "wires": []
                                             }
                                          ]
                                          

                                          129886f0-c37e-4a83-8410-8196a8c91c46-image.png

                                          Die Kommandos siehst ja unten im Screenshot.

                                          mickymM Offline
                                          mickymM Offline
                                          mickym
                                          Most Active
                                          wrote on last edited by mickym
                                          #339

                                          @mickym was gibst Du denn ein? ;) :grin: Hast Du auch die mqtt-Out richtig konfiguriert?

                                          Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                          D 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          599

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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