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-enjoyable-warmth

v0.1.9

Published

Homebridge plugin for Enjoyable Warmth infrared heaters using the local REST API.

Readme

homebridge-enjoyable-warmth

Homebridge plugin for Enjoyable Warmth IH-3200-DZ infrared heaters using the local REST API.

Author: P-Black

Version 0.1.9

Recommended Apple Home setup for a heater in the room Terrasse:

  • IR - main on/off switch using /v1/device/on and /v1/device/off
  • IR Plus - one /v1/device/up command
  • IR Minus - one /v1/device/down command

The plugin polls the real on/off state from /info, because firmware 1.0.2 redirects /v1/device to the configuration page. HomeKit read handlers return the last cached state immediately, while /info is refreshed in the background and by the polling timer. This avoids Homebridge slow-read warnings.

The HeaterCooler accessory is disabled by default because Apple Home did not show a useful regulator for this heater. It remains available as an optional experimental feature.

Features

  • Local REST control, no cloud required for Homebridge operation.
  • Main on/off accessory.
  • Optional step buttons for power level up/down.
  • Status polling from /info.
  • Cached HomeKit read responses to avoid slow read warnings.
  • Optional inverted state and inverted command handling.
  • Optional experimental HeaterCooler accessory.

Installation from npm

sudo npm install -g homebridge-enjoyable-warmth

For the official Homebridge Raspberry Pi image, install through the Homebridge UI or use:

sudo /opt/homebridge/bin/node /opt/homebridge/bin/npm install --prefix /var/lib/homebridge homebridge-enjoyable-warmth
sudo hb-service restart

Verify installation:

sudo /opt/homebridge/bin/node /opt/homebridge/bin/npm list --prefix /var/lib/homebridge --depth=0 | grep enjoyable

Example config

{
  "platform": "EnjoyableWarmth",
  "name": "Enjoyable Warmth",
  "_bridge": {
    "username": "0E:C1:F3:45:E6:87",
    "port": 34288,
    "name": "Homebridge Enjoyable Warmth"
  },
  "devices": [
    {
      "name": "IR",
      "host": "10.0.0.156",
      "port": 80,
      "model": "IH-3200-DZ",
      "deviceId": "1247",
      "firmwareVersion": "1.0.2",
      "pollInterval": 30,
      "requestTimeout": 5000,
      "statusPath": "/info",
      "lastErrorPath": "/v1/device/lastError",
      "logStatusChanges": true,
      "invertState": true,
      "invertPowerCommands": true,
      "exposeStepButtons": true,
      "stepUpName": "Plus",
      "stepDownName": "Minus",
      "stepCommandCooldownMs": 900,
      "exposeAsHeaterCooler": false,
      "exposePowerLevel": false,
      "enableExperimentalPowerLevel": false
    }
  ]
}

Local API used

  • PUT /v1/device/on
  • PUT /v1/device/off
  • PUT /v1/device/up
  • PUT /v1/device/down
  • GET /info
  • GET /v1/device/lastError

Notes

The tested IH-3200-DZ firmware does not provide the actual device state through /v1/device. The plugin therefore reads the ON/OFF state from the local /info page.

The device does not report the current power level locally. The stable HomeKit setup is therefore:

  • IR for on/off
  • IR Plus for increasing the heater level
  • IR Minus for decreasing the heater level

The actual on/off state is read from /info and cached for HomeKit read handlers.