Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Homematic Funkgong HmIP-MP3P über Blockly steuern

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Homematic Funkgong HmIP-MP3P über Blockly steuern

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Glasfaser last edited by Homoran

      @glasfaser sagte in Homematic Funkgong HmIP-MP3P über Blockly steuern:

      @homoran

      hier sind gerade Bilderrätsel , das meint er

      62ce67bc-ca8b-4b28-b319-c43a8c8f2c14-grafik.png

      Aus dem Screenshot konnte er nicht zitieren

      is mich klar

      edit:
      oops aber lange Leitung!
      das ust ja die ID

      aber das Ist ein CHANNEL. was meckert der mit value rum?

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        @heli-wolf versuchst du einen Kanal statt eines DPs anzusteuern?

        H 1 Reply Last reply Reply Quote 0
        • H
          heli-wolf @Homoran last edited by

          @homoran

          ich habe genau die drei Bereiche im Skript angesprochen die bei der Direktauswahl sich geändert haben.

          async function Funkgong_Waschmaschine() {
            setState("hm-rpc.5.001518A9A59DBF.2.SOUNDFILE"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.SOUNDFILE*/, 11);
            setState("hm-rpc.5.001518A9A59DBF.2.PROCESS"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.PROCESS*/, 1);
            setState("hm-rpc.5.001518A9A59DBF.2.LEVEL"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.LEVEL*/, 80);
            setState("hm-rpc.5.001518A9A59DBF.6.COLOR"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:6.COLOR*/, 2);
            setState("hm-rpc.5.001518A9A59DBF.6.LEVEL"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:6.LEVEL*/, 50);
            setStateDelayed("hm-rpc.5.001518A9A59DBF.6.LEVEL"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:6.LEVEL*/, 0, 10000, false);
          }
          

          was bewirkt ein CHANNEL im Unterschied zum DP?

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @heli-wolf last edited by

            @heli-wolf sagte in Homematic Funkgong HmIP-MP3P über Blockly steuern:

            was bewirkt ein CHANNEL im Unterschied zum DP?

            der Channel ist die übergeordnete Struktur!
            dann hast du doch die falschen Objektdaten gepostet?

            H 1 Reply Last reply Reply Quote 0
            • H
              heli-wolf @Homoran last edited by

              @homoran
              das ist der Inhalt von "0"

              {
                "_id": "hm-rpc.5.001518A9A59DBF.0",
                "type": "channel",
                "common": {
                  "name": "Funkgong_flachHmIP-MP3P 001518A9A59DBF:0"
                },
                "native": {
                  "TYPE": "MAINTENANCE",
                  "SUBTYPE": "",
                  "ADDRESS": "001518A9A59DBF:0",
                  "RF_ADDRESS": 0,
                  "CHILDREN": [],
                  "PARENT": "001518A9A59DBF",
                  "PARENT_TYPE": "HmIP-MP3P",
                  "INDEX": 0,
                  "AES_ACTIVE": 1,
                  "PARAMSETS": [
                    "MASTER",
                    "VALUES",
                    "SERVICE"
                  ],
                  "FIRMWARE": "",
                  "AVAILABLE_FIRMWARE": "",
                  "UPDATABLE": true,
                  "FIRMWARE_UPDATE_STATE": "",
                  "VERSION": 1,
                  "FLAGS": 1,
                  "LINK_SOURCE_ROLES": "",
                  "LINK_TARGET_ROLES": "",
                  "DIRECTION": 0,
                  "GROUP": "",
                  "TEAM": "",
                  "TEAM_TAG": "",
                  "TEAM_CHANNELS": [],
                  "INTERFACE": "",
                  "ROAMING": 0,
                  "RX_MODE": 0
                },
                "from": "system.adapter.hm-rega.0",
                "user": "system.user.admin",
                "ts": 1670333538742,
                "acl": {
                  "object": 1636,
                  "owner": "system.user.admin",
                  "ownerGroup": "system.group.administrator"
                }
              }
              

              Inhalt von "1":

              {
                "_id": "hm-rpc.5.001518A9A59DBF.1",
                "type": "channel",
                "common": {
                  "name": "Funkgong_flachHmIP-MP3P 001518A9A59DBF:1"
                },
                "native": {
                  "TYPE": "ACOUSTIC_SIGNAL_TRANSMITTER",
                  "SUBTYPE": "",
                  "ADDRESS": "001518A9A59DBF:1",
                  "RF_ADDRESS": 0,
                  "CHILDREN": [],
                  "PARENT": "001518A9A59DBF",
                  "PARENT_TYPE": "HmIP-MP3P",
                  "INDEX": 1,
                  "AES_ACTIVE": 1,
                  "PARAMSETS": [
                    "MASTER",
                    "VALUES",
                    "SERVICE"
                  ],
                  "FIRMWARE": "",
                  "AVAILABLE_FIRMWARE": "",
                  "UPDATABLE": true,
                  "FIRMWARE_UPDATE_STATE": "",
                  "VERSION": 1,
                  "FLAGS": 1,
                  "LINK_SOURCE_ROLES": "",
                  "LINK_TARGET_ROLES": "",
                  "DIRECTION": 0,
                  "GROUP": "",
                  "TEAM": "",
                  "TEAM_TAG": "",
                  "TEAM_CHANNELS": [],
                  "INTERFACE": "",
                  "ROAMING": 0,
                  "RX_MODE": 0
                },
                "from": "system.adapter.hm-rega.0",
                "user": "system.user.admin",
                "ts": 1670333539564,
                "acl": {
                  "object": 1636,
                  "owner": "system.user.admin",
                  "ownerGroup": "system.group.administrator"
                }
              }
              

              Inhalt von "6" - für die Lichtsteuerung:

              {
                "_id": "hm-rpc.5.001518A9A59DBF.6",
                "type": "channel",
                "common": {
                  "name": "Funkgong_flachHmIP-MP3P 001518A9A59DBF:6"
                },
                "native": {
                  "TYPE": "DIMMER_VIRTUAL_RECEIVER",
                  "SUBTYPE": "",
                  "ADDRESS": "001518A9A59DBF:6",
                  "RF_ADDRESS": 0,
                  "CHILDREN": [],
                  "PARENT": "001518A9A59DBF",
                  "PARENT_TYPE": "HmIP-MP3P",
                  "INDEX": 6,
                  "AES_ACTIVE": 1,
                  "PARAMSETS": [
                    "MASTER",
                    "VALUES",
                    "LINK",
                    "SERVICE"
                  ],
                  "FIRMWARE": "",
                  "AVAILABLE_FIRMWARE": "",
                  "UPDATABLE": true,
                  "FIRMWARE_UPDATE_STATE": "",
                  "VERSION": 1,
                  "FLAGS": 1,
                  "LINK_SOURCE_ROLES": "",
                  "LINK_TARGET_ROLES": "REMOTE_CONTROL CONDITIONAL_SWITCH SWITCH LEVEL",
                  "DIRECTION": 2,
                  "GROUP": "",
                  "TEAM": "",
                  "TEAM_TAG": "",
                  "TEAM_CHANNELS": [],
                  "INTERFACE": "",
                  "ROAMING": 0,
                  "RX_MODE": 0
                },
                "from": "system.adapter.hm-rega.0",
                "user": "system.user.admin",
                "ts": 1670333542999,
                "acl": {
                  "object": 1636,
                  "owner": "system.user.admin",
                  "ownerGroup": "system.group.administrator"
                }
              }
              
              H 1 Reply Last reply Reply Quote 0
              • H
                heli-wolf @heli-wolf last edited by

                @heli-wolf
                und das ist unter Device:

                {
                  "_id": "hm-rpc.5.001518A9A59DBF",
                  "type": "device",
                  "common": {
                    "name": "Funkgong_flachHmIP-MP3P 001518A9A59DBF",
                    "icon": "/icons/186_hmip-mp3p_thumb.png"
                  },
                  "native": {
                    "TYPE": "HmIP-MP3P",
                    "SUBTYPE": "MP3P",
                    "ADDRESS": "001518A9A59DBF",
                    "RF_ADDRESS": 7137078,
                    "CHILDREN": [
                      "001518A9A59DBF:0",
                      "001518A9A59DBF:1",
                      "001518A9A59DBF:2",
                      "001518A9A59DBF:3",
                      "001518A9A59DBF:4",
                      "001518A9A59DBF:5",
                      "001518A9A59DBF:6",
                      "001518A9A59DBF:7",
                      "001518A9A59DBF:8",
                      "001518A9A59DBF:9"
                    ],
                    "PARENT": "",
                    "PARENT_TYPE": "",
                    "INDEX": 0,
                    "AES_ACTIVE": 1,
                    "PARAMSETS": [
                      "MASTER",
                      "SERVICE"
                    ],
                    "FIRMWARE": "1.0.26",
                    "AVAILABLE_FIRMWARE": "1.0.26",
                    "UPDATABLE": true,
                    "FIRMWARE_UPDATE_STATE": "UP_TO_DATE",
                    "VERSION": 1,
                    "FLAGS": 1,
                    "LINK_SOURCE_ROLES": "",
                    "LINK_TARGET_ROLES": "",
                    "DIRECTION": 0,
                    "GROUP": "",
                    "TEAM": "",
                    "TEAM_TAG": "",
                    "TEAM_CHANNELS": [],
                    "INTERFACE": "",
                    "ROAMING": 0,
                    "RX_MODE": 3
                  },
                  "from": "system.adapter.hm-rega.0",
                  "user": "system.user.admin",
                  "ts": 1670178467503,
                  "acl": {
                    "object": 1636,
                    "owner": "system.user.admin",
                    "ownerGroup": "system.group.administrator"
                  }
                }
                
                H 1 Reply Last reply Reply Quote 0
                • H
                  heli-wolf @heli-wolf last edited by

                  @heli-wolf

                  Ich glaube jetzt habe ich verstanden was gemeint war.
                  Das Problem war beim Channel 2 unter PROCESS.
                  Das sind jetzt die Objektdaten von Process

                  {
                    "type": "state",
                    "common": {
                      "name": "Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.PROCESS",
                      "role": "",
                      "def": 0,
                      "type": "number",
                      "read": true,
                      "write": false,
                      "min": 0,
                      "max": 1,
                      "states": {
                        "0": "STABLE",
                        "1": "NOT_STABLE"
                      }
                    },
                    "native": {
                      "MIN": "STABLE",
                      "OPERATIONS": 5,
                      "MAX": "NOT_STABLE",
                      "FLAGS": 1,
                      "ID": "PROCESS",
                      "TYPE": "ENUM",
                      "DEFAULT": "STABLE",
                      "VALUE_LIST": [
                        "STABLE",
                        "NOT_STABLE"
                      ]
                    },
                    "from": "system.adapter.hm-rega.0",
                    "user": "system.user.admin",
                    "ts": 1670333540410,
                    "_id": "hm-rpc.5.001518A9A59DBF.2.PROCESS",
                    "acl": {
                      "object": 1636,
                      "state": 1636,
                      "owner": "system.user.admin",
                      "ownerGroup": "system.group.administrator"
                    }
                  }
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @heli-wolf last edited by

                    @heli-wolf sagte in Homematic Funkgong HmIP-MP3P über Blockly steuern:

                    jetzt

                    ja! 👍

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      Das war jetzt der Exkurs zu Objekten!
                      jetzt bitte nochmal die Fehlermeldung provozieren und diese vollständig als Text in code-tags posten.
                      Der Screenshot scheint zusätzlich noch abgeschnitten zu sein.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        heli-wolf @Homoran last edited by

                        @homoran

                        hm-rpc.5
                        	122096	2023-01-06 19:40:04.297	error	Cannot call setValue: XML-RPC fault: Invalid parameter or value
                        hm-rpc.5
                        	122096	2023-01-06 19:40:04.297	error	xmlrpc -> setValue ["001518A9A59DBF:2","PROCESS",1] ENUM
                        javascript.0
                        	101206	2023-01-06 19:40:02.762	warn	Read-only state "hm-rpc.5.001518A9A59DBF.2.PROCESS" has been written without ack-flag with value "1"
                        hm-rpc.5
                        	122096	2023-01-06 19:39:54.310	error	Cannot call setValue: XML-RPC fault: Invalid parameter or value
                        hm-rpc.5
                        	122096	2023-01-06 19:39:54.309	error	xmlrpc -> setValue ["001518A9A59DBF:2","PROCESS",1] ENUM
                        javascript.0
                        	101206	2023-01-06 19:39:52.726	warn	Read-only state "hm-rpc.5.001518A9A59DBF.2.PROCESS" has been written without ack-flag with value "1"
                        javascript.0
                        	101206	2023-01-06 19:39:45.933	info	script.js.common.Meine_Skripte.Waschmaschine_fertig: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                        javascript.0
                        	101206	2023-01-06 19:39:45.914	info	Start javascript script.js.common.Meine_Skripte.Waschmaschine_fertig
                        hm-rpc.3
                        	122119	2023-01-06 19:39:10.137	info	xmlrpc -> listDevices 0
                        
                        Homoran 2 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @heli-wolf last edited by

                          @heli-wolf und jetzt bitte mal die javascript Ansicht des Blocklys

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @heli-wolf last edited by

                            @heli-wolf wenn ich das richtig sehe ist process nicht zum beschreiben.
                            deaktiviere den Block mal über die rechte Maustaste. und trigger neu.

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              heli-wolf @Homoran last edited by

                              @homoran

                              var timeout;
                              
                              // Beschreibe diese Funktion …
                              async function Funkgong_Waschmaschine() {
                                setState("hm-rpc.5.001518A9A59DBF.2.SOUNDFILE"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.SOUNDFILE*/, 11);
                                setState("hm-rpc.5.001518A9A59DBF.2.PROCESS"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.PROCESS*/, 1);
                                setState("hm-rpc.5.001518A9A59DBF.2.LEVEL"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.LEVEL*/, 80);
                                setState("hm-rpc.5.001518A9A59DBF.6.COLOR"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:6.COLOR*/, 2);
                                setState("hm-rpc.5.001518A9A59DBF.6.LEVEL"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:6.LEVEL*/, 50);
                                setStateDelayed("hm-rpc.5.001518A9A59DBF.6.LEVEL"/*Funkgong_flachHmIP-MP3P 001518A9A59DBF:6.LEVEL*/, 0, 10000, false);
                              }
                              
                              
                              on({id: "shelly.0.SHPLG-S#4022D8898398#1.Relay0.Switch"/*Switch*/, change: "ne"}, async function (obj) {
                                var value = obj.state.val;
                                var oldValue = obj.oldState.val;
                                await Funkgong_Waschmaschine();
                                timeout = setTimeout(async function () {
                                  await Funkgong_Waschmaschine();
                                }, 10000);
                              });
                              
                              
                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @heli-wolf last edited by

                                @heli-wolf sagte in Homematic Funkgong HmIP-MP3P über Blockly steuern:

                                setState("hm-rpc.5.001518A9A59DBF.2.PROCESS"/Funkgong_flachHmIP-MP3P 001518A9A59DBF:2.PROCESS/, 1);

                                auch da steht nix von ENUM. muss ggf. am readOnly liegen und von der CCU kommen

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  heli-wolf @Homoran last edited by

                                  @homoran
                                  wo kann ich das in der CCU sehen?

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @heli-wolf last edited by

                                    @heli-wolf keine Ahnung, ist ggf. unwichtig.

                                    was ist mit

                                    @homoran sagte in Homematic Funkgong HmIP-MP3P über Blockly steuern:

                                    @heli-wolf wenn ich das richtig sehe ist process nicht zum beschreiben.
                                    deaktiviere den Block mal über die rechte Maustaste. und trigger neu.

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      heli-wolf @Homoran last edited by

                                      @homoran
                                      das Blockly Skript deaktivieren und neu starten - habe ich gemacht, hat aber keine Änderung gebracht.

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @heli-wolf last edited by

                                        @heli-wolf sagte in Homematic Funkgong HmIP-MP3P über Blockly steuern:

                                        das Blockly Skript deaktivieren und neu starten -

                                        nein!
                                        den Block deaktivieren

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          heli-wolf @Homoran last edited by

                                          @homoran

                                          Sorry, stehe auf der Leitung - welchen BLOCK ??

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @heli-wolf last edited by

                                            @heli-wolf den der den angemeckerten read only Datenpunkt anspricht

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            778
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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