HTTPDMOD Login OVENTROP Portal

Begonnen von pejonp, 09 Dezember 2019, 14:18:36

Vorheriges Thema - Nächstes Thema

StefanStrobel

und dann wäre da noch ein CSRF-Token.

von der Seite /users/sign_in bekommst Du im Body so etwas wie

<meta content="vzf5yNmg2DxyazIjY/cPHIrFE52FPMWfP9DAfKkNjk4=" name="csrf-token" />
    <script src="/sbus/js/language-selector.js"></script>


das musst Du danach beim Senden der Login-Daten auch mitsenden.

Gruss
   Stefan


pejonp

Wie es aussieht bin ich ein Stück weiter. Das Login funktioniert nu der nachfolgende Aufruf der eingentlichen Daten wird abgelehnt. Es fehlt wahrscheinlich noch irgend wo ein Token ?!

list PM:

Internals:
   BUSY       0
   DEF        https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en 0
   FUUID      5decd37c-f33f-6fdc-98e6-667b71c2802ce40d
   Interval   0
   LASTSEND   1576492823.80539
   LastAuthTry 2019-12-16 11:40:20
   MainURL    https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en
   ModuleVersion 3.5.20 - 13.12.2019
   NAME       PM
   NOTIFYDEV  global
   NR         390
   NTFY_ORDER 50-PM
   STATE      ???
   TRIGGERTIME 0
   TRIGGERTIME_FMT
   TYPE       HTTPMOD
   addr       https://portal.oventrop.com:443
   auth       0
   buf       
   code       200
   compress   1
   conn       
   data       
   displayurl https://portal.oventrop.com:443/sbus/no-user-login/#yoman
   header     Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
   host       portal.oventrop.com
   httpheader HTTP/1.1 200 OK
connection: close
date: Mon, 16 Dec 2019 10:40:24 GMT
server: Apache/2.2.15 (CentOS)
x-powered-by: PHP/5.3.14 ZendServer/5.0
set-cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
content-length: 5573
content-type: text/html; charset=utf-8
   httpversion 1.0
   hu_blocking 0
   hu_filecount 7
   hu_port    443
   hu_portSfx
   ignoreredirects 1
   loglevel   4
   path       /sbus/no-user-login/#yoman
   protocol   https
   redirects  0
   sid        7BXkKd/It7uyIKajn+u4oQcAALoWtAvbk42m4acAISg
   timeout    2
   url        https://portal.oventrop.com:443/sbus/no-user-login/#yoman
   value      0
   CompiledRegexes:
   HTTPCookieHash:
     ZDEDebuggerPresent;/:
       Name       ZDEDebuggerPresent
       Options    phtml,php3; path=/
       Path       /
       Value      php
     _vbus_net_session;/:
       Name       _vbus_net_session
       Options    path=/; HttpOnly
       Path       /
       Value      e195ef1d5ef221f702897971ece1383f
   QUEUE:
   READINGS:
     2019-12-16 11:38:26   LAST_ERROR      read from https://portal.oventrop.com:443 timed out
     2019-12-16 11:40:24   LAST_REQUEST    update
     2019-12-16 11:40:24   MATCHED_READINGS
     2019-12-16 11:40:24   UNMATCHED_READINGS TempSensor_1 TempSensor_11 TempSensor_13
     2019-12-15 20:46:22   error           No user logged in
   REQUEST:
     data       
     header     
     ignoreredirects 0
     retryCount 0
     type       update
     url        https://portal.oventrop.com:443/sbus/no-user-login/#yoman
     value      0
   sslargs:
Attributes:
   enableControlSet 1
   enableCookies 1
   getHeader1 Content-Type: application/json
   handleRedirects 1
   reAuthAlways 1
   reAuthRegex No.user.logged.in
   reading02Name TempSensor_1
   reading02Regex Temperature Sensor 1<\/td><td class="resol">([- \d\.]+)
   reading12Name TempSensor_11
   reading12Regex Temperature sensor 1<\/td><td class="resol">([- \d\.]+)
   reading13Name TempSensor_13
   reading13Regex Temperature sensor 3<\/td><td class="resol">([- \d\.]+)
   room       APM
   showError  1
   showMatched 1
   sid01Data  .
   sid01IdRegex name="csrf-param" \/>\n<meta content="([a-zA-Z0-9+\/]+)
   sid01URL   https://portal.oventrop.com/users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login
   userattr   get01Data get01Name get01URL getHeader1 reading02Name reading02Regex reading12Name reading12Regex reading13Name reading13Regex reading1Name reading1Regex sid01Data sid01IdRegex sid01IgnoreRedirects:0,1 sid01URL sid02Data sid02IdRegex sid02ParseResponse:0,1 sid02URL sid1IdRegex sid2Data sidURL
   verbose    5


Log eines Aufrufs (log fortlaufend).


2019.12.16 11:40:20.279 5: PM: set called with reread
2019.12.16 11:40:20.280 5: PM: GetUpdate called (reread)
2019.12.16 11:40:20.283 4: PM: Auth called with Steps: 01
2019.12.16 11:40:20.286 5: PM: AddToQueue prepends type auth01 to URL https://portal.oventrop.com/users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login, data ., no headers, retry 0, initial queue len: 0
2019.12.16 11:40:20.287 5: PM: HandleSendQueue called, qlen = 1
2019.12.16 11:40:20.290 5: PM: HandleSendQueue is using Cookie ZDEDebuggerPresent with path / and Value php (key ZDEDebuggerPresent;/, destination path is /users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login)
2019.12.16 11:40:20.291 5: PM: HandleSendQueue is using Cookie _vbus_net_session with path / and Value 75bc152d6833ef514a95aba77dc484ef (key _vbus_net_session;/, destination path is /users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login)
2019.12.16 11:40:20.292 5: PM: HandleSendQueue is adding Cookie header: ZDEDebuggerPresent=php; _vbus_net_session=75bc152d6833ef514a95aba77dc484ef
2019.12.16 11:40:20.293 4: PM: HandleSendQueue sends auth01 with timeout 2 to https://portal.oventrop.com/users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login,
data: .,
header: Cookie: ZDEDebuggerPresent=php; _vbus_net_session=75bc152d6833ef514a95aba77dc484ef
2019.12.16 11:40:20.294 5: HttpUtils url=https://portal.oventrop.com/users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login
2019.12.16 11:40:20.298 4: IP: portal.oventrop.com -> 188.138.89.61
2019.12.16 11:40:20.302 5: PM: AddToQueue adds type update to URL https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en, no data, no headers, retry 0, initial queue len: 0
2019.12.16 11:40:20.303 5: PM: HandleSendQueue called, qlen = 1
2019.12.16 11:40:20.305 5: PM: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2019.12.16 11:40:20.486 5: HttpUtils request header:
POST /users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login HTTP/1.0
Host: portal.oventrop.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ZDEDebuggerPresent=php; _vbus_net_session=75bc152d6833ef514a95aba77dc484ef
Content-Length: 1
Content-Type: application/x-www-form-urlencoded

2019.12.16 11:40:21.205 4: https://portal.oventrop.com/users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login: HTTP response code 302
2019.12.16 11:40:21.207 5: HttpUtils https://portal.oventrop.com/users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login: Got data, length: 93
2019.12.16 11:40:21.208 5: HttpUtils response header:
HTTP/1.1 302 Found
connection: close
location: http://portal.oventrop.com/
content-type: text/html; charset=utf-8
x-ua-compatible: IE=Edge,chrome=1
cache-control: no-cache
x-request-id: ad0bb67618dbf9bb04ce4e6713dfa1d5
x-runtime: 0.661188
date: Mon, 16 Dec 2019 10:40:21 GMT
x-rack-cache: invalidate, pass
server: WEBrick/1.3.1 (Ruby/1.9.3/2014-02-24)
content-length: 93
set-cookie: _vbus_net_session=e195ef1d5ef221f702897971ece1383f; path=/; HttpOnly
2019.12.16 11:40:21.209 4: PM: Read callback: request type was auth01 retry 0,
header: HTTP/1.1 302 Found
connection: close
location: http://portal.oventrop.com/
content-type: text/html; charset=utf-8
x-ua-compatible: IE=Edge,chrome=1
cache-control: no-cache
x-request-id: ad0bb67618dbf9bb04ce4e6713dfa1d5
x-runtime: 0.661188
date: Mon, 16 Dec 2019 10:40:21 GMT
x-rack-cache: invalidate, pass
server: WEBrick/1.3.1 (Ruby/1.9.3/2014-02-24)
content-length: 93
set-cookie: _vbus_net_session=e195ef1d5ef221f702897971ece1383f; path=/; HttpOnly, body length 93
2019.12.16 11:40:21.211 5: PM: Read callback: body
<html><body>You are being <a href="http://portal.oventrop.com/">redirected</a>.</body></html>
2019.12.16 11:40:21.212 5: PM: GetCookies is looking for Cookies
2019.12.16 11:40:21.213 4: PM: GetCookies parsed Cookie: _vbus_net_session Wert e195ef1d5ef221f702897971ece1383f Rest path=/; HttpOnly
2019.12.16 11:40:21.215 5: PM: ExtractSid called, context sid, num 01
2019.12.16 11:40:21.217 5: PM: GetRegex found precompiled IdRegex for sid01 as (?^:name="csrf-param" \/>\n<meta content="([a-zA-Z0-9+\/]+))
2019.12.16 11:40:21.218 5: PM: ExtractSid could not match buffer to IdRegex (?^:name="csrf-param" \/>\n<meta content="([a-zA-Z0-9+\/]+))
2019.12.16 11:40:21.219 4: PM: checking for redirects, code=302, ignore=0
2019.12.16 11:40:21.221 4: PM: https://portal.oventrop.com/users/sign_in?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&commit=Login: Redirect (1) to http://portal.oventrop.com/
2019.12.16 11:40:21.222 5: PM: AddToQueue prepends type auth01 to URL http://portal.oventrop.com/, no data, no headers, retry 0, initial queue len: 1
2019.12.16 11:40:21.223 5: PM: HandleSendQueue called, qlen = 2
2019.12.16 11:40:21.226 5: PM: HandleSendQueue is using Cookie ZDEDebuggerPresent with path / and Value php (key ZDEDebuggerPresent;/, destination path is /)
2019.12.16 11:40:21.227 5: PM: HandleSendQueue is using Cookie _vbus_net_session with path / and Value e195ef1d5ef221f702897971ece1383f (key _vbus_net_session;/, destination path is /)
2019.12.16 11:40:21.228 5: PM: HandleSendQueue is adding Cookie header: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:21.229 4: PM: HandleSendQueue sends auth01 with timeout 2 to http://portal.oventrop.com/, No Data,
header: Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:21.230 5: HttpUtils url=http://portal.oventrop.com/
2019.12.16 11:40:21.234 4: IP: portal.oventrop.com -> 188.138.89.61
2019.12.16 11:40:21.272 5: HttpUtils request header:
GET / HTTP/1.0
Host: portal.oventrop.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f

2019.12.16 11:40:21.314 4: http://portal.oventrop.com/: HTTP response code 301
2019.12.16 11:40:21.315 5: HttpUtils http://portal.oventrop.com/: Got data, length: 0
2019.12.16 11:40:21.316 5: HttpUtils response header:
HTTP/1.1 301 Moved Permanently
connection: close
Location: https://portal.oventrop.com/
Date: Mon, 16 Dec 2019 10:40:21 GMT
2019.12.16 11:40:21.317 4: PM: Read callback: request type was auth01 retry 0,
header: HTTP/1.1 301 Moved Permanently
connection: close
Location: https://portal.oventrop.com/
Date: Mon, 16 Dec 2019 10:40:21 GMT, no body
2019.12.16 11:40:21.318 5: PM: Read callback: body empty
2019.12.16 11:40:21.320 5: PM: GetCookies is looking for Cookies
2019.12.16 11:40:21.321 5: PM: ExtractSid called, context sid, num 01
2019.12.16 11:40:21.322 5: PM: GetRegex found precompiled IdRegex for sid01 as (?^:name="csrf-param" \/>\n<meta content="([a-zA-Z0-9+\/]+))
2019.12.16 11:40:21.324 5: PM: ExtractSid could not match buffer to IdRegex (?^:name="csrf-param" \/>\n<meta content="([a-zA-Z0-9+\/]+))
2019.12.16 11:40:21.325 4: PM: checking for redirects, code=301, ignore=0
2019.12.16 11:40:21.326 4: PM: http://portal.oventrop.com/: Redirect (2) to https://portal.oventrop.com/
2019.12.16 11:40:21.327 5: PM: AddToQueue prepends type auth01 to URL https://portal.oventrop.com/, no data, no headers, retry 0, initial queue len: 1
2019.12.16 11:40:21.329 5: PM: HandleSendQueue called, qlen = 2
2019.12.16 11:40:21.331 5: PM: HandleSendQueue - minSendDelay not over, rescheduling
2019.12.16 11:40:22.334 5: PM: HandleSendQueue called, qlen = 2
2019.12.16 11:40:22.337 5: PM: HandleSendQueue is using Cookie ZDEDebuggerPresent with path / and Value php (key ZDEDebuggerPresent;/, destination path is /)
2019.12.16 11:40:22.338 5: PM: HandleSendQueue is using Cookie _vbus_net_session with path / and Value e195ef1d5ef221f702897971ece1383f (key _vbus_net_session;/, destination path is /)
2019.12.16 11:40:22.339 5: PM: HandleSendQueue is adding Cookie header: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:22.340 4: PM: HandleSendQueue sends auth01 with timeout 2 to https://portal.oventrop.com/, No Data,
header: Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:22.341 5: HttpUtils url=https://portal.oventrop.com/
2019.12.16 11:40:22.345 4: IP: portal.oventrop.com -> 188.138.89.61
2019.12.16 11:40:22.530 5: HttpUtils request header:
GET / HTTP/1.0
Host: portal.oventrop.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f

2019.12.16 11:40:22.801 4: https://portal.oventrop.com/: HTTP response code 200
2019.12.16 11:40:22.802 5: HttpUtils https://portal.oventrop.com/: Got data, length: 8282
2019.12.16 11:40:22.803 5: HttpUtils response header:
HTTP/1.1 200 OK
connection: close
content-type: text/html; charset=utf-8
x-ua-compatible: IE=Edge,chrome=1
etag: "25929001bf4293a6ec3115221a6b1e0d"
cache-control: must-revalidate, private, max-age=0
x-request-id: 1bf2e6cefe8a9af18254ccb799fbfb88
x-runtime: 0.212144
date: Mon, 16 Dec 2019 10:40:22 GMT
x-rack-cache: miss
server: WEBrick/1.3.1 (Ruby/1.9.3/2014-02-24)
content-length: 8282
2019.12.16 11:40:22.804 4: PM: Read callback: request type was auth01 retry 0,
header: HTTP/1.1 200 OK
connection: close
content-type: text/html; charset=utf-8
x-ua-compatible: IE=Edge,chrome=1
etag: "25929001bf4293a6ec3115221a6b1e0d"
cache-control: must-revalidate, private, max-age=0
x-request-id: 1bf2e6cefe8a9af18254ccb799fbfb88
x-runtime: 0.212144
date: Mon, 16 Dec 2019 10:40:22 GMT
x-rack-cache: miss
server: WEBrick/1.3.1 (Ruby/1.9.3/2014-02-24)
content-length: 8282, body length 8282
2019.12.16 11:40:22.806 5: PM: Read callback: body


erfolgreicher Login   --> Signed in successfully.


<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">

    <title>OVENTROP Armaturen und Ventile für Heizung, Fußbodenheizung, Sanitär, Kühlung und Solarthermie.</title>
    <meta name="description" content="OVENTROP Armaturen und Ventile für Heizung, Fußbodenheizung, Sanitär, Kühlung und Solarthermie." />
    <link href="/stylesheets/bootstrap-dropdown.css?1394605255" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/bootstrap-form.css?1394605255" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/button.css?1394605255" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/language-selector.css?1394605255" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/style.css?1473838709" media="screen" rel="stylesheet" type="text/css" />
    <link href="/stylesheets/smoothness/jquery-ui-1.8.8.custom.css?1394605256" media="screen" rel="stylesheet" type="text/css" />
    <link href="/sbus/bootstrap/css/bootstrap_custom.css" rel="stylesheet" />
    <script src="/javascripts/jquery.js?1394605255" type="text/javascript"></script>
<script src="/javascripts/jquery_ujs.js?1394605255" type="text/javascript"></script>
<script src="/javascripts/jquery.min.js?1394605255" type="text/javascript"></script>
<script src="/javascripts/application.js?1394605255" type="text/javascript"></script>
    <script src="/javascripts/jquery-ui-1.8.8.custom.min.js?1394605255" type="text/javascript"></script>
    <script src="/javascripts/i18next-1.6.3.js?1394605255" type="text/javascript"></script>
    <meta content="authenticity_token" name="csrf-param" />
<meta content="7BXkKd/It7uyIKajn+u4oQcAALoWtAvbk42m4acAISg=" name="csrf-token" />
    <script src="/sbus/js/language-selector.js"></script>
  </head>
<body>

<div id="container">

<div id="banner">
  <div class="languageBar">
    <a href="#" class="dropdown-link" data-lang="de">
      <img src="/sbus/images/flags/de.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="en">
      <img src="/sbus/images/flags/en.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="fr">
      <img src="/sbus/images/flags/fr.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="es">
      <img src="/sbus/images/flags/es.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="it">
      <img src="/sbus/images/flags/it.png" class="dropdown-image" alt="">
    </a>
  </div>
  <div id="topslogan">
    <br />Premium Armaturen + Systeme
  </div>
  <a href="http://portal.oventrop.com/"><img src="/images/ovlogo.png" alt="Oventrop" class="toplogo"></a>
  <a href="http://www.handwerkermarke.de" target="_blank"><img src="/images/logo_handwerker.png" alt="Handwerkerklasse" style="margin-left:7px;margin-bottom:7px;vertical-align: baseline;border:0" /></a>
  <div id="trennlinie"></div>
  <ul id="main_menu">
    <li>
      <a href="http://portal.oventrop.com/" class="" data-i18n="topBar.home"></a>
    </li>
    <li>
      <a href="/users/sign_up" class="" data-i18n="general.register"></a>
    </li>
    <li>
      <a href="/users/sign_in" class="" data-i18n="general.login"></a>
    </li>
  </ul>
  <div id="trennlinie_s"></div>
</div> <!-- Banner -->

<div id="nav">
  <ul id='left_menu'>
    <li class='left_menu_head'>
      <span data-i18n="sideBar.utilities"></span>
    </li>
    <li class='left_menu_item'>
      <a href="http://static.portal.oventrop.com/downloads/OventropDeviceDiscoveryToolSetup.exe" data-i18n="sideBar.discovery"></a>
    </li>
    <li>
      <span class='left_menu_head' style='opacity: 0.5'><span style="display: inline" data-i18n="sideBar.visualization"></span>
      <a style="display: inline" href="/sbus/howto"><img src="../images/fragezeichen.png" width="16" title="help" alt="" /></a></span>
    </li>
    <li class='left_menu_item' style='opacity: 0.5'>
      <a href="/sbus/info" data-i18n="sideBar.status"></a>
    </li>
    <li class='left_menu_item' style='opacity: 0.5'>
      <a href="/sbus/info" data-i18n="sideBar.filters"></a>
    </li>
    <li class='left_menu_item' style='opacity: 0.5'>
      <a href="/sbus/info" data-i18n="sideBar.images"></a>
    </li>
    <li class='left_menu_item' style='opacity: 0.5'>
      <a href="/sbus/info" data-i18n="sideBar.liveSchemes"></a>
    </li>
    <li class='left_menu_item' style='opacity: 0.5'>
      <a href="/sbus/info" data-i18n="sideBar.diagrams"></a>
    </li>
    <li class='left_menu_item' style='opacity: 0.5'>
      <a href="/sbus/info" data-i18n="sideBar.downloads"></a>
    </li>
    </ul>
</div> <!-- nav -->

<div id="content">

<!-- START OF CONTENT -->

<div>
    <a href="/users/sign_up" data-i18n="general.register"></a>
    <span data-i18n="general.or"></span>
    <a href="/users/sign_in" data-i18n="general.login"></a>
</div>



<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<strong><span data-i18n="general.info"></span>:</strong> Signed in successfully.</p>
</div>
</div>


<h2 data-i18n="index.welcomeToVBusnet" style="margin-bottom: 15px;"></h2>


<img src="images/start.jpg" width="600" alt="schema" style="margin-bottom: 15px;" />

<p data-i18n="[html]index.text1"></p>

<p data-i18n="[html]index.text2"></p>

<p data-i18n="[html]index.text3"></p>

<ul>
  <li><span data-i18n="index.list.activateOptionDatalogger"></span>,</li>
  <li><span data-i18n="index.list.getActivationToken"></span>,</li>
  <li><a href="/users/sign_in" data-i18n="index.list.logInToVBusNet"></a>
  <span data-i18n="general.and"></span></li>
   <li><a href="/ownerships/new" data-i18n="index.list.claimLoggerWhithToken"></a>.</li>
</ul>

<p><span data-i18n="index.ifYouDoNotHaveADataloggerYet"></span>:</p>

<ul>
  <li><a href="/users/sign_in" data-i18n="index.list.logInToVBusNet"></a> <span data-i18n="general.and"></span></li>
  <li><a href="/ownerships/enable_demo" data-i18n="index.list.addADemonstationLogger"></a>.</li>
</ul>

<script>

$(document).ready(function() {
    $("#tabs-content div.tab").hide(); // Initially hide all content
    $("#tabs li:first").attr("id", "current"); // Activate first tab
    $("#tabs-content div.tab:first").fadeIn(); // Show first tab content

    $('#tabs a').click(function(e) {
        e.preventDefault();
        if ($(this).closest("li").attr("id") == "current"){ //detection for current tab
            return
        } else{
            $("#tabs-content div.tab").hide(); //Hide all content
            $("#tabs li").attr("id",""); //Reset id's
            $(this).parent().attr("id","current"); // Activate this
            $('#' + $(this).attr('name')).fadeIn(); // Show content for current tab
        }
    });
});
</script>


<p>&nbsp;</p>
<!-- END OF CONTENT -->

</div>

<div id="footer">
  <ul id="bottom_menu">
    <li>
      <a href="http://www.oventrop.com/de-DE/impressum"><span data-i18n="topBar.imprint"></span></a>
    </li>
    <li>
      <a href="http://www.oventrop.de/feedback.asp?BM0=1070"><span data-i18n="general.feedback"></span></a>
    </li>
  </ul>
<!-- Piwik
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.uniserve.de/" : "http://piwik.uniserve.de/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 6);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://piwik.uniserve.de/piwik.php?idsite=6" style="border:0" alt="" /></p></noscript>
End Piwik Tracking Code -->
</div> <!-- footer -->
</div> <!-- container -->

<script>
  $(function() {
    i18n.init({
        fallbackLng: 'en',
        debug: false,
        resGetPath: '/locales/__lng__/__ns__.json'
    }, function(t) {
        $("body").i18n();
        var lng = i18n.lng();
        $(".resol-lang-" + lng).show();
        $(".resol-js").show();
    });
  });
</script>
</body>
</html>


nach dem erfolgreicher Login soll auf die eigentlichen Daten verzweigt werden: https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en

da kommt dann aber -- > HttpUtils url=https://portal.oventrop.com:443/sbus/no-user-login/#yoman

Was fehlt hier ? Was muss alles mitgegeben werden beim verzweigen auf die Statusseite ?


2019.12.16 11:40:22.808 5: PM: GetCookies is looking for Cookies
2019.12.16 11:40:22.809 5: PM: ExtractSid called, context sid, num 01
2019.12.16 11:40:22.810 5: PM: GetRegex found precompiled IdRegex for sid01 as (?^:name="csrf-param" \/>\n<meta content="([a-zA-Z0-9+\/]+))
2019.12.16 11:40:22.811 4: PM: ExtractSid set sid to 7BXkKd/It7uyIKajn+u4oQcAALoWtAvbk42m4acAISg
2019.12.16 11:40:22.813 4: PM: checking for redirects, code=200, ignore=0
2019.12.16 11:40:22.814 4: PM: no redirects to handle
2019.12.16 11:40:23.339 5: PM: HandleSendQueue called, qlen = 1
2019.12.16 11:40:23.342 5: PM: HandleSendQueue is using Cookie ZDEDebuggerPresent with path / and Value php (key ZDEDebuggerPresent;/, destination path is /sbus/show-live-data/id/748/lang/en)
2019.12.16 11:40:23.343 5: PM: HandleSendQueue is using Cookie _vbus_net_session with path / and Value e195ef1d5ef221f702897971ece1383f (key _vbus_net_session;/, destination path is /sbus/show-live-data/id/748/lang/en)
2019.12.16 11:40:23.344 5: PM: HandleSendQueue is adding Cookie header: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:23.345 4: PM: HandleSendQueue sends update with timeout 2 to https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en, No Data,
header: Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:23.346 5: HttpUtils url=https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en
2019.12.16 11:40:23.350 4: IP: portal.oventrop.com -> 188.138.89.61
2019.12.16 11:40:23.519 5: HttpUtils request header:
GET /sbus/show-live-data/id/748/lang/en HTTP/1.0
Host: portal.oventrop.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f

2019.12.16 11:40:23.789 4: https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en: HTTP response code 302
2019.12.16 11:40:23.790 5: HttpUtils https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en: Got data, length: 0
2019.12.16 11:40:23.791 5: HttpUtils response header:
HTTP/1.1 302 Found
connection: close
date: Mon, 16 Dec 2019 10:40:23 GMT
server: Apache/2.2.15 (CentOS)
x-powered-by: PHP/5.3.14 ZendServer/5.0
set-cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
location: /sbus/no-user-login/#yoman
content-length: 0
content-type: text/html; charset=utf-8
2019.12.16 11:40:23.793 4: PM: Read callback: request type was update retry 0,
header: HTTP/1.1 302 Found
connection: close
date: Mon, 16 Dec 2019 10:40:23 GMT
server: Apache/2.2.15 (CentOS)
x-powered-by: PHP/5.3.14 ZendServer/5.0
set-cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
location: /sbus/no-user-login/#yoman
content-length: 0
content-type: text/html; charset=utf-8, no body
2019.12.16 11:40:23.794 5: PM: Read callback: body empty
2019.12.16 11:40:23.795 5: PM: GetCookies is looking for Cookies
2019.12.16 11:40:23.796 4: PM: GetCookies parsed Cookie: ZDEDebuggerPresent Wert php Rest phtml,php3; path=/
2019.12.16 11:40:23.798 5: PM: ExtractSid called, context reading, num
2019.12.16 11:40:23.800 4: PM: checking for redirects, code=302, ignore=0
2019.12.16 11:40:23.801 4: PM: https://portal.oventrop.com/sbus/show-live-data/id/748/lang/en: Redirect (1) to https://portal.oventrop.com:443/sbus/no-user-login/#yoman
2019.12.16 11:40:23.802 5: PM: AddToQueue prepends type update to URL https://portal.oventrop.com:443/sbus/no-user-login/#yoman, no data, no headers, retry 0, initial queue len: 0
2019.12.16 11:40:23.803 5: PM: HandleSendQueue called, qlen = 1
2019.12.16 11:40:23.806 5: PM: HandleSendQueue is using Cookie ZDEDebuggerPresent with path / and Value php (key ZDEDebuggerPresent;/, destination path is /sbus/no-user-login/#yoman)
2019.12.16 11:40:23.807 5: PM: HandleSendQueue is using Cookie _vbus_net_session with path / and Value e195ef1d5ef221f702897971ece1383f (key _vbus_net_session;/, destination path is /sbus/no-user-login/#yoman)
2019.12.16 11:40:23.808 5: PM: HandleSendQueue is adding Cookie header: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:23.809 4: PM: HandleSendQueue sends update with timeout 2 to https://portal.oventrop.com:443/sbus/no-user-login/#yoman, No Data,
header: Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f
2019.12.16 11:40:23.810 5: HttpUtils url=https://portal.oventrop.com:443/sbus/no-user-login/#yoman
2019.12.16 11:40:23.814 4: IP: portal.oventrop.com -> 188.138.89.61
2019.12.16 11:40:24.000 5: HttpUtils request header:
GET /sbus/no-user-login/#yoman HTTP/1.0
Host: portal.oventrop.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e195ef1d5ef221f702897971ece1383f

2019.12.16 11:40:24.093 4: https://portal.oventrop.com:443/sbus/no-user-login/#yoman: HTTP response code 200
2019.12.16 11:40:24.094 5: HttpUtils https://portal.oventrop.com:443/sbus/no-user-login/#yoman: Got data, length: 5573
2019.12.16 11:40:24.096 5: HttpUtils response header:
HTTP/1.1 200 OK
connection: close
date: Mon, 16 Dec 2019 10:40:24 GMT
server: Apache/2.2.15 (CentOS)
x-powered-by: PHP/5.3.14 ZendServer/5.0
set-cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
content-length: 5573
content-type: text/html; charset=utf-8
2019.12.16 11:40:24.098 4: PM: Read callback: request type was update retry 0,
header: HTTP/1.1 200 OK
connection: close
date: Mon, 16 Dec 2019 10:40:24 GMT
server: Apache/2.2.15 (CentOS)
x-powered-by: PHP/5.3.14 ZendServer/5.0
set-cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
content-length: 5573
content-type: text/html; charset=utf-8, body length 5573
2019.12.16 11:40:24.101 5: PM: Read callback: body
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">

    <title>OVENTROP Armaturen und Ventile für Heizung, Fußbodenheizung, Sanitär, Kühlung und Solarthermie.</title>
    <meta name="description" content="OVENTROP Armaturen und Ventile für Heizung, Fußbodenheizung, Sanitär, Kühlung und Solarthermie." />

    <link href="/sbus/bootstrap/css/bootstrap_custom.css" rel="stylesheet" />
    <link href="/sbus/css/vbus.css" rel="stylesheet" />
    <link href="/sbus/stylesheets/smoothness/jquery-ui-1.8.8.custom.css" rel="stylesheet" />
    <link href="/sbus/jQuery-File-Upload/css/jquery.fileupload-ui.css" rel="stylesheet" />
    <link href="/sbus/stylesheets/style.css" media="screen" rel="stylesheet" />
    <link href="/sbus/css/language-selector.css" rel="stylesheet" />
    <link href="/sbus/colorpicker/css/colorpicker.css" rel="stylesheet" />
    <link href="/sbus/css/daterangepicker.css" rel="stylesheet" />
    <link href="/sbus/jquery-lightbox-0.5/css/jquery.lightbox-0.5.css" media="screen" rel="stylesheet" />
    <link href="/sbus/font-awesome/css/font-awesome.css" rel="stylesheet">

    <script src="/sbus/bootstrap/js/jquery.js"></script>
    <script src="/sbus/bootstrap/js/jquery-ui.js"></script>
    <script src="/sbus/bootstrap/js/bootstrap.js"></script>
    <script src="/sbus/js/resol.vbus.net.js"></script>
    <script src="/sbus/i18next/i18next-1.6.3.js"></script>
    <script src="/sbus/js/language-selector.js"></script>
    <script src="/sbus/js/underscore-min.js"></script>
    <script src="/sbus/colorpicker/js/bootstrap-colorpicker.js"></script>
    <script src="/sbus/js/date.en.js"></script>
    <script src="/sbus/js/daterangepicker.js"></script>
    <script src="/sbus/jquery-lightbox-0.5/js/jquery.lightbox-0.5.js"></script>

    </head>

<body>

<div id="container">

<div id="banner">
  <div class="languageBar">
    <a href="#" class="dropdown-link" data-lang="de">
      <img src="/sbus/images/flags/de.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="en">
      <img src="/sbus/images/flags/en.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="fr">
      <img src="/sbus/images/flags/fr.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="es">
      <img src="/sbus/images/flags/es.png" class="dropdown-image" alt="">
    </a>
    <a href="#" class="dropdown-link" data-lang="it">
      <img src="/sbus/images/flags/it.png" class="dropdown-image" alt="">
    </a>
  </div>
  <div id="topslogan">
    <br />Premium Armaturen + Systeme
  </div>
  <a href="https://portal.oventrop.com"><img src="/images/ovlogo.png" alt="Oventrop" class="toplogo"></a>
  <a href="http://www.handwerkermarke.de" target="_blank"><img src="/images/logo_handwerker.png" alt="Handwerkerklasse" style="margin-left:7px;margin-bottom:7px;vertical-align: baseline;border:0" /></a>
  <div id="trennlinie"></div>
  <ul id="main_menu">
    <li>
      <a href="https://portal.oventrop.com">Home</a>
    </li>
        <li>
        <a href="https://portal.oventrop.com/users/sign_up">
            Register        </a>
    </li>
    <li>
        <a href="https://portal.oventrop.com/users/sign_in">
            Login        </a>
    </li>
      </ul>
  <div id="trennlinie_s"></div>
</div> <!-- Banner -->

<div id="nav">
  <ul id='left_menu'>
    <li class='left_menu_head'>
      Utilities    </li>
    <li class='left_menu_item'>
      <a href="http://static.portal.oventrop.com/downloads/OventropDeviceDiscoveryToolSetup.exe">DeviceDiscoveryTool</a>
    </li>
   
   
        </ul>
</div> <!-- nav -->

<div id='content'>

<!-- START OF CONTENT -->

<a href="https://portal.oventrop.com/users/sign_up" class="link">Register</a>
or <a href="https://portal.oventrop.com/users/sign_in" class="link">Login</a>

    <p></p>
      <div>    <div>        <div class='resol resol-topSpacer'></div>        <h3 class='resol'>Visualization:&nbsp;Error</h3>        <div class='resol resol-topSpacer'></div>    </div></div>
<div class="row" style="margin-top:15px"> 
    <div class="span3 alert-fehler alert-block alert alert-error fade in">
        <h4 class="alert-heading">Access denied</h4>
        <p>
            You are not logged in!             
        </p>
    </div>
</div>


    <br />
<!-- END OF CONTENT -->

</div>

<div id="footer">
  <ul id="bottom_menu">
    <li>
      <a href="http://www.oventrop.com/de-DE/impressum" target="_self">Imprint</a>
    </li>
    <li>
      <a href="http://www.oventrop.de/feedback.asp?BM0=1070">Feedback</a>
    </li>
  </ul>
<!-- Piwik
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.uniserve.de/" : "http://piwik.uniserve.de/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 6);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://piwik.uniserve.de/piwik.php?idsite=6" style="border:0" alt="" /></p></noscript>
End Piwik Tracking Code -->
</div> <!-- footer -->
</div> <!-- container -->

<script>
  $(function() {
    i18n.init({
        fallbackLng: 'en',
        debug: false,
        resGetPath: '/locales/__lng__/__ns__.json'
    }, function(t) {
        $("body").i18n();
        var lng = i18n.lng();
    });
  });
</script>
</body>
</html>

2019.12.16 11:40:24.102 5: PM: GetCookies is looking for Cookies
2019.12.16 11:40:24.103 4: PM: GetCookies parsed Cookie: ZDEDebuggerPresent Wert php Rest phtml,php3; path=/
2019.12.16 11:40:24.106 5: PM: ExtractSid called, context reading, num
2019.12.16 11:40:24.109 4: PM: checking for redirects, code=200, ignore=0
2019.12.16 11:40:24.110 4: PM: no redirects to handle
2019.12.16 11:40:24.112 5: PM: GetRegex found precompiled reAuthRegex for  as (?^:No.user.logged.in)
2019.12.16 11:40:24.113 5: PM: CheckAuth is checking buffer with ReAuthRegex (?^:No.user.logged.in)
2019.12.16 11:40:24.115 5: PM: CheckAuth decided no authentication required
2019.12.16 11:40:24.116 5: PM: Read starts parsing response to update with defined readings: 02,12,13
2019.12.16 11:40:24.118 5: PM: GetRegex found precompiled Regex for reading02 as (?^:Temperature Sensor 1<\/td><td class="resol">([- \d\.]+))
2019.12.16 11:40:24.119 5: PM: ExtractReading TempSensor_1 with regex /(?^:Temperature Sensor 1<\/td><td class="resol">([- \d\.]+))/...
2019.12.16 11:40:24.120 5: PM: ExtractReading TempSensor_1 did not match
2019.12.16 11:40:24.122 5: PM: GetRegex found precompiled Regex for reading12 as (?^:Temperature sensor 1<\/td><td class="resol">([- \d\.]+))
2019.12.16 11:40:24.123 5: PM: ExtractReading TempSensor_11 with regex /(?^:Temperature sensor 1<\/td><td class="resol">([- \d\.]+))/...
2019.12.16 11:40:24.124 5: PM: ExtractReading TempSensor_11 did not match
2019.12.16 11:40:24.127 5: PM: GetRegex found precompiled Regex for reading13 as (?^:Temperature sensor 3<\/td><td class="resol">([- \d\.]+))
2019.12.16 11:40:24.128 5: PM: ExtractReading TempSensor_13 with regex /(?^:Temperature sensor 3<\/td><td class="resol">([- \d\.]+))/...
2019.12.16 11:40:24.129 5: PM: ExtractReading TempSensor_13 did not match
2019.12.16 11:40:24.131 4: PM: Read response to update didn't match any Reading
2019.12.16 11:40:24.150 5: PM: HandleSendQueue called, qlen = 0


Jörg
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

amenomade

Wahrscheinlich muss der csrf-token auch bei der Hauptrequest mitgegeben werden
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

pejonp

Zitat von: amenomade am 16 Dezember 2019, 18:24:58
Wahrscheinlich muss der csrf-token auch bei der Hauptrequest mitgegeben werden

Ja habe ich versucht, aber es geht nicht. Ich versuche mal die Sache mit curl nachzustellen, ob man da was bekommt. Vielleicht hat einer noch eine andere Idee.
Das Login geht ja aber von da aus weiter geht nicht weil noch etwas fehlt bzw. wieder HTTP/1.1 301 oder 302 kommt.


Internals:
   BUSY       0
   DEF        https://portal.oventrop.com/sbus/show-live-data/id/748 0
   FUUID      5decd37c-f33f-6fdc-98e6-667b71c2802ce40d
   Interval   0
   LASTSEND   1576530817.15706
   LastAuthTry 2019-12-16 22:13:31
   MainURL    https://portal.oventrop.com/sbus/show-live-data/id/748
   ModuleVersion 3.5.20 - 13.12.2019
   NAME       PM
   NOTIFYDEV  global
   NR         390
   NTFY_ORDER 50-PM
   STATE      ???
   TRIGGERTIME 0
   TRIGGERTIME_FMT
   TYPE       HTTPMOD
   addr       https://portal.oventrop.com:443
   auth       0
   buf       
   code       200
   compress   1
   conn       
   data       
   displayurl https://portal.oventrop.com:443/sbus/no-user-login/#yoman
   header     Cookie: ZDEDebuggerPresent=php; _vbus_net_session=e286c202df11d122b1b4f318ab33913c
   host       portal.oventrop.com
   httpheader HTTP/1.1 200 OK
connection: close
date: Mon, 16 Dec 2019 21:13:37 GMT
server: Apache/2.2.15 (CentOS)
x-powered-by: PHP/5.3.14 ZendServer/5.0
set-cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
content-length: 5573
content-type: text/html; charset=utf-8
   httpversion 1.1
   hu_blocking 0
   hu_filecount 44
   hu_port    443
   hu_portSfx
   ignoreredirects 1
   loglevel   4
   path       /sbus/no-user-login/#yoman
   protocol   https
   redirects  0
   timeout    3
   url        https://portal.oventrop.com:443/sbus/no-user-login/#yoman
   value      0
   CompiledRegexes:
   HTTPCookieHash:
     ZDEDebuggerPresent;/:
       Name       ZDEDebuggerPresent
       Options    phtml,php3; path=/
       Path       /
       Value      php
     _vbus_net_session;/:
       Name       _vbus_net_session
       Options    path=/; HttpOnly
       Path       /
       Value      e286c202df11d122b1b4f318ab33913c
   QUEUE:
   READINGS:
     2019-12-16 22:13:37   LAST_REQUEST    update
     2019-12-16 22:13:37   MATCHED_READINGS
     2019-12-16 22:13:37   UNMATCHED_READINGS TempSensor_1 TempSensor_11 TempSensor_13
   REQUEST:
     data       
     header     
     ignoreredirects 0
     retryCount 0
     type       update
     url        https://portal.oventrop.com:443/sbus/no-user-login/#yoman
     value      0
   sslargs:
Attributes:
   enableControlSet 1
   enableCookies 1
   get01Data  ?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&user%5Bremember_me%5D=0&user%5Bremember_me%5D=1&commit=Login
   get01URL   https://portal.oventrop.com/sbus/show-live-data/id/748
   getHeader1 Content-Type: application/json,  text/javascript
   getHeader2 accept: application/json, charset=utf-8
   handleRedirects 1
   httpVersion 1.1
   reAuthAlways 1
   reAuthRegex No.user.logged.in
   reading02Name TempSensor_1
   reading02Regex Temperature Sensor 1<\/td><td class="resol">([- \d\.]+)
   reading12Name TempSensor_11
   reading12Regex Temperature sensor 1<\/td><td class="resol">([- \d\.]+)
   reading13Name TempSensor_13
   reading13Regex Temperature sensor 3<\/td><td class="resol">([- \d\.]+)
   room       APM
   showError  1
   showMatched 1
   sid01IdRegex name="csrf-param" \/>\n<meta content="([a-zA-Z0-9+\/]+)
   sid02Data  ?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&user%5Bremember_me%5D=0&user%5Bremember_me%5D=1&commit=Login
   sid02IdRegex Show.live.data
   sid02URL   https://portal.oventrop.com/users/sign_in
   sid03Data  ?utf8=%E2%9C%93&authenticity_token=$sid&user%5Blogin%5D=fhemtest&user%5Bpassword%5D=PW&user%5Bremember_me%5D=0&user%5Bremember_me%5D=1&commit=Login
   sid03URL   https://portal.oventrop.com/sbus/index/lang/en
   timeout    3
   userattr   get01Data get01ExtractAllJSON:0,1,2 get01JSON get01Name get01URL getHeader1 getHeader2 reading02Name reading02Regex reading12Name reading12Regex reading13Name reading13Regex reading1Name reading1Regex sid01Data sid01IdRegex sid01IgnoreRedirects:0,1 sid01URL sid02Data sid02IdRegex sid02ParseResponse:0,1 sid02URL sid03Data sid03URL sid1IdRegex sid2Data sidURL
   verbose    5


pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

amenomade

Kennst Du Burp? Das ist die beste Lösung, um die Request und Antworte zu loggen.

Ansonsten liefert das Netzwerktool vom Browser (F12, Reiter Netzwerk) auch interessante Informationen.

Erst wenn Du ein Trace vom erfolgreichen Verlauf im Browser  kann man weiter machen.

sid02IdRegex Show.live.data Das hat keinen Sinn. sidXXIdRegex muss eine Regex mit "capturing group" sein, um etwas zu fangen, das bei der nächste Request als $sid benutzt wird.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

pejonp

Hallo amenomade,

ja Burp kenne ichh. Damit habe ich ja schon einiges rausbekommen, aber eben noch nicht alles. Ich lasse das nochmal mitlaufen und schau mal. Vielen Dank für deine Hilfe.

Jörg
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect