FleetGO

The fleetgo device tracker integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] allows you to integrate your vehicles equipped with FleetGO hardware into Home Assistant. It allows you to see certain details about your vehicle, but also shows your vehicle on the map.

Setup

To use this integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more], you need an API key and API secret, which can be requested by contacting info@fleetgo.com.

Configuration

To use this device tracker in your installation, add the following to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file. 在更改了configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。

# Example configuration.yaml entry
device_tracker:
  - platform: fleetgo
    client_id: YOUR_CLIENT_ID
    client_secret: YOUR_CLIENT_SECRET
    username: YOUR_FLEETGO_USERNAME
    password: YOUR_FLEETGO_PASSWORD
    include:
        - LICENSE_PLATE

Configuration Variables

client_id string Required

The client ID used to connect to the FleetGO API.

client_secret string Required

The client secret used to connect to the FleetGO API.

username string Required

Your FleetGO username.

password string Required

Your FleetGO password.

include list (Optional)

A list of license plates to include, if this is not specified, all vehicles will be added.

See the device tracker integration page for instructions on how to configure the people to be tracked.

Available attributes

Attribute Description
latitude The latitude of your vehicle
longitude The longitude of your vehicle
altitude Altitude of your vehicle
id Identifier used to identify your vehicle
make The make of the vehicle
model Model of your vehicle
license_plate License plate number
active If the engine is currently active or not
odo The odometer in kilometers
speed The current speed of your vehicle, in KM/h
last_seen The date and time when your vehicle last communicated with the API
fuel_level Fuel level of the vehicle [1]
malfunction_light Are any malfunction lights burning [1]
coolant_temperature Temperature of the coolant [1]
power_voltage Power voltage measured by the hardware [1]
distance_from_home How far is your vehicle located from your Home Assistant Home location
current_max_speed The maximum speed on the road the device is currently on (if available)
current_address Object with address information the device is currently on. This resolves to the closest address to the coordinates of the device.

[1] Only available on certain cars and hardware revisions.