Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Microcontroller
    5. ESP Wassersensor BLE-YC01 MQTT

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    ESP Wassersensor BLE-YC01 MQTT

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      perladd @Homoran last edited by perladd

      @homoran

      Hallo,

      ich bekomme folgende Fehlermeldung beim ausführen

      Cannot parse "mqtt.4.tele.Pool_Wassertester_": SyntaxError: Unexpected token 'm', "mqtt.4.tel"... is not valid JSON

      3a475172-e0c0-45d8-bcd2-0684c5b26af6-image.png

      so sieht das Blockly aus

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

        @perladd sagte in ESP Wassersensor BLE-YC01 MQTT:

        ich bekomme folgende Fehlermeldung

        welche?

        @perladd sagte in ESP Wassersensor BLE-YC01 MQTT:

        so sieht das Blockly aus

        und das Json als Text in code-tags?

        P 1 Reply Last reply Reply Quote 0
        • P
          perladd @Homoran last edited by perladd

          @homoran

          sorry war zu schnell, siehe oben noch einmal

          "Cannot parse "mqtt.4.tele.Pool_Wassertester_": SyntaxError: Unexpected token 'm', "mqtt.4.tel"... is not valid JSON"

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

            @perladd du versuchst ja auch aus der ID etwas zu extrahieren

            P 1 Reply Last reply Reply Quote 0
            • P
              perladd @Homoran last edited by perladd

              @homoran

              wo soll ich es denn sonst her bekommen

              was muss denn bei der id rein

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

                @perladd sagte in ESP Wassersensor BLE-YC01 MQTT:

                wo soll ich es denn sonst her bekommen

                WERT von
                Deswegen habe ich meine leider immer noch ungefüllte Hilfsvariable entsprechend benannt

                P 1 Reply Last reply Reply Quote 0
                • P
                  perladd @Homoran last edited by

                  @homoran

                  hab ich und wie schreibe ich das in einem Datensatz, sorry ich bin Neuling und bastle mir das immer so zusammen das es funktioniert 🙂

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

                    @perladd Da ich anscheinend dein JSON nie bekommen werde, hier für dich
                    Screenshot_20250915-155117_Firefox.jpg
                    Kann ich sowieso nicht testen

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      perladd @Homoran last edited by

                      @homoran

                      FFA1FE5AFEBFFFFFFF77FFBEFF7DFD0AFAE821FE26FFBEFFFFFFFFFF51

                      meinst du die Zeile, die wollte ich so auslesen

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

                        @perladd sagte in ESP Wassersensor BLE-YC01 MQTT:

                        meinst du die Zeile

                        das soll dabei rauskommen.

                        Ich benötige aber den Inhalt des Datenpunkts aus dem dieses Ergebnis extrahiert errden soll.
                        Ich habe diesen Datenpunkt nicht!

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          perladd @Homoran last edited by

                          @homoran

                          Okay, das habe ich verstanden 🙂

                          {
                          "_id": "mqtt.4.tele.Pool_Wassertester_E84B50.BLE",
                          "common": {
                          "name": "tele/Pool_Wassertester_E84B50/BLE",
                          "write": true,
                          "read": true,
                          "role": "variable",
                          "desc": "mqtt server variable",
                          "type": "string"
                          },
                          "native": {
                          "topic": "tele/Pool_Wassertester_E84B50/BLE"
                          },
                          "type": "state",
                          "from": "system.adapter.mqtt.4",
                          "user": "system.user.admin",
                          "ts": 1757664917520,
                          "acl": {
                          "object": 1636,
                          "state": 1636,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                          }
                          }

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

                            @perladd sagte in ESP Wassersensor BLE-YC01 MQTT:

                            das habe ich verstanden

                            nicht wirklich!
                            das sind anscheinend die Objektdaten des Datenpunktes.

                            ich hätte den Inhalt, den du nur als Screenshot gepostet hast als Text in code-tags gebraucht.

                            Aber ist jetzt egal.
                            Ich gehe jetzt msngels Feedback mal davon aus, das alles zu deiner Zufriedenheit läuft.

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              perladd @Homoran last edited by perladd

                              @homoran

                              Danke dir, ja den Datenpunkt hab ich jetzt bekomme

                              Sorry das ich soweit immer auf dem Schlauch steh 🤦

                              meinst du das so

                              {
                              "BLEOperation": {
                              "opid": "29",
                              "stat": "3",
                              "state": "DONEREAD",
                              "MAC": "C0000005750A",
                              "svc": "0xff01",
                              "char": "0xff02",
                              "read": "FFA1FE72FEAFFFFFFFDDFFAEFF75FD04FAEC21FE8CFFAEFFFFFFFFD541"
                              }
                              }

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              991
                              Online

                              32.1k
                              Users

                              80.7k
                              Topics

                              1.3m
                              Posts

                              3
                              21
                              356
                              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