Skip to content

POI with stops #288

Answered by rikroe
dicarsio asked this question in General
Jul 1, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Haven't really tried it. But you could try a couple of things out:

  • Get a token using bimmer_connected cli
  • Use this token e.g. in Postman (get the required URL and headers from account.py).

The data structure is currently sent like this:

def as_server_request(self) -> str:
"""Convert to a dictionary so that it can be sent to the server."""
result = {
'poi': {k: v for k, v in self.data.items() if v is not None}
}
return urlencode({'data': json.dumps(result)})

Maybe try multiple POIs with poi1, poi2 or sending a list of POIs.

Haven't tried it, but can you maybe just c…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@rikroe
Comment options

@dicarsio
Comment options

@rikroe
Comment options

@dicarsio
Comment options

@rikroe
Comment options

Answer selected by gerard33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants