Skip to content

Update secondary #2312

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Update secondary #2312

wants to merge 14 commits into from

Conversation

ndrsnhs
Copy link
Contributor

@ndrsnhs ndrsnhs commented Apr 8, 2025

@@ -687,6 +687,12 @@ def chargepointShutdown(self, connection_id: str, payload: dict) -> None:
hostname=SubData.cp_data[payload["data"]["chargepoint"]
].chargepoint.chargepoint_module.config.configuration.ip_address)

def chargepointUpdate(self, payload: dict) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
def chargepointUpdate(self, payload: dict) -> None:
def secondaryChargepointUpdate(self, payload: dict) -> None:

Diese Methode funktioniert nur mit Ladepunkten vom Typ series im Modus secondary.

elif ("/get/version" in msg.topic or
"/get/current_branch" in msg.topic or
"/get/current_commit" in msg.topic):
self._validate_value(msg, str)
Copy link
Contributor

Choose a reason for hiding this comment

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

Fehlt in der setdata nicht noch die neue Einstellung "secondary_auto_update"?

@@ -120,6 +122,7 @@ class UpdateConfig:
"^openWB/chargepoint/[0-9]+/get/powers$",
"^openWB/chargepoint/[0-9]+/get/power_factors$",
"^openWB/chargepoint/[0-9]+/get/vehicle_id$",
"^openWB/chargepoint/[0-9]+/get/version$",
Copy link
Contributor

Choose a reason for hiding this comment

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

Hier fehlt auch der Eintrag für secondary_auto_update.

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