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

Control.* no longer updated by rscp response #144

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions wallbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ class wallbox {
// Bit 7 - Wert 128 - Sonnenmodus / Mixedmode
this.adapter.log.silly( lp + "SunMode : " + ( ( parseInt( extData[2], 16 ) & 128 ) == 128 ? 1 : 2 ) );
this.adapter.setState( wbPath + ".EXTERN_DATA_ALG.SunMode", ( parseInt( extData[2], 16 ) & 128 ) == 128 ? 1 : 2, true );
this.adapter.setState( wbPath + ".Control.SunMode", ( parseInt( extData[2], 16 ) & 128 ) == 128 ? 1 : 2, true );
// Bit 6 - Wert 64 - Charging canceled
this.adapter.log.silly( lp + "CarChargingCanceled : " + ( ( parseInt( extData[2], 16 ) & 64 ) == 64 ? 1 : 0 ) );
this.adapter.setState( wbPath + ".EXTERN_DATA_ALG.CarChargingCanceled", ( parseInt( extData[2], 16 ) & 64 ) == 64 ? 1 : 0, true );
Expand All @@ -305,7 +304,6 @@ class wallbox {
// Byte 4 : Ladeleistung - OK bei DEVICE_NAME "Easy Connect"
this.adapter.log.silly( lp + "PowerLimitation : " + parseInt( extData[3], 16 ) );
this.adapter.setState( wbPath + ".EXTERN_DATA_ALG.PowerLimitation", parseInt( extData[3], 16 ), true );
this.adapter.setState( wbPath + ".Control.PowerLimitation", parseInt( extData[3], 16 ), true );
break;
default:
break;
Expand Down