Commit Graph
28 Commits
Author SHA1 Message Date
eigger e4851696eb feat: add location request advertise and button to parking_beacon 2026-08-30 19:06:57 +09:00
eigger b4fc6f799f feat(advertise): add BLE advertising TX schema, templates, and validation
- Update scripts/validate.py with advertise block and control action validation
- Update templates.yaml with mytown_parking_beacon advertising TX template
- Add commented parking beacon TX/RX example to config.yaml
- Document advertise schema, counter_mode, counter_start, and control actions in README.md / README.ko.md
2026-08-28 21:55:05 +09:00
eiggerandClaude Sonnet 4.6 327b7d89d8 feat: add APT door event sensor and fix parking beacon filter
1. parking_beacon: manufacturer_hex_prefix "04" 추가
   - SmartKey 인증 패킷(07xx, 22B)이 parking_floor/location을 오염시키던 문제 수정
   - length: 14 (정확한 길이 일치)로 22B 패킷 디코드 단계에서도 차단

2. apt_key_door 신규 추가
   - manufacturer_id 861 + prefix "02" → 출입 이벤트 6바이트 패킷만 매칭
   - instance_mode: shared, MAC 지정 없음
   - door_status: entering / exiting / idle 텍스트 센서
   - publish.min_interval: 1s (기본 10s 오버라이드, 이벤트가 수 초 내 전환)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 20:38:52 +09:00
eigger e4ea9de7ff Merge branch 'main' of https://github.com/eigger/hassble-config 2026-06-30 20:15:52 +09:00
eiggerandClaude Sonnet 4.6 adba2af62b fix: exclude SmartKey auth/event packets from parking_beacon matching
Added manufacturer_hex_prefix: "04" to parking_beacon match config.
Without this, the 22-byte SmartKey authentication broadcast (type 07)
also matched manufacturer_id 0x035D with min_length: 14, corrupting
parking_floor and parking_location with encrypted payload bytes.

Packet types (all mfr_id 0x035D):
  04xx = parking location response (14B) ← intended target
  07xx = SmartKey auth broadcast (22B)   ← now excluded
  02xx = door entry/exit event (6B)      ← excluded by min_length

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 20:13:16 +09:00
eigger 94ddb8fdda Simplify OBD init command lists
Remove redundant OBD initialization commands (ATZ, ATE0, ATL0, ATS0, ATH0) from configs. config.yaml now only uses ATSP6 for the device, and templates.yaml clears init_commands for one template and sets only ATSP6 for the other. This reduces unnecessary reset/echo/linefeed commands and relies on explicit protocol selection.
2026-06-26 09:00:48 +09:00
eiggerandCursor e38b2cc954 Add templates.yaml for HassBle import template feature
Include Jaalee JHT, parking beacon, OBD, and GATT starter templates. Update README for fixed config.yaml + templates.yaml layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 12:13:55 +09:00
eigger 2dfb54ee0d Change min_length to length in config.yaml 2026-06-24 22:00:12 +09:00
eiggerandClaude Sonnet 4.6 b71ad124e9 feat: add icons to parking beacon sensors
- parking_time: mdi:clock-time-four-outline
- parking_floor: mdi:layers-outline
- parking_location: mdi:map-marker-outline

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 21:23:13 +09:00
eiggerandClaude Sonnet 4.6 dc7893d4f9 fix: remove state_class from parking_floor (not measurement, just no state_class)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 21:16:20 +09:00
eiggerandClaude Sonnet 4.6 c6b8b2a90e fix: remove invalid state_class: none from parking_floor and parking_location
state_class: none is parsed as the string "none" by kaml/snakeyaml (not null).
ConfigValidator treated any unknown state_class as ERROR, so parking_floor was
silently excluded from entity declarations — it never reached Home Assistant.

- parking_floor: changed to state_class: measurement (correct for floor number)
- parking_location: removed state_class: none (meaningless for text_sensor)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 21:12:27 +09:00
eigger 1cac58d9c9 Add state_class field to parking_floor and parking_location 2026-06-24 19:22:19 +09:00
eigger c3cc09934f Remove unit from parking_location configuration
Removed unit specification for parking_location in config.
2026-06-24 19:19:04 +09:00
eigger 429fce43d0 Add accuracy and unit fields to config.yaml
Added accuracy_decimals and unit fields for parking_floor and parking_location.
2026-06-24 10:10:15 +09:00
eigger fa1350f08c Comment out Jaalee JHT settings in config.yaml
Comment out Jaalee JHT configuration and sensor definitions.
2026-06-23 20:24:52 +09:00
eigger a3b8a87a78 Update parking configuration in config.yaml
Removed parking_battery configuration and added parking_floor.
2026-06-23 19:24:20 +09:00
eigger 65adb24684 Comment out custom BLE meter configuration
Commented out the custom BLE meter configuration in config.yaml.
2026-06-23 07:41:36 +09:00
eigger 5453d630e1 fix: remove invalid state_class: measurement from timestamp sensor 2026-06-22 23:06:12 +09:00
eiggerandClaude Sonnet 4.6 4cfe62b67f Fix Jaalee JHT match: remove service_data_uuid AND logic, use iBeacon prefix
service_data_uuid + manufacturer_id 두 조건 AND 매칭이 실패 원인:
Android BLE 스캔 결과에서 F51C 서비스 UUID가 service data 또는 service UUID
목록에 포함되지 않으면 항상 NO MATCH 발생.

Fix: service_data_uuid 제거, manufacturer_hex_prefix "0215" (iBeacon 타입 마커)로
대체 → Apple 제조사 데이터(ID 76)로 시작하는 iBeacon 포맷 기기만 매칭.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 20:54:02 +09:00
eiggerandClaude Sonnet 4.6 8fbd951a78 Use decimal manufacturer_id to avoid YAML hex literal parsing issues
kaml (Kotlin YAML) hex literal (0x...) parsing is unreliable — convert to
decimal to ensure correct type parsing by the Android app:
  Jaalee JHT:      0x004C → 76  (Apple Inc.)
  Parking beacon:  0x035D → 861

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 20:28:02 +09:00
eigger e6fea126b8 Remove manufacturer_hex_prefix from config.yaml
Removed manufacturer_hex_prefix from match criteria
2026-06-22 19:40:51 +09:00
eiggerandCursor 75d9b0675a Fix Jaalee JHT match for F51C service and iBeacon fingerprint.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 18:04:58 +09:00
eigger 1deaf6aa96 Remove service_data_uuid from config.yaml 2026-06-22 17:51:22 +09:00
eigger 12a1150809 Update service_data_uuid in config.yaml 2026-06-22 17:49:15 +09:00
eiggerandCursor c922232f14 Replace thermometer with Jaalee JHT and add shared parking beacon sensors.
Configure MAC-per-instance Jaalee decoding and manufacturer 0x035D parking time, battery, and location.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 16:51:56 +09:00
eigger ea44b2ef6c Update fuel_level configuration in config.yaml
Removed filters from fuel_level configuration and added publish settings.
2026-06-22 13:59:32 +09:00
eigger 91688ae5d3 Remove hardcoded MAC addresses and include full ELM327 initialization commands 2026-06-22 13:20:59 +09:00
eigger 981041a94b Initial commit with config.yaml, README, and LICENSE 2026-06-22 13:19:54 +09:00