Heizungssteuerung - Siemens Webserver OZW 672 auslesen

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Tico
    Lox Guru
    • 31.08.2016
    • 1035

    #16
    Ich habe nur das HTTP-Antwort speichern mit answer.html verwendet. Ich nehme an, dass xml genauso funktionieren sollte.

    Schlagen Sie vor, dass Sie zu answer.html wechseln und sehen, was passiert. Probieren Sie auch answer.txt aus.
    Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

    Kommentar

    • Tico
      Lox Guru
      • 31.08.2016
      • 1035

      #17
      Und versuchen Sie es auch mit einem Schrägstrich vor dem Benutzer -
      Code:
      /user/common/answer.xml
      Ich habe verwirrende Ergebnisse zwischen der Verwendung des zusätzlichen Schrägstrichs oder nicht.
      Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

      Kommentar

      • Canbus
        Azubi
        • 06.08.2021
        • 3

        #18
        Hello. I am asking for your advice. I am solving API communication between Loxone Miniserver and OZW672. How did you do it? It doesn't work for me because I'm making a mistake somewhere. What do I have to do first? Where should I put the command 192.168.1.101/api/auth/login.json?user=Administrator&pwd=xxxxxxxxx
        Excuse my pronunciation, I come from Slovakia.​

        Kommentar

        • Tico
          Lox Guru
          • 31.08.2016
          • 1035

          #19
          I don't have a OZW672, but I'm just using experience with general Loxone functions. Unfortunately this process is quiet complex when a SessionID is required to make a subsequent request to a device. It should be possible though.

          You will need to create a Virtual Output first. This can be triggered by a variety of means but just create a Virtual Input Push Button to start. The Virtual Output will poll the OZW672 to retrieve the SessionID that will be used later.

          Klicke auf die Grafik für eine vergrößerte Ansicht  Name: Push Button.png Ansichten: 0 Größe: 4,1 KB ID: 378325
          The Virtual Output should have the 'Address' replaced with that of the OZW672.

          Klicke auf die Grafik für eine vergrößerte Ansicht  Name: OZW672 Address.png Ansichten: 0 Größe: 14,9 KB ID: 378326


          The Virtual Output 'Command for ON' should look like this -
          (MyUsername and MyPassword are the credentials for the OZW672)

          Klicke auf die Grafik für eine vergrößerte Ansicht  Name: Username.png Ansichten: 0 Größe: 31,4 KB ID: 378327

          Ensure you enter the 'Save HTTP Reply' text and change MyUsername and MyPassword to the credentials of your OZW672. Save this in the Miniserver, then trigger the Virtual Output using the Push Button created earlier. Nothing will be visible as a response, but the Miniserver will poll the OZW672 and should save the SessionID to a file on the Miniserver SD card.

          You can now check this has occured by opening any browser window and navigating to the following address -

          Code:
          http://Username:Password@Your_miniserver_IP_address:Port/answer.html​
          Note that the Username:Password above are your Miniserver credentials. Don't forget to enter the Port defined for the Miniserver. An example is as follows -

          Code:
          http://admin:secret@192.168.251.2:50122/answer.html​
          Post a screenshot of the response in the browser and there should be 'SessionID' listed somewhere in the text. This is the first small step in a longer process....
          Zuletzt geändert von Tico; 02.10.2023, 03:23.
          Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.

          Kommentar

          • lab007
            Dumb Home'r
            • 19.04.2020
            • 21

            #20
            Gibts diesbezüglich schon Neuigkeiten den Siemens Webserver OZW 672 auslesen zu können?
            eventuell neue Geräte am Markt?

            Kommentar


            • Tico
              Tico kommentierte
              Kommentar bearbeiten
              Haben Sie die oben in Beitrag #19 beschriebenen Schritte ausprobiert? Was war das Ergebnis, als Sie zu - navigierten?

              Code:
              http://Username:Password@Your_miniserver_IP_address:Port/answer.html
          Lädt...