Skip to content

Add currents for bat#2386

Merged
LKuemmel merged 2 commits intoopenWB:masterfrom
LKuemmel:bat-currents
May 13, 2025
Merged

Add currents for bat#2386
LKuemmel merged 2 commits intoopenWB:masterfrom
LKuemmel:bat-currents

Conversation

@LKuemmel
Copy link
Contributor

@LKuemmel LKuemmel requested a review from benderl May 12, 2025 13:53

class JsonBatConfiguration:
def __init__(self,
jq_currents: Optional[str] = None,
Copy link
Contributor

Choose a reason for hiding this comment

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

Es können je nach JSON Objekt nicht immer alle Ströme mit einem Pattern ermittelt werden. Die Implementation hier sollte sich an der Konfiguration der Counter Komponente orientieren und einzelne Pattern für jede Phase anbieten.

@auto_str
class HttpBatConfiguration:
def __init__(self, power_path=None, soc_path=None, imported_path=None, exported_path=None):
def __init__(self, power_path=None, soc_path=None, currents_path=None, imported_path=None, exported_path=None):
Copy link
Contributor

Choose a reason for hiding this comment

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

Auch hier sollten analog zur Counter Komponente einzelne URLs je Phase angeboten werden.

@LKuemmel LKuemmel merged commit e8a759c into openWB:master May 13, 2025
1 check passed
@LKuemmel LKuemmel deleted the bat-currents branch July 18, 2025 08:58
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.

2 participants