Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Simplify usage of remote services #27

@ChristianKuehnel

Description

@ChristianKuehnel

Using a remote service is quite ugly at the moment:

  1. you need to trigger the service
  2. you need to poll the current status until you get a final state
    1. and if we have several remote service calls in parallel, we need to check the id to get the right status of the service we just called
  3. you need to check if the status is EXECUTED or some sort of failed
  4. when locking/unlocking you need to update the vehicle state after 10 seconds or so, to get the latest state.

this is all quite complicated. It would be nice if we could wrap this in the library. but that would also mean that we need to block (synchronous case) for a while or add some asyncio features for this or both. And also that the library must then be able to notify the user of the library on updated data (callback).

Not sure what to do there...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions