Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No stream updates for SD device #53

Open
kopierschnitte opened this issue May 1, 2023 · 6 comments
Open

No stream updates for SD device #53

kopierschnitte opened this issue May 1, 2023 · 6 comments

Comments

@kopierschnitte
Copy link

kopierschnitte commented May 1, 2023

Hi!
Some of my stream datapoints don't get frequent (or any) updates at all. Sounds similar to #16
Especially the mflow1 value would be vital for me. It gets updated in the app and, of course, on the device frontpanel.

I've noticed that those "type 6"-messages appear frequently whenever I consume water.

Sometimes, I get a value for mflow1 but it's somehow delayed and goes slowly down to 0 even after water consumption has been stopped for minutes. Again, the app and the device display 0 almost immediately.

UPDATE: Like in previous issues, the values do get frequent updates as soon as I open the app on my phone.

gruenbeck.0 2023-05-01 09:03:19.186 debug {"type":6}�
gruenbeck.0 2023-05-01 09:03:17.138 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:16.008 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:15.056 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:13.975 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:13.192 debug {"type":6}�
gruenbeck.0 2023-05-01 09:03:12.933 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:11.885 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:10.840 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:09.748 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:08.669 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:08.155 debug {"type":6}�
gruenbeck.0 2023-05-01 09:03:07.696 debug {"type":1,"target":"SendMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"Current","ibuiltindev":true,"isncu":"202209150448","mregpercent1":100,"mregpercent2":0,"mremregstep":0,"mregstatus":0,"mresidcap1":52,"mresidcap2":59,"mrescapa1":0.705,"mrescapa2":0.8,"mmaint":363,"mflow1":0,"mflow2":0,"mflowreg1":0,"mflowreg2":0,"mflowblend":0,"mstep1":4950,"mstep2":0,"mcurrent":0,"mreswatadmod":0,"msaltrange":99}]}�
gruenbeck.0 2023-05-01 09:03:07.456 debug ""
gruenbeck.0 2023-05-01 09:03:07.456 debug refreshSD response:
gruenbeck.0 2023-05-01 09:03:07.355 debug {"type":1,"target":"SendOneTimeMessageToDevice","arguments":[{"id":"BS5005xxxx","type":"CurrSlow","ibuiltindev":true,"isncu":"202209150448","mcountreg":2,"mcountwater1":758,"mcountwater2":0,"mcountwatertank":2,"msaltusage":0.8399000000000001,"mflowexc":0,"mflowexc2reg1":0,"mflowexc1reg2":0,"mlifeadsorb":0,"mhardsoftw":5,"mcapacity":20,"maverage":99,"mstddev":0,"mmax":0,"mpress":0,"mtemp":0,"mflowmax":1.83,"mflowmax1reg2":0,"mflowmax2reg1":0,"mendreg1":"09:04","mendreg2":"00:00"}]}�
gruenbeck.0 2023-05-01 09:03:07.281 debug {}�
gruenbeck.0 2023-05-01 09:03:07.229 debug WS connected
gruenbeck.0 2023-05-01 09:03:07.217 debug refreshSD
gruenbeck.0 2023-05-01 09:03:07.216 debug ""
gruenbeck.0 2023-05-01 09:03:07.216 debug enterSD response
gruenbeck.0 2023-05-01 09:03:07.100 debug {"negotiateVersion":0,"connectionId":"T1OU7PvZG7D_cJBUX43CfQocdFNAd02","availableTransports":[{"transport":"WebSockets","transferFormats":["Text","Binary"]},{"transport":"ServerSentEvents","transferFormats":["Text"]},{"transport":"LongPolling","transferFormats":["Text","Binary"]}]}
gruenbeck.0 2023-05-01 09:03:06.989 debug [{"date":"2023-04-29","value":0},{"date":"2023-04-30","value":799}]
gruenbeck.0 2023-05-01 09:03:06.981 debug [{"date":"2023-04-29","value":5},{"date":"2023-04-30","value":640}]
gruenbeck.0 2023-05-01 09:03:06.969 debug {"url":"https://prod-eu-gruenbeck-signalr.service.signalr.net/client/?hub=gruenbeck","accessToken":"eyJhbGciOiJIUzI1NiIsImtpZCI6IjEyODg2MzQ1ODYiLCJ0eXAiOiJKV1QifQ.eyJuYW1laWQiOiI0ODQxNDFlOS1kNzY2LTQ1YzgtYTZjYi04MzI0ZjZhMmMxYzQiLCJuYmYiOjE2ODI5MjQ1ODYsImV4cCI6MTY4MjkyODE4NiwiaWF0IjoxNjgyOTI0NTg2LCJhdWQiOiJodHRwczovL3Byb2QtZXUtZ3J1ZW5iZWNrLXNpZ25hbHIuc2VydmljZS5zaWduYWxyLm5ldC9jbGllbnQvP2h1Yj1ncnVlbmJlY2sifQ.GY8tjg9xmn5cVP0JcCSacddIsGKoYnSKQCqUxBlAHSk"}
gruenbeck.0 2023-05-01 09:03:06.934 debug {"hardwareVersion":"00000005","lastService":"2023-04-29","mode":2,"nextRegeneration":"2023-05-05T02:00:00","nominalFlow":2.1,"rawWater":15,"softWater":4,"softwareVersion":"0003.0023","errors":[],"salt":[{"date":"2023-04-30","value":799},{"date":"2023-04-29","value":0},{"date":"2023-04-28","value":0}],"timeZone":"+02:00","water":[{"date":"2023-04-30","value":640},{"date":"2023-04-29","value":5},{"date":"2023-04-28","value":0}],"unit":1,"startup":"2023-04-29","type":21,"hasError":false,"id":"softliQ.D/BS5005xxxx","series":"softliQ.D","serialNumber":"BS5005xxxx","name":"Haus","register":true}
gruenbeck.0 2023-05-01 09:03:06.912 debug {"$pending":[],"pallowemail":true,"pallowpushnotification":true,"pdlstauto":true,"pntpsync":true,"pcfcontact":true,"pknx":false,"pmonflow":false,"pmondisinf":true,"pledatsaltpre":true,"pbuzzer":false,"prescaplimit":50,"pcurrent":700,"pload":2000,"pforcedregdist":4,"pmaintint":365,"pfreqregvalve":140,"pfreqblendvalve":300,"pledbright":100,"pvolume":0,"prawhard":15,"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":0,"pprogout":1,"pprogin":0,"ppowerfail":0,"pmodedesinf":1,"pled":1,"pregmo1":"07: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}
gruenbeck.0 2023-05-01 09:03:06.733 debug EnterSD
gruenbeck.0 2023-05-01 09:03:06.717 debug GET: https://prod-eu-gruenbeck-api.azurewebsites.net/api/devices/softliQ.D/BS5005xxxx/measurements/water?api-version=2020-08-03
gruenbeck.0 2023-05-01 09:03:06.711 debug GET: https://prod-eu-gruenbeck-api.azurewebsites.net/api/devices/softliQ.D/BS5005xxxx/measurements/salt?api-version=2020-08-03
gruenbeck.0 2023-05-01 09:03:06.702 debug GET: https://prod-eu-gruenbeck-api.azurewebsites.net/api/devices/softliQ.D/BS5005xxxx/parameters?api-version=2020-08-03
gruenbeck.0 2023-05-01 09:03:06.697 debug GET: https://prod-eu-gruenbeck-api.azurewebsites.net/api/devices/softliQ.D/BS5005xxxx/?api-version=2020-08-03
gruenbeck.0 2023-05-01 09:03:06.690 info Using device softliQ.D/BS5005xxxx
gruenbeck.0 2023-05-01 09:03:06.689 info Filtered to 1 devices
gruenbeck.0 2023-05-01 09:03:06.689 info Found 1 devices
gruenbeck.0 2023-05-01 09:03:06.688 debug [{"type":21,"hasError":false,"id":"softliQ.D/BS5005xxxx","series":"softliQ.D","serialNumber":"BS5005xxxx","name":"Haus","register":true}]
gruenbeck.0 2023-05-01 09:03:06.457 info Login successful
gruenbeck.0 2023-05-01 09:03:06.020 debug {"status":"200"}
gruenbeck.0 2023-05-01 09:03:06.020 info Login step 2
gruenbeck.0 2023-05-01 09:03:05.603 debug https://gruenbeckb2c.b2clogin.com/a50d35c1-202f-4da7-aa87-76e51a3098c6/B2C_1A_SignInUp/SelfAsserted?tx=StateProperties=xxxxxxxx&p=B2C_1A_SignInUp
@TA2k
Copy link
Owner

TA2k commented May 1, 2023

refreshSD should appear in your given interval
Alldata is refreshed every hour or at start
measurements all 24 or at start

@kopierschnitte
Copy link
Author

Hmm, but those (empty?) type 6 datagrams appear every few seconds and I do get very frequent updates of some relevant DP in iobroker if I use the Android app in parallel.

@TA2k
Copy link
Owner

TA2k commented May 1, 2023

Yes but a high update rate over long time will result in a block

@kopierschnitte
Copy link
Author

kopierschnitte commented May 1, 2023

Okay, I thought those information are "pushed" using the established websockets connection and Grünbeck only blocks too frequent (complete) connections.

But thanks for explaining this and taking care of this great adapter ;-)

@kopierschnitte
Copy link
Author

Ich mach mal in Deutsch weiter ;-)
Habe jetzt ein paar Tage getestet, ob Grünbeck das Rate-Limit evtl. gelockert hat und das Interval auf 30sec gesetzt (auch im Code). Lief eigentlich perfekt ... jedoch kommen seit heute nur noch sporadisch Antworten über die WS-Verbindung und auch in der App.

Fehlermeldungen tauchen keine auf. Vielleicht ist es ja auch nur ein Serverproblem.

@philipgo
Copy link

I have the same issue.

I had an SD18, updates of e.g. mflow to ioBroker were almost instant. I replaced the SD18 with an SD21 and now updates are delayed by several minutes and hardly usable. I have no idea what causes this difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants