Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. Siemens HomeConnect > Homekit (yahka) coupling help FIXED

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Siemens HomeConnect > Homekit (yahka) coupling help FIXED

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

      Hi all, thanks for your help so far. I've been getting trough iobroker a bit further. Now I have one of the last challanges that involves the coupling of a specific Adapter to the Homekit Adapter, which I can't get to work.

      What I to do is: Simply Turn on/off my oven, with HomeKit. I've manage to pass status details to homekit like temperature of the Oven. But I can't get the on/of switch working. Does anybody know that the values should be in the HomeKit Adapter tot get this "switch" working? It seems not so simple since the oven is responding in iobroker, but not responding to the "switch" in homekit.

      This is how the input data of the HomeConnect Oven data looks. It has got 4 choise of states (maybe the problem that is not 1 and 0?). The laste 2 choices "An" and "Standby" work in iobroker, this is de adapter and value I want to use in homekit: 1.png

      This is How the HomeKit adapter Switch input field looks. I don't know what to fill in to get this actually working. (Not everything I see here is in the github manual and trial and error did not get me there.)
      2.png

      What needs to be in?
      -Service subtype?

      What is meant with: (Do I need both main fields?)
      -Name (properties)
      -On (properties)

      What should I put in:
      -In/out
      -Conversion
      -State (I think I need to select here the homeconnect.0.SIEMENS-HM836GNB6-454353nn45.settings.BSH_Common_Setting_PowerState)

      I hope someone is familiar with connecting both adapters 🙂
      Thanks for reading!

      Asgothian K 2 Replies Last reply Reply Quote 0
      • Asgothian
        Asgothian Developer @ydn last edited by

        @ydn

        a couple of questions:

        • which version of the Yahka Adapter do you have installed ?
        • Will it be ok to use the "An" (i.e. On) and "Aus" (i.e. Off) states of the Siemens system, or do you need to use the "Standby" state ?

        In either case, the solution should be:

        Screen Shot 2020-02-04 at 23.03.43 .png

        if you want to set it to "standby" rather than "off", you need to change the line

        return "Aus"
        

        to

        return "Standby"
        

        Since the home kit Switch can only show 2 states, you will not be able to distinguish between "standby" and "off" in any case.

        The service subtype can remain empty (is for me for all cases)
        On the name, you can either link it to a state or set a static value. (select conversion "passthrough") If you don't, the switch in HomeKit will have the service name as its initial name, but this can be overridden in the iOS app.
        The "on" field is the one which actually reacts to the switch state.

        I hope this works for you.

        A.

        Y 1 Reply Last reply Reply Quote 0
        • Y
          ydn @Asgothian last edited by

          @Asgothian Hi, thanks for your reply!

          I have Homekit yahka Available version 0.9.2 Installed version: 0.9.2

          I filled in your example advise, but no luck. No reaction from the device. And error in the log:

          homeconnect.0 2020-02-05 20:10:23.792 info (4438) 409: Key BSH.Common.Setting.PowerState has unknown enum type or enum member Standby.

          homeconnect.0 2020-02-05 20:10:19.526 info (4438) 409: Key BSH.Common.Setting.PowerState has unknown enum type or enum member An.

          filled it in.png

          Asgothian 1 Reply Last reply Reply Quote 0
          • Asgothian
            Asgothian Developer @ydn last edited by

            @ydn Can you please paste the Raw Data for the Datapoint in question (as shown in the example screenshot for a different datapoint)

            Screen Shot 2020-02-05 at 20.19.03 .png

            Y 1 Reply Last reply Reply Quote 0
            • Y
              ydn @Asgothian last edited by

              @Asgothian

              {
                "from": "system.adapter.homeconnect.0",
                "user": "system.user.admin",
                "ts": 1680671865678,
                "common": {
                  "name": "Energiezustand",
                  "type": "string",
                  "role": "indicator",
                  "unit": "",
                  "write": true,
                  "read": true,
                  "states": {
                    "BSH.Common.EnumType.PowerState.MainsOff": "Aus",
                    "BSH.Common.EnumType.PowerState.Off": "Aus",
                    "BSH.Common.EnumType.PowerState.On": "An",
                    "BSH.Common.EnumType.PowerState.Standby": "Standby"
                  }
                },
                "native": {},
                "acl": {
                  "object": 1636,
                  "owner": "system.user.admin",
                  "ownerGroup": "system.group.administrator",
                  "state": 1636
                },
                "_id": "homeconnect.0.SIEMENS-HM836GNB6-68A40E31957E.settings.BSH_Common_Setting_PowerState",
                "type": "state"
              }
              
              Asgothian 1 Reply Last reply Reply Quote 0
              • Asgothian
                Asgothian Developer @ydn last edited by

                @ydn
                Please try to replace the "An" with "On", and the "Off" with "Aus" in both script stubs

                A.

                Asgothian 1 Reply Last reply Reply Quote 0
                • Asgothian
                  Asgothian Developer @Asgothian last edited by

                  @Asgothian
                  Also, if that doesn't work, please try the complete state names ("BSH.Common.EnumType.PowerState.On", "BSH.Common.EnumType.PowerState.Off")

                  A.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tombox last edited by

                    @Asgothian sagte in Siemens HomeConnect > Homekit (yahka) coupling help wanted.:

                    BSH.Common.EnumType.PowerState.On

                    I think you need a conversation script

                    return value ? "BSH.Common.EnumType.PowerState.On":"BSH.Common.EnumType.PowerState.Off"
                    
                    1 Reply Last reply Reply Quote 0
                    • Y
                      ydn last edited by

                      Yeah got it working! @Asgothian

                      It needs to be:

                      return value==="BSH.Common.EnumType.PowerState.On"

                      and the lower field:

                      if (value) return "BSH.Common.EnumType.PowerState.On"
                      return "BSH.Common.EnumType.PowerState.Standby"

                      1 Reply Last reply Reply Quote 0
                      • Y
                        ydn last edited by ydn

                        Case closed.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kamila25 @ydn last edited by

                          === PLEASE READ ===
                          Please describe the changes proposed in the pull request and
                          reference the issue,
                          the pull request relates to (if applicable).

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          975
                          Online

                          31.7k
                          Users

                          79.7k
                          Topics

                          1.3m
                          Posts

                          homeconnect adapter yahka
                          4
                          11
                          1362
                          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