Hauptmenü

HTTPMOD Login

Begonnen von holzwurm83, 28 Oktober 2017, 16:35:28

Vorheriges Thema - Nächstes Thema

amenomade

Da brauche ich aber ein bisschen mehr Input: list, log, usw.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

holzwurm83

Zitat von: amenomade am 29 November 2018, 20:01:20
Da brauche ich aber ein bisschen mehr Input: list, log, usw.

Das kannst du gerne bekommen:

List:
Internals:
   BUSY       0
   CHANGED   
   DEF        https://wifi.ecowater.com/Dashboard/Index/walde*************/AC000W000028486 300

   Interval   300

   LASTSEND   1543566442.69177
   LastAuthTry 2018-11-30 09:27:19
   MainURL    https://wifi.ecowater.com/Dashboard/Index/wald***************/AC000W000028486
   ModuleVersion 3.5.1 - 5.7.2018
   NAME       H2O_Anlage
   NR         910
   STATE      ???
   TRIGGERTIME 1543566735.65303
   TRIGGERTIME_FMT 2018-11-30 09:32:15
   TYPE       HTTPMOD
   addr       https://wifi.ecowater.com:443
   auth       0
   buf       
   code       200
   compress   1
   conn       
   data       
   displayurl https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fwalde*********%2fAC000W000028486
   header     Cookie: ASP.NET_SessionId=mqbolf3tdl2o1cdzsihywxov
Cache-Control: no-cache
   host       wifi.ecowater.com
   httpheader HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-Frame-Options: SAMEORIGIN
X-AspNet-Version: 4.0.30319
Set-Cookie: DC_SESSION_DATA=; path=/
Set-Cookie: __RequestVerificationToken=KN9bVH_J6peD6EULLq9bdPo8bbaeqaUZxsCnDXWDUo6Y5eEqLzyJbLPgj7XSJmCSeYC2wCjEuEi0sSrJG8_3uqeY_FSJkofbQBF0rmyY2gk1; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Fri, 30 Nov 2018 08:26:59 GMT
Connection: close
Content-Length: 8275
   httpversion 1.0
   hu_blocking 0
   hu_filecount 108
   hu_port    443
   hu_portSfx
   ignoreredirects 0
   loglevel   4
   path       /Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fwalde**********%2fAC000W000028486
   protocol   https
   redirects  1
   sid        ASP.NET_SessionId=mqbolf3tdl2o1cdzsihywxov
   timeout    2
   url        https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fwalde***************%2fAC000W000028486
   value      0
   QUEUE:
   READINGS:
     2018-04-13 21:56:25   Regeneration   
     2018-04-13 21:56:25   Salz_leer_am    09/08/2018
     2018-04-13 21:56:25   Tagesdurchschnitt 427
     2018-04-13 21:56:25   VerbrauchHeute  230
     2018-04-13 21:56:25   Verfügbar      458
   REQUEST:
     data       
     header     Cookie: $sid
Cache-Control: no-cache
     ignoreredirects 0
     retryCount 1
     type       update
     url        https://wifi.ecowater.com/Dashboard/Index/walde************/AC000W000028486
     value      0
   sslargs:
Attributes:
   clearSIdBeforeAuth 1
   enableControlSet 1
   reAuthAlways 1
   reAuthRegex (class="login-item"|Bad Request)
   reading01Name VerbrauchHeute
   reading01Regex water_today".*?>([\d]+)
   reading02Name Tagesdurchschnitt
   reading02Regex <h1 id="water_avg".*?>([\d]+)
   reading03Name Verfügbar
   reading03Regex <h1 id="water_avail".*?>([\d]+)
   reading04Name Salzstand
   reading04Regex <span class="irs-single" style="left:.*?>([\d]+)
   reading05Name Salz_leer_am
   reading05Regex device-info-saltDate.*?>([\d\/\.]+)
   reading06Name Regeneration
   reading06Regex device-info-lastRecharge">(.*?)
   requestHeader1 Cookie: $sid
   requestHeader2 Cache-Control: no-cache
   room       Keller
   sid01IdRegex (ASP.NET_SessionId[^;\n]+)
   sid01URL   https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/walde**************/AC000W000028486
   sid02Data  Email=waldemar.preis@online.de&Password=**********&Remember=false
   sid02Header1 Cookie: $sid
   sid02IdRegex Cookie: ([^\n]+)
   sid02URL   https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/walde************/AC000W000028486
   sid03Data  dsn=AC000W000028486
   sid03Header1 Referer: https://wifi.ecowater.com/Dashboard/Index/walde**********/AC000W000028486
   sid03Header2 X-Requested-With: XMLHttpRequest
   sid03Header3 User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
   sid03Header5 Cookie: $sid
   sid03URL   https://wifi.ecowater.com/Dashboard/UpdateFrequentData
   userattr   reading01Name reading01Regex reading02Name reading02Regex reading03Name reading03Regex reading04Name reading04Regex reading05Name reading05Regex reading06Name reading06Regex requestHeader1 requestHeader2 sid01IdRegex sid01URL sid02Data sid02Header1 sid02IdRegex sid02URL sid03Data sid03Header1 sid03Header2 sid03Header3 sid03Header5 sid03URL
   verbose    5


Log 5:

[code]
2018.11.30 09:32:17 5: H2O_Anlage: ExtractSid called, context sid, num 02
2018.11.30 09:32:17 5: H2O_Anlage: ExtractSid could not match buffer to IdRegex Cookie: ([^\n]+)
2018.11.30 09:32:17 5: H2O_Anlage: HandleSendQueue called, qlen = 2
2018.11.30 09:32:17 4: H2O_Anlage: HandleSendQueue sends request type auth03 to URL https://wifi.ecowater.com/Dashboard/UpdateFrequentData,
data: dsn=AC000W000028486,
header: Referer: https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
Cookie: ASP.NET_SessionId=mnlxds22t2ja2a4zl5l4phoc
timeout 2
2018.11.30 09:32:17 5: HttpUtils url=https://wifi.ecowater.com/Dashboard/UpdateFrequentData
2018.11.30 09:32:18 5: HttpUtils request header:
POST /Dashboard/UpdateFrequentData HTTP/1.0
Host: wifi.ecowater.com
Accept-Encoding: gzip,deflate
Referer: https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
Cookie: ASP.NET_SessionId=mnlxds22t2ja2a4zl5l4phoc
Content-Length: 19
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:18 4: https://wifi.ecowater.com/Dashboard/UpdateFrequentData: HTTP response code 200
2018.11.30 09:32:18 5: HttpUtils https://wifi.ecowater.com/Dashboard/UpdateFrequentData: Got data, length: 196
2018.11.30 09:32:18 5: HttpUtils response header:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Fri, 30 Nov 2018 08:31:53 GMT
Connection: close
Content-Length: 196
2018.11.30 09:32:18 4: H2O_Anlage: Read callback: request type was auth03 retry 0,
Body: {"success":false,"status":"NotLoggedIn","message":"NotLoggedIn","redirectUrl":"/Site/Login?status=NotLoggedIn\u0026returnUrl=%2fDashboard%2fIndex%2fwaldemar.preis%2540online.de%2fAC000W000028486"}
2018.11.30 09:32:18 5: H2O_Anlage: ExtractSid called, context sid, num 03
2018.11.30 09:32:18 5: H2O_Anlage: HandleSendQueue called, qlen = 1
2018.11.30 09:32:18 4: H2O_Anlage: HandleSendQueue sends request type update to URL https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486, No Data,
header: Cookie: ASP.NET_SessionId=mnlxds22t2ja2a4zl5l4phoc
Cache-Control: no-cache
timeout 2
2018.11.30 09:32:18 5: HttpUtils url=https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486
2018.11.30 09:32:19 5: HttpUtils request header:
GET /Dashboard/Index/benutzername/AC000W000028486 HTTP/1.0
Host: wifi.ecowater.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ASP.NET_SessionId=mnlxds22t2ja2a4zl5l4phoc
Cache-Control: no-cache
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:19 4: https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486: HTTP response code 302
2018.11.30 09:32:19 4: HttpUtils https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486: Redirect to https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486
2018.11.30 09:32:19 5: HttpUtils url=https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486
2018.11.30 09:32:19 5: HttpUtils request header:
GET /Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486 HTTP/1.0
Host: wifi.ecowater.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ASP.NET_SessionId=mnlxds22t2ja2a4zl5l4phoc
Cache-Control: no-cache
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:19 4: https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486: HTTP response code 200
2018.11.30 09:32:19 5: HttpUtils https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486: Got data, length: 8275
2018.11.30 09:32:19 5: HttpUtils response header:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-Frame-Options: SAMEORIGIN
X-AspNet-Version: 4.0.30319
Set-Cookie: DC_SESSION_DATA=; path=/
Set-Cookie: __RequestVerificationToken=KhdaAQmFCR_1Yj1DkN_2D6GHeN8ASzm3iJnf9Cp_i1nBeW9GBmiPNgrUHjrU8jSDPLJjx8ATWcG1BruI0JM9rm0cQTZ4Ih7ev97Fv93HrtQ1; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Fri, 30 Nov 2018 08:31:55 GMT
Connection: close
Content-Length: 8275
2018.11.30 09:32:19 4: H2O_Anlage: Read callback: request type was update retry 0,
Body: <!DOCTYPE html>

<html>
<head>
    <title>Login</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel='shortcut icon' href='img/favicon.ico' type='image/x-icon'/>

<!--CSS STYLES-->
   
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
    <link href="/Content/css/jquery-ui-1.91.custom.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/chosen.min.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/datepicker3.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/main.css?11.8.2016" rel="stylesheet" type="text/css">
   

<!--JAVASCRIPT-->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="/Scripts/modernizr-2.6.2-respond-1.1.0.min.js"></script>
    <script src="/Scripts/chosen.jquery.min.js"></script>
    <script src="/Scripts/ion.rangeSlider.min.js"></script>
    <script src="/Scripts/Chart.min.js"></script>
    <script src="/Scripts/bootstrap.min.js"></script>
    <script src="/Scripts/bootstrap-datepicker.js"></script>
    <script src="/Scripts/main.js"></script>

</head>
<body>

<!--TOP FIXED NAVIGATION-->
    <div id="header" class="navbar navbar-default navbar-fixed-top public-page" role="navigation">
        <div class="nav-container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="offcanvas" data-target=".sidebar-offcanvas" data-canvas="body">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-logo" href="http://www.ecowater.com">
                    <img src="/Content/img/mobile_logo.png" />
                </a>
            </div>
            <div id="language" class="language-lg">
                <select onchange="setCulture($(this).val());">
        <option value="en" selected>English</option>
        <option value="fr-CA" >français (Canada)</option>
        <option value="bg" >български</option>
        <option value="cs" >čeština</option>
        <option value="de" >Deutsch</option>
        <option value="es" >español</option>
        <option value="fr" >français</option>
        <option value="hr" >hrvatski</option>
        <option value="hu" >magyar</option>
        <option value="it" >italiano</option>
        <option value="lt" >lietuvių</option>
        <option value="nl" >Nederlands</option>
        <option value="pl" >polski</option>
        <option value="ro" >română</option>
        <option value="ru" >русский</option>
        <option value="sk" >slovenčina</option>
        <option value="sr" >srpski</option>
</select>
            </div>
        </div>
        <div id="global" class="global-lg">
            <ul class="nav navbar-nav navbar-right navbar-custom">
                <li id="global-ecowater"><a href="http://www.ecowater.com">EcoWater.com</a></li>
            </ul>
        </div>
    </div>
<!--END TOP FIXED NAVIGATION-->

    <div id="wrapper" class="row row-offcanvas row-offcanvas-left">
       
    <!--OFF CANVAS MENU-->
        <div id="navigation-sm" class="sidebar-offcanvas">
            <div id="language" class="language-sm">
                <select onchange="setCulture($(this).val());">
        <option value="en" selected>English</option>
        <option value="fr-CA" >français (Canada)</option>
        <option value="bg" >български</option>
        <option value="cs" >čeština</option>
        <option value="de" >Deutsch</option>
        <option value="es" >español</option>
        <option value="fr" >français</option>
        <option value="hr" >hrvatski</option>
        <option value="hu" >magyar</option>
        <option value="it" >italiano</option>
        <option value="lt" >lietuvių</option>
        <option value="nl" >Nederlands</option>
        <option value="pl" >polski</option>
        <option value="ro" >română</option>
        <option value="ru" >русский</option>
        <option value="sk" >slovenčina</option>
        <option value="sr" >srpski</option>
</select>
            </div>

            <h4 id="global-title">My Account</h4>
            <div id="global">
                <ul>
                    <li id="global-ecowater"><a href="http://www.ecowater.com">EcoWater.com</a></li>
                  </ul>
            </div>
        </div>
    <!--END OFF CANVAS MENU-->

       

<div id="intro-page" class="container">
    <div class=" col-xs-12 col-lg-10 col-lg-offset-1">
        <div class="intro-column1">
            <img src="/Content/img/EcoWater_Logo.png"/>
            <h1 class="intro">Welcome!</h1>
            <p>Congratulations on purchasing your new HydroLink Plus<sup>®</sup> Water Treatment System. Click the Create Account button to get started with setup and registration.</p>
            <a href="/Customer/Create" class="btn-submit">New Account</a>
        </div>
        <div class="intro-column2">
<form action="/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486" method="post"><input name="__RequestVerificationToken" type="hidden" value="f77ugAO98tkYNiNlMKCeFvEjEUxPrjDpKt3VMgL5we8VuhNntn0f1OnIek1x_cMWCQ_FEQNNj6iHKtRWWJJ3RUgmpag1mnGWqffNRTlOt9o1" />                <h2>Please Sign In</h2>

        <div class="alert alert-info" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
            Your session has expired. Please log in to continue.
        </div>
                <div class="login-item">
                    <label for="username">
                        <img src="/Content/img/icon_user.png"/>
                    </label>
                    <input data-val="true" data-val-required="The Email field is required." id="username" name="Email" placeholder="username" type="text" value="" />
                    <label for="username">
                        <img src="/Content/img/icon_password.png"/>
                    </label>
                    <input data-val="true" data-val-required="The Password field is required." id="password" name="Password" placeholder="password" type="password" />
                </div>
                <div class="col-xs-6 no-margin">
                    <input type="submit" class="btn-login" value="Login" />
                </div>
                <div class="col-xs-6">
                    <div class="row">
                        <input class="col-xs-1" data-val="true" data-val-required="The Remember Me? field is required." id="remember" name="Remember" type="checkbox" value="true" /><input name="Remember" type="hidden" value="false" />
                        <p id="remember" class="col-xs-11">Remember me</p>
                    </div>                  
                    <a class="special forgotten" href="/Site/Forgot">Forgotten Password?</a>
                </div>
</form>        </div>
    </div>
</div>

    <!--////////////////// BACKGROUND ////////////////-->

        <div id="background" class="background-index">
            <img id="background-left" src="/Content/img/ecowater_background_left.png" />
            <img id="background-right" src="/Content/img/ecowater_background_right.png" />
        </div>

    <!--////////////////// FOOTER ////////////////-->

        <div class="subfooter">
            <p>©2014 EcoWater Systems LLC | 1-800-86WATER | <a class="special" href="http://www.ecowater.com">ecowater.com</a> | <a class="special" href="http://www.ecowater-europe.com">ecowater-europe.com</a></p>
        </div>

    </div>

    <script type="text/javascript">
        function setCulture(culture) {
            window.location = '/Site/SetCulture' + '?name=' + culture;
        }
    </script>
   

</body>
</html>
2018.11.30 09:32:19 5: H2O_Anlage: ExtractSid called, context reading, num
2018.11.30 09:32:19 5: H2O_Anlage: CheckAuth is checking buffer with ReAuthRegex (class="login-item"|Bad Request)
2018.11.30 09:32:19 4: H2O_Anlage: CheckAuth decided new authentication required
2018.11.30 09:32:19 4: H2O_Anlage: Auth called with Steps: 01 02 03
2018.11.30 09:32:19 4: H2O_Anlage: AddToQueue adds auth03, initial queue len: 0, prio
2018.11.30 09:32:19 5: H2O_Anlage: AddToQueue prepends type auth03 to URL https://wifi.ecowater.com/Dashboard/UpdateFrequentData, data dsn=AC000W000028486, header Referer: https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
Cookie: $sid, retry 0
2018.11.30 09:32:19 4: H2O_Anlage: AddToQueue adds auth02, initial queue len: 1, prio
2018.11.30 09:32:19 5: H2O_Anlage: AddToQueue prepends type auth02 to URL https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486, data Email=Benutzername&Password=Passwort&Remember=false, header Cookie: $sid, retry 0
2018.11.30 09:32:19 4: H2O_Anlage: AddToQueue adds auth01, initial queue len: 2, prio
2018.11.30 09:32:19 5: H2O_Anlage: AddToQueue prepends type auth01 to URL https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486, no data, no headers, retry 0
2018.11.30 09:32:19 5: H2O_Anlage: HandleSendQueue called, qlen = 3
2018.11.30 09:32:19 4: H2O_Anlage: HandleSendQueue sends request type auth01 to URL https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486, No Data, No Header
timeout 2
2018.11.30 09:32:19 5: HttpUtils url=https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486
2018.11.30 09:32:19 4: H2O_Anlage: AddToQueue adds update, initial queue len: 2
2018.11.30 09:32:19 5: H2O_Anlage: AddToQueue adds type update to URL https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486, no data, header Cookie: $sid
Cache-Control: no-cache, retry 1
2018.11.30 09:32:19 5: H2O_Anlage: HandleSendQueue called, qlen = 3
2018.11.30 09:32:19 5: H2O_Anlage: HandleSendQueue - still waiting for reply to last request, delay sending from queue
2018.11.30 09:32:19 4: H2O_Anlage: CheckAuth requeued request update after auth, retryCount 0 ...
2018.11.30 09:32:20 5: HttpUtils request header:
GET /Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486 HTTP/1.0
Host: wifi.ecowater.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:20 4: https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486: HTTP response code 200
2018.11.30 09:32:20 5: HttpUtils https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486: Got data, length: 7971
2018.11.30 09:32:20 5: HttpUtils response header:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.5
Set-Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0; path=/; HttpOnly
X-AspNetMvc-Version: 5.2
X-Frame-Options: SAMEORIGIN
X-AspNet-Version: 4.0.30319
Set-Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0; path=/; HttpOnly
Set-Cookie: DC_SESSION_DATA=; path=/
Set-Cookie: __RequestVerificationToken=aByF53vj-4wT-2PzNc_MvUO9lw7dBC_xYgG3eechde5mBWcgfja4NcA_72v9mvHwgX5OyX8acJzY3Kpp-5cWbdRZVeng-S0LDHw56_wMD8k1; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Fri, 30 Nov 2018 08:31:56 GMT
Connection: close
Content-Length: 7971
2018.11.30 09:32:20 4: H2O_Anlage: Read callback: request type was auth01 retry 0,
Body: <!DOCTYPE html>

<html>
<head>
    <title>Login</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel='shortcut icon' href='img/favicon.ico' type='image/x-icon'/>

<!--CSS STYLES-->
   
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
    <link href="/Content/css/jquery-ui-1.91.custom.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/chosen.min.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/datepicker3.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/main.css?11.8.2016" rel="stylesheet" type="text/css">
   

<!--JAVASCRIPT-->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="/Scripts/modernizr-2.6.2-respond-1.1.0.min.js"></script>
    <script src="/Scripts/chosen.jquery.min.js"></script>
    <script src="/Scripts/ion.rangeSlider.min.js"></script>
    <script src="/Scripts/Chart.min.js"></script>
    <script src="/Scripts/bootstrap.min.js"></script>
    <script src="/Scripts/bootstrap-datepicker.js"></script>
    <script src="/Scripts/main.js"></script>

</head>
<body>

<!--TOP FIXED NAVIGATION-->
    <div id="header" class="navbar navbar-default navbar-fixed-top public-page" role="navigation">
        <div class="nav-container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="offcanvas" data-target=".sidebar-offcanvas" data-canvas="body">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-logo" href="http://www.ecowater.com">
                    <img src="/Content/img/mobile_logo.png" />
                </a>
            </div>
            <div id="language" class="language-lg">
                <select onchange="setCulture($(this).val());">
        <option value="en" selected>English</option>
        <option value="fr-CA" >français (Canada)</option>
        <option value="bg" >български</option>
        <option value="cs" >čeština</option>
        <option value="de" >Deutsch</option>
        <option value="es" >español</option>
        <option value="fr" >français</option>
        <option value="hr" >hrvatski</option>
        <option value="hu" >magyar</option>
        <option value="it" >italiano</option>
        <option value="lt" >lietuvių</option>
        <option value="nl" >Nederlands</option>
        <option value="pl" >polski</option>
        <option value="ro" >română</option>
        <option value="ru" >русский</option>
        <option value="sk" >slovenčina</option>
        <option value="sr" >srpski</option>
</select>
            </div>
        </div>
        <div id="global" class="global-lg">
            <ul class="nav navbar-nav navbar-right navbar-custom">
                <li id="global-ecowater"><a href="http://www.ecowater.com">EcoWater.com</a></li>
            </ul>
        </div>
    </div>
<!--END TOP FIXED NAVIGATION-->

    <div id="wrapper" class="row row-offcanvas row-offcanvas-left">
       
    <!--OFF CANVAS MENU-->
        <div id="navigation-sm" class="sidebar-offcanvas">
            <div id="language" class="language-sm">
                <select onchange="setCulture($(this).val());">
        <option value="en" selected>English</option>
        <option value="fr-CA" >français (Canada)</option>
        <option value="bg" >български</option>
        <option value="cs" >čeština</option>
        <option value="de" >Deutsch</option>
        <option value="es" >español</option>
        <option value="fr" >français</option>
        <option value="hr" >hrvatski</option>
        <option value="hu" >magyar</option>
        <option value="it" >italiano</option>
        <option value="lt" >lietuvių</option>
        <option value="nl" >Nederlands</option>
        <option value="pl" >polski</option>
        <option value="ro" >română</option>
        <option value="ru" >русский</option>
        <option value="sk" >slovenčina</option>
        <option value="sr" >srpski</option>
</select>
            </div>

            <h4 id="global-title">My Account</h4>
            <div id="global">
                <ul>
                    <li id="global-ecowater"><a href="http://www.ecowater.com">EcoWater.com</a></li>
                  </ul>
            </div>
        </div>
    <!--END OFF CANVAS MENU-->

       

<div id="intro-page" class="container">
    <div class=" col-xs-12 col-lg-10 col-lg-offset-1">
        <div class="intro-column1">
            <img src="/Content/img/EcoWater_Logo.png"/>
            <h1 class="intro">Welcome!</h1>
            <p>Congratulations on purchasing your new HydroLink Plus<sup>®</sup> Water Treatment System. Click the Create Account button to get started with setup and registration.</p>
            <a href="/Customer/Create" class="btn-submit">New Account</a>
        </div>
        <div class="intro-column2">
<form action="/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486" method="post"><input name="__RequestVerificationToken" type="hidden" value="wzdtYqYg_V7CSS3qZsh8qLVyBsvmWaVNTxpUCGGY5kDaZsDVXaJSnHgLnt1D9xPJs9YDLDBj46L3H-MDXlQPNHIoroQ36HaDIGGWRDUibt01" />                <h2>Please Sign In</h2>

                <div class="login-item">
                    <label for="username">
                        <img src="/Content/img/icon_user.png"/>
                    </label>
                    <input data-val="true" data-val-required="The Email field is required." id="username" name="Email" placeholder="username" type="text" value="" />
                    <label for="username">
                        <img src="/Content/img/icon_password.png"/>
                    </label>
                    <input data-val="true" data-val-required="The Password field is required." id="password" name="Password" placeholder="password" type="password" />
                </div>
                <div class="col-xs-6 no-margin">
                    <input type="submit" class="btn-login" value="Login" />
                </div>
                <div class="col-xs-6">
                    <div class="row">
                        <input class="col-xs-1" data-val="true" data-val-required="The Remember Me? field is required." id="remember" name="Remember" type="checkbox" value="true" /><input name="Remember" type="hidden" value="false" />
                        <p id="remember" class="col-xs-11">Remember me</p>
                    </div>                  
                    <a class="special forgotten" href="/Site/Forgot">Forgotten Password?</a>
                </div>
</form>        </div>
    </div>
</div>

    <!--////////////////// BACKGROUND ////////////////-->

        <div id="background" class="background-index">
            <img id="background-left" src="/Content/img/ecowater_background_left.png" />
            <img id="background-right" src="/Content/img/ecowater_background_right.png" />
        </div>

    <!--////////////////// FOOTER ////////////////-->

        <div class="subfooter">
            <p>©2014 EcoWater Systems LLC | 1-800-86WATER | <a class="special" href="http://www.ecowater.com">ecowater.com</a> | <a class="special" href="http://www.ecowater-europe.com">ecowater-europe.com</a></p>
        </div>

    </div>

    <script type="text/javascript">
        function setCulture(culture) {
            window.location = '/Site/SetCulture' + '?name=' + culture;
        }
    </script>
   

</body>
</html>
2018.11.30 09:32:20 5: H2O_Anlage: ExtractSid called, context sid, num 01
2018.11.30 09:32:20 4: H2O_Anlage: ExtractSid set sid to ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
2018.11.30 09:32:20 5: H2O_Anlage: HandleSendQueue called, qlen = 3
2018.11.30 09:32:20 4: H2O_Anlage: HandleSendQueue sends request type auth02 to URL https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486,
data: Email=Benutzername&Password=Passwort&Remember=false,
header: Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
timeout 2
2018.11.30 09:32:20 5: HttpUtils url=https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486
2018.11.30 09:32:21 5: HttpUtils request header:
POST /Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486 HTTP/1.0
Host: wifi.ecowater.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
Content-Length: 65
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:21 4: https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486: HTTP response code 302
2018.11.30 09:32:21 4: HttpUtils https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486: Redirect to https://wifi.ecowater.com:443/Site/Error
2018.11.30 09:32:21 5: HttpUtils url=https://wifi.ecowater.com:443/Site/Error
2018.11.30 09:32:21 5: HttpUtils request header:
POST /Site/Error HTTP/1.0
Host: wifi.ecowater.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
Content-Length: 65
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:21 4: https://wifi.ecowater.com:443/Site/Error: HTTP response code 200
2018.11.30 09:32:21 5: HttpUtils https://wifi.ecowater.com:443/Site/Error: Got data, length: 6432
2018.11.30 09:32:21 5: HttpUtils response header:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Fri, 30 Nov 2018 08:31:57 GMT
Connection: close
Content-Length: 6432
2018.11.30 09:32:21 4: H2O_Anlage: Read callback: request type was auth02 retry 0,
Body:
<!DOCTYPE html>

<html>
<head>
    <title>Error</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel='shortcut icon' href="/Content/img/favicon.ico" type='image/x-icon'/>

<!--CSS STYLES-->
   
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
    <link href="/Content/css/jquery-ui-1.91.custom.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/chosen.min.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/datepicker3.css" rel="stylesheet" type="text/css">
    <link href="/Content/css/main.min.css?10.18.2018.2" rel="stylesheet" type="text/css">
   

<!--JAVASCRIPT-->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
    <script src="/Scripts/modernizr-2.6.2-respond-1.1.0.min.js"></script>
    <script src="/Scripts/chosen.jquery.min.js"></script>
    <script src="/Scripts/ion.rangeSlider.min.js"></script>
    <script src="/Scripts/Chart.min.js"></script>
    <script src="/Scripts/bootstrap.min.js"></script>
    <script src="/Scripts/bootstrap-datepicker.js"></script>
    <script src="/Scripts/main.js"></script>

   

</head>
<body>



<!--TOP FIXED NAVIGATION-->
    <div id="header" class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="nav-container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="offcanvas" data-target=".sidebar-offcanvas" data-canvas="body">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-logo" href="/Customer/List">
                    <img src="/Content/img/mobile_logo.png" />
                </a>
                <a class="navbar-home" href="/Dashboard/Index">
                    <img src="/Content/img/mobile_home.png" />
                </a>
            </div>
            <div id="language" class="language-lg">
                <select onchange="setCulture($(this).val());">
        <option value="en" selected>English</option>
        <option value="fr-CA" >français (Canada)</option>
        <option value="bg" >български</option>
        <option value="cs" >čeština</option>
        <option value="de" >Deutsch</option>
        <option value="es" >español</option>
        <option value="fr" >français</option>
        <option value="hr" >hrvatski</option>
        <option value="hu" >magyar</option>
        <option value="it" >italiano</option>
        <option value="lt" >lietuvių</option>
        <option value="nl" >Nederlands</option>
        <option value="pl" >polski</option>
        <option value="ro" >română</option>
        <option value="ru" >русский</option>
        <option value="sk" >slovenčina</option>
        <option value="sr" >srpski</option>
</select>
            </div>
        </div>
    </div>
<!--END TOP FIXED NAVIGATION-->

    <div id="wrapper" class="row row-offcanvas row-offcanvas-left">
       
    <!--OFF CANVAS MENU-->
        <div id="navigation-sm" class="sidebar-offcanvas">
            <div id="language" class="language-sm">
                <select onchange="setCulture($(this).val());">
        <option value="en" selected>English</option>
        <option value="fr-CA" >français (Canada)</option>
        <option value="bg" >български</option>
        <option value="cs" >čeština</option>
        <option value="de" >Deutsch</option>
        <option value="es" >español</option>
        <option value="fr" >français</option>
        <option value="hr" >hrvatski</option>
        <option value="hu" >magyar</option>
        <option value="it" >italiano</option>
        <option value="lt" >lietuvių</option>
        <option value="nl" >Nederlands</option>
        <option value="pl" >polski</option>
        <option value="ro" >română</option>
        <option value="ru" >русский</option>
        <option value="sk" >slovenčina</option>
        <option value="sr" >srpski</option>
</select>
            </div>
                </div>
    <!--END OFF CANVAS MENU-->

        <div id="page" class="container">

            <img id="page-logo" src="/Content/img/EcoWater_Logo.png" /><br><br>
            <h2 id="page-title">
                     
               
            </h2>

           

           


            <div class="content-wrapper">


    <div id="navigation-lg">
        <div id="search" class="search-lg">
            <ul class="steps steps1">
                <li><a href="/Site/Index"><strong>‹ Back</strong></a></li>
            </ul>
        </div>
    </div>

               



<div id="intro-page" class="container">
    <div class=" col-xs-12 col-lg-10 col-lg-offset-1">
        <h1 class="center">An unknown error has occurred</h1>
    </div>
</div>



            </div>

        </div>

    <!--////////////////// BACKGROUND ////////////////-->

        <div id="background">
            <img id="background-left" src="/Content/img/ecowater_background_left.png" />
            <img id="background-right" src="/Content/img/ecowater_background_right.png" />
        </div>

    <!--////////////////// FOOTER ////////////////-->

        <div class="subfooter">
            <p>©2014 EcoWater Systems LLC | 1-800-86WATER | <a class="special" href="http://www.ecowater.com">ecowater.com</a> | <a class="special" href="http://www.ecowater-europe.com">ecowater-europe.com</a></p>
        </div>

    </div>

    <script type="text/javascript">
        $(".device-sm #device-select").click(function () {
            $(".device-sm #device-list").slideToggle('fast');
        });
        $(".device-lg #device-select").click(function () {
            $(".device-lg #device-list").slideToggle('fast');
        });
        $("#section select, .chosen").chosen({
            disable_search_threshold: 10,
            inherit_select_classes: true,
            search_contains: true
        });
        function setCulture(culture) {
            window.location = '/Site/SetCulture' + '?name=' + culture;
        }
    </script>

   

</body>
</html>
2018.11.30 09:32:21 5: H2O_Anlage: ExtractSid called, context sid, num 02
2018.11.30 09:32:21 5: H2O_Anlage: ExtractSid could not match buffer to IdRegex Cookie: ([^\n]+)
2018.11.30 09:32:21 5: H2O_Anlage: HandleSendQueue called, qlen = 2
2018.11.30 09:32:21 4: H2O_Anlage: HandleSendQueue sends request type auth03 to URL https://wifi.ecowater.com/Dashboard/UpdateFrequentData,
data: dsn=AC000W000028486,
header: Referer: https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
timeout 2
2018.11.30 09:32:21 5: HttpUtils url=https://wifi.ecowater.com/Dashboard/UpdateFrequentData
2018.11.30 09:32:22 5: HttpUtils request header:
POST /Dashboard/UpdateFrequentData HTTP/1.0
Host: wifi.ecowater.com
Accept-Encoding: gzip,deflate
Referer: https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
Content-Length: 19
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:22 4: https://wifi.ecowater.com/Dashboard/UpdateFrequentData: HTTP response code 200
2018.11.30 09:32:22 5: HttpUtils https://wifi.ecowater.com/Dashboard/UpdateFrequentData: Got data, length: 196
2018.11.30 09:32:22 5: HttpUtils response header:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/8.5
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Fri, 30 Nov 2018 08:31:57 GMT
Connection: close
Content-Length: 196
2018.11.30 09:32:22 4: H2O_Anlage: Read callback: request type was auth03 retry 0,
Body: {"success":false,"status":"NotLoggedIn","message":"NotLoggedIn","redirectUrl":"/Site/Login?status=NotLoggedIn\u0026returnUrl=%2fDashboard%2fIndex%2fwaldemar.preis%2540online.de%2fAC000W000028486"}
2018.11.30 09:32:22 5: H2O_Anlage: ExtractSid called, context sid, num 03
2018.11.30 09:32:22 5: H2O_Anlage: HandleSendQueue called, qlen = 1
2018.11.30 09:32:22 4: H2O_Anlage: HandleSendQueue sends request type update to URL https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486, No Data,
header: Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
Cache-Control: no-cache
timeout 2
2018.11.30 09:32:22 5: HttpUtils url=https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486
2018.11.30 09:32:23 5: HttpUtils request header:
GET /Dashboard/Index/benutzername/AC000W000028486 HTTP/1.0
Host: wifi.ecowater.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
Cache-Control: no-cache
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:23 4: https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486: HTTP response code 302
2018.11.30 09:32:23 4: HttpUtils https://wifi.ecowater.com/Dashboard/Index/benutzername/AC000W000028486: Redirect to https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486
2018.11.30 09:32:23 5: HttpUtils url=https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486
2018.11.30 09:32:23 5: HttpUtils request header:
GET /Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486 HTTP/1.0
Host: wifi.ecowater.com
User-Agent: fhem
Accept-Encoding: gzip,deflate
Cookie: ASP.NET_SessionId=kys10wvrhlaqoplzn0knnne0
Cache-Control: no-cache
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

2018.11.30 09:32:23 4: https://wifi.ecowater.com:443/Site/Login?status=NotLoggedIn&returnUrl=%2fDashboard%2fIndex%2fbenutzername%2fAC000W000028486: HTTP response co
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

amenomade

Hmm das Problem ist anscheinend:
Zitat2018.11.30 09:32:21 4: https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486: HTTP response code 302
2018.11.30 09:32:21 4: HttpUtils https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/benutzername/AC000W000028486: Redirect to https://wifi.ecowater.com:443/Site/Error
(...)
        <h1 class="center">An unknown error has occurred</h1>
Da muss man wieder mit Burp den Loginprozess analysieren.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

holzwurm83

Ok, mir ist gerade aufgefallen das ich die Zugangsdaten nicht mehr geändert habe. Das sind dann immer noch die gleichen die ich dir mal gegeben habe.


Gesendet von iPhone mit Tapatalk
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Black7king

#64
Hallo @holzwurm83

wir haben die letzten tage auch eine ECOWATER SYSTEM eVOLUTION 400 bekommen.
Nun würde ich natürlich gerne jetzt smart machen und die Daten auslesen ins system bekommen.
würdest du mir dabei helfen und deine "Raw definition" anonym bereitzustellen?

amenomade

@Black7king: nur 2 Posts nach oben scrollen...
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Black7king

Zitat von: amenomade am 01 Dezember 2018, 19:41:51
@Black7king: nur 2 Posts nach oben scrollen...

Danke!  ;)
Hoffe das ich jetzt des richtige Kopiert habe, geht bei mir aber auch nicht :-D

amenomade

@holzwurm83: hmmm... die haben ein "__RequestVerificationToken" eingebaut. Dies muss gefangen werden, und beim Login in der URL wieder gegeben werden (formencode). Wird nicht einfach.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

holzwurm83

Ok, hört sich nicht gut an. Die haben wohl die Sicherheit erhöht. Es ist nicht eilig, wenn es länger dauert bzw. ist das überhaupt möglich?
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

amenomade

#69
Ich hab es:
defmod H2O_Anlage HTTPMOD https://wifi.ecowater.com/Dashboard/Index/xxxEmailxxx/AC000W000028486 300
attr H2O_Anlage enableControlSet 1
attr H2O_Anlage enableCookies 1
attr H2O_Anlage reAuthAlways 1
attr H2O_Anlage reAuthRegex (class="login-item"|Bad Request)
attr H2O_Anlage reading01Name VerbrauchHeute
attr H2O_Anlage reading01Regex water_today".*?>([\d]+)
attr H2O_Anlage reading02Name Saltdate
attr H2O_Anlage reading02Regex device-info-saltDate.*?>([\d\/\.]+)
attr H2O_Anlage requestHeader2 Cache-Control: no-cache
attr H2O_Anlage sid01IdRegex type="hidden" value="(.*?)" />
attr H2O_Anlage sid01URL https://wifi.ecowater.com/Site/Login?status=NotLoggedIn&returnUrl=/Dashboard/Index/xxxEmailxxx/AC000W000028486
attr H2O_Anlage sid02Data __RequestVerificationToken=$sid&Email=xxxEmailxxx&Password=xxxPasswortxxx&Remember=false
attr H2O_Anlage sid02IgnoreRedirects 1
attr H2O_Anlage sid02URL https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/xxxEmailxxx/AC000W000028486
attr H2O_Anlage verbose 5

Am besten löschst Du das alte Device, und kreierst es neu, da ich komplett anders $sid nutzen musste. Einige Attribute sind verschwunden, andere werden jetzt benutzt.
reAuthAlways ist vielleicht nicht nötig.
Das mit UpdateFrequentData habe ich erstmal fallen lassen. Anscheinend macht die Webseite es nicht mehr... Vielleicht muss man es doch wieder einbauen.
mal sehen...
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

amenomade

#70
Na, der macht doch den UpdateFrequentData. Dann dazu:
attr H2O_Anlage sid03Data  dsn=AC000W000028486
attr H2O_Anlage sid03Header1 Referer: https://wifi.ecowater.com/Dashboard/Index/xxxEmailxxx/AC000W000028486
attr H2O_Anlage sid03Header2 X-Requested-With: XMLHttpRequest
attr H2O_Anlage sid03Header3 User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
attr H2O_Anlage sid03URL   https://wifi.ecowater.com/Dashboard/UpdateFrequentData
und reAuthAlways  am besten doch benutzen.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

holzwurm83

Super, vielen Dank schon mal! Werde es Morgen gleich testen und berichten!  ;D
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Black7king

Zitat von: holzwurm83 am 10 Dezember 2018, 20:23:04
Super, vielen Dank schon mal! Werde es Morgen gleich testen und berichten!  ;D

hast du es schon testen können funktioniert es so?

amenomade

Er hat mich inzwischen in PN kontaktiert, da es nicht funktioniert hat. Nach Analyse habe ich gesehen, dass sein Httpmod ein von den 4 Cookies "vergessen" hat. Das ist m.M.n. weil er eine verältete Version vom HTTPMOD Modul benutzt, und ich habe ein Update empfohlen, da die beiden letzten Versionen von Httpmod einige Verbesserungen im Cookies-Management gebracht haben.

PS: bei mir, mit seinen Logindaten funktioniert es
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

holzwurm83

So, dank der tollen Unterstützung von amenomade funktioniert das jetzt auch wieder. Bevor das Device angelegt wird sollte man zur Sicherheit prüfen, ob HTTPMOD auf dem aktuellen Stand ist. Das hat bei mir einige Probleme verursacht. 

Benutzername und Passwort sollte vorher eingesetzt werden.


defmod H2O_Anlage HTTPMOD https://wifi.ecowater.com/Dashboard/Index/Benutzername/AC000W000028486 600
attr H2O_Anlage userattr reading01Name reading01Regex reading02Name reading02Regex reading03Name reading03Regex reading04Name reading04Regex reading05Name reading05Regex reading06Name reading06Regex reading07Name reading07Regex requestHeader2 sid01IdRegex sid01URL sid02Data sid02IgnoreRedirects:0,1 sid02URL sid03Data sid03Header1 sid03Header2 sid03Header3 sid03URL
attr H2O_Anlage enableControlSet 1
attr H2O_Anlage enableCookies 1
attr H2O_Anlage reAuthAlways 1
attr H2O_Anlage reAuthRegex (class="login-item"|Bad Request)
attr H2O_Anlage reading01Name VerbrauchHeute
attr H2O_Anlage reading01Regex water_today".*?>([\d]+)
attr H2O_Anlage reading02Name Saltdate
attr H2O_Anlage reading02Regex device-info-saltDate.*?>([\d\/\.]+)
attr H2O_Anlage reading03Name Tagesdurchschnitt
attr H2O_Anlage reading03Regex <h1 id="water_avg".*?>([\d]+)
attr H2O_Anlage reading04Name Verfügbar
attr H2O_Anlage reading04Regex <h1 id="water_avail".*?>([\d]+)
attr H2O_Anlage reading05Name Salzstand
attr H2O_Anlage reading05Regex <span class="irs-single" style="left:.*?>([\d]+)
attr H2O_Anlage reading06Name Regeneration
attr H2O_Anlage reading06Regex device-info-lastRecharge">(.*?)
attr H2O_Anlage reading07Name Salzstand
attr H2O_Anlage reading07Regex SaltLevelCurrent.*?value=\"([\d]+)
attr H2O_Anlage requestHeader2 Cache-Control: no-cache
attr H2O_Anlage room Keller
attr H2O_Anlage sid01IdRegex type="hidden" value="(.*?)" />
attr H2O_Anlage sid01URL https://wifi.ecowater.com/Dashboard/Index/Benutzername/AC000W000028486
attr H2O_Anlage sid02Data __RequestVerificationToken=$sid&Email=Benutzername&Password=passwort&Remember=false
attr H2O_Anlage sid02IgnoreRedirects 1
attr H2O_Anlage sid02URL https://wifi.ecowater.com/Site/Login?returnUrl=/Dashboard/Index/Benutzername/AC000W000028486
attr H2O_Anlage sid03Data dsn=AC000W000028486
attr H2O_Anlage sid03Header1 Referer: https://wifi.ecowater.com/Dashboard/Index/Benutzername/AC000W000028486
attr H2O_Anlage sid03Header2 X-Requested-With: XMLHttpRequest
attr H2O_Anlage sid03Header3 User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/56.0
attr H2O_Anlage sid03URL https://wifi.ecowater.com/Dashboard/UpdateFrequentData
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN