-
Notifications
You must be signed in to change notification settings - Fork 83
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
base: master
Are you sure you want to change the base?
Update secondary #2312
Conversation
packages/helpermodules/command.py
Outdated
@@ -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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
There was a problem hiding this comment.
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$", |
There was a problem hiding this comment.
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.
openWB/openwb-ui-settings#691