Parking Brake

→ GetParkingBrakeState

Declaration

hmkit.autoapi.commands.get_parkingbrake_state.GetParkingBrakeState()

Discussion

Command to request the parking brake state. The car will respond with the Parking Brake message.

← ParkingBrakeState

Discussion

Command sent when a Get Parking Brake State command is received by the car.

is_active

Declaration

ParkingBrakeState.is_active()

Returns

bool True/False

Discussion

Get whether parking brake is active.

→ SetParkingBrake

Declaration

hmkit.autoapi.commands.set_parkingbrake_state.SetParkingBrakeState(activate)

Parameters

activate

bool True/False indicating whether to activate parking brake.

Discussion

Turn on or off the parking brake. The result is sent through the evented Parking Brake State message.