home-assistant.io/source/_components/volvooncall.markdown
Fabian Affolter 2851b2a606
Update configuration samples (#5041)
* Update configuration samples

* Minor changes
2018-03-29 10:02:47 +02:00

2.0 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page Volvo On Call Instructions for how to integrate Volvo On Call into Home Assistant. 2016-10-02 17:00 true false true true volvo.png Hub 0.39 Cloud Polling

The volvooncall platform offers integration with the Volvo On Call cloud service and offers presence detection as well as sensors such as odometer and fuel level.

To use Volvo On Call in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

Users registered with Volvo in North America or China will need to specify a region:

# North America 
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  region: na

or

# China
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  region: cn

A more advanced example for setting the vehicle name and selecting what resources to display:

# Example configuration.yaml entry
volvooncall:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  name:
    abc123: 'Batmobile'
  resources:
    - doors
    - lock
    - heater

Configuration variables:

  • username (Required): The username associated with your Volvo On Call account.
  • password (Required): The password for your given Volvo On Call account.
  • region (Optional): The region where the Volvo is registered. Needs to be set for users in North America or China.
  • service_url (Optional): The service URL to use for Volvo On Call. Normally not necessary to specify.
  • name (Optional): Make it possible to provide a name for the vehicles.
  • resources (Optional): A list of resources to display (defaults to all available).
  • scandinavian_miles (Optional): If set to yes, Scandinavian miles ("mil") are used for distances and fuel range (defaults to no).