Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [gelöst] Datenpunkte aus json erstellen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    661

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

[gelöst] Datenpunkte aus json erstellen

Scheduled Pinned Locked Moved Blockly
88 Posts 7 Posters 10.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • paul53P paul53

    @metaxa sagte: Daten schauen so aus:

    Das ist ein Array --> Attribut "0.name".

    metaxaM Offline
    metaxaM Offline
    metaxa
    wrote on last edited by metaxa
    #16

    @paul53 sagte in Datenpunkte aus json erstellen:

    Das ist ein Array

    Herzlichen Dank! somit ist mir auch klar wie ich an die weiteren Einträge komme (1.name, 2.name....)

    1 Reply Last reply
    0
    • paul53P paul53

      @klaus-0
      In Data wird offenbar null geliefert. Debugge mal den Status code

      K Offline
      K Offline
      Klaus 0
      wrote on last edited by
      #17

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

      paul53P 1 Reply Last reply
      0
      • K Klaus 0

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

        paul53P Offline
        paul53P Offline
        paul53
        wrote on last edited by paul53
        #18

        @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?

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        K 2 Replies Last reply
        0
        • paul53P 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 Offline
          K Offline
          Klaus 0
          wrote on last edited by
          #19

          @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

          paul53P HomoranH 2 Replies Last reply
          0
          • K Klaus 0

            @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

            paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by
            #20

            @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?

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            1 Reply Last reply
            0
            • paul53P 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 Offline
              K Offline
              Klaus 0
              wrote on last edited by
              #21

              @paul53
              hi Paul,

              das ist die Wetterstation die ich abfrage.

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

              paul53P 1 Reply Last reply
              0
              • K Klaus 0

                @paul53
                hi Paul,

                das ist die Wetterstation die ich abfrage.

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

                paul53P Offline
                paul53P Offline
                paul53
                wrote on last edited by
                #22

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

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

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                K HomoranH 2 Replies Last reply
                0
                • paul53P paul53

                  @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 Offline
                  K Offline
                  Klaus 0
                  wrote on last edited by
                  #23

                  @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

                  paul53P 1 Reply Last reply
                  0
                  • paul53P paul53

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

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

                    HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by Homoran
                    #24

                    @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

                    kein Support per PN! - Fragen im Forum stellen -
                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    K 1 Reply Last reply
                    0
                    • HomoranH 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 Offline
                      K Offline
                      Klaus 0
                      wrote on last edited by
                      #25

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

                      1 Reply Last reply
                      0
                      • K Klaus 0

                        @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

                        paul53P Offline
                        paul53P Offline
                        paul53
                        wrote on last edited by
                        #26

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

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

                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                        1 Reply Last reply
                        0
                        • K Klaus 0

                          @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

                          HomoranH Do not disturb
                          HomoranH Do not disturb
                          Homoran
                          Global Moderator Administrators
                          wrote on last edited by
                          #27

                          @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.

                          kein Support per PN! - Fragen im Forum stellen -
                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          K 1 Reply Last reply
                          0
                          • HomoranH Homoran

                            @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 Offline
                            K Offline
                            Klaus 0
                            wrote on last edited by
                            #28

                            @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
                            0
                            • K Klaus 0

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

                              K Offline
                              K Offline
                              Klaus 0
                              wrote on last edited by
                              #29

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

                              W 1 Reply Last reply
                              0
                              • K Klaus 0

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

                                W Online
                                W Online
                                wolfi913
                                wrote on last edited by
                                #30

                                @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
                                0
                                • W wolfi913

                                  @klaus-0 sagte in Datenpunkte aus json erstellen:

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

                                  Und mit Antwort-Typ Text ?

                                  K Offline
                                  K Offline
                                  Klaus 0
                                  wrote on last edited by
                                  #31

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

                                  paul53P 1 Reply Last reply
                                  0
                                  • K Klaus 0

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

                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    wrote on last edited by
                                    #32

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

                                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                    K 1 Reply Last reply
                                    0
                                    • paul53P paul53

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

                                      K Offline
                                      K Offline
                                      Klaus 0
                                      wrote on last edited by Klaus 0
                                      #33

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

                                      paul53P 2 Replies Last reply
                                      0
                                      • K Klaus 0

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

                                        paul53P Offline
                                        paul53P Offline
                                        paul53
                                        wrote on last edited by
                                        #34

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

                                        Etwas wenig Informationen: "ok".

                                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                        HomoranH K 2 Replies Last reply
                                        0
                                        • paul53P paul53

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

                                          Etwas wenig Informationen: "ok".

                                          HomoranH Do not disturb
                                          HomoranH Do not disturb
                                          Homoran
                                          Global Moderator Administrators
                                          wrote on last edited by
                                          #35

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

                                          kein Support per PN! - Fragen im Forum stellen -
                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          430

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe