자동차 OBD2 연동(Torque)


Torque 플랫폼을 사용하면 Torque 모바일 애플리케이션을 통해 Bluetooth OBD2 스틱에서 릴레이된 Torque 데이터를 모니터링할 수 있습니다.

셋업

설치시 Torque 센서를 사용하려면 Torque 모바일 애플리케이션과 Home Assistant를 모두 설정해야합니다.

Torque 앱

In Settings -> Data Logging & Upload:

Under the Logging Preferences header:

  • Touch Select what to log, activate the menu in the upper right, and select Add PID to log.
  • Select items of interest.

Under the Realtime Web Upload header:

  • Check Upload to web-server.
  • Enter http://HOST:PORT/api/torque?api_password=YOUR_PASSWORD as the Web-server URL, where HOST and PORT are your externally accessible Home Assistant HTTP host and port and YOUR_PASSWORD is your Home Assistant’s API password. It highly recommended that you protect your Home Assistant instance with SSL/TSL.
  • Enter an email address in User Email Address.
  • Optionally set the Web Logging Interval. The 2-second default may quickly fill up the Home Assistant history database.

설정

configuration.yaml 파일에 다음을 추가하십시오 :

# Example configuration.yaml entry
sensor:
  - platform: torque
    email: your_configured@email.com

Configuration Variables

name

(string)(Optional)

Vehicle name (your choice).

Default value:

vehicle

email

(string)(Required)

Email address configured in Torque application.