Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. yahka Batteriestatus über Service mit Blockly?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    yahka Batteriestatus über Service mit Blockly?

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

      Hallo Gemeinde,

      folgendes Problem. Ich habe meinen Temperatursensor über yahka eingebunden. Offenbar unterstützt Homekit aber nur die "LowBat" anzeige. Mein Sensor liefert mir aber den Batteriestatus (also Ladezustand in %). Kann ich das über den Service irgendwie umsetzen oder muss ich mir ein Blocky aufsetzen welches mir ab einem bestimmten Status (bspw. <15%) den LowBat status als bool liefert?

      Und dann noch eine allgemeine Frage, was sagt mir beim mapping "is simple value"?

      Gruß Martin

      mickym Asgothian 2 Replies Last reply Reply Quote 0
      • mickym
        mickym Most Active @Mariatschi0815 last edited by

        @mariatschi0815 Im Batterieservice hast Du aber auch den Ladezustand in % zur Verfügung:

        ec19dbda-768f-466d-a2f9-fc6154ab8e69-image.png

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

          @mariatschi0815 Die allgemeine Frage kann ich nicht beantworten.

          Das mit dem LowBatt kannst du aber einfacher als mit einem externen Blockly haben:

          Screenshot 2022-01-24 at 15.29.54.png

          in diesem Beispiel ist der battery state 0-100 %

          A.

          1 Reply Last reply Reply Quote 0
          • M
            Mariatschi0815 @mickym last edited by

            @mickym ah, okay. Vorhin konnte ich keinen Service hinzufügen. Muss man erst das Gerät einmal konfigurieren und speichern um noch einen Service hinzuzufügen? Jetzt ging es jedenfalls.

            @Asgothian Über das "script" bin ich gar nicht gestolpert. Danke! "LowBat" hat vermutlich den Vorteil, dass es direkt angezeigt wird und nicht versteckt im Status nehm ich an?

            Könnt ihr mir evtl. noch kurz das "is simple value" erklären? Was wäre denn wenn ich es nicht anhake?

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

              @mariatschi0815 welches is simple value ? Ich hab das bei mir nicht.

              A.

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

                @asgothian beim map

                e027a745-08df-48c1-95c6-7f8effdad1d0-grafik.png

                1 Reply Last reply Reply Quote 0
                • L
                  loverz last edited by loverz

                  würde mich auch interessieren. Was bedeutet das "is simple value"?

                  Aber soweit ich rasugefunden habe:
                  Wenn "is simple value" an ist und ich in YAHKA "true" abfrage reagiert er nicht. Zumindest dann nicht, wenn der Wert "true" ein boolean Wert ist.

                  Wenn "is simple value" aus ist, dann reagiert er auf booleans:

                  2430bb86-1cee-469c-a009-eae62727a1a4-image.png

                  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

                  634
                  Online

                  32.0k
                  Users

                  80.3k
                  Topics

                  1.3m
                  Posts

                  4
                  7
                  389
                  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