Archived
Validate YAML Configs / Validate YAML Schema (push) Failing after 38s
Single OBD device with standard SAE J1979 PIDs, matching template, Polish README pointing to the Gitea-hosted app, GitHub-only files removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
99 lines
2.5 KiB
YAML
99 lines
2.5 KiB
YAML
# Device templates for HassBle app → Sensors tab → Import template
|
|
# Loaded from repo root as templates.yaml (same branch as config.yaml)
|
|
|
|
templates:
|
|
- id: toyota_proace_city
|
|
name: Toyota Proace City (Vgate iCar Pro BLE)
|
|
description: Standard OBD-II PIDs for the PSA-based Proace City — bind the adapter in the app
|
|
device:
|
|
id: proace_city_obd
|
|
name: Toyota Proace City
|
|
source: obd
|
|
obd:
|
|
service_uuid: E7810A71-73AE-499D-8C15-FAA9AEF0C3F2
|
|
tx_char_uuid: BEF8D6C9-9C21-4C9E-B632-BD58C1009F9F
|
|
rx_char_uuid: BEF8D6C9-9C21-4C9E-B632-BD58C1009F9F
|
|
tx_delay: 50ms
|
|
init_commands:
|
|
- ATSP6
|
|
sensors:
|
|
- key: rpm
|
|
preset: rpm
|
|
update_interval: 2s
|
|
- key: speed
|
|
preset: speed
|
|
update_interval: 2s
|
|
- key: engine_load
|
|
preset: engine_load
|
|
update_interval: 5s
|
|
- key: coolant_temp
|
|
preset: coolant_temp
|
|
update_interval: 30s
|
|
- key: intake_temp
|
|
preset: intake_air_temp
|
|
update_interval: 30s
|
|
- key: ambient_temp
|
|
preset: ambient_temp
|
|
update_interval: 60s
|
|
- key: battery
|
|
preset: battery_voltage
|
|
update_interval: 10s
|
|
- key: run_time
|
|
preset: run_time
|
|
update_interval: 10s
|
|
- key: fuel_level
|
|
preset: fuel_level
|
|
update_interval: 30s
|
|
publish:
|
|
deadband: 0.5
|
|
min_interval: 60s
|
|
- key: odometer
|
|
preset: odometer
|
|
update_interval: 60s
|
|
- key: intake_map
|
|
mode: '01'
|
|
pid: 0B
|
|
formula: a
|
|
unit: kPa
|
|
device_class: pressure
|
|
state_class: measurement
|
|
accuracy_decimals: 0
|
|
update_interval: 5s
|
|
- key: barometric_pressure
|
|
mode: '01'
|
|
pid: '33'
|
|
formula: a
|
|
unit: kPa
|
|
device_class: pressure
|
|
state_class: measurement
|
|
accuracy_decimals: 0
|
|
update_interval: 120s
|
|
- key: fuel_rail_pressure
|
|
mode: '01'
|
|
pid: '23'
|
|
formula: (a*256+b)*10
|
|
unit: kPa
|
|
device_class: pressure
|
|
state_class: measurement
|
|
accuracy_decimals: 0
|
|
update_interval: 5s
|
|
- key: distance_since_dtc_clear
|
|
mode: '01'
|
|
pid: '31'
|
|
formula: a*256+b
|
|
unit: km
|
|
device_class: distance
|
|
state_class: total_increasing
|
|
accuracy_decimals: 0
|
|
update_interval: 300s
|
|
- key: distance_with_mil_on
|
|
mode: '01'
|
|
pid: '21'
|
|
formula: a*256+b
|
|
unit: km
|
|
device_class: distance
|
|
state_class: measurement
|
|
accuracy_decimals: 0
|
|
icon: mdi:engine-off
|
|
update_interval: 300s
|