Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Datenpunkt US Sensor SR 04 - Entferung

    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

    Datenpunkt US Sensor SR 04 - Entferung

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

      @erich-1 sagte in Datenpunkt US Sensor SR 04 - Entferung:

      Hat da jemand eine Idee, wie ich aus dem Datenwust nur den Abstand ermitteln kann?

      ja!

      wäre aber um einiges einfacher wenn du nicht einen Screenshot mit Ameisenfussabdrücken, sondern den relevanten Text in code-tags posten würdest.

      E 1 Reply Last reply Reply Quote 0
      • E
        Erich 1 @Homoran last edited by

        @homoran Wie funktioniert denn das bei den Objekten?

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

          @erich-1 sagte in Datenpunkt US Sensor SR 04 - Entferung:

          @homoran Wie funktioniert denn das bei den Objekten?

          draufklicken, Editor öffnen, kopieren
          oder direkt markieren und kopieren, oder.......

          E 1 Reply Last reply Reply Quote 0
          • E
            Erich 1 @Homoran last edited by Erich 1

            @homoran Leider klappt das so nicht, zumindest bei mir ...

            Geht nur mit dem Wert

            {
              "Time": "2024-07-06T13:42:03",
              "SR04": {
                "Distance": 166.1
              }
            }
            
            1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Erich 1 last edited by

              @erich-1 sagte: Datenpunkt Sensor: hier wird die Entfernung angezeigt

              Erstelle einen Alias-DP vom Typ Zahl mit Lesekonvertierung:

              JSON.parse(val).SR04.Distance
              
              E 1 Reply Last reply Reply Quote 0
              • E
                Erich 1 @paul53 last edited by

                @paul53 Geht das auch mit Blockly?

                paul53 2 Replies Last reply Reply Quote 0
                • paul53
                  paul53 @Erich 1 last edited by

                  @erich-1 sagte: Geht das auch mit Blockly?

                  Ja, mit eigenem DP vom Typ Zahl. Weshalb nicht als Alias mit Lesekonvertierung?

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

                    @paul53 Das kann ich noch nicht.

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

                      @erich-1 sagte: Blockly?

                      Blockly_temp.JPG

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

                        @paul53 Super, das werde ich dann mal probieren.

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          Erich 1 @Erich 1 last edited by

                          @erich-1 Klappt wunderbar. Danke!

                          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

                          809
                          Online

                          31.9k
                          Users

                          80.3k
                          Topics

                          1.3m
                          Posts

                          3
                          12
                          404
                          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