Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. API response.post mit Blockly

    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

    API response.post mit Blockly

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

      Hallo zusammen,

      ich bräuchte bitte netterweise Unterstützung 🙂

      Ich möchte ab einem Portal die Werte eines Inverters auslesen und in eine influxdb zur weiteren Bearbeitung schreiben.
      Gibt es eine Möglichkeit dies mit Blocky zu bewerkstelligen?

      Portal anfragen und den request in eine Variable lesen und dann diesen Inhalt wieder zu zerlegen und in die DB wegschreiben.

      Folgenden ?phyton? Code habe ich vom Support des Portals erhalten:
      Mir fehlt absolut jeder Ansatz.

      rsp = requests.post(
          'https://third.zcsportal.com:18003/',
          headers={
              "Authorization": „SN-Inverter“,
              "Client": ‚User‘,
              "Content-Type": 'application/json'
          },
          json={
              "realtimeData": {
                  "command": "realtimeData",
                  "params": {
                      "thingKey": inv,
                      "requiredValues": "*"
                  }
              }
          },
          timeout=1)
      

      Weiss jemand ob es mit Blockly überhaupt möglich ist, oder welche anderen Lösungen gibt es ?

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

        @schwabe_ch muss das in English sein?

        S 1 Reply Last reply Reply Quote 0
        • S
          Schwabe_CH @Homoran last edited by

          @homoran Entschuldige bitte, ich versteh deine Frage nicht?

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

            @schwabe_ch wir befinden uns hier im englischen Forum.
            Deiner Antwort entnehme ich dass das nicht absichtlich war.

            Dann schieb ich das mal ins deutsche Forum

            S 1 Reply Last reply Reply Quote 0
            • S
              Schwabe_CH @Homoran last edited by

              @homoran Danke, zu viel phyton und Solarsonne und zu wenig API 😉

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

                @schwabe_ch sagte in API response.post mit Blockly:

                zu viel phyton

                der Python ist keine Pflanze!

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

                Support us

                ioBroker
                Community Adapters
                Donate

                729
                Online

                31.9k
                Users

                80.2k
                Topics

                1.3m
                Posts

                2
                6
                366
                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