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

@k-roon/homebridge-hejhome-ir

v1.1.3

Published

Homebridge plugin for Hejhome IR devices.

Readme

homebridge-hejhome-IR

npm version homebridge verified license

한국어가 지원되는 Homebridge IR 서비스 플러그인입니다. 헤이홈(Hejhome) IR 리모컨 허브로 제어하는 가전 제품을 Apple HomeKit에 손쉽게 통합할 수 있습니다.


✨ 주요 특징

  • OAuth 2.0(Hej Square) 기반 원클릭 로그인 및 자동 토큰 갱신
  • Web UI에서 ID / PW 입력만으로 간단 설정 ~~* deviceNames 배열로 원하는 IR 기기만 HomeKit에 노출~~ (해당 사항은 추후 진행 예정)
  • 한국어, 영어 UI 지원 & TypeScript 기반 안정적 코드베이스

📦 지원 IR 기기

| 아이콘 | 기기 종류 | 지원 상태 | 비고 | | :-: | :----------- | :----: | :--------------------------------- | | ❄️ | IR 에어컨 | ✅ 지원 | 전원 / 온도 / 풍속 / 모드 전환 모두 가능 | | 💡 | IR 램프 | ⚠️ 미지원 | Hejhome 측 서버 문제로 인한 작동 불가 | | 🌀 | IR 선풍기 | ⚠️ 미지원 | Hejhome 측 서버 문제로 인한 작동 불가 | | 🌬️ | IR 공기청정기 | ✅ 지원 | 전원 / 풍속 | | 📺 | IR TV | ✅ 지원 | 전원 / 입력소스 / 볼륨 (채널 조절 불가, 볼륨 조절은 리모컨 앱에서 가능) |

참고 사항  램프·선풍기는 현재 Hejhome API 문제로 플러그인이 신호를 전송해도 장치가 반응하지 않습니다. Hejhome 측의 서버 오류(500)인 것으로 확인되었습니다.


🚀 빠른 시작

1️⃣ Node.js 설치

Homebridge 및 본 플러그인은 Node.js LTS 20.x 이상에서 테스트되었습니다. OS별 설치 방법은 Homebridge Wiki를 참고하세요.

2️⃣ Homebridge 설치

sudo npm install -g homebridge

3️⃣ 플러그인 설치

sudo npm install -g @k-roon/homebridge-hejhome-ir

4️⃣ config.json 예시

{
  "platforms": [
    {
      "platform": "HejhomeIR",
      "name": "Hejhome IR",
      "host": "http://localhost:8080",
      "credentials": {
        "email": "YOUR_ID",
        "password": "YOUR_PASSWORD"
      },
      "deviceNames": ["거실 에어컨", "안방 TV"]
    }
  ]
}

5️⃣ Homebridge 실행

homebridge

실행 후 Homebridge UI(http://<IP>:8581) 또는 터미널 로그에서 Hejhome IR 플랫폼이 정상적으로 로드되는지 확인하세요.


🛠️ 문제 해결

| 증상 | 원인 / 해결 방법 | | -------------------------------------------- | ------------------------------------------------------------ | | 기기가 HomeKit에 보이지 않음 | deviceNames 값이 Hejhome 앱의 실제 장치 이름과 정확히 일치하는지 확인 | | 램프·선풍기가 작동하지 않음 | Hejhome OPEN API 서버 오류로 이슈 해소될 때 까지 이용 불가 | | "Cannot add a Service with the same UUID" 오류 | 동일 UUID 서비스가 중복 등록됨 → subtype 지정 또는 deviceNames 목록 중복 제거 |


📝 변경 내역

자세한 변경 사항은 CHANGELOG를 참조하세요.

  • v1.1.3 : 서비스 안정화 및 TV 기기가 TV로서 보이지 않는 Issue 수정, Apple Home 앱에서 선풍기 회전 버튼 Dissappear Issue 수정

📄 라이선스

Apache-2.0 License © 2025 K‑Roon

API 접근방식 등 일부 코드는 homebridge-hejhome 프로젝트를 참고했습니다.