HTTOMOD-https Login mit Session ID - CATERVA-Stromspeicher

Begonnen von Petrosilius Zwackelmann, 11 August 2015, 00:49:36

Vorheriges Thema - Nächstes Thema

Petrosilius Zwackelmann

Hallo Experten,
mein Ziel ist es alle Leistungsdaten aus meinem Stromspeicher auszulesen...
--> Bilder im Anhabg

Ich habe mich an der Wiki-Seite orientiert und mit Burp die Kommunikation aufgezeichnet...
--> Ergebnis im Anhang


Diese Login Seite kann mach mit folgendem Link aufrufen...
https://app.caterva.de/


Meine bisherige Konfiguration sieht so aus:
define ESS HTTPMOD https://app.caterva.de/currentvalues 60
attr ESS userattr requestHeader1 sid1Data sid1Header sid1IDRegex sid1URL
attr ESS requestHeader1 Accept: text/html
attr ESS sid1Data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}
attr ESS sid1Header Accept: text/html
attr ESS sid1IDRegex JSESSIONID=([0-9A-Z]*);;
attr ESS sid1URL https://app.caterva.de/j_security_check


Als Resultat erhalte ich folgende Zeilen der Login-Seite im Buffer:
HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Cache-Control: private Expires: Thu, 01 Jan 1970 01:00:00 CET Set-Cookie: JSESSIONID=AD122FCB42099391F0671BBAEA2D2D84; Path=/; Secure; HttpOnly Content-Type: text/html;charset=UTF-8 Content-Length: 1982 Date: Mon, 10 Aug 2015 10:42:44 GMT Connection: close <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta> <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta> <link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link> <link href="favicon.png" type="image/png" rel="icon"></link> <link href="css/app.css" type="text/css" rel="stylesheet"></link> <title>Caterva ESS</title> </head> <body> <div id="main"> <div id="header"> <img class="headerimg" src="images/bg.png" alt=""> <a class="logo" href="/;jsessionid=AD122FCB42099391F0671BBAEA2D2D84"> <img src="images/sonne.png" id="menuButton" alt="Sonne"> </a> <img src="images/logo.png" id="catervalogo" alt="Caterva"> <img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie"> <div class="title"> </div> <div class="subtitle"> </div> </div> <div id="content"> <img class="currentbackground" src="images/bg2.png" alt="" /> <form action="j_security_check" method="post"> <div id="login-form"> <div id="login-box"> <span class="login-labels">Name:</span> <input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus> <br/> <span class="login-labels">Passwort:</span> <input class="login-textboxes" type="password" maxlength="30" name="j_password"> <a id="show-password-link" href="login;jsessionid=AD122FCB42099391F0671BBAEA2D2D84?show=1"> <span id="show-password-checkbox"> <img id="show-password-back-img" src="images/blank.png" /> </span> </a> <span id="show-password-text">Passwort anzeigen</span> <br/><br/> <input id="login-button" type="submit" value="Anmelden"> </div> </div> </form> </div> </div> </body> </html>


Als Fehlermeldungen findet sich folgendes im Logfile:
ESS: Read response to Update didn't match any Reading(s)
ESS: AddToQueue - send queue too long, dropping request



Kann mir jemand helfen diese Login-Prozedur erfolgreich zu durchlaufen?
Danke für eure Hilfe
Manuel
FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

StefanStrobel

Hallo,

wenn die Konfiguration so wie Du sie gepostet hast vollständig ist, dann fehlt die Definition von Readings. entsprechend erscheint im Log dass die Response bei update zu keinem Reading bzw. zu keiner ReadingRegex gematcht hat.

Poste doch mal einen längeren Auszug aus dem Log mit verbose 5 für HTTPMOD, so dass man sieht, was bei der Authentisierung genau passiert.

Gruss
  Stefan

Petrosilius Zwackelmann

Hallo Stefan,

danke für dein Feedback....

Reading habe ich bisher noch keine erstellt da ich im Buffer bisher nur die Login Seite habe. Sobald diese "überwuden" ist wollte ich die Readings definieren.

Ich denke ich muss mich an deinem Wiki Beispiel "Example for a multi step login procedure: orientieren...
Ich habe Probleme zu erkennen wie du zu folgender Konfiguration kommst, da die http-Kommunikation dazu fehlt, auch ist es nur ein Auszug der Config....

attr PM sid1IDRegex wui.init\('([^']+)'
attr PM sid2Data {"set" :{"9.17401.user" :"fhem" ,"9.17401.pass" :"password" }}
attr PM sid3Data {"set" :{"35.5062.value" :"128" }}
attr PM sid4Data {"set" :{"42.8026.code" :"pincode" }}



Kann ich irgendwie erkennen ob das Einlesen der Session-ID geklappt hat?

Log mit Verbose 5 sieht wie folgt aus...



2015.08.15 21:26:14 5: ESS: HandleSendQueue called, qlen = 0
2015.08.15 21:26:14 3: ESS: Read response to Update didn't match any Reading(s)
2015.08.15 21:26:14 5: ESS: Read starts extracting all Readings from HTTP Response to Update


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=CF0E14774C26518EC8746ABCEF2AA539?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=CF0E14774C26518EC8746ABCEF2AA539">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Sat, 15 Aug 2015 19:26:14 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=CF0E14774C26518EC8746ABCEF2AA539; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.15 21:26:14 5: ESS: Read Callback: Request type was Update,
2015.08.15 21:26:14 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.15 21:26:14 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.15 21:26:13 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.15 21:26:13 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data , header Accept: text/html, timeout 2
2015.08.15 21:26:13 5: ESS: HandleSendQueue called, qlen = 1
2015.08.15 21:26:13 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data , header Accept: text/html
2015.08.15 21:26:13 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.15 21:26:13 4: ESS: GetUpdate called
2015.08.15 21:26:13 0: Server started with 123 defined entities (version $Id: fhem.pl 8952 2015-07-13 12:30:26Z rudolfkoenig $, os linux, user fhem, pid 15485)
2015.08.15 21:26:13 0: Featurelevel: 5.6
2015.08.15 21:26:13 1: Including ./log/fhem.save
2015.08.15 21:25:45 3: ESS: Defined with URL https://app.caterva.de/currentvalues and interval 60
2015.08.15 21:25:45 1: Including ./FHEM/00_Caterva.cfg
2015.08.15 21:25:16 0: Server shutdown
2015.08.15 21:25:16 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:25:16 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:24:08 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:24:08 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:24:08 3: ESS: AddToQueue - send queue too long, dropping request
2015.08.15 21:24:08 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data , header Accept: text/html
2015.08.15 21:24:08 5: ESS: AddToQueue called, initial send queue length : 21
2015.08.15 21:24:08 4: ESS: GetUpdate called
2015.08.15 21:08:08 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:08:08 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:08:04 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:08:04 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:08:03 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:08:03 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:08:02 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:08:02 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:08:01 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:08:01 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:08:00 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:08:00 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:59 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:59 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:58 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:58 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:57 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:57 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:56 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:56 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:55 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:55 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:54 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:54 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:53 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:53 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:52 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:52 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:51 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:51 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:50 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:50 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:49 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:49 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:48 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:48 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:47 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:47 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:46 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:46 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:45 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:45 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:44 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:44 5: ESS: HandleSendQueue called, qlen = 21
2015.08.15 21:07:43 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.15 21:07:43 5: ESS: HandleSendQueue called, qlen = 21



LG Manuel
FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

StefanStrobel

Hallo Manuel,

es fehlt eine ReAuthRegex. HTTPMOD führt die Login Prozedur deshalb gar nicht durch.

Gruss
   Stefan

Petrosilius Zwackelmann

Hallo Stefan,

danke für den Hinweis...

Ich habe wie folgt erweitert
define ESS HTTPMOD https://app.caterva.de/currentvalues 60
attr ESS userattr reAuthRegex requestHeader1 sid1Data sid1Header sid1IDRegex sid1URL sid2Data verbose
[color=red]attr ESS reAuthRegex .*show-password-text.*[/color]
attr ESS requestHeader1 Accept: text/html
attr ESS room CATERVA
attr ESS sid1Header Accept: text/html
attr ESS sid1IDRegex JSESSIONID=([0-9A-Z]*);;
attr ESS sid1URL https://app.caterva.de/j_security_check
attr ESS sid2Data {"set" :{"j_username" :"geheim" ,"j_password" :"sehr geheim" }}
attr ESS verbose 5


Nun scheint der Loginversuch gestartet zu werden. Leider ohne Erfolg.
2015.08.16 09:26:28 5: ESS: HandleSendQueue called, qlen = 0
2015.08.16 09:26:28 3: ESS: Read response to Update didn't match any Reading(s)
2015.08.16 09:26:28 5: ESS: Read starts extracting all Readings from HTTP Response to Update
2015.08.16 09:26:28 4: ESS: Read has no more retries left - did authentication fail?
2015.08.16 09:26:28 4: ESS: Read decided new authentication required
2015.08.16 09:26:28 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*



Vermutlich ein Fehler in folgender Zeile...
attr ESS sid2Data {"set" :{"j_username" :"geheim" ,"j_password" :"sehr geheim" }}

Kannst du hier nochmal weiterhelfen?

LG Manuel
FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

StefanStrobel

Hallo Manuel,

Die entscheidenden Zeilen fehlen in dem Log-Ausschnitt. Die eigentlichen Authentisierungsversuche müssen vorher im Protokoll stehen.
So wie ich Deine Konfiguration verstehe, schickst Du zunächst einen Get Request an die URL, die für den ersten Authentisierungs-Schritt angegeben ist. Für den ersten Request hast Du auch einen Header angegeben. Danach (Schritt 2) machst Du einen Post Request (Data definiert), für den aber keine URL und kein Header angegeben sind. Das funktioniert sicher nicht.

Wenn die Authentisierungs mit einem einzigen Request durchgeführt werden kann, dann müsstest Du statt sid2Data sid1Data angeben. Wenn Du mehrere Requests schicken willst, dann musst Du bei den Folgeschritten auch URLs, Header etc. angeben.
Wenn die URL und die Header für alle Schritte gleich sind, dann kannst Du auch per sidHeader bzw. sidURL (ohne Zahl dazwischen) die Werte für alle Requests in der Login-Prozedur gemeinsam angeben.

Ich hoffe das hilft Dir weiter.

Gruß
    Stefan

Petrosilius Zwackelmann

#6
Hallo Stefan,

ich habe die CFG angepasst.....
sid1xx  sind nun die Daten zur Login Seite die überwunden werden muss bevor ich zu meiner
sid2Url mit den eigentlichen Daten gelangen will.

Da beide Urls den gleichen Header verlangen habe ich hier nun eine sidHeader (ohne Zahl definiert)
Leider ist als ergebnis nur wieder die Login-Seite im Buffer.

Ich hoffe ich habe nun alle Logzeilen erwischt die relevant sind...
Vielleicht kannst du sehen woran es krankt.
Danke für deine Geduld und Unterstützung.

LG Manuel


CFG
###########################            HTTPMOD                 ############################################

define ESS HTTPMOD https://app.caterva.de/currentvalues 60
attr ESS userattr reAuthRegex requestHeader1 sid1Data sid1Header sid1IDRegex sid1URL sid2Data sid2URL sidHeader verbose
attr ESS reAuthRegex .*show-password-text.*
attr ESS room CATERVA
attr ESS sid1Data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}
attr ESS sid1IDRegex JSESSIONID=([0-9A-Z]*);;
attr ESS sid1URL https://app.caterva.de/j_security_check
attr ESS sid2URL https://app.caterva.de/currentvalues
attr ESS sidHeader Accept: text/html
attr ESS verbose 5



LOG
2015.08.19 07:08:35 5: ESS: HandleSendQueue called, qlen = 0
2015.08.19 07:08:35 3: ESS: Read response to Update didn't match any Reading(s)
2015.08.19 07:08:35 5: ESS: Read starts extracting all Readings from HTTP Response to Update
2015.08.19 07:08:35 4: ESS: Read has no more retries left - did authentication fail?
2015.08.19 07:08:35 4: ESS: Read decided new authentication required
2015.08.19 07:08:35 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=3F8F826209DC465A9E4CCDF06F737C28?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=3F8F826209DC465A9E4CCDF06F737C28">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:08:35 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=3F8F826209DC465A9E4CCDF06F737C28; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:08:35 5: ESS: Read Callback: Request type was Update,
2015.08.19 07:08:35 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.19 07:08:35 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.19 07:08:34 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.19 07:08:34 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data , header , timeout 2
2015.08.19 07:08:34 5: ESS: HandleSendQueue called, qlen = 1


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=707088D06990C63A0016E9818DDA8CEF?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=707088D06990C63A0016E9818DDA8CEF">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:08:34 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=707088D06990C63A0016E9818DDA8CEF; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:08:34 5: ESS: Read Callback: Request type was Auth2,
2015.08.19 07:08:34 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.19 07:08:34 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.19 07:08:33 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.19 07:08:33 4: ESS: HandleSendQueue sends request type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html, timeout 2
2015.08.19 07:08:33 5: ESS: HandleSendQueue called, qlen = 2
2015.08.19 07:08:33 5: ESS: Read set sid to B4FCCD481F937931F85CDBF8FDDEE875


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=B4FCCD481F937931F85CDBF8FDDEE875?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<span id="error-message">Ung&uuml;ltige Name oder Passwort!</span>

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=B4FCCD481F937931F85CDBF8FDDEE875">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:08:32 GMT
Content-Length: 2057
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=B4FCCD481F937931F85CDBF8FDDEE875; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:08:33 5: ESS: Read Callback: Request type was Auth1,
2015.08.19 07:08:33 4: HttpUtils https://app.caterva.de/j_security_check: Got data, length: 2057
2015.08.19 07:08:33 4: https://app.caterva.de/j_security_check: HTTP response code 200
2015.08.19 07:08:32 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.19 07:08:32 5: ESS: HandleSendQueue called, qlen = 2
2015.08.19 07:08:32 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data , header
2015.08.19 07:08:32 5: ESS: AddToQueue called, initial send queue length : 1
2015.08.19 07:08:32 4: ESS: Read is requeuing request Update after Auth, retryCount 1 ...
2015.08.19 07:08:32 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.19 07:08:32 5: ESS: HandleSendQueue called, qlen = 1
2015.08.19 07:08:32 5: ESS: AddToQueue adds type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html
2015.08.19 07:08:32 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.19 07:08:32 4: HttpUtils url=https://app.caterva.de/j_security_check
2015.08.19 07:08:32 4: ESS: HandleSendQueue sends request type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}, header Accept: text/html, timeout 2
2015.08.19 07:08:32 5: ESS: HandleSendQueue called, qlen = 1
2015.08.19 07:08:32 5: ESS: AddToQueue adds type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}, header Accept: text/html
2015.08.19 07:08:32 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.19 07:08:32 4: ESS: Auth called with Steps: 1 2
2015.08.19 07:08:32 4: ESS: Read decided new authentication required
2015.08.19 07:08:32 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=A1FB9AB7919F727C1F610C4AA78967B1?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=A1FB9AB7919F727C1F610C4AA78967B1">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:08:32 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=A1FB9AB7919F727C1F610C4AA78967B1; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:08:32 5: ESS: Read Callback: Request type was Update,
2015.08.19 07:08:32 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.19 07:08:32 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.19 07:08:32 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.19 07:08:32 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data , header , timeout 2
2015.08.19 07:08:32 5: ESS: HandleSendQueue called, qlen = 1
2015.08.19 07:08:32 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data , header
2015.08.19 07:08:32 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.19 07:08:32 4: ESS: GetUpdate called
2015.08.19 07:07:35 5: ESS: HandleSendQueue called, qlen = 0
2015.08.19 07:07:35 3: ESS: Read response to Update didn't match any Reading(s)
2015.08.19 07:07:35 5: ESS: Read starts extracting all Readings from HTTP Response to Update
2015.08.19 07:07:35 4: ESS: Read has no more retries left - did authentication fail?
2015.08.19 07:07:35 4: ESS: Read decided new authentication required
2015.08.19 07:07:35 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=FFE692D3889C4737170344CD3619E9CD?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=FFE692D3889C4737170344CD3619E9CD">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:07:35 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=FFE692D3889C4737170344CD3619E9CD; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:07:35 5: ESS: Read Callback: Request type was Update,
2015.08.19 07:07:35 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.19 07:07:35 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.19 07:07:34 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.19 07:07:34 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data , header , timeout 2
2015.08.19 07:07:34 5: ESS: HandleSendQueue called, qlen = 1


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=75B910575ED3799EA3CBDE4F0C336355?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=75B910575ED3799EA3CBDE4F0C336355">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:07:34 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=75B910575ED3799EA3CBDE4F0C336355; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:07:34 5: ESS: Read Callback: Request type was Auth2,
2015.08.19 07:07:34 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.19 07:07:34 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.19 07:07:33 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.19 07:07:33 4: ESS: HandleSendQueue sends request type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html, timeout 2
2015.08.19 07:07:33 5: ESS: HandleSendQueue called, qlen = 2
2015.08.19 07:07:33 5: ESS: Read set sid to F2A072EDE5681B8ADF2F3FEC59B3009B


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=F2A072EDE5681B8ADF2F3FEC59B3009B?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<span id="error-message">Ung&uuml;ltige Name oder Passwort!</span>

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=F2A072EDE5681B8ADF2F3FEC59B3009B">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:07:32 GMT
Content-Length: 2057
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=F2A072EDE5681B8ADF2F3FEC59B3009B; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:07:33 5: ESS: Read Callback: Request type was Auth1,
2015.08.19 07:07:33 4: HttpUtils https://app.caterva.de/j_security_check: Got data, length: 2057
2015.08.19 07:07:33 4: https://app.caterva.de/j_security_check: HTTP response code 200
2015.08.19 07:07:32 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.19 07:07:32 5: ESS: HandleSendQueue called, qlen = 2
2015.08.19 07:07:32 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data , header
2015.08.19 07:07:32 5: ESS: AddToQueue called, initial send queue length : 1
2015.08.19 07:07:32 4: ESS: Read is requeuing request Update after Auth, retryCount 1 ...
2015.08.19 07:07:32 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.19 07:07:32 5: ESS: HandleSendQueue called, qlen = 1
2015.08.19 07:07:32 5: ESS: AddToQueue adds type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html
2015.08.19 07:07:32 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.19 07:07:32 4: HttpUtils url=https://app.caterva.de/j_security_check
2015.08.19 07:07:32 4: ESS: HandleSendQueue sends request type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}, header Accept: text/html, timeout 2
2015.08.19 07:07:32 5: ESS: HandleSendQueue called, qlen = 1
2015.08.19 07:07:32 5: ESS: AddToQueue adds type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}, header Accept: text/html
2015.08.19 07:07:32 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.19 07:07:32 4: ESS: Auth called with Steps: 1 2
2015.08.19 07:07:32 4: ESS: Read decided new authentication required
2015.08.19 07:07:32 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=F91238C2C7B32BB92CCCF7062096A82C?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=F91238C2C7B32BB92CCCF7062096A82C">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Wed, 19 Aug 2015 05:07:32 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=F91238C2C7B32BB92CCCF7062096A82C; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.19 07:07:32 5: ESS: Read Callback: Request type was Update,
2015.08.19 07:07:32 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.19 07:07:32 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.19 07:07:32 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.19 07:07:32 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data , header , timeout 2
2015.08.19 07:07:32 5: ESS: HandleSendQueue called, qlen = 1
2015.08.19 07:07:32 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data , header
2015.08.19 07:07:32 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.19 07:07:32 4: ESS: GetUpdate called
Error read from https://app.caterva.de:443 timed out
2015.08.19 07:06:36 3: ESS: Read callback: request type was Update, no headers, buffer empty,
2015.08.19 07:06:32 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.19 07:06:32 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data , header , timeout 2
2015.08.19 07:06:32 5: ESS: HandleSendQueue called, qlen = 1
2015.08.19 07:06:32 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data , header
2015.08.19 07:06:32 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.19 07:06:32 4: ESS: GetUpdate called
2015.08.19 07:06:32 0: Server started with 124 defined entities (version $Id: fhem.pl 8952 2015-07-13 12:30:26Z rudolfkoenig $, os linux, user fhem, pid 5831)
2015.08.19 07:06:32 0: Featurelevel: 5.6
2015.08.19 07:06:06 3: ESS: Defined with URL https://app.caterva.de/currentvalues and interval 60
2015.08.19 07:06:06 1: Including ./FHEM/00_Caterva.cfg
2015.08.19 07:05:43 2: eventTypes: loaded 714 events from ./log/eventTypes.txt
2015.08.19 07:05:43 3: WEB: port 8083 opened
2015.08.19 07:05:42 3: telnetPort: port 7072 opened
2015.08.19 07:05:42 1: Including fhem.cfg
2015.08.19 07:05:40 0: Server shutdown
FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

StefanStrobel

Hallo,

wir nähern uns der Sache ;-)
Jetzt scheinen noch die richtigen Header für den eigentlichen Request zu fehlen.
Schau doch noch mal in Deiner Aufzeichnung der Kommunikation mit Burp, welche Header / Post Daten bei einer Anfrage mitgeschickt werden müssen. Bei HTTPMOD werden das dann die Attribute requestHeader und requestData.
Insbesondere muss nach dem Login die authentisierte Session-Id auch weiterverwendet werden. In Deinem Fall als Cookie. Die ermittelte Session-Id kann als $sid angegeben werden, z.B.

attr ESS requestHeader2 Cookie: JSESSIONID=$sid


Gruss
    Stefan

Petrosilius Zwackelmann

Hallo Stefan,

dake für deine Rückmeldung und deinen Optimismus.

ZitatInsbesondere muss nach dem Login die authentisierte Session-Id auch weiterverwendet werden. In Deinem Fall als Cookie. Die ermittelte Session-Id kann als $sid angegeben werden, z.B.

attr ESS requestHeader2 Cookie: JSESSIONID=$sid

Diese Zeile habe ich aufgenommen.....

ZitatSchau doch noch mal in Deiner Aufzeichnung der Kommunikation mit Burp, welche Header / Post Daten bei einer Anfrage mitgeschickt werden müssen. Bei HTTPMOD werden das dann die Attribute requestHeader und requestData.

ich habe hier nochmal den Burp Request...
Diesmal hatte ich die Übermittlung des Passwortes und des Benutzernamens dabei was in meinem ersten Post nicht der Fall war....


POST /j_security_check HTTP/1.1
Host: app.caterva.de
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://app.caterva.de/index.html
Cookie: JSESSIONID=56A24F6121774E5FFC550552200E0D8F
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 36

j_username=geheim&j_password=sehrgeheim


Somit habe ich
von:  attr ESS sid1Data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}
nach: attr ESS sid1Data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}
geändert. Ist das aus deiner Sicht ok?

Zusätzlich habe ich nun folgende Zeilen aufgenommen...

attr ESS requestData /j_security_check HTTP/1.1
attr ESS requestHeader Content-Type: application/x-www-form-urlencoded

Leider kann ich wegen der Session ID in Burp im repeater nicht testen auf welche Zeilen es ankommt.
Falls ich alle Header übernehmen soll werden diese dann als Header1, Header2.... aufgelistet?
Die Session ID hattest du als Header2 eingetragen, obwohl es keinen Header1 gab. Da kann ich das System nicht so recht erkennen.
Bitte hier nochmal um Hilfestellung.

Config
define ESS HTTPMOD https://app.caterva.de/currentvalues 60
attr ESS userattr reAuthRegex requestData requestHeader requestHeader1 requestHeader2 sid1Data sid1Header sid1IDRegex sid1URL sid2Data sid2URL sidHeader verbose
attr ESS reAuthRegex .*show-password-text.*
attr ESS requestData /j_security_check HTTP/1.1
attr ESS requestHeader Content-Type: application/x-www-form-urlencoded
attr ESS requestHeader2 Cookie: JSESSIONID=$sid
attr ESS room CATERVA
attr ESS sid1Data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}
attr ESS sid1IDRegex JSESSIONID=([0-9A-Z]*);;
attr ESS sid1URL https://app.caterva.de/j_security_check
attr ESS sid2URL https://app.caterva.de/currentvalues
attr ESS sidHeader Accept: text/html
attr ESS verbose 5


LOG
2015.08.20 08:45:30 5: ESS: HandleSendQueue called, qlen = 0
2015.08.20 08:45:30 3: ESS: Read response to Update didn't match any Reading(s)
2015.08.20 08:45:30 5: ESS: Read starts extracting all Readings from HTTP Response to Update
2015.08.20 08:45:30 4: ESS: Read has no more retries left - did authentication fail?
2015.08.20 08:45:30 4: ESS: Read decided new authentication required
2015.08.20 08:45:30 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:45:30 GMT
Content-Length: 1894
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=52B739D6F60116034DC1BBC6AA528A4A; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:45:30 5: ESS: Read Callback: Request type was Update,
2015.08.20 08:45:30 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1894
2015.08.20 08:45:30 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:45:30 4: HttpUtils url=https://app.caterva.de/currentvalues
Cookie: JSESSIONID=3D9B2D6DA1F3E5C7FDABC060EB77CAC6, timeout 2
2015.08.20 08:45:30 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:45:30 5: ESS: HandleSendQueue called, qlen = 1


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=D7E29F2B0A353A4BDBFCFF3CAF82829F?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=D7E29F2B0A353A4BDBFCFF3CAF82829F">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:45:29 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=D7E29F2B0A353A4BDBFCFF3CAF82829F; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:45:29 5: ESS: Read Callback: Request type was Auth2,
2015.08.20 08:45:29 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.20 08:45:29 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:45:29 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.20 08:45:29 4: ESS: HandleSendQueue sends request type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html, timeout 2
2015.08.20 08:45:29 5: ESS: HandleSendQueue called, qlen = 2
2015.08.20 08:45:28 5: ESS: Read set sid to 3D9B2D6DA1F3E5C7FDABC060EB77CAC6


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=3D9B2D6DA1F3E5C7FDABC060EB77CAC6?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<span id="error-message">Ung&uuml;ltige Name oder Passwort!</span>

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=3D9B2D6DA1F3E5C7FDABC060EB77CAC6">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:45:28 GMT
Content-Length: 2057
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=3D9B2D6DA1F3E5C7FDABC060EB77CAC6; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:45:28 5: ESS: Read Callback: Request type was Auth1,
2015.08.20 08:45:28 4: HttpUtils https://app.caterva.de/j_security_check: Got data, length: 2057
2015.08.20 08:45:28 4: https://app.caterva.de/j_security_check: HTTP response code 200
2015.08.20 08:45:28 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.20 08:45:28 5: ESS: HandleSendQueue called, qlen = 2
Cookie: JSESSIONID=$sid
2015.08.20 08:45:28 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:45:28 5: ESS: AddToQueue called, initial send queue length : 1
2015.08.20 08:45:28 4: ESS: Read is requeuing request Update after Auth, retryCount 1 ...
2015.08.20 08:45:28 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.20 08:45:28 5: ESS: HandleSendQueue called, qlen = 1
2015.08.20 08:45:28 5: ESS: AddToQueue adds type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html
2015.08.20 08:45:28 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:45:28 4: HttpUtils url=https://app.caterva.de/j_security_check
2015.08.20 08:45:28 4: ESS: HandleSendQueue sends request type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}, header Accept: text/html, timeout 2
2015.08.20 08:45:28 5: ESS: HandleSendQueue called, qlen = 1
2015.08.20 08:45:28 5: ESS: AddToQueue adds type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}, header Accept: text/html
2015.08.20 08:45:28 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:45:28 4: ESS: Auth called with Steps: 1 2
2015.08.20 08:45:28 4: ESS: Read decided new authentication required
2015.08.20 08:45:28 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:45:28 GMT
Content-Length: 1894
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=20F325A8F5DF63A22F9DB14991FA3921; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:45:28 5: ESS: Read Callback: Request type was Update,
2015.08.20 08:45:28 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1894
2015.08.20 08:45:28 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:45:27 4: HttpUtils url=https://app.caterva.de/currentvalues
Cookie: JSESSIONID=55E5149868C8AF423EC67E0FA78B0403, timeout 2
2015.08.20 08:45:27 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:45:27 5: ESS: HandleSendQueue called, qlen = 1
Cookie: JSESSIONID=$sid
2015.08.20 08:45:27 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:45:27 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:45:27 4: ESS: GetUpdate called
2015.08.20 08:44:30 5: ESS: HandleSendQueue called, qlen = 0
2015.08.20 08:44:30 3: ESS: Read response to Update didn't match any Reading(s)
2015.08.20 08:44:30 5: ESS: Read starts extracting all Readings from HTTP Response to Update
2015.08.20 08:44:30 4: ESS: Read has no more retries left - did authentication fail?
2015.08.20 08:44:30 4: ESS: Read decided new authentication required
2015.08.20 08:44:30 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:44:30 GMT
Content-Length: 1894
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=A170BE429F72268D0F8C3BD43D7E60CE; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:44:30 5: ESS: Read Callback: Request type was Update,
2015.08.20 08:44:30 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1894
2015.08.20 08:44:30 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:44:30 4: HttpUtils url=https://app.caterva.de/currentvalues
Cookie: JSESSIONID=55E5149868C8AF423EC67E0FA78B0403, timeout 2
2015.08.20 08:44:30 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:44:30 5: ESS: HandleSendQueue called, qlen = 1


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=73155A2989920EAC38B88CD96E845B07?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=73155A2989920EAC38B88CD96E845B07">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:44:29 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=73155A2989920EAC38B88CD96E845B07; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:44:29 5: ESS: Read Callback: Request type was Auth2,
2015.08.20 08:44:29 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.20 08:44:29 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:44:29 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.20 08:44:29 4: ESS: HandleSendQueue sends request type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html, timeout 2
2015.08.20 08:44:29 5: ESS: HandleSendQueue called, qlen = 2
2015.08.20 08:44:28 5: ESS: Read set sid to 55E5149868C8AF423EC67E0FA78B0403


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=55E5149868C8AF423EC67E0FA78B0403?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<span id="error-message">Ung&uuml;ltige Name oder Passwort!</span>

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=55E5149868C8AF423EC67E0FA78B0403">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:44:28 GMT
Content-Length: 2057
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=55E5149868C8AF423EC67E0FA78B0403; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:44:28 5: ESS: Read Callback: Request type was Auth1,
2015.08.20 08:44:28 4: HttpUtils https://app.caterva.de/j_security_check: Got data, length: 2057
2015.08.20 08:44:28 4: https://app.caterva.de/j_security_check: HTTP response code 200
2015.08.20 08:44:28 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.20 08:44:28 5: ESS: HandleSendQueue called, qlen = 2
Cookie: JSESSIONID=$sid
2015.08.20 08:44:28 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:44:28 5: ESS: AddToQueue called, initial send queue length : 1
2015.08.20 08:44:28 4: ESS: Read is requeuing request Update after Auth, retryCount 1 ...
2015.08.20 08:44:28 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.20 08:44:28 5: ESS: HandleSendQueue called, qlen = 1
2015.08.20 08:44:28 5: ESS: AddToQueue adds type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html
2015.08.20 08:44:28 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:44:28 4: HttpUtils url=https://app.caterva.de/j_security_check
2015.08.20 08:44:28 4: ESS: HandleSendQueue sends request type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}, header Accept: text/html, timeout 2
2015.08.20 08:44:28 5: ESS: HandleSendQueue called, qlen = 1
2015.08.20 08:44:28 5: ESS: AddToQueue adds type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}, header Accept: text/html
2015.08.20 08:44:28 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:44:28 4: ESS: Auth called with Steps: 1 2
2015.08.20 08:44:28 4: ESS: Read decided new authentication required
2015.08.20 08:44:28 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:44:28 GMT
Content-Length: 1894
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=F60268F7E766E19F57509E8BC90EE5BC; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:44:28 5: ESS: Read Callback: Request type was Update,
2015.08.20 08:44:28 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1894
2015.08.20 08:44:28 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:44:27 4: HttpUtils url=https://app.caterva.de/currentvalues
Cookie: JSESSIONID=7E834619E8BDE99BC542F644C95ADA23, timeout 2
2015.08.20 08:44:27 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:44:27 5: ESS: HandleSendQueue called, qlen = 1
Cookie: JSESSIONID=$sid
2015.08.20 08:44:27 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:44:27 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:44:27 4: ESS: GetUpdate called
2015.08.20 08:43:39 1: OWX: 1-Wire devices found on bus 1wire (OWAD_HUB)
2015.08.20 08:43:39 1: OWX: Search CRC failed
2015.08.20 08:43:30 5: ESS: HandleSendQueue called, qlen = 0
2015.08.20 08:43:30 3: ESS: Read response to Update didn't match any Reading(s)
2015.08.20 08:43:30 5: ESS: Read starts extracting all Readings from HTTP Response to Update
2015.08.20 08:43:30 4: ESS: Read has no more retries left - did authentication fail?
2015.08.20 08:43:30 4: ESS: Read decided new authentication required
2015.08.20 08:43:30 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:43:30 GMT
Content-Length: 1894
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=9B1B9B4AE32E94F7249A6CBBD701E1CC; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:43:30 5: ESS: Read Callback: Request type was Update,
2015.08.20 08:43:30 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1894
2015.08.20 08:43:30 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:43:30 4: HttpUtils url=https://app.caterva.de/currentvalues
Cookie: JSESSIONID=7E834619E8BDE99BC542F644C95ADA23, timeout 2
2015.08.20 08:43:30 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:43:30 5: ESS: HandleSendQueue called, qlen = 1


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=5D4880F6A5483C214ED8D64E80E3AB3A?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=5D4880F6A5483C214ED8D64E80E3AB3A">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:43:29 GMT
Content-Length: 1982
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=5D4880F6A5483C214ED8D64E80E3AB3A; Path=/; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 01:00:00 CET
Cache-Control: private
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:43:29 5: ESS: Read Callback: Request type was Auth2,
2015.08.20 08:43:29 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1982
2015.08.20 08:43:29 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:43:29 4: HttpUtils url=https://app.caterva.de/currentvalues
2015.08.20 08:43:29 4: ESS: HandleSendQueue sends request type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html, timeout 2
2015.08.20 08:43:29 5: ESS: HandleSendQueue called, qlen = 2
2015.08.20 08:43:29 5: ESS: Read set sid to 7E834619E8BDE99BC542F644C95ADA23


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login;jsessionid=7E834619E8BDE99BC542F644C95ADA23?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<span id="error-message">Ung&uuml;ltige Name oder Passwort!</span>

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/;jsessionid=7E834619E8BDE99BC542F644C95ADA23">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:43:28 GMT
Content-Length: 2057
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=7E834619E8BDE99BC542F644C95ADA23; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:43:29 5: ESS: Read Callback: Request type was Auth1,
2015.08.20 08:43:29 4: HttpUtils https://app.caterva.de/j_security_check: Got data, length: 2057
2015.08.20 08:43:29 4: https://app.caterva.de/j_security_check: HTTP response code 200
2015.08.20 08:43:28 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.20 08:43:28 5: ESS: HandleSendQueue called, qlen = 2
Cookie: JSESSIONID=$sid
2015.08.20 08:43:28 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:43:28 5: ESS: AddToQueue called, initial send queue length : 1
2015.08.20 08:43:28 4: ESS: Read is requeuing request Update after Auth, retryCount 1 ...
2015.08.20 08:43:28 5: ESS: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2015.08.20 08:43:28 5: ESS: HandleSendQueue called, qlen = 1
2015.08.20 08:43:28 5: ESS: AddToQueue adds type Auth2 to URL https://app.caterva.de/currentvalues, data , header Accept: text/html
2015.08.20 08:43:28 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:43:28 4: HttpUtils url=https://app.caterva.de/j_security_check
2015.08.20 08:43:28 4: ESS: HandleSendQueue sends request type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}, header Accept: text/html, timeout 2
2015.08.20 08:43:28 5: ESS: HandleSendQueue called, qlen = 1
2015.08.20 08:43:28 5: ESS: AddToQueue adds type Auth1 to URL https://app.caterva.de/j_security_check, data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}, header Accept: text/html
2015.08.20 08:43:28 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:43:28 4: ESS: Auth called with Steps: 1 2
2015.08.20 08:43:28 4: ESS: Read decided new authentication required
2015.08.20 08:43:28 5: ESS: Read is checking response with ReAuthRegex .*show-password-text.*


</html>
</body>
</div>
</div>
</form>
</div>
</div>
<input id="login-button" type="submit" value="Anmelden">
<br/><br/>
<span id="show-password-text">Passwort anzeigen</span>



</a>
</span>
<img id="show-password-back-img" src="images/blank.png" />
<span id="show-password-checkbox">
<a id="show-password-link" href="login?show=1">
<input class="login-textboxes" type="password" maxlength="30" name="j_password">


<span class="login-labels">Passwort:</span>
<br/>
<input class="login-textboxes" type="text" maxlength="20" name="j_username" autofocus>
<span class="login-labels">Name:</span>
<div id="login-box">

<div id="login-form">
<form action="j_security_check" method="post">
<img class="currentbackground" src="images/bg2.png" alt="" />
<div id="content">
</div>

</div>

<div class="subtitle">
</div>

<div class="title">



<img src="images/logo_nergie.png" id="nergielogo" alt="N-ergie">
<img src="images/logo.png" id="catervalogo" alt="Caterva">
</a>
<img src="images/sonne.png" id="menuButton" alt="Sonne">
<a class="logo" href="/">


<img class="headerimg" src="images/bg.png" alt="">
<div id="header">
<div id="main">
<body>
</head>
<title>Caterva ESS</title>
<link href="css/app.css" type="text/css" rel="stylesheet"></link>
<link href="favicon.png" type="image/png" rel="icon"></link>
<link href="favicon.ico" type="image/vnd.microsoft.icon" rel="shortcut icon"></link>
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"></meta>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<head>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


buffer:
Connection: close,
Date: Thu, 20 Aug 2015 06:43:28 GMT
Content-Length: 1894
Content-Type: text/html;charset=UTF-8
Set-Cookie: JSESSIONID=EA2EC176AD7E6CDC378706472EA30095; Path=/; Secure; HttpOnly
Server: Apache-Coyote/1.1
header: HTTP/1.1 200 OK
2015.08.20 08:43:28 5: ESS: Read Callback: Request type was Update,
2015.08.20 08:43:28 4: HttpUtils https://app.caterva.de/currentvalues: Got data, length: 1894
2015.08.20 08:43:28 4: https://app.caterva.de/currentvalues: HTTP response code 200
2015.08.20 08:43:27 4: HttpUtils url=https://app.caterva.de/currentvalues
Cookie: JSESSIONID=$sid, timeout 2
2015.08.20 08:43:27 4: ESS: HandleSendQueue sends request type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:43:27 5: ESS: HandleSendQueue called, qlen = 1
Cookie: JSESSIONID=$sid
2015.08.20 08:43:27 5: ESS: AddToQueue adds type Update to URL https://app.caterva.de/currentvalues, data /j_security_check HTTP/1.1, header Content-Type: application/x-www-form-urlencoded
2015.08.20 08:43:27 5: ESS: AddToQueue called, initial send queue length : 0
2015.08.20 08:43:27 4: ESS: GetUpdate called
2015.08.20 08:43:27 0: Server started with 124 defined entities (version $Id: fhem.pl 8952 2015-07-13 12:30:26Z rudolfkoenig $, os linux, user fhem, pid 7078)
2015.08.20 08:43:27 0: Featurelevel: 5.6
2015.08.20 08:43:01 3: ESS: Defined with URL https://app.caterva.de/currentvalues and interval 60
2015.08.20 08:43:01 1: Including ./FHEM/00_Caterva.cfg
2015.08.20 08:42:38 2: eventTypes: loaded 714 events from ./log/eventTypes.txt
2015.08.20 08:42:38 3: WEB: port 8083 opened
2015.08.20 08:42:38 3: telnetPort: port 7072 opened
2015.08.20 08:42:38 1: Including fhem.cfg
2015.08.20 08:42:35 0: Server shutdown
FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

StefanStrobel

Hallo,

Zitat von: Petrosilius Zwackelmann am 20 August 2015, 09:25:08
ich habe hier nochmal den Burp Request...
Diesmal hatte ich die Übermittlung des Passwortes und des Benutzernamens dabei was in meinem ersten Post nicht der Fall war....

POST /j_security_check HTTP/1.1
Host: app.caterva.de
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://app.caterva.de/index.html
Cookie: JSESSIONID=56A24F6121774E5FFC550552200E0D8F
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 36

j_username=geheim&j_password=sehrgeheim


Somit habe ich
von:  attr ESS sid1Data {"set" :{"j_username" :"geheim" ,"j_password" :"sehrgeheim" }}
nach: attr ESS sid1Data {"set" :{"j_username=geheim&j_password=sehrgeheim" }}
geändert. Ist das aus deiner Sicht ok?

ich würde
attr ESS sid1Data j_username=geheim&j_password=sehrgeheim
schreiben. Die geschweiften Klammern und Anführungszeichen sind in der Aufzeichnung nicht drin.

Zitat
Zusätzlich habe ich nun folgende Zeilen aufgenommen...

attr ESS requestData /j_security_check HTTP/1.1

Die Zeile ist nicht nötig. Das gehört nicht zu den Post-Daten.

Zitat
attr ESS requestHeader Content-Type: application/x-www-form-urlencoded

Leider kann ich wegen der Session ID in Burp im repeater nicht testen auf welche Zeilen es ankommt.
Falls ich alle Header übernehmen soll werden diese dann als Header1, Header2.... aufgelistet?
Die Session ID hattest du als Header2 eingetragen, obwohl es keinen Header1 gab. Da kann ich das System nicht so recht erkennen.
Bitte hier nochmal um Hilfestellung.

Die Attribute Header1, Header2 etc. werden einfach sortiert und hintereinander gehängt.
Deshalb würde ich bei der ersten Zeile mit 1 anfangen. Du kannst aber genauso bei 2,4 und 6 verwenden :-)

Im BURP Repeater kannst Du die Anfragen durchaus editieren und die aktuell gültige Session ID einsetzen und dann testen, welche Header wirklich nötig sind.

Gruss
    Stefan

StefanStrobel

Hallo,

ich hab mir die WebApp mal angesehen.

versuch mal folgende Konfiguration:

define caterva HTTPMOD https://app.caterva.de/currentvalues 120
attr caterva requestHeader1 Cookie: JSESSIONID=$sid
attr caterva reAuthRegex .*show-password-text.*

attr caterva sid1URL https://app.caterva.de/
attr caterva sid1IDRegex JSESSIONID=([0-9A-Z]+)

attr caterva sid2URL https://app.caterva.de/j_security_check
attr caterva sid2Header1 Content-Type: application/x-www-form-urlencoded
attr caterva sid2Header2 Cookie: JSESSIONID=$sid
attr caterva sid2Data j_username=geheim&j_password=ganzgeheim
attr caterva sid2IDRegex JSESSIONID=([0-9A-Z]+)

attr caterva reading01Name PV-Leistung
attr caterva reading01Regex pv-color">([\d\.\,]+|&ndash;;)</span

attr caterva reading02Name Einspeicherung
attr caterva reading02Regex batt-in-color">([\d\.\,]+|&ndash;;)</span

attr caterva reading03Name Ausspeicherung
attr caterva reading03Regex batt-out-color">([\d\.\,]+|&ndash;;)</span

attr caterva reading04Name Netzeinspeisung
attr caterva reading04Regex supply-color">([\d\.\,]+|&ndash;;)</span

attr caterva reading05Name Netzbezug
attr caterva reading05Regex purchase-color">([\d\.\,]+|&ndash;;)</span

attr caterva reading06Name Verbrauch
attr caterva reading06Regex consumption-color">([\d\.\,]+|&ndash;;)</span

attr caterva readingExpr ($val eq "&ndash;;" ? '-' : $val)

attr caterva stateFormat {sprintf("PV %s", ReadingsVal($name,"PV-Leistung",0))}
attr caterva enableControlSet 1
attr caterva room caterva



Was die Sache hier ein wenig schwieriger macht, ist dass die Applikation keine Session Fixation Schwachstelle hat sondern so wie sich das gehört beim Login eine neue SID vergibt. Daher muss man im ersten Schritt auf die Homepage gehen, dort eine SID extrahieren, sich mit dieser dann anmelden und dort wieder die neue SID extrahieren.
Das sind die sid1 und sid2 Attribute.

Gruss
    Stefan

Petrosilius Zwackelmann

Hallo Stefan,

danke für deine Unterstützung !!!
Were die Konfiguration ausprobieren und melde mich dann wieder.

Gruß Manuel
FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

Petrosilius Zwackelmann

#12
Hallo,

hier ein paar Screenshots wie die Auswertung meiner PV-Anlage mit Stromspeicher aussieht.
Auch die letzte Version der cfg ist dabei.

LG Manuel


Gerne würde ich den Verbrauch in Verbrauch/Tag anzeigen, dafür müsste ich aber die Tage seit einem Datum in der Vergangenheit berechnen.
Falls das jemand schon umgesetzt hat bin ich für einen Tipp dankbar.


FHEM 6 auf RaspPi V3:
HM_LAN / CUNX / HUEBridge /OneWire / Homebridge / SONOS / Harmony

StefanStrobel

Hallo Manuel,

Die Auswertung je Tag sollte mit dem Average- oder Statistics-Modul machbar sein.

In der neuen Version von HTTPMOD gibt es übrigens ein Attribut mit Namen enableCookies.
Damit sollte sich die Verwaltung der Session-ID in Deinem Fall stark vereinfachen lassen.
Vielleicht kannst Du es ja mal ausprobieren.

Gruß
    Stefan

StefanStrobel

Hier ein Beispiel, wie es mit enableCookies und Passwort im Keystore aussehen könnte:


define caterva HTTPMOD https://app.caterva.de/currentvalues 0
attr caterva enableControlSet 1
attr caterva enableCookies 1

attr caterva reading01Name PV-Leistung
attr caterva reading01Regex pv-color">([\d\.\,]+|&ndash;;)</span
# usw.

attr caterva readingOExpr ($val eq "&ndash;;" ? '-' : $val)

attr caterva replacement01Mode key
attr caterva replacement01Regex %%pw%%
attr caterva replacement01Value pw

attr caterva reAuthRegex .*show-password-text.*
attr caterva sid1URL https://app.caterva.de/
attr caterva sid2URL https://app.caterva.de/j_security_check
attr caterva sid2Header1 Content-Type: application/x-www-form-urlencoded
attr caterva sid2Data j_username=geheim&j_password=%%pw%%


Gruss
    Stefan