Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Bloomsky Wetterstation

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Bloomsky Wetterstation

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

      Kleiner Fortschritt, der Webaufruf funktioniert.

      Wie soll ich nun den Adapter konfigurieren?

      ! [
      ! {
      ! "UTC": 2,
      ! "CityName": "xxxxx",
      ! "Storm": {
      ! "UVIndex": "1",
      ! "WindDirection": "NE",
      ! "RainDaily": 0,
      ! "WindGust": 0,
      ! "SustainedWindSpeed": 0,
      ! "RainRate": 0,
      ! "24hRain": 0
      ! },
      ! "Searchable": true,
      ! "DeviceName": "xxxxxx",
      ! "RegisterTime": 1454769760,
      ! "DST": 1,
      ! "BoundedPoint": "",
      ! "LON": 9.5705,
      ! "Point": {},
      ! "VideoList": [
      ! "
      ! ],
      ! "DeviceID": "xxxxx",
      ! "NumOfFollowers": 15,
      ! "LAT": xxxxx,
      ! "ALT": xxx,
      ! "Data": {
      ! "Luminance": 3,
      ! "Temperature": 65.44,
      ! "ImageURL": "
      ! "TS": 1537124980,
      ! "Rain": false,
      ! "Humidity": 98,
      ! "Pressure": 28.29,
      ! "DeviceType": "SKY1",
      ! "Voltage": 2643,
      ! "Night": true,
      ! "UVIndex": "1",
      ! "ImageTS": 1537121084
      ! },
      ! "FullAddress": "xxxx,xxxx, xxxxx, xx",
      ! "StreetName": "xxxxx",
      ! "PreviewImageList": [
      ! "
      ! ],
      ! }
      ! ],
      Name: Bloomsky.[Storm, Data]

      Type: web

      Source: api.bloomsky.com/api/skydata/

      RegExp Filter: Storm, Data

      Convert: json

      Role Type: -

      Write Comman: -

      Schedule: /:6:1 (sollte im 6 minuten takt synchronisieren)

      1 Reply Last reply Reply Quote 0
      • K
        Karl_999 last edited by

        @hafo:

        Wie soll ich nun den Adapter konfigurieren? `

        Ich befürchte / vermute, dass die Daten nicht vollständig sind.

        Es sollte etwas in der Form

        {
          "IDENTIFIER_1": [
            {
              "SUB_IDENTIFIER_1": 0
              },
            {
              "SUB_IDENTIFIER_2": 0
              }
        
              ]
         }, 
        ````kommen.
        
        Bei dir fängt es mit ****[[/b]**** **an und endet mit einem ****","******
        1 Reply Last reply Reply Quote 0
        • H
          hafo last edited by

          @Karl_999:

          Ich befürchte / vermute, dass die Daten nicht vollständig sind. `
          Nimmst du da Bezug auf meinen Webaufruf? Der ist wirklich nicht vollständig, ich habe meine persönlichen Daten gelöscht. Ich wollte damit nur aufzeigen wie die relevanten Daten aussehen.

          Gemäss diesem Link https://bloomsky.desk.com/customer/port … b_id=17311 funktioniert der Systeminfo Adapter gar nicht in diesem Fall, ich kann den Api Key nicht in der URL angeben. Meine neuste Idee wäre das mit dem Node Red Adapter zu lösen. Wäre da eine richtige Get Abfrage machbar mit den dazugehörigen Daten im Header? Oder hat jemand eine bessere Idee?

          1 Reply Last reply Reply Quote 0
          • K
            Karl_999 last edited by

            @hafo:

            Nimmst du da Bezug auf meinen Webaufruf? Der ist wirklich nicht vollständig `
            Das macht es schwierig, dann die notwendige Hilfe zu geben. Damit meine ich nicht die fehlenden (bzw. geschwärzten) privaten Daten. Es ist einfach die vollständige Struktur der Rückgabedaten notwendig.

            @hafo:

            Gemäss diesem Link https://bloomsky.desk.com/customer/port … b_id=17311 funktioniert der Systeminfo Adapter gar nicht in diesem Fall `
            Wie hast du denn dann die Antwort erhalten?

            Die Adapter machen nicht viel mehr als die angegebene URI zu senden und dann die Antwort passend zu zerlegen, Daher kann man die URI ganz einfach z.B. im Browser testen.

            Sollten irgendwelche Mimiken mir Anmeldung, Cookies und / oder Session-ID notwendig sein, dann wird's nicht ohne extra Software gehen.

            1 Reply Last reply Reply Quote 0
            • H
              hafo last edited by

              In der Anleitung (.pdf in meinem ersten Beitrag) wird das Chrome Plugin "Advanced REST Client" und "httpie" von Github empfohlen. Mit ersterem habe ich den erfolgreichen Webaufruf gemacht. Der Link im selben Post führt zu einem PHP Script, welches jemand für Symcan Hausautomation geschrieben hat, wäre natürlich das tollste wenn dies ohne grosse Änderungen auch hier funtionieren würde :roll:

              Hier https://bloomsky.desk.com/customer/port … b_id=17311 hat noch jemand erfolgreich diesen Code zum abrufen geschrieben

              ! header('Content-Type: application/json');
              ! $api = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"; //your API key from BloomSky
              ! $url = "https://api.bloomsky.com/api/skydata";
              ! // Create a stream
              ! $opts = array(
              ! 'http'=>array(
              ! 'method'=>"GET",
              ! 'header'=>"Authorization:".$api."\r\n"
              ! )
              ! );
              ! $context = stream_context_create($opts);
              ! // Open the file using the HTTP headers set above
              ! $file = file_get_contents($url, false, $context);
              ! echo $file;
              ! ?>

              Hilft dies weiter? Den Code vom Webaufruf kann ich dir morgen gerne noch minimalzensiert nachreichen, so dass alle Zeichen sichtbar sind.

              Danke und Gruss

              Hansjürg

              1 Reply Last reply Reply Quote 0
              • H
                hafo last edited by

                Vor Montag Abend läuft bei mir leider nichts mehr. Falls jemand eine gute Idee hat, nur zu.

                1 Reply Last reply Reply Quote 0
                • H
                  hafo last edited by

                  Hallo zusammen

                  Hier endlich der versprochene Code aus dem Webaufruf.

                  ! [
                  ! {
                  ! "UTC": 2,
                  ! "CityName": "xxx",
                  ! "Storm": {
                  ! "UVIndex": "1",
                  ! "WindDirection": "NE",
                  ! "RainDaily": 0.12,
                  ! "WindGust": 4,
                  ! "SustainedWindSpeed": 2.01,
                  ! "RainRate": 0,
                  ! "24hRain": 0.57
                  ! },
                  ! "Searchable": true,
                  ! "DeviceName": "Wetterchecker",
                  ! "RegisterTime": 1454769760,
                  ! "DST": 1,
                  ! "BoundedPoint": "",
                  ! "LON": 9.5705,
                  ! "Point": {},
                  ! "VideoList": [
                  ! "http://s3.amazonaws.com/bskytimelapses/ … -09-20.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... -09-21.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... -09-22.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... -09-23.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... -09-24.mp4"
                  ! ],
                  ! "VideoList_C": [
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... 9-20_C.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... 9-21_C.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... 9-22_C.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... 9-23_C.mp4",
                  ! "http://s3.amazonaws.com/bskytimelapses/ ... 9-24_C.mp4"
                  ! ],
                  ! "DeviceID": "xxx",
                  ! "NumOfFollowers": 15,
                  ! "LAT": xxx,
                  ! "ALT": xxx,
                  ! "Data": {
                  ! "Luminance": 22,
                  ! "Temperature": 50.56,
                  ! "ImageURL": "http://s3-us-west-1.amazonaws.com/bskyimgs/xxx=.jpg",
                  ! "TS": 1537812069,
                  ! "Rain": false,
                  ! "Humidity": 71,
                  ! "Pressure": 28.56,
                  ! "DeviceType": "SKY1",
                  ! "Voltage": 2598,
                  ! "Night": true,
                  ! "UVIndex": "1",
                  ! "ImageTS": 1537811200
                  ! },
                  ! "FullAddress": "xxx, xxx, xxx, xx",
                  ! "StreetName": "xxx",
                  ! "PreviewImageList": [
                  ! "http://s3-us-west-1.amazonaws.com/bskyi ... 1xxxs=.jpg",
                  ! "http://s3-us-west-1.amazonaws.com/bskyi ... 1xxxs=.jpg",
                  ! "http://s3-us-west-1.amazonaws.com/bskyi ... J1xxx=.jpg",
                  ! "http://s3-us-west-1.amazonaws.com/bskyi ... J1xxx=.jpg",
                  ! "http://s3-us-west-1.amazonaws.com/bskyi ... J1xxx=.jpg"
                  ! ],
                  ! }
                  ! ],
                  Wen mir jemand sagen kann wie ich in NodeRed an diese Daten komme, dann wäre mir schon sehr geholfen.

                  Gruss

                  Hansjürg

                  1 Reply Last reply Reply Quote 0
                  • H
                    hafo last edited by

                    Hier würde es so einfach aussehen

                    https://nodered.org/docs/api/admin/meth … es/module/

                    Aber ich finde kein Node bei welchem der Header und Value so eingestellt werden können.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hafo last edited by

                      Kann mir bei diesem Problem wirklich niemand weiterhelfen?

                      1 Reply Last reply Reply Quote 0
                      • H
                        hafo last edited by

                        Es geht hier weiter

                        viewtopic.php?f=32&t=17318

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        984
                        Online

                        31.7k
                        Users

                        79.8k
                        Topics

                        1.3m
                        Posts

                        2
                        13
                        1272
                        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