Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. Homematic IP Rolladen - HMIP-BROLL in Homekit

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Homematic IP Rolladen - HMIP-BROLL in Homekit

Geplant Angeheftet Gesperrt Verschoben Node-Red
2 Beiträge 2 Kommentatoren 1.3k Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    magic2910
    schrieb am zuletzt editiert von magic2910
    #1

    Hallo zusammen,

    ich habe nun endlich meine HMIP-BROLLs erfolgreich über Node Red in Apple Homekit gebracht.
    Da ich bisher nicht wirklich etwas dazu gefunden habe anbei mein Skript.
    (Ich bin auf eine CCU3 gewechselt, da ich viele Werte nicht über den AP bekommen habe)
    Homekit zeigt sauber den aktuellen Status an und beendet diesen auch, wenn die Aktion über den Taster ausgelöst wurde.

    Input nehme ich hm-rpc.0.xxxxxxxxx.3 und im output hm-rpc.0.xxxxxxxx.4

    3c2433ad-0578-4dab-ba0b-84d622cbb549-image.png

    [
        {
            "id": "2a5d5250.f178be",
            "type": "tab",
            "label": "Flow 1",
            "disabled": false,
            "info": ""
        },
        {
            "id": "432490.00908b7",
            "type": "homekit-service",
            "z": "2a5d5250.f178be",
            "isParent": true,
            "bridge": "55c29aac.7d8e64",
            "parentService": "",
            "name": "Rolladen Büro",
            "serviceName": "WindowCovering",
            "topic": "",
            "filter": false,
            "manufacturer": "EQ3",
            "model": "HMIP-BROLL",
            "serialNo": "123456",
            "cameraConfigVideoProcessor": "ffmpeg",
            "cameraConfigSource": "",
            "cameraConfigStillImageSource": "",
            "cameraConfigMaxStreams": 2,
            "cameraConfigMaxWidth": 1280,
            "cameraConfigMaxHeight": 720,
            "cameraConfigMaxFPS": 10,
            "cameraConfigMaxBitrate": 300,
            "cameraConfigVideoCodec": "libx264",
            "cameraConfigAudioCodec": "libfdk_aac",
            "cameraConfigAudio": false,
            "cameraConfigPacketSize": 1316,
            "cameraConfigVerticalFlip": false,
            "cameraConfigHorizontalFlip": false,
            "cameraConfigMapVideo": "0:0",
            "cameraConfigMapAudio": "0:1",
            "cameraConfigVideoFilter": "scale=1280:720",
            "cameraConfigAdditionalCommandLine": "-tune zerolatency",
            "cameraConfigDebug": false,
            "cameraConfigSnapshotOutput": "disabled",
            "cameraConfigInterfaceName": "",
            "characteristicProperties": "{}",
            "x": 840,
            "y": 200,
            "wires": [
                [
                    "e42ab19c.8579e"
                ],
                []
            ],
            "icon": "node-red/debug.svg"
        },
        {
            "id": "e42ab19c.8579e",
            "type": "function",
            "z": "2a5d5250.f178be",
            "name": "convert HMIP",
            "func": "return { payload: msg.payload.TargetPosition } ;",
            "outputs": 1,
            "noerr": 0,
            "x": 1120,
            "y": 200,
            "wires": [
                [
                    "6afa8d1d.bbd974"
                ]
            ]
        },
        {
            "id": "6afa8d1d.bbd974",
            "type": "ioBroker out",
            "z": "2a5d5250.f178be",
            "name": "Büro",
            "topic": "hm-rpc.0..4.LEVEL",
            "ack": "false",
            "autoCreate": "false",
            "stateName": "",
            "role": "",
            "stateUnit": "",
            "stateMin": "",
            "stateMax": "",
            "x": 1290,
            "y": 200,
            "wires": []
        },
        {
            "id": "f893eeec.8e964",
            "type": "ioBroker in",
            "z": "2a5d5250.f178be",
            "name": "Büro",
            "topic": "hm-rpc.0..3.LEVEL",
            "payloadType": "value",
            "onlyack": "",
            "func": "all",
            "gap": "",
            "fireOnStart": "true",
            "x": 150,
            "y": 180,
            "wires": [
                [
                    "cf23e464.8cc838"
                ]
            ]
        },
        {
            "id": "ed5896fe.761f68",
            "type": "ioBroker in",
            "z": "2a5d5250.f178be",
            "name": "Büro State",
            "topic": "hm-rpc.0..3.ACTIVITY_STATE",
            "payloadType": "value",
            "onlyack": "",
            "func": "all",
            "gap": "",
            "fireOnStart": "true",
            "x": 160,
            "y": 240,
            "wires": [
                [
                    "cf23e464.8cc838"
                ]
            ]
        },
        {
            "id": "1056fa0c.2aba86",
            "type": "function",
            "z": "2a5d5250.f178be",
            "name": "HomeMagic",
            "func": "var pos = msg.payload[0];\nvar posstate = msg.payload[1];\n\nif(posstate === \"3\"){\n msg.payload={\n   CurrentPosition: Number(pos),\n   TargetPosition: Number(pos),\n   PositionState: Number(posstate)\n }\n} else if(posstate === \"2\") {\n msg.payload={\n   CurrentPosition: Number(pos),\n   PositionState: Number(posstate)\n }\n} else  {\n msg.payload={\n   CurrentPosition: Number(pos),\n   PositionState: Number(posstate)\n }\n}\nreturn msg;",
            "outputs": 1,
            "noerr": 0,
            "x": 590,
            "y": 200,
            "wires": [
                [
                    "432490.00908b7"
                ]
            ]
        },
        {
            "id": "cf23e464.8cc838",
            "type": "join",
            "z": "2a5d5250.f178be",
            "name": "",
            "mode": "custom",
            "build": "array",
            "property": "payload",
            "propertyType": "msg",
            "key": "topic",
            "joiner": "\\n",
            "joinerType": "str",
            "accumulate": false,
            "timeout": "",
            "count": "2",
            "reduceRight": false,
            "reduceExp": "",
            "reduceInit": "",
            "reduceInitType": "num",
            "reduceFixup": "",
            "x": 390,
            "y": 200,
            "wires": [
                [
                    "1056fa0c.2aba86"
                ]
            ]
        },
        {
            "id": "55c29aac.7d8e64",
            "type": "homekit-bridge",
            "z": "",
            "bridgeName": "HomeBroker",
            "pinCode": "123-45-678",
            "port": "",
            "allowInsecureRequest": false,
            "manufacturer": "ioBroker",
            "model": "ioBroker",
            "serialNo": "1337",
            "customMdnsConfig": false,
            "mdnsMulticast": true,
            "mdnsInterface": "",
            "mdnsPort": "",
            "mdnsIp": "",
            "mdnsTtl": "",
            "mdnsLoopback": true,
            "mdnsReuseAddr": true,
            "allowMessagePassthrough": false
        }
    ]
    
    W 1 Antwort Letzte Antwort
    1
    • M magic2910

      Hallo zusammen,

      ich habe nun endlich meine HMIP-BROLLs erfolgreich über Node Red in Apple Homekit gebracht.
      Da ich bisher nicht wirklich etwas dazu gefunden habe anbei mein Skript.
      (Ich bin auf eine CCU3 gewechselt, da ich viele Werte nicht über den AP bekommen habe)
      Homekit zeigt sauber den aktuellen Status an und beendet diesen auch, wenn die Aktion über den Taster ausgelöst wurde.

      Input nehme ich hm-rpc.0.xxxxxxxxx.3 und im output hm-rpc.0.xxxxxxxx.4

      3c2433ad-0578-4dab-ba0b-84d622cbb549-image.png

      [
          {
              "id": "2a5d5250.f178be",
              "type": "tab",
              "label": "Flow 1",
              "disabled": false,
              "info": ""
          },
          {
              "id": "432490.00908b7",
              "type": "homekit-service",
              "z": "2a5d5250.f178be",
              "isParent": true,
              "bridge": "55c29aac.7d8e64",
              "parentService": "",
              "name": "Rolladen Büro",
              "serviceName": "WindowCovering",
              "topic": "",
              "filter": false,
              "manufacturer": "EQ3",
              "model": "HMIP-BROLL",
              "serialNo": "123456",
              "cameraConfigVideoProcessor": "ffmpeg",
              "cameraConfigSource": "",
              "cameraConfigStillImageSource": "",
              "cameraConfigMaxStreams": 2,
              "cameraConfigMaxWidth": 1280,
              "cameraConfigMaxHeight": 720,
              "cameraConfigMaxFPS": 10,
              "cameraConfigMaxBitrate": 300,
              "cameraConfigVideoCodec": "libx264",
              "cameraConfigAudioCodec": "libfdk_aac",
              "cameraConfigAudio": false,
              "cameraConfigPacketSize": 1316,
              "cameraConfigVerticalFlip": false,
              "cameraConfigHorizontalFlip": false,
              "cameraConfigMapVideo": "0:0",
              "cameraConfigMapAudio": "0:1",
              "cameraConfigVideoFilter": "scale=1280:720",
              "cameraConfigAdditionalCommandLine": "-tune zerolatency",
              "cameraConfigDebug": false,
              "cameraConfigSnapshotOutput": "disabled",
              "cameraConfigInterfaceName": "",
              "characteristicProperties": "{}",
              "x": 840,
              "y": 200,
              "wires": [
                  [
                      "e42ab19c.8579e"
                  ],
                  []
              ],
              "icon": "node-red/debug.svg"
          },
          {
              "id": "e42ab19c.8579e",
              "type": "function",
              "z": "2a5d5250.f178be",
              "name": "convert HMIP",
              "func": "return { payload: msg.payload.TargetPosition } ;",
              "outputs": 1,
              "noerr": 0,
              "x": 1120,
              "y": 200,
              "wires": [
                  [
                      "6afa8d1d.bbd974"
                  ]
              ]
          },
          {
              "id": "6afa8d1d.bbd974",
              "type": "ioBroker out",
              "z": "2a5d5250.f178be",
              "name": "Büro",
              "topic": "hm-rpc.0..4.LEVEL",
              "ack": "false",
              "autoCreate": "false",
              "stateName": "",
              "role": "",
              "stateUnit": "",
              "stateMin": "",
              "stateMax": "",
              "x": 1290,
              "y": 200,
              "wires": []
          },
          {
              "id": "f893eeec.8e964",
              "type": "ioBroker in",
              "z": "2a5d5250.f178be",
              "name": "Büro",
              "topic": "hm-rpc.0..3.LEVEL",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "fireOnStart": "true",
              "x": 150,
              "y": 180,
              "wires": [
                  [
                      "cf23e464.8cc838"
                  ]
              ]
          },
          {
              "id": "ed5896fe.761f68",
              "type": "ioBroker in",
              "z": "2a5d5250.f178be",
              "name": "Büro State",
              "topic": "hm-rpc.0..3.ACTIVITY_STATE",
              "payloadType": "value",
              "onlyack": "",
              "func": "all",
              "gap": "",
              "fireOnStart": "true",
              "x": 160,
              "y": 240,
              "wires": [
                  [
                      "cf23e464.8cc838"
                  ]
              ]
          },
          {
              "id": "1056fa0c.2aba86",
              "type": "function",
              "z": "2a5d5250.f178be",
              "name": "HomeMagic",
              "func": "var pos = msg.payload[0];\nvar posstate = msg.payload[1];\n\nif(posstate === \"3\"){\n msg.payload={\n   CurrentPosition: Number(pos),\n   TargetPosition: Number(pos),\n   PositionState: Number(posstate)\n }\n} else if(posstate === \"2\") {\n msg.payload={\n   CurrentPosition: Number(pos),\n   PositionState: Number(posstate)\n }\n} else  {\n msg.payload={\n   CurrentPosition: Number(pos),\n   PositionState: Number(posstate)\n }\n}\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "x": 590,
              "y": 200,
              "wires": [
                  [
                      "432490.00908b7"
                  ]
              ]
          },
          {
              "id": "cf23e464.8cc838",
              "type": "join",
              "z": "2a5d5250.f178be",
              "name": "",
              "mode": "custom",
              "build": "array",
              "property": "payload",
              "propertyType": "msg",
              "key": "topic",
              "joiner": "\\n",
              "joinerType": "str",
              "accumulate": false,
              "timeout": "",
              "count": "2",
              "reduceRight": false,
              "reduceExp": "",
              "reduceInit": "",
              "reduceInitType": "num",
              "reduceFixup": "",
              "x": 390,
              "y": 200,
              "wires": [
                  [
                      "1056fa0c.2aba86"
                  ]
              ]
          },
          {
              "id": "55c29aac.7d8e64",
              "type": "homekit-bridge",
              "z": "",
              "bridgeName": "HomeBroker",
              "pinCode": "123-45-678",
              "port": "",
              "allowInsecureRequest": false,
              "manufacturer": "ioBroker",
              "model": "ioBroker",
              "serialNo": "1337",
              "customMdnsConfig": false,
              "mdnsMulticast": true,
              "mdnsInterface": "",
              "mdnsPort": "",
              "mdnsIp": "",
              "mdnsTtl": "",
              "mdnsLoopback": true,
              "mdnsReuseAddr": true,
              "allowMessagePassthrough": false
          }
      ]
      
      W Offline
      W Offline
      WeiserWolf
      schrieb am zuletzt editiert von
      #2

      @magic2910 Das Thema ist zwar schon sehr alt, aber ich bin froh es gefunden zu haben :) Danke dafür!
      Aber bei mir wird das LOG immer wieder geflutet mit folgender Meldung:

      [ioBroker NodeRed 6229@Rolladen Office@Rolladen Office@Position State] characteristic was supplied illegal value: number 3 exceeded maximum of 2
      

      Wie kann ich das unterbinden?

      1 Antwort Letzte Antwort
      0
      Antworten
      • In einem neuen Thema antworten
      Anmelden zum Antworten
      • Älteste zuerst
      • Neuste zuerst
      • Meiste Stimmen


      Support us

      ioBroker
      Community Adapters
      Donate

      660

      Online

      32.6k

      Benutzer

      82.1k

      Themen

      1.3m

      Beiträge
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
      ioBroker Community 2014-2025
      logo
      • Anmelden

      • Du hast noch kein Konto? Registrieren

      • Anmelden oder registrieren, um zu suchen
      • Erster Beitrag
        Letzter Beitrag
      0
      • Home
      • Aktuell
      • Tags
      • Ungelesen 0
      • Kategorien
      • Unreplied
      • Beliebt
      • GitHub
      • Docu
      • Hilfe