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

Setting reserve to 100% doesn't work #41

Closed
bondhook opened this issue Jan 7, 2024 · 3 comments
Closed

Setting reserve to 100% doesn't work #41

bondhook opened this issue Jan 7, 2024 · 3 comments

Comments

@bondhook
Copy link

bondhook commented Jan 7, 2024

Hallo Thomas,

wenn man bei der E3DC-Anlage die Reserve auf 100 % setzen möchte ("e3dc/set/reserve/percent 100"), dann reagiert die Anlage nicht. Bei Werten von 0 bis 99 funktioniert es. Ist das ein Bug bei rscp2mqtt oder liegt es an E3DC?

Gruß,
Oli

@pvtom
Copy link
Owner

pvtom commented Jan 7, 2024

Hallo Oli,
die 100 lässt rscp2mqtt derzeit nicht zu. Ich ändere das zum nächsten Release.

Wenn Du willst, kannst Du es ausprobieren. Dazu Zeile 412 in der Datei RscpMqttMapping.h editieren:

{ TAG_SE_REQ_SET_EP_RESERVE, TAG_SE_PARAM_EP_RESERVE, "set/reserve/percent", PAYLOAD_REGEX_2_DIGIT, "", "", "", "", UNIT_PERCENT, RSCP::eTypeFloat32, -1, true },
in
{ TAG_SE_REQ_SET_EP_RESERVE, TAG_SE_PARAM_EP_RESERVE, "set/reserve/percent",PAYLOAD_REGEX_0_100, "", "", "", "", UNIT_PERCENT, RSCP::eTypeFloat32, -1, true },
ändern und neu komplilieren.

Gruß
Thomas

@bondhook
Copy link
Author

bondhook commented Jan 7, 2024

Hi Thomas,

danke für die Info. 99% reicht mir und ich kann bis zum nächsten Release warten 😉.

Vielen Dank für das tolle Programm und die ganze Arbeit, die du geleistet hast 👍.

Gruß,
Oli

@pvtom
Copy link
Owner

pvtom commented Jan 13, 2024

fixed by v3.11

@pvtom pvtom closed this as completed Jan 13, 2024
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

2 participants