Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Simple API Problem - error: datapoint xxx not found

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Simple API Problem - error: datapoint xxx not found

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

      Hallo zusammen,
      ich habe eine Frage und ich hoffe ihr habt eine Antwort.
      Ich frage mit der Simple API viele Datenpunkte ab und gebe diese an Loxone weiter.
      Im Objektbaum habe ich ganz klar den Datenpunkt vorliegen und wenn ich ihn mit der Simple Api abfragen möchte, bekomme ich den response, dass der Datenpunkt nicht existiert.
      Woran kann das liegen?
      Danke & Gruß

      http://192.168.178.200:8087/getPlainValue/pollenflug.0.region#123.Birke.index_today

      --> error: datapoint "pollenflug.0.region" not found

      Screenshot 2023-11-03 131427.png

      Marc Berg OliverIO 2 Replies Last reply Reply Quote 0
      • haselchen
        haselchen Most Active last edited by haselchen

        @bernd-0 sagte in Simple API Problem - error: datapoint xxx not found:

        http://192.168.178.200:8087/getPlainValue/pollenflug.0.region#123.Birke.index_today

        Brainstorming,...vorher stand hier Mist 🙂

        1 Reply Last reply Reply Quote 0
        • Marc Berg
          Marc Berg Most Active @Bernd 0 last edited by

          @bernd-0 sagte in Simple API Problem - error: datapoint xxx not found:

          http://192.168.178.200:8087/getPlainValue/pollenflug.0.region#123.Birke.index_today

          Das "#" dürfte ein Problem in einer URL sein. Versuch mal

          http://192.168.178.200:8087/getPlainValue/pollenflug.0.region%23123.Birke.index_today
          
          1 Reply Last reply Reply Quote 0
          • OliverIO
            OliverIO @Bernd 0 last edited by OliverIO

            @bernd-0 sagte in Simple API Problem - error: datapoint xxx not found:

            pollenflug.0.region#123.Birke.index_today

            # hat in einer url eine bedeutung und kommt wahrscheinlich nicht so an, wie es ankommen sollte
            ohne ausprobiert zu haben, muss man für solche fälle den wert mit urlencode
            berechnen
            probier mal

            pollenflug.0.region%23123.Birke.index_today
            

            https://www.urlencoder.org/

            Nachtrag
            hah 2x die gleiche Lösung, dann scheint es zu stimmen

            1 Reply Last reply Reply Quote 0
            • Bernd 0
              Bernd 0 last edited by

              @oliverio @marc-berg Danke! Das hat funktioniert!

              Bernd 0 1 Reply Last reply Reply Quote 0
              • Bernd 0
                Bernd 0 @Bernd 0 last edited by

                Jetzt habe ich aber auch den gleichen Fehler bei einem anderem Datenpunkt

                ab128e10-860b-46d2-b1df-71145efab963-image.png

                http://192.168.178.200:8087/set/sonoff.0.Socket-Tasmota-ESP8266-Relais.POWER?value=0&prettyPrint

                "error: datapoint "sonoff.0.Socket-Tasmota-ESP8266-Relais.POWER" not found"

                haselchen 1 Reply Last reply Reply Quote 0
                • haselchen
                  haselchen Most Active @Bernd 0 last edited by haselchen

                  @bernd-0 sagte in Simple API Problem - error: datapoint xxx not found:

                  http://192.168.178.200:8087/set/sonoff.0.Socket-Tasmota-ESP8266-Relais.POWER?value=0&prettyPrint

                  Quatsch mit Soße stand hier 🙂

                  Marc Berg 1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active @haselchen last edited by Marc Berg

                    @haselchen sagte in Simple API Problem - error: datapoint xxx not found:

                    Hast du den Link oben mal angesehen?
                    https://www.urlencoder.org/

                    Warum? Welches Zeichen müsste in dieser URL encoded werden?

                    haselchen 1 Reply Last reply Reply Quote 0
                    • haselchen
                      haselchen Most Active @Marc Berg last edited by

                      @marc-berg

                      Mea Culpa.
                      War falsch abgebogen , noch von früher war im Köpfchen, dass im DP Sonderzeichen nicht erlaubt waren.
                      (dachte noch das " - " dazugehörte)

                      Marc Berg 1 Reply Last reply Reply Quote 0
                      • Marc Berg
                        Marc Berg Most Active @haselchen last edited by

                        @haselchen sagte in Simple API Problem - error: datapoint xxx not found:

                        War falsch abgebogen

                        Aber die Frage ist jetzt: woran liegt es dann? Sieht doch alles passend aus!?

                        haselchen 1 Reply Last reply Reply Quote 0
                        • haselchen
                          haselchen Most Active @Marc Berg last edited by haselchen

                          @marc-berg

                          Hab das mal als Beispiel gefunden und eigentlich hast Du Recht, sieht auf den ersten Blick gut aus

                          "set": "http://192.168.2.90:8087/set/stateID?value=1&prettyPrint"

                          Macht Simple Api ne Unterscheidung bei Groß-und Kleinschreibung?
                          Das wäre als Laie jetzt was mir auffallen würde.

                          Marc Berg 1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @haselchen last edited by

                            @haselchen sagte in Simple API Problem - error: datapoint xxx not found:

                            Macht Simple Api ne Unterscheidung bei Groß-und Kleinschreibung?

                            Konntest du eine Abweichung in der Groß-/Kleinschreibung entdecken?

                            haselchen 1 Reply Last reply Reply Quote 0
                            • haselchen
                              haselchen Most Active @Marc Berg last edited by

                              @marc-berg

                              Da ich 0,0 mit Simple Api arbeite ist mir halt POWER aufgefallen.
                              Und da war meine Frage, ob das ein Problem darstellt?!
                              Power oder power... wie gesagt , nur ne Idee.

                              Bernd 0 1 Reply Last reply Reply Quote 0
                              • Bernd 0
                                Bernd 0 @haselchen last edited by

                                Nach einem Neustart des Raspi ging es auf einmal, ohne dass ich sonst irgendetwas verändert hätte. Danke dennoch fürs Nachdenken!

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

                                  Hatte ein Ähnliches Problem und kann berichten, dass die URL Groß- und Kleinschreibung beachtet!

                                  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

                                  566
                                  Online

                                  32.0k
                                  Users

                                  80.3k
                                  Topics

                                  1.3m
                                  Posts

                                  5
                                  15
                                  721
                                  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