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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Siemens HomeConnect > Homekit (yahka) coupling help FIXED

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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

                        525
                        Online

                        31.8k
                        Users

                        80.0k
                        Topics

                        1.3m
                        Posts

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