From 22fe8e88d3c49a6fcbae7a0cdb3ebe8d371053b3 Mon Sep 17 00:00:00 2001 From: eigger Date: Wed, 29 Jul 2026 23:29:49 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=ED=98=84=EB=8C=80/=EA=B8=B0=EC=95=84?= =?UTF-8?q?=20=EC=A0=84=EC=B2=B4=20PID=20=ED=9B=84=EB=B3=B4=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=EB=B0=8F=20=ED=85=8C=EC=8A=A4=ED=8A=B8=EC=9A=A9=20?= =?UTF-8?q?update=5Finterval=201s=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates.yaml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/templates.yaml b/templates.yaml index 537b631..b4b014b 100644 --- a/templates.yaml +++ b/templates.yaml @@ -130,18 +130,25 @@ templates: # 연료 잔량 (%) - key: fuel_level preset: fuel_level - update_interval: 30s + update_interval: 1s - key: fuel_level_ext mode: "22" pid: "002F" formula: "a/2.55" unit: "%" state_class: measurement - update_interval: 30s + update_interval: 1s + - key: fuel_level_303e + mode: "22" + pid: "303E" + formula: "a-100" + unit: "%" + state_class: measurement + update_interval: 1s # 총 주행거리 (km) - key: odometer preset: odometer - update_interval: 30s + update_interval: 1s - key: odometer_ed03 mode: "22" pid: "ED03" @@ -149,7 +156,7 @@ templates: unit: "km" device_class: distance state_class: total_increasing - update_interval: 30s + update_interval: 1s - key: odometer_f22e mode: "22" pid: "F22E" @@ -157,7 +164,15 @@ templates: unit: "km" device_class: distance state_class: total_increasing - update_interval: 30s + update_interval: 1s + - key: odometer_2103 + mode: "21" + pid: "03" + formula: "(((a*65536)+b*256)+c)*0.256" + unit: "km" + device_class: distance + state_class: total_increasing + update_interval: 1s - id: gatt_meter_relay name: "GATT power meter + relay"