From 91688ae5d3bab7b8ced49633d44986e0fb0ae1a5 Mon Sep 17 00:00:00 2001 From: eigger Date: Mon, 22 Jun 2026 13:20:59 +0900 Subject: [PATCH] Remove hardcoded MAC addresses and include full ELM327 initialization commands --- config.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index a1989fd..ef906e1 100644 --- a/config.yaml +++ b/config.yaml @@ -47,13 +47,17 @@ devices: name: "Vehicle OBD" source: obd obd: - mac: "AA:BB:CC:DD:EE:FF" # If omitted, you can scan and bind in the app UI service_uuid: "18F0" tx_char_uuid: "2AF1" rx_char_uuid: "2AF0" tx_delay: 50ms init_commands: - - "ATSP6" # ISO 15765-4 CAN 11-bit 500kbps + - "ATZ" + - "ATE0" + - "ATL0" + - "ATS0" + - "ATH0" + - "ATSP6" sensors: - { key: rpm, preset: rpm, update_interval: 1s } - { key: speed, preset: speed, update_interval: 1s } @@ -86,7 +90,6 @@ devices: name: "Custom BLE Meter" source: gatt_notify gatt: - mac: "11:22:33:44:55:66" # If omitted, you can scan and bind in the app UI service_uuid: "ffe0" notify_char_uuid: "ffe1" write_char_uuid: "ffe2"