This repository has been archived on 2026-11-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hassble-config/config.yaml
T
Piotr TrzcinskiandClaude Opus 5.5 670fb8bc81
Validate YAML Configs / Validate YAML Schema (push) Failing after 38s
feat: trim config to Toyota Proace City with Vgate iCar Pro BLE
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>
2026-10-11 09:14:55 +02:00

98 lines
3.5 KiB
YAML

# HassBle configuration — Toyota Proace City (PSA K9 platform, 2019+)
# Adapter: Vgate iCar Pro ELM327 V2.3, Bluetooth 4.0 (BLE) variant
#
# Served from https://gitea.trzcinski.pro/czcionka/hassble-config (branch main).
# The app accepts config only from gitea.trzcinski.pro over HTTPS.
#
# Do NOT put any Home Assistant credentials (URL/Token) in this file. Enter them in the app.
version: 1
defaults:
publish:
on_change_only: true
min_interval: 10s
devices:
- id: proace_city_obd
name: "Toyota Proace City"
source: obd
obd:
# Bind the adapter MAC in the app (Sensors tab) instead of committing it here.
# Vgate iCar Pro BLE GATT layout. If the app logs "OBD RX/TX characteristic not found",
# check the adapter with nRF Connect and try one of the common ELM327 BLE layouts:
# service FFF0, tx FFF2, rx FFF1
# service 18F0, tx 2AF1, rx 2AF0
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" # ISO 15765-4 CAN 11-bit 500 kbps; use ATSP0 (auto) if the ECU does not answer
sensors:
# Standard SAE J1979 mode 01 PIDs. A PID the ECU does not support answers NO DATA —
# disable such sensors in the app.
- { 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
# PID A6 is mandatory only on newer (Euro 6d) ECUs.
- { 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
# Diesel (1.5 BlueHDi) common-rail pressure; petrol engines answer NO DATA.
- 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