npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-hiot-autoever

v1.1.0

Published

Homebridge plugin for Hi-oT (Hyundai Autoever) KOCOM wallpad-based Korean apartments — exposes lights, outlets, switches, AC, ventilation, heating, gas valve, and elevator call to Apple HomeKit and Siri.

Readme

homebridge-hiot-autoever

npm version CI Node Homebridge License: Apache-2.0

Hi-oT(현대오토에버) KOCOM 월패드를 쓰는 한국 아파트의 조명·콘센트·에어컨·환기·난방·가스밸브를 Apple HomeKit과 Siri로 제어.

힐스테이트, 올림픽파크포레온 등 Hi-oT 클라우드(https://home.hiot.autoever.com)에 연결된 단지에서, 월패드를 그대로 둔 채 Homebridge를 통해 HomeKit으로 미러링합니다.

⚠️ 비공식 커뮤니티 플러그인 — 현대오토에버·Hi-oT·KOCOM과 무관합니다. 단지·펌웨어별 동작 차이가 있을 수 있으며, 사용에 따른 책임은 사용자 본인이 집니다.


이걸로 뭐가 되나요

  • 🗣️ Siri 음성 제어 — "헤이 시리, 거실 불 꺼줘", "에어컨 24도로 맞춰줘"
  • 🏠 HomeKit 자동화 — "내가 집에 도착하면 거실 조명 켜고 환기 끄기", "잠들 때 일괄소등"
  • 📱 iPhone·iPad·Apple Watch·Mac 어디서나 Hi-oT 앱 없이도 한 화면에서 제어
  • 🌡️ 온도·상태 한 눈에 — 난방 현재온도, 가스밸브 잠금 여부 등이 위젯·잠금화면에 노출

지원 디바이스

src/accessories/ 기준 — Hi-oT 앱이 노출하는 것 중 현재 미러링된 동작만 표기.

| 코드 | Hi-oT 명칭 | HomeKit 서비스 | 지원 동작 | | ----- | -------------- | -------------- | --------------------------------------------------------------- | | LGT | 조명 | Lightbulb | 켜기/끄기 (디밍·색온도 미지원) | | WSK | 콘센트 | Outlet | 켜기/끄기 | | SWT | 스위치 | Switch | 켜기/끄기 (현관 일괄소등 스위치 포함 — 켜고/끄기 양방향 트리거) | | ACB | 에어컨 | HeaterCooler | 켜기/끄기, 현재온도 표시, 냉방 목표온도 18~30 °C (1 °C 단위) | | VNT | 환기 | Fan v2 | 켜기/끄기 (팬속도 미지원) | | HTR | 난방 | Thermostat | 난방/끄기, 현재온도 표시, 목표온도 15~30 °C (1 °C 단위) | | GDK | 가스밸브 | LockMechanism | 잠금 상태 읽기 전용 — 안전상 HomeKit에서 unlock 불가 | | ELV | 엘리베이터 호출 | Switch | 호출 (ON 시 엘리베이터 호출, 60초 후 자동 OFF; 앱의 "호출 중" 상태 미러) |

가스밸브 unlock이 안 되는 이유: Hi-oT 앱과 백엔드가 모바일에서의 가스밸브 open을 거부합니다(lock='on' set 요청 차단). 본 플러그인도 같은 안전 정책을 따라 HomeKit unlock 버튼을 비활성화합니다. 가스밸브를 열려면 주방 벽패드나 수동 레버를 사용하세요.

일괄소등: 별도 디바이스 타입이 아니라 현관 일괄소등 스위치가 SWT로 노출됩니다. HomeKit 씬/자동화의 트리거·액션으로 그대로 사용할 수 있습니다.

디밍·팬속도 등 미구현 항목은 ROADMAP에서 추적합니다. Hi-oT 앱이 노출하는 모든 기능을 1:1 미러링하는 것이 목표이므로, 빠진 디바이스 타입이 있다면 Issue로 알려주세요.

Hi-oT 앱 vs HomeKit으로 옮기면

| 항목 | Hi-oT 앱 | 본 플러그인 + HomeKit | | ----------------- | ------------------------- | --------------------------------------------- | | 음성 제어 | ❌ | ✅ Siri (한국어 가능) | | 자동화 트리거 | 시간·간단 조건만 | ✅ 위치·일출/일몰·센서·다른 액세서리 상태 조합 | | 위젯·잠금화면 | ❌ | ✅ iOS 위젯, 컨트롤센터, Apple Watch | | 가족 공유 | 계정 단위 공유 | ✅ HomeKit "사용자 초대"로 권한 분리 | | 외출 시 원격 제어 | ✅ | ✅ (Apple TV/iPad/HomePod 허브 필요) | | 가스밸브 열기 | ❌ (앱·백엔드 차단) | ❌ (동일 정책 — 안전상 의도된 동작) |

호환 환경

  • Node.js ≥ 20.18.1
  • Homebridge ≥ 1.6.1 또는 ≥ 2.0.0-beta
  • 단지 — Hi-oT(home.hiot.autoever.com)에 연결된 KOCOM 월패드 기반 단지. 자기 단지에서 동작 여부가 궁금하면 device 보고 Issue를 열어주세요. 사회적 증거가 모이면 호환 단지 표를 README에 추가할 예정입니다.

설치

Homebridge UI(homebridge-config-ui-x)의 Plugins 탭에서 homebridge-hiot-autoever를 검색해 설치하거나, CLI로 설치합니다.

npm install -g homebridge-hiot-autoever

그 다음 Homebridge UI의 Plugin Config 화면에서 HiotAutoever를 설정하거나, config.json에 직접 추가합니다.

개발 버전을 쓰려면 저장소를 클론해 npm install && npm run build && sudo npm link 후 Homebridge를 재시작하세요. 자세한 내용은 CONTRIBUTING.md 참조.

설정

최소 설정

{
  "platforms": [
    {
      "platform": "HiotAutoever",
      "name": "HiotAutoever",
      "userid": "<Hi-oT 앱 로그인 ID>",
      "password": "<Hi-oT 앱 로그인 비밀번호>"
    }
  ]
}

Homebridge UI 설정

homebridge-config-ui-x 의 Plugin Config 화면에서 폼으로 입력 가능합니다.

성공 확인

기동 후 Homebridge 로그에 다음과 같이 디바이스가 발견되면 정상입니다.

[HiotAutoever] Discovered N devices from Hi-oT cloud
[HiotAutoever] Registering LGT 거실조명 (devicecd=...)
[HiotAutoever] Registering ACB 거실에어컨 (devicecd=...)
...

고급 옵션

| 키 | 기본값 | 설명 | | ----------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | pollingIntervalMs | 30000 (30초) | 백그라운드 폴러가 Hi-oT 클라우드에서 상태를 읽어와 HomeKit cache에 푸시하는 주기. 최소 5000ms. | | debugLogging | false | 디바이스 목록·HTTP 상세 등 verbose 로그. 자동 redact는 아직 구현 전이므로, 켤 때는 로그에 토큰·세션이 노출될 수 있음을 유의하세요(아래 보안 섹션 참고). | | baseUrl | https://home.hiot.autoever.com:8443 | Hi-oT 엔드포인트가 바뀐 경우에만 수정. 평상시 기본값 유지. | | pushRegistrationToken | (없음) | APNs/FCM 토큰. 일부 단지에서 앱 fingerprint 검증을 통과하기 위해 필요. 일반 사용자는 비워두세요. |

전체 스키마는 config.schema.json 참조.

자격증명·보안

  • userid / passwordHomebridge config.json에만 저장되고 다른 곳으로 전송되지 않습니다.
  • 첫 로그인 성공 시 서버가 발급한 userkeyvalu 토큰을 src/storage/tokenStore.ts가 로컬에 캐시하여 이후엔 평문 비밀번호를 거의 쓰지 않습니다.
  • ⚠️ 로그 redact는 아직 구현 전입니다. userkeyvalu, JSESSIONID, 평문 비밀번호의 자동 마스킹은 로드맵 항목(pino redact paths)이며, 그 전까지는 특히 debugLogging: true 로그에 민감값이 남을 수 있습니다. 로그를 공유하기 전에 직접 마스킹하세요.
  • 자세한 보안 정책과 취약점 보고 방법은 SECURITY.md를 참조하세요.

안전 정책 (꼭 읽어주세요)

본 플러그인은 Hi-oT 앱이 노출하는 모든 기능을 HomeKit에 1:1 미러링합니다. EV 호출·일괄소등 등 안전 영향이 큰 동작도 별도 가드 없이 그대로 노출되며, 안전 책임은 Hi-oT 앱과 동일하게 사용자가 집니다.

예외는 가스밸브 unlock 차단 하나입니다. Hi-oT 앱과 백엔드가 모바일 unlock을 거부하므로, 본 플러그인도 동일하게 차단합니다.

문제 해결

  • 로그인 실패 — Hi-oT 앱에서 같은 ID/PW로 로그인되는지 먼저 확인. 비밀번호에 특수문자가 있으면 config.json 이스케이프 확인.
  • 디바이스가 안 떠요debugLogging: true 로 켜고 Homebridge 재시작 → getDeviceList 응답에 해당 디바이스 코드가 있는지 확인. 없으면 Hi-oT 앱에 등록 자체가 안 된 디바이스이므로 월패드 측 설정을 점검.
  • 응답이 느려요pollingIntervalMs 를 줄이면 빠르지만 클라우드 부하가 늘어납니다. 10000~15000 사이를 권장.
  • HomeKit에서 "응답 없음" — 폴링 주기 사이에 클라우드가 잠시 실패한 경우입니다. 다음 폴링에서 자동 복구됩니다.

해결 안 되면 bug 보고 Issue를 열어주세요.

개발

npm install
npm test            # vitest watch (TDD)
npm run test:ci     # 단발 + coverage
npm run lint
npm run typecheck
npm run build
npm run watch       # tsc --watch (코드 변경 시 자동 빌드 — Homebridge는 수동 재시작)

TDD 필수. 신규/수정 코드에 테스트가 없으면 CI가 차단합니다. 자세한 규칙은 CONTRIBUTING.md 참조.

로드맵·변경 이력

라이선스

Apache-2.0


English (TL;DR)

A Homebridge plugin that exposes Hi-oT (Hyundai Autoever) KOCOM wallpad devices in Korean apartments — lights, outlets, switches, air conditioners, ventilation, heating, and gas valves — to Apple HomeKit and Siri.

Supported devices

| Code | Hi-oT type | HomeKit service | Capabilities | | ----- | -------------- | --------------- | ------------------------------------------------------------- | | LGT | Light | Lightbulb | on/off (no dim) | | WSK | Outlet | Outlet | on/off | | SWT | Switch | Switch | on/off | | ACB | Air conditioner| HeaterCooler | on/off, current temp, cooling target 18–30 °C (1 °C step) | | VNT | Ventilation | Fan v2 | on/off (no fan speed) | | HTR | Heating | Thermostat | heat/off, current temp, target 15–30 °C (1 °C step) | | GDK | Gas valve | LockMechanism | read-only lock state — unlock blocked for safety | | ELV | Elevator call | Switch | call (ON triggers the call, auto-OFF after 60 s) |

Install

npm install -g homebridge-hiot-autoever

Minimal config

{
  "platforms": [
    {
      "platform": "HiotAutoever",
      "name": "HiotAutoever",
      "userid": "<Hi-oT id>",
      "password": "<Hi-oT password>"
    }
  ]
}

Disclaimer

Unofficial community plugin. Not affiliated with Hyundai Autoever, Hi-oT, or KOCOM. Use at your own risk. See the Korean sections above for full configuration, troubleshooting, and the safety policy on the gas valve.