Archived
Remove hardcoded MAC addresses and include full ELM327 initialization commands
This commit is contained in:
1 parent
981041a94b
commit
91688ae5d3
1 file changed
+6
-3
+6
-3
@@ -47,13 +47,17 @@ devices:
|
|||||||
name: "Vehicle OBD"
|
name: "Vehicle OBD"
|
||||||
source: obd
|
source: obd
|
||||||
obd:
|
obd:
|
||||||
mac: "AA:BB:CC:DD:EE:FF" # If omitted, you can scan and bind in the app UI
|
|
||||||
service_uuid: "18F0"
|
service_uuid: "18F0"
|
||||||
tx_char_uuid: "2AF1"
|
tx_char_uuid: "2AF1"
|
||||||
rx_char_uuid: "2AF0"
|
rx_char_uuid: "2AF0"
|
||||||
tx_delay: 50ms
|
tx_delay: 50ms
|
||||||
init_commands:
|
init_commands:
|
||||||
- "ATSP6" # ISO 15765-4 CAN 11-bit 500kbps
|
- "ATZ"
|
||||||
|
- "ATE0"
|
||||||
|
- "ATL0"
|
||||||
|
- "ATS0"
|
||||||
|
- "ATH0"
|
||||||
|
- "ATSP6"
|
||||||
sensors:
|
sensors:
|
||||||
- { key: rpm, preset: rpm, update_interval: 1s }
|
- { key: rpm, preset: rpm, update_interval: 1s }
|
||||||
- { key: speed, preset: speed, update_interval: 1s }
|
- { key: speed, preset: speed, update_interval: 1s }
|
||||||
@@ -86,7 +90,6 @@ devices:
|
|||||||
name: "Custom BLE Meter"
|
name: "Custom BLE Meter"
|
||||||
source: gatt_notify
|
source: gatt_notify
|
||||||
gatt:
|
gatt:
|
||||||
mac: "11:22:33:44:55:66" # If omitted, you can scan and bind in the app UI
|
|
||||||
service_uuid: "ffe0"
|
service_uuid: "ffe0"
|
||||||
notify_char_uuid: "ffe1"
|
notify_char_uuid: "ffe1"
|
||||||
write_char_uuid: "ffe2"
|
write_char_uuid: "ffe2"
|
||||||
|
|||||||
Reference in new issue
Block a user