Alpha-Version 69_SoftliqCloud - Auslesen von Grünbeck Entkalkern (Cloud)

Begonnen von KernSani, 18 April 2020, 01:33:22

Vorheriges Thema - Nächstes Thema

Obi-Wan

Hallo KernSani,
auch ich erhalte regelmäßig aber nicht immer Fehlermeldungen im Log wie es die beiden vorherigen Beiträge auch schon zeigen:

2021.02.06 18:08:13 1: [WasserFee] - Received invalid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html PUBLI...") at ./FHEM/69_SoftliqCloud.pm line 1494.

Durch verbose = 5 konnte ich den Fehler eingrenzen - er erscheint in der Processing Queue: initToken gleich zu Beginn des Cloudzugriffs:

2021.02.06 18:08:13 4: [WasserFee] Processing Queue: initToken
2021.02.06 18:08:13 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/69_SoftliqCloud.pm line 879.
2021.02.06 18:08:13 4: [WasserFee]: Starting Timer
2021.02.06 18:08:13 4:  / <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>404 - File or directory not found.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
  <h2>404 - File or directory not found.</h2>
  <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
</html>
2021.02.06 18:08:13 1: [WasserFee] - Received invalid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html PUBLI...") at ./FHEM/69_SoftliqCloud.pm line 1494.

2021.02.06 18:08:13 1: PERL WARNING: Use of uninitialized value in localtime at ./FHEM/69_SoftliqCloud.pm line 925.
2021.02.06 18:08:13 1: PERL WARNING: Use of uninitialized value in localtime at ./FHEM/69_SoftliqCloud.pm line 926.
2021.02.06 18:08:13 4: [WasserFee] Processing Queue: getRefreshToken


Welche Datei oder welches Verzeichnis kann/soll denn hier fehlen ? Merkwürdig ist, das trotz diesen Fehlers die anschliessende Processing Queue: getRefreshToken und alle weiteren dann ohne Fehler weiterlaufen

Danke für eine Prüfung und Rückmeldung.
Obi-Wan

Adriano

Scheint wohl nicht mehr zu klappen. Sie haben anscheinend im Backend etwas geändert.#

Received invalid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "You do not have perm...") at ./FHEM/69_SoftliqCloud.pm line 1494.

mhill

Hallo,

auch bei mir geht es nicht mehr.
Im Log hab ich immer wieder diese Meldungen.

2021.03.22 13:52:13.909 1: [SoftliqSD23] - Received invalid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "You do not have perm...") at ./FHEM/69_SoftliqCloud.pm line 1494.

2021.03.22 13:52:14.078 1: [SoftliqSD23] - Received invalid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at ./FHEM/69_SoftliqCloud.pm line 1494.


Das Passwort hab ich im Web und in FEHM neu gesetzt.

Gibt es jemand bei dem es noch geht?

Gruß Markus

KernSani

Hi zusammen,
sorry - war länger nicht hier. Hab' das Modul bezüglich der geänderten Grünbeck-API angepasst. Die Installationsprobleme schaue ich mir demnächst mal in Ruhe an.
Aktualisiertes Modul hängt (in wenigen Sekunden) am ersten Post.
Grüße,
Oli
RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...

Obi-Wan

Hallo KernSani,

danke fürs kümmern, habe es gleich mal installiert, leider noch ohne Erfolg:

2021.03.26 11:31:09 4: [WasserFee] - Read password from file
2021.03.26 11:31:10 4:  / {"access_token":"blablabla","id_token":"blablabla":"Bearer","not_before":1616754670,"expires_in":3600,"expires_on":1616758270,"resource":"xxxxxx","client_info":"yyy""scope":"https://gruenbeckb2c.onmicrosoft.com/iot/user_impersonation","refresh_token":"blabla","refresh_token_expires_in":7776000}
2021.03.26 11:31:10 5: {
  'id_token' => 'blablaw',
  'token_type' => 'Bearer',
  'client_info' => 'blabla',
  'expires_in' => 3600,
  'refresh_token' => 'blabla',
  'not_before' => 1616754670,
  'scope' => 'https://gruenbeckb2c.onmicrosoft.com/iot/user_impersonation',
  'expires_on' => 1616758270,
  'refresh_token_expires_in' => 7776000,
  'resource' => 'xxxx',
  'access_token' => 'blabla'
}

2021.03.26 11:31:10 4: [WasserFee] - Read password from file
2021.03.26 11:31:10 4: [WasserFee] - Read password from file
2021.03.26 11:31:10 4:  /
2021.03.26 11:31:10 1: [WasserFee] - Received invalid JSON: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at ./FHEM/69_SoftliqCloud.pm line 1500.

2021.03.26 11:31:10 5: undef

2021.03.26 11:31:13 5: Websocket msg: OP:1 LEN:11 MASK:0 FIN:1
2021.03.26 11:31:13 5: [WasserFee] Received from DevIo: {"type":6}

KernSani

Kannst du mal ein ,,authenticate" und danach ein ,,query" machen?
RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...

Obi-Wan

gerne:
2021.03.26 13:10:33 4: [WasserFee] - Read password from file
2021.03.26 13:10:33 4: [WasserFee] Processing Queue: authenticate
2021.03.26 13:10:33 5: 1st Generated URL is https://gruenbeckb2c.b2clogin.com/a50d35c1-202f-4da7-aa87-76e51a3098c6/b2c_1a_signinup/oauth2/v2.0/authorize?state=NzZDNkNBRkMtOUYwOC00RTZBLUE5MkYtQTNFRDVGNTQ3MUNG&x-client-Ver=0.2.2&prompt=select_account&response_type=code&code_challenge_method=S256&x-client-OS=12.4.1&scope=https%3A%2F%2Fgruenbeckb2c.onmicrosoft.com%2Fiot%2Fuser_impersonation+openid+profile+offline_access&x-client-SKU=MSAL.iOS&code_challenge=O4VpgqiL9USQ6q2IDloYGnAnn2Wi_BUP4tdoSbQj0Bo&x-client-CPU=64&client-request-id=FDCD0F73-B7CD-4219-A29B-EE51A60FEE3E&redirect_uri=msal5a83cc16-ffb1-42e9-9859-9fbf07f36df8%3A%2F%2Fauth&client_id=5a83cc16-ffb1-42e9-9859-9fbf07f36df8&haschrome=1&return-client-request-id=true&x-client-DM=iPhone
2021.03.26 13:10:33 4: 'HTTP/1.1 200 OK
Cache-Control: no-store, must-revalidate, no-cache
Allow: OPTIONS,TRACE,GET,HEAD,POST
Content-Length: 153897
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Expires: -1
Vary: Accept-Encoding
x-ms-gateway-requestid: cbb0aa85-2f5c-476c-afab-1f70d1948194
X-UA-Compatible: IE=edge
X-Request-ID: 24e9822d-16e8-4861-92ff-cac3d7ef2a74
X-Build: 1.0.1985.1
Set-Cookie: x-ms-cpim-csrf=ggg==; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-cache|u64i99HOq8I=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-trans=dfgh0=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
X-Frame-Options: DENY
Public: OPTIONS,TRACE,GET,HEAD,POST
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Date: Fri, 26 Mar 2021 12:10:32 GMT
Connection: keep-alive'

2021.03.26 13:10:33 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-csrf=dfdQ Wert = Rest domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
2021.03.26 13:10:33 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-cache|dfgfg=RmA= Wert .8pBp0QQKsYTu64i99HOq8I= Rest domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
2021.03.26 13:10:33 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-trans Wert ddfn0= Rest domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
2021.03.26 13:10:33 4: 'oxfgHQ=='
'StateProperties=ffgfg'
'/ffgfg98c6/B2C_1A_SignInUp'
'B2C_1A_SignInUp'

2021.03.26 13:10:33 5: 'x-ms-cpim-cache|li99HOq8I=; x-ms-cpim-csrf=dfdf0In0='

2021.03.26 13:10:33 4: [WasserFee] Processing Queue: login
2021.03.26 13:10:33 4: [WasserFee] - Read password from file
2021.03.26 13:10:33 5: Generated URL is https://gruenbeckb2c.b2clogin.com/a58c6/B2C_1A_SignInUp/SelfAsserted?tx=StateProperties=dfgfgfgfQ&p=B2C_1A_SignInUp

2021.03.26 13:10:34 5: Websocket msg: OP:1 LEN:11 MASK:0 FIN:1
2021.03.26 13:10:34 5: [WasserFee] Received from DevIo: {"type":6}
2021.03.26 13:10:34 4:  / {"status":"200"}'HTTP/1.1 200 OK
Cache-Control: private
Allow: OPTIONS,TRACE,GET,HEAD,POST
Content-Length: 136
Content-Type: text/json; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
x-ms-gateway-requestid: 568966ec-1b11-4f46-825b-bd2c8f1719c8
Set-Cookie: x-ms-cpim-csrf=ggg==; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-cache|u64i99HOq8I=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-trans=dfgh0=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
X-Frame-Options: DENY
Public: OPTIONS,TRACE,GET,HEAD,POST
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Date: Fri, 26 Mar 2021 12:10:34 GMT
Connection: close'

2021.03.26 13:10:34 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-cache|lylpjogwyuis_8rd1-8qd
2021.03.26 13:10:34 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-trans Wert eyJUX0RJQyI6W3si
2021.03.26 13:10:34 5: ================='x-ms-cpim-cache|lylpjogwyuis_8rd1-8qda_0=m1.TvuHYfRlR8v7DBiM.yH

Header:'HTTP/1.1 200 OK
Cache-Control: private
Allow: OPTIONS,TRACE,GET,HEAD,POST
Content-Length: 136
Content-Type: text/json; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
x-ms-gateway-requestid: 568966ec-1b11-4f46-825b-bd2c8f1719c8
Set-Cookie: x-ms-cpim-csrf=ggg==; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-cache|u64i99HOq8I=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-trans=dfgh0=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
X-Frame-Options: DENY
Public: OPTIONS,TRACE,GET,HEAD,POST
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Date: Fri, 26 Mar 2021 12:10:34 GMT
Connection: close'

2021.03.26 13:10:34 5: ================='x-ms-cpim-cache|lylpjogwy'


2021.03.26 13:10:34 4: [WasserFee] Processing Queue: getCode
2021.03.26 13:10:34 5: Calling https://gruenbeckb2c.b2clogin.com/a50-76e51a3098c6/B2C_1A_SignInUp/api/CombinedSigninAndSignup/confirmed?csrf_token=MzlCK2p_1A_SignInUp
2021.03.26 13:10:34 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-sso:gruenbeckb2c.onmicrosoft.com_0=m1.j4pqDn35FPd4Nv16PRCA= Wert .0; secure; HttpOnly
2021.03.26 13:10:34 4: WasserFee: GetCookies parsed Cookie: domain Wert gruenbeckb2c.b2clogin.com Rest expires=Sat, 26-Mar-2011 12:10:34 GMT; path=/; secure; HttpOnly
2021.03.26 13:10:34 4: WasserFee: GetCookies parsed Cookie: domain Wert gruenbeckb2c.b2clogin.com Rest expires=Sat, 26-Mar-2011 12:10:34 GMT; path=/; secure; HttpOnly
2021.03.26 13:10:34 4:  / <html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="msQ">here</a>.</h2>
</body></html>

2021.03.26 13:10:34 5: 'nzQ'

2021.03.26 13:10:34 4: [WasserFee] Processing Queue: initToken
2021.03.26 13:10:34 4:  / {"access_token":"8GQ","id_token":"WeQyJg","token_type":"Bearer","not_before":1616760634,"expires_in":3600,"expires_on":1616764234,"resource":"5a83cc16-ffb1-427f36df8","client_info":"qKj72jxQ","refresh_token_expires_in":7776000}
2021.03.26 13:10:34 5: {
  'expires_in' => 3600,
  'token_type' => 'Bearer',
  'client_info' => 'ewOThjNiJ9',
  'id_token' => 'ebRp4EF8eQyJg',
  'not_before' => 1616760634,
  'refresh_token' => 'dfgfgQ',
  'scope' => 'https://gruenbeckb2c.onmicrosoft.com/iot/user_impersonation',
  'resource' => '5a83cc7f36df8',
  'refresh_token_expires_in' => 7776000,
  'access_token' => 'eGHDeZxHG4F4N2GQ',
  'expires_on' => 1616764234
}

2021.03.26 13:10:34 4: [WasserFee] - Read password from file
2021.03.26 13:10:40 5: Websocket msg: OP:1 LEN:11 MASK:0 FIN:1
2021.03.26 13:10:40 5: [WasserFee] Received from DevIo: {"type":6}
2021.03.26 13:10:44 4: [WasserFee] - Read password from file
2021.03.26 13:10:44 4: [WasserFee] Processing Queue: authenticate
2021.03.26 13:10:44 5: 1st Generated URL is https://gruenbeckb2c.b2clogin.com/a50d35c98c6/b2c_1a_signinup/oauth2/v2.0/authorize?state=NzZDNkNUNG&x-client-Ver=0.2.2&prompt=select_account&response_type=code&code_challenge_method=S256&x-client-OS=12.4.1&scope=https%3A%2F%2Fgruenbeckb2c.onmicrosoft.com%2Fiot%2Fuser_impersonation+openid+profile+offline_access&x-client-SKU=MSAL.iOS&code_challenge=aDIhN4HqPN41kbwxJ-PsJS-Ncn5-651wSqXAWBSLk1k&x-client-CPU=64&client-request-id=FDCD0F73-B7CD-4219-A29B-EE51A60FEE3E&redirect_uri=msal%3A%2F%2Fauth&client_id=5a83cc16-6df8&haschrome=1&return-client-request-id=true&x-client-DM=iPhone
2021.03.26 13:10:44 4: 'HTTP/1.1 200 OK
Cache-Control: no-store, must-revalidate, no-cache
Allow: OPTIONS,TRACE,GET,HEAD,POST
Content-Length: 153892
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Expires: -1
Vary: Accept-Encoding
x-ms-gateway-requestid: 06a0eb9c
X-UA-Compatible: IE=edge
X-Request-ID: 640b6528
X-Build: 1.0.1985.1
Set-Cookie: x-ms-cpim-csrf=ggg==; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-cache|u64i99HOq8I=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-cpim-trans=dfgh0=; domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
X-Frame-Options: DENY
Public: OPTIONS,TRACE,GET,HEAD,POST
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Date: Fri, 26 Mar 2021 12:10:44 GMT
Connection: keep-alive'

2021.03.26 13:10:44 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-csrf
2021.03.26 13:10:44 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-cach
2021.03.26 13:10:44 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-tran
2021.03.26 13:10:44 4: 'd03aDN6SG
'StateProperties=efQ'
'/a50d352f-7-a-7698c6/B_12_SignInUp'
'B2C_1A_SignInUp'

2021.03.26 13:10:44 4: [WasserFee] Processing Queue: login
2021.03.26 13:10:44 4: [WasserFee] - Read password from file
2021.03.26 13:10:44 5: Generated URL is https://gruenbeckb2c.b2clogin.com/a50d33098c6/B2C_1A_SignInUp/SelfAsserted?tx=StateProperties=eyJC_1A_SignInUp

2021.03.26 13:10:45 5: Websocket msg: OP:1 LEN:11 MASK:0 FIN:1
2021.03.26 13:10:45 5: [WasserFee] Received from DevIo: {"type":6}
2021.03.26 13:10:45 4:  / {"status":"200"}'HTTP/1.1 200 OK
Cache-Control: private
Allow: OPTIONS,TRACE,GET,HEAD,POST
Content-Length: 136
Content-Type: text/json; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
x-ms-gateway-requestid: 17b3c7
X-Frame-Options: DENY
Public: OPTIONS,TRACE,GET,HEAD,POST
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Date: Fri, 26 Mar 2021 12:10:45 GMT
Connection: close'

2021.03.26 13:10:45 4: WasserFee: GetCookies parsed C Rest domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
2021.03.26 13:10:45 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-trans Wert  Rest domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
2021.03.26 13:10:45 5: ================='x-ms-cpim-cache|43elzo21_0='

Header:'HTTP/1.1 200 OK
Cache-Control: private
Allow: OPTIONS,TRACE,GET,HEAD,POST
Content-Length: 136
Content-Type: text/json; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
x-ms-gateway-requestid: 17ba50f3a-c216438213c7
X-Frame-Options: DENY
Public: OPTIONS,TRACE,GET,HEAD,POST
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Date: Fri, 26 Mar 2021 12:10:45 GMT
Connection: close'


2021.03.26 13:10:45 4: [WasserFee] Processing Queue: getCode
2021.03.26 13:10:45 5: Calling https://gruenbeckb2c.b2clogin.com/a50d_SignInUp/api/CombinedSigninAndSignup/confirmed?csrf_token=d==&tx=StateProperties=eMTY1MjgifQ&p=B2C_1A_SignInUp
2021.03.26 13:10:45 4: WasserFee: GetCookies parsed Cookie: x-ms-cpim-sso:gruenbeckb2c.onmicrosoft.com_0=m1.fbiGQVaFYEaLcO2OLpw6Ww= Wert .0.SGodr Rest domain=gruenbeckb2c.b2clogin.com; path=/; secure; HttpOnly
2021.03.26 13:10:45 4: WasserFee: GetCookies parsed Cookie: domain Wert gruenbeckb2c.b2clogin.com Rest expires=Sat, 26-Mar-2011 12:10:45 GMT; path=/; secure; HttpOnly
2021.03.26 13:10:45 4: WasserFee: GetCookies parsed Cookie: domain Wert gruenbeckb2c.b2clogin.com Rest expires=Sat, 26-Mar-2011 12:10:45 GMT; path=/; secure; HttpOnly
2021.03.26 13:10:45 4:  / <html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="msal5f8%3a%2f%2fauth%2f%3fstate%3dNUNG%26trustFrameworkPolicy%3dB2C_1A_SignInUp%26code%3deyJraNRaLKyk3iQyxf_nafKAdn6MxrEmcWiyMoOuwjCcAPcFy_osZe9LBTRtMQs6E_yEXupafk2wZkuzPS7bpD71EydjFxSj4YDy-94PGozVZXIKIMUYbeeQXlunP6pdeKjHmiEGZuvQw.1AcSwmRGQrpIxu01.d301GGtH6Qn1o7MVpBlYQC_iXPwQKf7Qw8vwOfGuBSA">here</a>.</h2>
</body></html>

2021.03.26 13:10:45 4: [WasserFee] Processing Queue: initToken
2021.03.26 13:10:46 4:  / {"access_token":"EfroqcXg","id_token":"NDFiNTWrw","token_type":"Bearer","not_before":1616760646,"expires_in":3600,"expires_on":1616764246,"resource":"5a83cc16-ffb1-42e9-9859-9fbf07f36df8","client_info":"eyJ1aWQNiJ9","scope":"https://gruenbeckb2c.onmicrosoft.com/iot/user_impersonation","refresh_token":"Yq96Q","refresh_token_expires_in":7776000}
2021.03.26 13:10:46 5: {
  'expires_in' => 3600,
  'id_token' => '216UcfY75SdWrw',
  'token_type' => 'Bearer',
  'client_info' => 'eJ9',
  'refresh_token' => 'e9y2NyV_I71MUAFd1Q.03-uoKQAjh6UcRMmAgGwAQ',
  'not_before' => 1616760646,
  'scope' => 'https://gruenbeckb2c.onmicrosoft.com/iot/user_impersonation',
  'expires_on' => 1616764246,
  'resource' => '5a83ccfbf07f36df8',
  'refresh_token_expires_in' => 7776000,
  'access_token' => 'eyg'
}

2021.03.26 13:10:46 4: [WasserFee] - Read password from file
2021.03.26 13:10:46 4: [WasserFee] Processing Queue: getRefreshToken
2021.03.26 13:10:46 4:  / {"access_token":"frog","id_token":"Y75SdWrw","token_type":"Bearer","not_before":1616760646,"expires_in":3600,"expires_on":1616764246,"resource":"5a83cc16-ffb1-42e9-9859-9fbf07f36df8","client_info":"eyJ1aWQiOiI2MjZiMjAzNi1hN2VjLTRlNjQtOWM1MS0zZjQxYjU1OTVmMDEtYjJjXzFhX3NpZ25pbnVwIiwidXRpZCI6ImE1MGQzNWMxLTIwMmYtNGRhNy1hYTg3LTc2ZTUxYTMwOThjNiJ9","scope":"https://gruenbeckb2c.onmicrosoft.com/iot/user_impersonation","O7w","refresh_token_expires_in":7776000}
2021.03.26 13:10:46 5: {
  'resource' => '5a83cc16-ff-9fbf07f36df8',
  'refresh_token_expires_in' => 7776000,
  'access_token' => 'eyJIe5DuYBfroqcXg',
  'expires_on' => 1616764246,
  'scope' => 'https://gruenbeckb2c.onmicrosoft.com/iot/user_impersonation',
  'refresh_token' => 'eyLO7w',
  'not_before' => 1616760646,
  'expires_in' => 3600,
  'client_info' => 'eyJ9',
  'token_type' => 'Bearer',
  'id_token' => 'eydWrw'
}

2021.03.26 13:10:46 4: [WasserFee] - Read password from file
2021.03.26 13:10:46 4: [WasserFee] Processing Queue: getDevices
2021.03.26 13:10:46 4:  / [{"type":21,"hasError":false,"id":"softliQ.D/BS50045672","series":"softliQ.D","serialNumber":"BS50045672","name":"WasserFee","register":true}]
2021.03.26 13:10:46 5: [
  {
    'id' => 'softliQ.D/BS50045672',
    'name' => 'WasserFee',
    'type' => 21,
    'series' => 'softliQ.D',
    'serialNumber' => 'BS50045672',
    'register' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
    'hasError' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
  }
]

2021.03.26 13:10:46 4: [WasserFee] - Read password from file
2021.03.26 13:10:46 4: [WasserFee] Processing Queue: getInfo
2021.03.26 13:10:47 4:  / {"hardwareVersion":"00000004","lastService":"2021-01-18","mode":2,"nextRegeneration":"2021-03-27T02:00:00","nominalFlow":2.1,"rawWater":17.0,"softWater":4.0,"softwareVersion":"0002.0028","errors":[],"salt":[{"date":"2021-03-25","value":217},{"date":"2021-03-24","value":0},{"date":"2021-03-23","value":220}],"timeZone":"+01:00","water":[{"date":"2021-03-25","value":287},{"date":"2021-03-24","value":211},{"date":"2021-03-23","value":297}],"unit":1,"startup":"2021-01-18","type":21,"hasError":false,"id":"softliQ.D/BS50045672","series":"softliQ.D","serialNumber":"BS50045672","name":"WasserFee","register":true}
2021.03.26 13:10:47 5: {
  'type' => 21,
  'name' => 'WasserFee',
  'serialNumber' => 'BS50045672',
  'softwareVersion' => '0002.0028',
  'startup' => '2021-01-18',
  'id' => 'softliQ.D/BS50045672',
  'softWater' => '4',
  'lastService' => '2021-01-18',
  'rawWater' => '17',
  'timeZone' => '+01:00',
  'errors' => [],
  'nextRegeneration' => '2021-03-27T02:00:00',
  'unit' => 1,
  'nominalFlow' => '2.1',
  'hasError' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
  'hardwareVersion' => '00000004',
  'series' => 'softliQ.D',
  'water' => [
               {
                 'date' => '2021-03-25',
                 'value' => 287
               },
               {
                 'value' => 211,
                 'date' => '2021-03-24'
               },
               {
                 'date' => '2021-03-23',
                 'value' => 297
               }
             ],
  'mode' => 2,
  'register' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'salt' => [
              {
                'date' => '2021-03-25',
                'value' => 217
              },
              {
                'date' => '2021-03-24',
                'value' => 0
              },
              {
                'value' => 220,
                'date' => '2021-03-23'
              }
            ]
}

2021.03.26 13:10:47 4: [WasserFee] - Read password from file
2021.03.26 13:10:47 4: [WasserFee] Processing Queue: getParam
2021.03.26 13:10:47 4:  / {"$pending":[],"pallowemail":true,"pallowpushnotification":true,"pdlstauto":true,"pntpsync":false,"pcfcontact":true,"pknx":false,"pmonflow":false,"pmondisinf":true,"pledatsaltpre":true,"pbuzzer":false,"prescaplimit":50,"pcurrent":700,"pload":2000,"pforcedregdist":4,"pmaintint":365,"pfreqregvalve":200,"pfreqblendvalve":300,"pledbright":63,"pvolume":0,"prawhard":17,"psetsoft":4,"ppratesoftwater":0.0043,"pprateblending":0.004,"pprateregwater":0.0039000000000000003,"psetcapmo":20,"psetcaptu":20,"psetcapwe":20,"psetcapth":20,"psetcapfr":20,"psetcapsa":20,"psetcapsu":20,"pnomflow":2.1,"ppressurereg":0,"pmonregmeter":20,"pmonsalting":75,"prinsing":9.5,"pbackwash":12,"pwashingout":4,"pminvolmincap":0.17,"pmaxvolmincap":0.49,"pminvolmaxcap":0.8200000000000001,"pmaxvolmaxcap":2.15,
"pmaxdurdisinfect":4,"pmaxresdurreg":0,"pbuzzfrom":"08:00","pbuzzto":"18:00","pmailadress":"service@gruenbeck.de","pname":"Grünbeck Service","ptelnr":"+49 9074 - 41333","pmode":2,"pmodemo":2,"pmodetu":1,"pmodewe":1,"pmodeth":1,"pmodefr":2,"pmodesa":3,"pmodesu":3,"planguage":1,"phunit":1,"pregmode":1,"pprogout":1,"pprogin":0,"ppowerfail":0,"pmodedesinf":1,"pled":2,"pregmo1":"02:00","pregmo2":"07:00","pregmo3":"07:00","pregtu1":"07:00","pregtu2":"07:00","pregtu3":"07:00","pregwe1":"07:00","pregwe2":"07:00","pregwe3":"07:00","pregth1":"07:00","pregth2":"07:00","pregth3":"07:00","pregfr1":"07:00","pregfr2":"07:00","pregfr3":"07:00","pregsa1":"--:--","pregsa2":"--:--","pregsa3":"--:--","pregsu1":"--:--","pregsu2":"--:--","pregsu3":"--:--","pmonblend":0,"poverload":0}
2021.03.26 13:10:47 4: {
  'pmodeth' => 1,
  'pmodesu' => 3,
  'pled' => 2,
  'pledatsaltpre' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'pwashingout' => 4,
  'pregtu3' => '07:00',
  'pcurrent' => 700,
  'pregsa2' => '--:--',
  'pregth2' => '07:00',
  'pminvolmincap' => '0.17',
  'pprateregwater' => '0.0039',
  'pregmo2' => '07:00',
  'pregtu2' => '07:00',
  'pregfr2' => '07:00',
  'psetcapsa' => 20,
  'psetcapmo' => 20,
  'pregsu3' => '--:--',
  'pregsa3' => '--:--',
  'pledbright' => 63,
  'pcfcontact' => $VAR1->{'pledatsaltpre'},
  '$pending' => [],
  'ppratesoftwater' => '0.0043',
  'pregfr1' => '07:00',
  'pbackwash' => 12,
  'pprogin' => 0,
  'pregwe2' => '07:00',
  'pregwe3' => '07:00',
  'pdlstauto' => $VAR1->{'pledatsaltpre'},
  'pforcedregdist' => 4,
  'pprogout' => 1,
  'pmodemo' => 2,
  'ppowerfail' => 0,
  'pbuzzfrom' => '08:00',
  'poverload' => 0,
  'psetcaptu' => 20,
  'pbuzzto' => '18:00',
  'psetcapth' => 20,
  'pmaxdurdisinfect' => 4,
  'pmonflow' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
  'ptelnr' => '+49 9074 - 41333',
  'phunit' => 1,
  'pmodefr' => 2,
  'psetcapfr' => 20,
  'pmonblend' => 0,
  'pbuzzer' => $VAR1->{'pmonflow'},
  'pprateblending' => '0.004',
  'pmaintint' => 365,
  'pregfr3' => '07:00',
  'pmodedesinf' => 1,
  'pmailadress' => 'service@gruenbeck.de',
  'prinsing' => '9.5',
  'prawhard' => 17,
  'pminvolmaxcap' => '0.82',
  'planguage' => 1,
  'pregmo1' => '02:00',
  'pnomflow' => '2.1',
  'pregth1' => '07:00',
  'pknx' => $VAR1->{'pmonflow'},
  'pfreqblendvalve' => 300,
  'pmaxvolmincap' => '0.49',
  'pntpsync' => $VAR1->{'pmonflow'},
  'pvolume' => 0,
  'psetcapwe' => 20,
  'ppressurereg' => 0,
  'pallowemail' => $VAR1->{'pledatsaltpre'},
  'pmondisinf' => $VAR1->{'pledatsaltpre'},
  'psetsoft' => 4,
  'pmaxresdurreg' => 0,
  'pname' => "Gr\x{c3}\x{bc}nbeck Service",
  'pmodesa' => 3,
  'prescaplimit' => 50,
  'pallowpushnotification' => $VAR1->{'pledatsaltpre'},
  'pregwe1' => '07:00',
  'pmodetu' => 1,
  'pmode' => 2,
  'pregsa1' => '--:--',
  'pmodewe' => 1,
  'pregmode' => 1,
  'pregtu1' => '07:00',
  'pmonregmeter' => 20,
  'pmaxvolmaxcap' => '2.15',
  'pregsu2' => '--:--',
  'psetcapsu' => 20,
  'pload' => 2000,
  'pregmo3' => '07:00',
  'pfreqregvalve' => 200,
  'pregth3' => '07:00',
  'pregsu1' => '--:--',
  'pmonsalting' => 75
}

2021.03.26 13:10:47 4: [WasserFee] Processing Queue: negotiate
2021.03.26 13:10:47 4:  / {"url":"https://prod-eu-gruenbeck-signalr.service.signalr.net/client/?hub=gruenbeck","accessToken":"eyJhbGciOiJIUzI1NiIsImtpZCI6IjI3MDY4NzYwMCIsInR5cCI6IkpXVCJ9.eyJuYW1laWQiOiI2MjZiMjAzNi1hN2VjLTRlNjQtOWM1MS0zZjQxYjU1OTVmMDEiLCJuYmYiOjE2MTY3NjA2NDcsImV4cCI6MTYxNjc2NDI0NywiaWF0IjoxNjE2NzYwNjQ3LCJhdWQiOiJodHRwczovL3Byb2QtZXUtZ3J1ZW5iZWNrLXNpZ25hbHIuc2VydmljZS5zaWduYWxyLm5ldC9jbGllbnQvP2h1Yj1ncnVlbmJlY2sifQ.zwL5vwDL_yX-TLYu9qmvOksI-S_rvRW856AaocyFVPY"}
2021.03.26 13:10:47 5: {
  'url' => 'https://prod-eu-gruenbeck-signalr.service.signalr.net/client/?hub=gruenbeck',
  'accessToken' => 'eyJhbcyFVPY'
}

2021.03.26 13:10:47 5: [WasserFee] wsUrl is https://prod-eu-gruenbeck-signalr.service.signalr.net/client/?hub=gruenbeck
2021.03.26 13:10:48 4:  / {"negotiateVersion":0,"connectionId":"qmGeqxY9A1f19b7041","availableTransports":[{"transport":"WebSockets","transferFormats":["Text","Binary"]},{"transport":"ServerSentEvents","transferFormats":["Text"]},{"transport":"LongPolling","transferFormats":["Text","Binary"]}]}
2021.03.26 13:10:48 5: {
  'negotiateVersion' => 0,
  'connectionId' => 'qmGeqx19b7041',
  'availableTransports' => [
                             {
                               'transport' => 'WebSockets',
                               'transferFormats' => [
                                                      'Text',
                                                      'Binary'
                                                    ]
                             },
                             {
                               'transferFormats' => [
                                                      'Text'
                                                    ],
                               'transport' => 'ServerSentEvents'
                             },
                             {
                               'transport' => 'LongPolling',
                               'transferFormats' => [
                                                      'Text',
                                                      'Binary'
                                                    ]
                             }
                           ]
}

2021.03.26 13:10:48 4: [WasserFee] Calling realtime for enter
2021.03.26 13:10:48 4: [WasserFee] Calling realtime for refresh
2021.03.26 13:10:48 5: Websocket msg: OP:1 LEN:417 MASK:0 FIN:1
2021.03.26 13:10:48 5: [WasserFee] Received from DevIo: {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS50045672","type":"Current","ibuiltindev":true,"isncu":"202006251449","mregpercent1":58,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":44,"mresidcap2":129,"mrescapa1":0.277,"mrescapa2":0.8,"mmaint":298,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}
2021.03.26 13:10:48 4: [WasserFee] Received from socket: {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS50045672","type":"Current","ibuiltindev":true,"isncu":"202006251449","mregpercent1":58,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":44,"mresidcap2":129,"mrescapa1":0.277,"mrescapa2":0.8,"mmaint":298,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}
2021.03.26 13:10:48 4: [WasserFee] - Read password from file
2021.03.26 13:10:48 5: Websocket msg: OP:1 LEN:481 MASK:0 FIN:1
2021.03.26 13:10:48 5: [WasserFee] Received from DevIo: {"type":1,"target":"SendOneTimeMessageToDevice","arguments":[{"id":"BS50045672","type":"CurrSlow","ibuiltindev":true,"isncu":"202006251449","mcountreg":43,"mcountwater1":23583,"mcountwater2":0,"mcountwatertank":34,"msaltusage":13.3353,"mflowexc":0,"mflowexc2reg1":0,"mflowexc1reg2":0,"mlifeadsorb":0,"mhardsoftw":5,"mcapacity":10.8,"maverage":99,"mstddev":0,"mmax":1,"mpress":0,"mtemp":0,"mflowmax":2.15,"mflowmax1reg2":0,"mflowmax2reg1":0,"mendreg1":"02:20","mendreg2":"00:00"}]}
2021.03.26 13:10:48 4: [WasserFee] Received from socket: {"type":1,"target":"SendOneTimeMessageToDevice","arguments":[{"id":"BS50045672","type":"CurrSlow","ibuiltindev":true,"isncu":"202006251449","mcountreg":43,"mcountwater1":23583,"mcountwater2":0,"mcountwatertank":34,"msaltusage":13.3353,"mflowexc":0,"mflowexc2reg1":0,"mflowexc1reg2":0,"mlifeadsorb":0,"mhardsoftw":5,"mcapacity":10.8,"maverage":99,"mstddev":0,"mmax":1,"mpress":0,"mtemp":0,"mflowmax":2.15,"mflowmax1reg2":0,"mflowmax2reg1":0,"mendreg1":"02:20","mendreg2":"00:00"}]}
2021.03.26 13:10:48 4: [WasserFee] - Read password from file

Adriano

Hallo, bei mir klappt es wieder. Musste einmal das Passwort wieder setzen im Modul und dann hat es geklappt. Vielen Dank!

KernSani

Zitat von: Obi-Wan am 26 März 2021, 13:39:18
gerne:

sieht ja dem Log zufolge gut aus jetzt :-)  Vorgestern hat er nicht regeneriert, gestern schon, nd du hast das Ding seit 18.01.2021 ;-)

Grüße,

Oli

RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...

Sascha_F

Hi zusammen,

ich habe gerade eben erst gemerkt, dass ich "disconnected" bin. Ich habe ein Presence-Device, da sich die Grünbeck ab und zu mal aus dem WLAN verabschiedet - das hatte ich aber nicht im Blick :-D

Bei mir läuft es jetzt auch wieder :)   Natürlich hatte ich es mal wieder nicht auf dem Schirm, nach einer neuen Version zu schauen - im Kopf habe ich immer nur, dass ich mit FHEM-Update ja immer auf dem aktuellsten Stand bin - fail ;-)

@Oli: Vielen Dank für den schnellen Fix! :)

Das Modul läuft doch (soweit ich das zumindest beurteilen kann) so, wie es soll - spricht etwas dagegen, es ganz normal ins FHEM-Update mit einzuhängen (oder ist das ein größerer Aufwand - sorry, hab ich keine Ahnung von).

Ich hatte Grünbeck vor nem Jahr oder so mal angeschrieben (zugegeben mit wenig Hoffnung) und gefragt, ob bei einem zukünftigen Update nicht wenigstens die Möglichkeit besteht, einen MQTT-Client zu integrieren - ich bin kein Fan von Cloud-Lösungen...
Unterm Strich ist es natürlich meine eigene Schuld, da ich mich im Vorfeld zwar informiert habe, aber übersehen hatte, dass der Webserver nur im Vorgängermodell implementiert war = Lehrgeld... ;-)

Viele Grüße ++ schönes WE ++ schon mal schöne Ostertage!
Sascha

KernSani

Zitat von: Sascha_F am 26 März 2021, 19:16:16
Das Modul läuft doch (soweit ich das zumindest beurteilen kann) so, wie es soll - spricht etwas dagegen, es ganz normal ins FHEM-Update mit einzuhängen (oder ist das ein größerer Aufwand - sorry, hab ich keine Ahnung von).
Tatsächlich wollte ich das Update gestern ins SVN einchecken und habe dann gemerkt, dass es da noch garnicht ist :-D Werde ich die nächsten Tage mal machen.

Zitat von: Sascha_F am 26 März 2021, 19:16:16
Unterm Strich ist es natürlich meine eigene Schuld, da ich mich im Vorfeld zwar informiert habe, aber übersehen hatte, dass der Webserver nur im Vorgängermodell implementiert war = Lehrgeld... ;-)
Da sind wir schon zwei :-D
RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...

KernSani

So, habe noch ein paar Bugfixes gemacht, Doku ergänzt und das Ding eingecheckt. Damit ist dieser Thread geschlossen. Weitere Diskussion bitte hier: https://forum.fhem.de/index.php/topic,119939.0.html
RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...