-
Notifications
You must be signed in to change notification settings - Fork 107
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
Merged
Merged
Update secondary #2312
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
add35cc
add simple update functionality
ndrsnhs 4cb4867
update secondaries only if activated
ndrsnhs 102765e
better check for secondaries
ndrsnhs e5768c2
add current_version to cp
ndrsnhs e8697f7
add current branch and current version
ndrsnhs 7d6dbf3
fix typo
ndrsnhs aec9811
set values
ndrsnhs 0e49fd5
add possibility to subscribe
ndrsnhs 2f448b4
add check for branch
ndrsnhs 73a8224
Merge branch 'openWB:master' into Update-Secondary
ndrsnhs 9bf2962
add CP version to broker
ndrsnhs 773122f
remove sub.py
ndrsnhs 73d626d
Merge branch 'openWB:master' into Update-Secondary
ndrsnhs 42d61ae
add topic in setdata and update_config
ndrsnhs 2c7c857
fix
LKuemmel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -105,6 +105,8 @@ class UpdateConfig: | |
| "^openWB/chargepoint/[0-9]+/control_parameter/timestamp_switch_on_off$", | ||
| "^openWB/chargepoint/[0-9]+/get/charge_state$", | ||
| "^openWB/chargepoint/[0-9]+/get/currents$", | ||
| "^openWB/chargepoint/[0-9]+/get/current_branch$", | ||
| "^openWB/chargepoint/[0-9]+/get/current_commit$", | ||
| "^openWB/chargepoint/[0-9]+/get/evse_current$", | ||
| "^openWB/chargepoint/[0-9]+/get/fault_state$", | ||
| "^openWB/chargepoint/[0-9]+/get/fault_str$", | ||
|
|
@@ -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$", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hier fehlt auch der Eintrag für secondary_auto_update. |
||
| "^openWB/chargepoint/[0-9]+/get/voltages$", | ||
| "^openWB/chargepoint/[0-9]+/get/serial_number$", | ||
| "^openWB/chargepoint/[0-9]+/get/soc$", | ||
|
|
@@ -444,6 +447,7 @@ class UpdateConfig: | |
| "^openWB/system/mqtt/bridge/[0-9]+$", | ||
| "^openWB/system/mqtt/valid_partner_ids$", | ||
| "^openWB/system/release_train$", | ||
| "^openWB/system/secondary_auto_update$", | ||
| "^openWB/system/time$", | ||
| "^openWB/system/update_in_progress$", | ||
| "^openWB/system/usage_terms_acknowledged$", | ||
|
|
@@ -540,6 +544,7 @@ class UpdateConfig: | |
| ("openWB/system/ip_address", "unknown"), | ||
| ("openWB/system/mqtt/valid_partner_ids", []), | ||
| ("openWB/system/release_train", "master"), | ||
| ("openWB/system/secondary_auto_update", True), | ||
| ("openWB/system/serial_number", get_serial_number()), | ||
| ) | ||
| invalid_topic = ( | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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"?