Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alias Manager kann Homeconnect nicht

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Alias Manager kann Homeconnect nicht

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

      Ich schaffe es nicht die Inhalte eines Homeconnect Objektes in einen Alias zu bringen.
      Es fehlt immer der Inhalt des Objektes.
      Hier der Inhalt des Alias:

      {
        "type": "state",
        "common": {
          "name": "Betriebsstatus",
          "role": "indicator",
          "type": "mixed",
          "read": true,
          "write": true,
          "alias": {
            "id": "homeconnect.0.484030393058001457.status.BSH_Common_Status_OperationState"
          },
          "states": {
            "BSH.Common.EnumType.OperationState.Inactive": "Inactive",
            "BSH.Common.EnumType.OperationState.Ready": "Ready",
            "BSH.Common.EnumType.OperationState.Run": "Run",
            "BSH.Common.EnumType.OperationState.Finished": "Finished",
            "BSH.Common.EnumType.OperationState.Pause": "Pause",
            "BSH.Common.EnumType.OperationState.Aborting": "Aborting"
          }
        },
        "_id": "alias.0.MyNewAlias.BSH_Common_Status_OperationState",
        "native": {},
        "from": "system.adapter.admin.0",
        "user": "system.user.admin",
        "ts": 1727789032890,
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        }
      }
      

      Hat jemand eine Idee?

      mickym paul53 2 Replies Last reply Reply Quote 0
      • mickym
        mickym Most Active @werner2000x last edited by mickym

        @werner2000x Der Alias Manager kann nur States lesen und nicht die Objekteigenschaften eines States. Dann musst halt Deine Logikamschine nehmen und selbst Datenpunkte anlegen, wenn Dir das so wichtig ist.

        1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @werner2000x last edited by paul53

          @werner2000x sagte: eine Idee?

          common.states entfernen und Lesekonvertierung?

          val.replace('BSH.Common.EnumType.OperationState.', '')
          

          Das ganze Objekt:

          {
            "type": "state",
            "common": {
              "name": "Betriebsstatus",
              "role": "text",
              "type": "string",
              "read": true,
              "write": false,
              "alias": {
                "id": "homeconnect.0.484030393058001457.status.BSH_Common_Status_OperationState",
                "read": "val.replace('BSH.Common.EnumType.OperationState.', '')"
              }
            },
            "_id": "alias.0.MyNewAlias.BSH_Common_Status_OperationState",
            "native": {},
            "from": "system.adapter.admin.0",
            "user": "system.user.admin",
            "ts": 1727789032890,
            "acl": {
              "object": 1636,
              "state": 1636,
              "owner": "system.user.admin",
              "ownerGroup": "system.group.administrator"
            }
          }
          

          EDIT: Alternative Lesekonvertierung:

          val.substring(35)
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate
          FAQ Cloud / IOT
          HowTo: Node.js-Update
          HowTo: Backup/Restore
          Downloads
          BLOG

          935
          Online

          31.6k
          Users

          79.5k
          Topics

          1.3m
          Posts

          3
          3
          102
          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