Schlagen Sie vor, dass Sie zu answer.html wechseln und sehen, was passiert. Probieren Sie auch answer.txt aus.
Heizungssteuerung - Siemens Webserver OZW 672 auslesen
Einklappen
X
-
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. -
Und versuchen Sie es auch mit einem Schrägstrich vor dem Benutzer -
Code:/user/common/answer.xml
Ich spreche kein Deutsch. Gib Google Translate die Schuld, wenn ich unverständlich bin.Kommentar
-
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
-
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.
The Virtual Output should have the 'Address' replaced with that of the OZW672.
The Virtual Output 'Command for ON' should look like this -
(MyUsername and MyPassword are the credentials for the OZW672)
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
Code:http://admin:secret@192.168.251.2:50122/answer.html
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
-
Gibts diesbezüglich schon Neuigkeiten den Siemens Webserver OZW 672 auslesen zu können?
eventuell neue Geräte am Markt?
Kommentar
Kommentar