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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Shellys ("Alt und Plus") über MQTT Adapter

NEWS

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

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

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

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

Scheduled Pinned Locked Moved ioBroker Allgemein
512 Posts 5 Posters 93.1k 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 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 Online
        mickymM Online
        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 Online
            mickymM Online
            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 Online
                mickymM Online
                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 Online
                    mickymM Online
                    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 Online
                        mickymM Online
                        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 Online
                            mickymM Online
                            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 Online
                                mickymM Online
                                mickym
                                Most Active
                                wrote on last edited by mickym
                                #339

                                @mickym was gibst Du denn ein? 😉 😁 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
                                • mickymM mickym

                                  @mickym was gibst Du denn ein? 😉 😁 Hast Du auch die mqtt-Out richtig konfiguriert?

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

                                  @mickym
                                  opening /closing ...?

                                  ok: habs open /close /stop

                                  in der zwischenzeit habe ich den angeschlossen und calibriert.

                                  current_pos":19

                                  {"id":0, "source":"timeout", "state":"stopped","apower":0.0,"voltage":235.5,"current":0.000,"pf":0.00,"aenergy":{"total":4.544,"by_minute":[35.876,0.000,315.490],"minute_ts":1680905190},"temperature":{"tC":54.1, "tF":129.4},"pos_control":true,"current_pos":19}
                                  
                                  mickymM 1 Reply Last reply
                                  0
                                  • D dos1973

                                    @mickym
                                    opening /closing ...?

                                    ok: habs open /close /stop

                                    in der zwischenzeit habe ich den angeschlossen und calibriert.

                                    current_pos":19

                                    {"id":0, "source":"timeout", "state":"stopped","apower":0.0,"voltage":235.5,"current":0.000,"pf":0.00,"aenergy":{"total":4.544,"by_minute":[35.876,0.000,315.490],"minute_ts":1680905190},"temperature":{"tC":54.1, "tF":129.4},"pos_control":true,"current_pos":19}
                                    
                                    mickymM Online
                                    mickymM Online
                                    mickym
                                    Most Active
                                    wrote on last edited by mickym
                                    #341

                                    @dos1973 NEIN - das darfst Du nicht eingeben - opening, closing sind Statusbeschreibungen, während das Rollo in Bewegung ist. Ich hab Dir doch die Kommandos gepostet

                                    5e616914-3f36-4154-8428-8d80c131394f-image.png

                                    es müsste also auch pos,40 gehen

                                    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 NEIN - das darfst Du nicht eingeben - opening, closing sind Statusbeschreibungen, während das Rollo in Bewegung ist. Ich hab Dir doch die Kommandos gepostet

                                      5e616914-3f36-4154-8428-8d80c131394f-image.png

                                      es müsste also auch pos,40 gehen

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

                                      @mickym
                                      Ja, oh mann bist du gut

                                      ich könnt dich grad knutschen 🙂

                                      D mickymM 2 Replies Last reply
                                      0
                                      • D dos1973

                                        @mickym
                                        Ja, oh mann bist du gut

                                        ich könnt dich grad knutschen 🙂

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

                                        @mickym

                                        ich möchte mich herzlichst für deine Zeit und deine unerschütterliche Mühe und Geduld bedanken!!! läuft 1A

                                        Ich habe 10 Stück im Schrank liegen und habe mich jetzt Wochenlang gescheut das in Angriff zu nehmen.

                                        1 Reply Last reply
                                        0
                                        • D dos1973

                                          @mickym
                                          Ja, oh mann bist du gut

                                          ich könnt dich grad knutschen 🙂

                                          mickymM Online
                                          mickymM Online
                                          mickym
                                          Most Active
                                          wrote on last edited by
                                          #344

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

                                          @mickym
                                          Ja, oh mann bist du gut

                                          ich könnt dich grad knutschen 🙂

                                          Na freut mich - für die aktuelle Position machst dann noch einen eigenen Datenpunkt - ich hab ihn mal pos genannt. Musst Du nicht anlegen

                                          [
                                             {
                                                 "id": "45f9fe0c07a645aa",
                                                 "type": "change",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "",
                                                 "rules": [
                                                     {
                                                         "t": "set",
                                                         "p": "payload",
                                                         "pt": "msg",
                                                         "to": "payload.current_pos",
                                                         "tot": "msg"
                                                     }
                                                 ],
                                                 "action": "",
                                                 "property": "",
                                                 "from": "",
                                                 "to": "",
                                                 "reg": false,
                                                 "x": 550,
                                                 "y": 2960,
                                                 "wires": [
                                                     [
                                                         "2dd3d3c5a66bbe2e"
                                                     ]
                                                 ]
                                             },
                                             {
                                                 "id": "2dd3d3c5a66bbe2e",
                                                 "type": "ioBroker out",
                                                 "z": "2e7d4cac81c671e3",
                                                 "g": "6d49413af6de6a69",
                                                 "name": "",
                                                 "topic": "0_userdata.0.Wohnung.Status.Shellys.node-red.Rolladen.pos",
                                                 "ack": "true",
                                                 "autoCreate": "true",
                                                 "stateName": "",
                                                 "role": "",
                                                 "payloadType": "number",
                                                 "readonly": "false",
                                                 "stateUnit": "",
                                                 "stateMin": "",
                                                 "stateMax": "",
                                                 "x": 900,
                                                 "y": 2960,
                                                 "wires": []
                                             }
                                          ]
                                          

                                          6daf05c1-68ab-41f9-a1a5-ed2d1e4c8c4e-image.png

                                          Als einfach hinter die mqtt-IN Node anschließen. Dann siehst immer den aktuellen Zustand als Zahl.

                                          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

                                          529

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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