Skip to content

Mqtt: document vehicle selection #810

Open
@grogi

Description

@grogi

Is your feature request related to a problem? Please describe.

Evcc publishes topic evcc/loadpoints/{loadpoint_id}/vehicleName which shows which car was selected / autodetected as connected to the given loadpoint. It however doesn't allow the user to update this value through MQTT.

Image

Describe the solution you'd like

Please make the topic evcc/loadpoints/{loadpoint_id}/vehicleName writeable. A message to evcc/loadpoints/{loadpoint_id}/vehicleName/set would update the vehicleName.

Three scenarios here

  1. the payload represents a valid vehicle name - the update happens.
  2. the payload is empty - update happens by setting 'guest vehicle / no vehicle'
  3. the payload is not empty, but not represents valid vehicle name - ignore

Describe alternatives you've considered

HTTP integration already supports updating the vehicleName through POST and DELETE methods. Having everything supported through MQTT would be beneficial for consistency.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions