Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Datenpunkte aus json erstellen

    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

    [gelöst] Datenpunkte aus json erstellen

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Klaus 0 @paul53 last edited by

      @paul53 Ist dann auch das gleiche Problem. muss ich vielleicht erst Irgendwas Parsen oder so?Screenshot 2024-05-27 221527.png

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

        @klaus-0 sagte: Ist dann auch das gleiche Problem.

        Den Status code ohne "Attribut" debuggen. Er enthält normalerweise eine Zahl (200 bei Erfolg).
        Die URL stimmt? Im Web-Browser kommt das JSON mit dieser URL?

        K 2 Replies Last reply Reply Quote 0
        • K
          Klaus 0 @paul53 last edited by

          @paul53 Im Web-Browser sieht das so aus
          Screenshot 2024-05-27 222231.png

          Beim Status code ohne Attribut kommt das
          Screenshot 2024-05-27 222321.png

          paul53 Homoran 2 Replies Last reply Reply Quote 0
          • paul53
            paul53 @Klaus 0 last edited by

            @klaus-0
            Mit der Fehlermeldung kann ich nichts anfangen. Da muss ein ITler ran.
            Hast Du es mal mit dem request-Block (und der Variablen result) versucht?

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

              @paul53
              hi Paul,

              das ist die Wetterstation die ich abfrage.

              https://www.jbmedia.eu/faq/wetterstation

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

                @klaus-0 sagte: das ist die Wetterstation die ich abfrage.

                Der Browser liefert das JSON, aber offenbar der httpGet-Block nicht. Keine Ahnung - weshalb.

                K Homoran 2 Replies Last reply Reply Quote 0
                • K
                  Klaus 0 @paul53 last edited by

                  @paul53 habe das jetzt mal so ausprobiert. dann kommt wenigstens keine Fehlermeldung. Bin ich da auf dem richtigen Weg?
                  Screenshot 2024-05-27 223549.png

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

                    @paul53 sagte in Datenpunkte aus json erstellen:

                    aber offenbar der httpGet-Block nicht.

                    wenn du das json willst, nicht status code, sonden data nehmen.
                    und zum testen mal das timeout erhöhen

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      Klaus 0 @Homoran last edited by

                      @homoran
                      hatte ich schon ausprobiert. War aber immer der gleiche Fehler.

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

                        @klaus-0 sagte: Bin ich da auf dem richtigen Weg?

                        Status code 500 = interner Serverfehler. Dann kommen keine Daten.

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

                          @klaus-0 sagte in Datenpunkte aus json erstellen:

                          Im Web-Browser sieht das so aus

                          das ist ein json, dessen letztes Attribut targeturl ein Array enthält.
                          Möglicherweise sind die darin enthaltenen Tilden ein Problem.

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            Klaus 0 @Homoran last edited by

                            @homoran
                            Jetzt sieht das so aus. Und nun hat es auch den Status 200
                            Screenshot 2024-05-27 225003.png

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              Klaus 0 @Klaus 0 last edited by

                              @klaus-0 Und die "data" sehen so aus
                              Screenshot 2024-05-27 225146.png

                              W 1 Reply Last reply Reply Quote 0
                              • W
                                wolfi913 @Klaus 0 last edited by

                                @klaus-0 sagte in Datenpunkte aus json erstellen:

                                @klaus-0 Und die "data" sehen so aus

                                Und mit Antwort-Typ Text ?

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  Klaus 0 @wolfi913 last edited by

                                  @wolfi913 dann so
                                  Screenshot 2024-05-27 225610.png

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

                                    @klaus-0
                                    Das ist die Simple-API von ioBroker: falsche IP-Adresse!

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

                                      @paul53 jetzt mal so ausprobiert. Sieht doch schon ganz gut aus, oder?
                                      Screenshot 2024-05-27 230054.png

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

                                        @klaus-0 sagte: Sieht doch schon ganz gut aus, oder?

                                        Etwas wenig Informationen: "ok".

                                        Homoran K 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @paul53 last edited by

                                          @paul53 er schickt einen control Befehl und erhält ein ok zurück.
                                          Das passt meiner Meinung nach

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

                                            @paul53
                                            Hast recht. Sollten eigentlich Daten von der Wetterstation sein.
                                            Aber wenigstens keine Fehlermeldungen 😂
                                            Ich schau morgen mal weiter. Vielen Dank erstmal. Gutes Nächtle

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            740
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            88
                                            5059
                                            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