Nobil: Add network filter - #445
Open
robho wants to merge 2 commits into
Open
Conversation
Only networks from ocpi connected chargers are used. The reason for this is to keep the list of networks "short" and easier to use. Many (~600) chargers that were manually added by the community have a network name that is unique to a specific charger.
This merges networks that use inconsisten spelling or slightly different names in Norway compared to Sweden.
robho
force-pushed
the
nobil_operator_filter
branch
from
September 7, 2026 19:11
0ee33c7 to
460669b
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds charger filtering by network for data source Nobil.
This implementation only looks at network names for chargers that are published via ocpi to nobil. This helps keeping the list of networks manageble by reducing the number of networks by ~600 (lots of community added chargers use a network name that is unique to a single charger (eg a hotel name)).
I've also chosen to merge some network names together where chargers in the same network have slightly different network names because of the country of the charger or because of varying spelling / names within a network. I think this is useful, but could perhaps be confusing or unhelpful to some?!