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

WB/Control/PowerLimitation switch back to previous value #140

Closed
kkeintzel opened this issue Jan 31, 2023 · 9 comments · Fixed by #144
Closed

WB/Control/PowerLimitation switch back to previous value #140

kkeintzel opened this issue Jan 31, 2023 · 9 comments · Fixed by #144
Assignees
Labels
bug Something isn't working

Comments

@kkeintzel
Copy link

If i write into the object "e3dc-rscp.0.WB.WB_0.Control.PowerLimitation" a value (e.g. 6, 10 or 16).
it will be switch back to the previous value, but it will be set correctly to the E3/DC-S10.

config:
iobroker (beta channel) up to date
e3dc-rscp: v1.1.0

iobroker-e3dc-rscp-issue.mp4

thx

@j64bit
Copy link

j64bit commented Jan 31, 2023

I find the same, also for the other control elements like SunMode.

@git-kick
Copy link
Owner

git-kick commented Feb 3, 2023

As I have no wallbox for testing, I forward this Issue to @ka-vaNu

@git-kick git-kick added the bug Something isn't working label Feb 3, 2023
@kkeintzel
Copy link
Author

Following interesting stuff I found:
if you send the value 2times (like a doubleclick) e.g. via VIS-Button >> then it works!
Bildschirm­foto 2023-02-04 um 11 13 22

@ka-vaNu
Copy link
Contributor

ka-vaNu commented Feb 4, 2023

OK, i'll take it, but i've got insufficient rights to assign it myself

@ka-vaNu
Copy link
Contributor

ka-vaNu commented Feb 4, 2023

It looks like a timing problem. My S10E with WB Easy Connect seems to send the EXTERN_DATA_ALG packets in a different order. The value in e3dc-rscp.0.WB.WB_0.EXTERN_DATA_ALG.PowerLimitation shows the value from the wallbox/S10E, the value in e3dc-rscp.0.WB.WB_0.Control.PowerLimitation shows the value set by the user. If the value is set via the app, the value in e3dc-rscp.0.WB.WB_0.Control.PowerLimitation is also set. I can disable this, but then it is no longer synchronous in case of an external update.

What do you think, how should the control-object behave?

@ka-vaNu
Copy link
Contributor

ka-vaNu commented Feb 4, 2023

Maybe I should merge the display object and the control object and leave the confirmation to the RSCP packet.

@git-kick
Copy link
Owner

git-kick commented Feb 5, 2023

There are similar cases where we have one RSCP tag for setting a value and another tag for reading the value, e.g. EMS.SET_POWER_VALUEand EMS.SET_POWER.
As the adapter follows the "no processing, just receive+decode or encode+send" policy, I would prefer to keep both tags visible in the object tree.
Otherwise, we will hide all those timing (and other) issues beneath the surface and we will have a hard time reporting and solving them.

@ka-vaNu
Copy link
Contributor

ka-vaNu commented Mar 12, 2023

Fix via PR #144, please test and review. The RSCP-Response does not longer update the Object e3dc-rscp.0.WB.WB_0.Control.PowerLimitation and e3dc-rscp.0.WB.WB_0.Control.PowerLimitation. So the timing-issue caused by different versions is fixed.

@kkeintzel
Copy link
Author

Many Thx for your perfect job....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants