From dea0c0c1157626f50a644dd65e884e3a9eb7f8bc Mon Sep 17 00:00:00 2001 From: eigger Date: Wed, 29 Jul 2026 23:19:51 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=98=84=EB=8C=80/=EA=B8=B0=EC=95=84=20?= =?UTF-8?q?=EC=97=B0=EB=A3=8C=EC=9E=94=EB=9F=89(002F)=20=EB=B0=8F=20init?= =?UTF-8?q?=5Fcommands=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates.yaml b/templates.yaml index a2e890b..71009a7 100644 --- a/templates.yaml +++ b/templates.yaml @@ -113,7 +113,7 @@ templates: - id: obd_hyundai_kia name: "OBD-II + 현대/기아 확장" - description: "RPM, 속도, 연료잔량%, 총 주행거리 (ATSH7E0 init 설정)" + description: "RPM, 속도, 연료잔량%, 총 주행거리" device: id: car_obd_hk name: "Hyundai/Kia OBD" @@ -123,14 +123,14 @@ templates: tx_char_uuid: "2AF1" rx_char_uuid: "2AF0" tx_delay: 50ms - init_commands: ["ATSP6", "ATSH7E0"] + init_commands: ["ATSP6"] sensors: - { key: rpm, preset: rpm, update_interval: 1s } - { key: speed, preset: speed, update_interval: 1s } - key: fuel_level_hk mode: "22" - pid: "303E" - formula: "a-100" + pid: "002F" + formula: "a*0.392157" unit: "%" state_class: measurement update_interval: 30s