Skip to content

Add bidi settings to koala and standard themes#2638

Closed
Brett-S-OWB wants to merge 9 commits intoopenWB:feature_bidifrom
Brett-S-OWB:feature-bidi
Closed

Add bidi settings to koala and standard themes#2638
Brett-S-OWB wants to merge 9 commits intoopenWB:feature_bidifrom
Brett-S-OWB:feature-bidi

Conversation

@Brett-S-OWB
Copy link
Contributor

Koala-Theme –
Füge einen Bidi-Button zu den Ladepunkt-Schaltflächen hinzu.
Füge im Einstellungsdialog die Slider für minimalen Entlade-SoC, Stromstärke und Details des bidirektionalen Ladeplans hinzu.

Standard-Theme –
Füge im Einstellungsdialog die Slider für minimalen Entlade-SoC, Stromstärke und Details des bidirektionalen Ladeplans hinzu.
Bildschirmfoto 2025-08-07 um 08 55 23
Bildschirmfoto 2025-08-07 um 09 21 59

Bildschirmfoto 2025-08-07 um 08 56 07

Comment on lines +76 to +98
plan: {
id: number;
name: string;
active: boolean;
current: number;
dc_current: number;
et_active: boolean;
time: string;
phases_to_use: number;
phases_to_use_pv: number;

frequency: {
selected: string;
once?: string;
weekly: boolean[];
};
limit: {
selected: string;
amount?: number;
soc_limit?: number;
soc_scheduled?: number;
};
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier kannst Du Deine Definition BidiChargingPlan verwenden. Ansonsten ist das Objekt doppelt definiert und der Code sehr anfällig bei Anpassungen.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wir müssen bidi Charging in die Interface-ChargeTemplateConfiguration aufnehmen, da chargePointConnectedVehicleBidiChargePlan seine Daten aus chargePointConnectedVehicleChargeTemplate bezieht, welches den Typ ChargeTemplateConfiguration hat. Daher habe ich das Interface BidichargingPlan entfernt. Eine Alternative wäre, einen Typ-Alias zu erstellen aber das ist wahrscheinlich nicht unbedingt notwendig.

type BidiChargingPlan = ChargeTemplateConfiguration['chargemode']['bidi_charging']['plan'];

@LKuemmel LKuemmel force-pushed the feature_bidi branch 4 times, most recently from 3723f3b to e7e3526 Compare August 14, 2025 11:24
@benderl
Copy link
Contributor

benderl commented Aug 18, 2025

Ersetzt durch: #2671

@benderl benderl closed this Aug 18, 2025
@Brett-S-OWB Brett-S-OWB deleted the feature-bidi branch October 21, 2025 12:33
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

Successfully merging this pull request may close these issues.

3 participants