Skip to content
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

Make communication protocols configurable via .env file #60

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

shalinnijel2
Copy link
Contributor

@shalinnijel2 shalinnijel2 commented Jun 9, 2022

Modified secc_settings.py to read protocols and auth_modes from .env file if set.
If not set, then would default to all supported protocols.
This mod only applies to secc_settings - evcc protocol preferences are still hardcoded in evcc_settings.py
This would help test other use cases like evcc having different protocol priorities to secc.
The env variable is added and left commented out in the .env.dev.local and .env.dev.docker file to hint that configuring protocols is possible.

@tropxy
Copy link
Contributor

tropxy commented Jun 15, 2022

Dont forget to modify the README as well with the new ENV

@shalinnijel2
Copy link
Contributor Author

Dont forget to modify the README as well with the new ENV

Sure, done.

@tropxy
Copy link
Contributor

tropxy commented Jun 16, 2022

rebase the branch and I think is good to go

fix: Addressed comments in PR(AB#2179)

fix: Fixed formatting errors(AB#2179)

Updated readme to reflect the newly added env variables.
@shalinnijel2 shalinnijel2 force-pushed the configurable_communication_protocols branch from a1dfe9d to b062349 Compare June 16, 2022 09:25
@shalinnijel2 shalinnijel2 requested a review from tropxy June 16, 2022 09:31
@shalinnijel2 shalinnijel2 merged commit 9bd66ed into master Jun 16, 2022
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