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-rpi-procmon

v0.1.1

Published

Homebridge dynamic platform plugin for exposing rpi-procmon monitor health in Apple Home.

Readme

homebridge-rpi-procmon

homebridge-rpi-procmon is a Homebridge dynamic platform plugin that reads the rpi-procmon HTTP API and exposes monitor health into Apple Home.

Current Scope

  • Polls GET /status from rpi-procmon
  • Exposes one optional overall Contact Sensor for the procmon supervisor
  • Exposes one Contact Sensor per selected procmon monitor, with labels that distinguish services, containers, and plugin-level monitors
  • Updates cached accessories dynamically as monitor inventory changes

This initial version is intentionally read-only. Restart actions, host reboot, and procmon restart switches should only be added after rpi-procmon exposes authenticated control endpoints.

Accessory Mapping

  • Overall procmon status: ContactSensor
    • Closed = healthy or recovering
    • Open = degraded, failed, unknown
  • Per-monitor health: ContactSensor
    • Closed = healthy
    • Open = degraded, failed, recovering, unknown

Naming model:

  • Rpi Procmon Supervisor
  • Service: Homebridge
  • Container: Scrypted
  • Plugin: Scrypted Arlo

That keeps procmon itself visually distinct from the items it monitors, while still using a simple binary health model in Apple Home. Text-heavy issue history belongs in a Homebridge UI, not in HomeKit characteristics.

Installation

npm install -g homebridge-rpi-procmon

Example Config

{
  "platform": "RpiProcmon",
  "name": "Rpi Procmon",
  "endpoint": "http://192.168.5.11:9645",
  "pollIntervalSeconds": 15,
  "requestTimeoutMs": 4000,
  "exposeOverallSensor": true,
  "exposeDisabledMonitors": false,
  "hideHealthyMonitors": false,
  "includeMonitors": [],
  "excludeMonitors": []
}

Development

npm install
npm run check

Publishing Notes

  • Package name: homebridge-rpi-procmon
  • Plugin alias: RpiProcmon
  • Requires homebridge ^1.11.2 || ^2.0.0-alpha.0
  • Requires Node ^18.15.0 || ^20.7.0 || ^22 || ^24

Roadmap

  • Add a Homebridge custom UI for recent issues and recovery history
  • Add optional restart/reboot action switches after procmon gains authenticated write endpoints
  • Add tests around config filtering and snapshot normalization