Skip to content

Conversation

@ndrsnhs
Copy link
Contributor

@ndrsnhs ndrsnhs commented Apr 8, 2025

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"?

"^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.

@LKuemmel LKuemmel force-pushed the Update-Secondary branch from 251556e to 2c7c857 Compare May 6, 2025 08:28
@LKuemmel LKuemmel merged commit d62421e into openWB:master May 6, 2025
1 check passed
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