Ankündigung

Einklappen
Keine Ankündigung bisher.

Senec und Gira X1

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #91
    Du musst auf TCP/TLS umstellen.

    Kommentar


      #92
      Der Ausdruck sieht zwar besser aus, aber immer noch keine Werte


      10.09.2023 21:41:20 (IP: 172.28.x.x) (Port: 443)
      (Send: 218) 0x50 0x4f 0x53 0x54 0x20 0x2f 0x6c 0x61 0x6c 0x61 0x2e 0x63 0x67 0x69 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x37 0x32 0x2e 0x32 0x34 0x2e 0x31 0x37 0x34 0x2e 0x31 0x30 0x30 0x3a 0x34 0x34 0x33 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x61 0x70 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f 0x6a 0x73 0x6f 0x6e 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x32 0x32 0x30 0xd 0xa 0xd 0xa 0x7b 0x22 0x54 0x45 0x4d 0x50 0x4d 0x45 0x41 0x53 0x55 0x52 0x45 0x22 0x3a 0x7b 0x22 0x42 0x41 0x54 0x54 0x45 0x52 0x59 0x5f 0x54 0x45 0x4d 0x50 0x22 0x3a 0x22 0x22 0x2c 0x22 0x43 0x41 0x53 0x45 0x5f 0x54 0x45 0x4d 0x50 0x22 0x3a 0x22 0x22 0x2c 0x22 0x4d 0x43 0x55 0x5f 0x54 0x45 0x4d 0x50 0x22 0x3a 0x22 0x22 0x2c 0x22 0x54 0x45 0x4d 0x50 0x5f 0x44 0x41 0x54 0x41 0x5f 0x43 0x4f 0x4c 0x4c 0x45 0x43 0x54 0x45 0x44 0x22 0x3a 0x22 0x22 0x7d 0x7d 0xd 0xa 0x43 0x6f 0x6e
      POST /lala.cgi HTTP/1.0
      Host: 172.28.x.x:443
      Content-Type: application/json
      Content-Length: 220

      {"TEMPMEASURE":{"BATTERY_TEMP":"","CASE_TEMP":" "," MCU_TEMP":"","TEMP_DATA_COLLECTED":""}}
      Con
      10.09.2023 21:41:50 (IP: 172.28.x.x) (Port: 443)
      (Send: 256) 0x50 0x4f 0x53 0x54 0x20 0x2f 0x6c 0x61 0x6c 0x61 0x2e 0x63 0x67 0x69 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x37 0x32 0x2e 0x32 0x34 0x2e 0x31 0x37 0x34 0x2e 0x31 0x30 0x30 0x3a 0x34 0x34 0x33 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x31 0x39 0x37 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x61 0x70 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f 0x6a 0x73 0x6f 0x6e 0xd 0xa 0xd 0xa 0x7b 0x22 0x45 0x4e 0x45 0x52 0x47 0x59 0x22 0x3a 0x7b 0x22 0x47 0x55 0x49 0x5f 0x48 0x4f 0x55 0x53 0x45 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x47 0x52 0x49 0x44 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x49 0x4e 0x56 0x45 0x52 0x54 0x45 0x52 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x42 0x41 0x54 0x5f 0x44 0x41 0x54 0x41 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22
      POST /lala.cgi HTTP/1.0
      Host: 1172.28.x.x:443
      Content-Length: 197
      Content-Type: application/json

      {"ENERGY":{"GUI_HOUSE_POW":"","GUI_GRID_POW":"" ,"G UI_INVERTER_POWER":"","GUI_BAT_DATA_POWER":"
      10.09.2023 21:42:20 (IP: 172.28.x.x) (Port: 443)
      (Send: 271) 0x50 0x4f 0x53 0x54 0x20 0x2f 0x6c 0x61 0x6c 0x61 0x2e 0x63 0x67 0x69 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x37 0x32 0x2e 0x32 0x34 0x2e 0x31 0x37 0x34 0x2e 0x31 0x30 0x30 0x3a 0x34 0x34 0x33 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x61 0x70 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f 0x6a 0x73 0x6f 0x6e 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x32 0x32 0x30 0xd 0xa 0xd 0xa 0x7b 0x22 0x53 0x54 0x41 0x54 0x49 0x53 0x54 0x49 0x43 0x22 0x3a 0x7b 0x22 0x4c 0x49 0x56 0x45 0x5f 0x50 0x56 0x5f 0x47 0x45 0x4e 0x22 0x3a 0x22 0x22 0x2c 0x22 0x4c 0x49 0x56 0x45 0x5f 0x48 0x4f 0x55 0x53 0x45 0x5f 0x43 0x4f 0x4e 0x53 0x22 0x3a 0x22 0x22 0x2c 0x22 0x4c 0x49 0x56 0x45 0x5f 0x47 0x52 0x49 0x44 0x5f 0x45 0x58 0x50 0x4f 0x52 0x54 0x22 0x3a 0x22 0x22 0x2c 0x22 0x4c 0x49 0x56 0x45 0x5f 0x47 0x52 0x49 0x44 0x5f 0x49 0x4d 0x50 0x4f 0x52 0x54 0x22 0x3a 0x22
      POST /lala.cgi HTTP/1.0
      Host: 172.28.x.x:443
      Content-Type: application/json
      Content-Length: 220

      {"STATISTIC":{"LIVE_PV_GEN":"","LIVE_HOUSE_CONS ":" ","LIVE_GRID_EXPORT":"","LIVE_GRID_IMPORT":"
      10.09.2023 21:42:51 (IP: 172.28.x.x) (Port: 443)
      (Send: 218) 0x50 0x4f 0x53 0x54 0x20 0x2f 0x6c 0x61 0x6c 0x61 0x2e 0x63 0x67 0x69 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x37 0x32 0x2e 0x32 0x34 0x2e 0x31 0x37 0x34 0x2e 0x31 0x30 0x30 0x3a 0x34 0x34 0x33 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x61 0x70 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f 0x6a 0x73 0x6f 0x6e 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x32 0x32 0x30 0xd 0xa 0xd 0xa 0x7b 0x22 0x54 0x45 0x4d 0x50 0x4d 0x45 0x41 0x53 0x55 0x52 0x45 0x22 0x3a 0x7b 0x22 0x42 0x41 0x54 0x54 0x45 0x52 0x59 0x5f 0x54 0x45 0x4d 0x50 0x22 0x3a 0x22 0x22 0x2c 0x22 0x43 0x41 0x53 0x45 0x5f 0x54 0x45 0x4d 0x50 0x22 0x3a 0x22 0x22 0x2c 0x22 0x4d 0x43 0x55 0x5f 0x54 0x45 0x4d 0x50 0x22 0x3a 0x22 0x22 0x2c 0x22 0x54 0x45 0x4d 0x50 0x5f 0x44 0x41 0x54 0x41 0x5f 0x43 0x4f 0x4c 0x4c 0x45 0x43 0x54 0x45 0x44 0x22 0x3a 0x22 0x22 0x7d 0x7d 0xd 0xa 0x43 0x6f 0x6e
      POST /lala.cgi HTTP/1.0
      Host: 172.28.x.x:443
      Content-Type: application/json
      Content-Length: 220

      {"TEMPMEASURE":{"BATTERY_TEMP":"","CASE_TEMP":" "," MCU_TEMP":"","TEMP_DATA_COLLECTED":""}}
      Con
      10.09.2023 21:43:21 (IP: 172.28.x.x) (Port: 443)
      (Send: 256) 0x50 0x4f 0x53 0x54 0x20 0x2f 0x6c 0x61 0x6c 0x61 0x2e 0x63 0x67 0x69 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x37 0x32 0x2e 0x32 0x34 0x2e 0x31 0x37 0x34 0x2e 0x31 0x30 0x30 0x3a 0x34 0x34 0x33 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x31 0x39 0x37 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x61 0x70 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f 0x6a 0x73 0x6f 0x6e 0xd 0xa 0xd 0xa 0x7b 0x22 0x45 0x4e 0x45 0x52 0x47 0x59 0x22 0x3a 0x7b 0x22 0x47 0x55 0x49 0x5f 0x48 0x4f 0x55 0x53 0x45 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x47 0x52 0x49 0x44 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x49 0x4e 0x56 0x45 0x52 0x54 0x45 0x52 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x42 0x41 0x54 0x5f 0x44 0x41 0x54 0x41 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22
      POST /lala.cgi HTTP/1.0
      Host: 1172.28.x.x:443
      Content-Length: 197
      Content-Type: application/json

      {"ENERGY":{"GUI_HOUSE_POW":"","GUI_GRID_POW":"" ,"G UI_INVERTER_POWER":"","GUI_BAT_DATA_POWER":"

      Kommentar


        #93
        Hast Du die Content-Length Werte angepasst, die wurden ja bedingt durch Connection Close statement, etc. länger

        zB. Postman zeigt Dir die Werte in der Console an, siehe Screenshot oben

        Kommentar


          #94
          Hab jetzt mal die Länge einfach auf 500 gestellt, ändert aber auch nichts.

          11.09.2023 21:57:53 (IP: 172.x.x.x) (Port: 443)
          (Send: 256) 0x50 0x4f 0x53 0x54 0x20 0x2f 0x6c 0x61 0x6c 0x61 0x2e 0x63 0x67 0x69 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x37 0x32 0x2e 0x32 0x34 0x2e 0x31 0x37 0x34 0x2e 0x31 0x30 0x30 0x3a 0x34 0x34 0x33 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x35 0x30 0x30 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x61 0x70 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f 0x6a 0x73 0x6f 0x6e 0xd 0xa 0xd 0xa 0x7b 0x22 0x45 0x4e 0x45 0x52 0x47 0x59 0x22 0x3a 0x7b 0x22 0x47 0x55 0x49 0x5f 0x48 0x4f 0x55 0x53 0x45 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x47 0x52 0x49 0x44 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x49 0x4e 0x56 0x45 0x52 0x54 0x45 0x52 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x42 0x41 0x54 0x5f 0x44 0x41 0x54 0x41 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22
          POST /lala.cgi HTTP/1.0
          Host: 172.172.x.x.x:443
          Content-Length: 500
          Content-Type: application/json

          {"ENERGY":{"GUI_HOUSE_POW":"","GUI_GRID_POW":"" ,"G UI_INVERTER_POWER":"","GUI_BAT_DATA_POWER":"​

          Kommentar


            #95
            Naja, einfach zu gross machen darfst Du es nicht. Die Content-Length zeigt dem Senec wie gross die Anfrage ist, dann weiss er wann die Abfrage fertig ist. Der Senec wartet nun fix auf 500 bytes, Du sendest aber vllt. nur 197 und nichts weiter. Somit wird Dir Senec nie eine Antwort geben, es fehlen ihm ja noch 303 bytes.

            Kannst Du mal 1:1 die JSON Abfragen aus Deiner Abfrage im HS reinkopieren?

            Ich melde mich sobald ich wieder am Rechner sitze.

            Kommentar


              #96
              Hallo,

              anbei meine Eingaben, einmal als Bild einmal als Text. Beispielhaft für die Energie:

              image.png
              SENEC Datenabfrage
              172.x.x.x
              443
              TCP/TLS​

              image.png
              POST /lala.cgi HTTP/1.0
              Host: 172.x.x.x:443
              Content-Length: 500
              Content-Type: application/json

              {"ENERGY":{"GUI_HOUSE_POW":"","GUI_GRID_POW":"" ,"G UI_INVERTER_POWER":"","GUI_BAT_DATA_POWER":"","GUI _BAT_DATA_FUEL_CHARGE":""}}
              Connection: Close

              (Habe es bereits mit einer Länge von 197, 220, 280 probiert.)​

              image.png

              Auf dieser Seite habe ich nichts verändert, lief vorher einwandfrei.

              image.png
              ist leer geblieben.
              Angehängte Dateien

              Kommentar


                #97
                Bei den Energiewerten ist die Content-Length (vorausgesetzt Du hast nicht irgendwo Leerzeichen dazugebastelt), bei 127

                Kommentar


                  #98
                  127 war mein Startwert, ändere das jetzt nochmal

                  Kommentar


                    #99
                    Hat auch nicht geholfen:
                    12.09.2023 20:41:52 (IP: 172.x.x.x) (Port: 443)
                    (Send: 256) 0x50 0x4f 0x53 0x54 0x20 0x2f 0x6c 0x61 0x6c 0x61 0x2e 0x63 0x67 0x69 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x30 0xd 0xa 0x48 0x6f 0x73 0x74 0x3a 0x20 0x31 0x37 0x32 0x2e 0x32 0x34 0x2e 0x31 0x37 0x34 0x2e 0x31 0x30 0x30 0x3a 0x34 0x34 0x33 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x4c 0x65 0x6e 0x67 0x74 0x68 0x3a 0x20 0x31 0x32 0x37 0xd 0xa 0x43 0x6f 0x6e 0x74 0x65 0x6e 0x74 0x2d 0x54 0x79 0x70 0x65 0x3a 0x20 0x61 0x70 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f 0x6a 0x73 0x6f 0x6e 0xd 0xa 0xd 0xa 0x7b 0x22 0x45 0x4e 0x45 0x52 0x47 0x59 0x22 0x3a 0x7b 0x22 0x47 0x55 0x49 0x5f 0x48 0x4f 0x55 0x53 0x45 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x47 0x52 0x49 0x44 0x5f 0x50 0x4f 0x57 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x49 0x4e 0x56 0x45 0x52 0x54 0x45 0x52 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22 0x22 0x2c 0x22 0x47 0x55 0x49 0x5f 0x42 0x41 0x54 0x5f 0x44 0x41 0x54 0x41 0x5f 0x50 0x4f 0x57 0x45 0x52 0x22 0x3a 0x22
                    POST /lala.cgi HTTP/1.0
                    Host: 172.x.x.x:443
                    Content-Length: 127
                    Content-Type: application/json

                    {"ENERGY":{"GUI_HOUSE_POW":"","GUI_GRID_POW":"" ,"G UI_INVERTER_POWER":"","GUI_BAT_DATA_POWER":"​

                    Kommentar


                      Hänge Deine Abfrage bitte mal als hslib hier an den Thread. Ich kann so nicht nachvollziehen wo das Problem liegt.

                      Kommentar


                        Hallo zusammen,

                        hier wird ja fleißig die Problemlösung mit dem Gira HS diskutiert. Hat sich das Thema auch schon jemand für den X1 angeschaut?
                        In der Vergangenheit hat das Auslesen ja mit dem Baustein Web Request und XML/JSON-Parser gut funktioniert. Jetzt mit der Umstellung auf https läuft das leider auch nicht mehr. Wer könnte da helfen?

                        Grüße

                        Kommentar


                          Hallo sti87,

                          bei mir sieht es genauso aus wie bei be1001, außer das meine contentlenght mit 157 von Postman ausgegeben wird.
                          ich bekomme leider keine Antwort vom Senecspeicher.

                          Gruss aus Köln

                          Kommentar


                            Servus Miguel,

                            hatte mit be1001 eine Remote-Session, es lag tatsächlich an einer falschen Content-Length.

                            Schick doch mal Deine Postman Konfig und Ergebnisse.

                            Viele Grüsse

                            Kommentar


                              Ich vermute das diese Abfrage beim SENEC 4 nicht mehr funktioniert. Kann das jemand bestätigen ? Ich rufe die Werte über ioBroker ab.

                              Kommentar


                                Leider nein, ich habe (noch) einen 2.1 - kann es Dir also nicht sagen.

                                Geht die API wenn Du diese manuell ansteuerst? https://<ip>/lala.cgi

                                Kommentar

                                Lädt...
                                X