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-windy-camera

v1.0.1

Published

Captures a live Windy.com radar map screenshot and keeps it registered as a camera inside homebridge-camera-ui

Readme

homebridge-windy-camera

Captures a live Windy.com radar map screenshot on a timer and keeps it registered as a camera accessory inside homebridge-camera-ui.

This plugin does not implement HomeKit camera streaming itself — it relies on homebridge-camera-ui (which must already be installed and configured) to handle the actual HomeKit video pipeline. Instead, it:

  1. Periodically launches headless Chromium (via playwright-core) to screenshot the Windy.com embed map for a configured location, and saves it to disk.
  2. On every Homebridge start, makes sure a matching camera entry exists in homebridge-camera-ui's configuration and database — recreating it automatically if it's missing (for example after a partial backup restore).

Requirements

  • homebridge-camera-ui already installed and configured.
  • A system-installed Chromium browser (e.g. /usr/bin/chromium on Raspberry Pi OS / Debian).

Installation

sudo npm install -g homebridge-windy-camera

The plugin's postinstall script will automatically create a Homebridge prestart hook (under /etc/hb-service/homebridge/prestart.d/) that keeps the camera-ui configuration in sync before Homebridge starts. This is necessary because homebridge-camera-ui overwrites its own configuration from an internal database on every startup, before any regular plugin gets a chance to run.

Configuration

Add a platform block to your Homebridge config.json:

{
  "platform": "WindyCamera",
  "name": "מכ״ם גשם",
  "lat": 32.3167,
  "lon": 34.9351,
  "width": 1300,
  "height": 900,
  "captureIntervalMs": 120000
}

| Option | Default | Description | |---------------------|-----------------------|----------------------------------------------------------| | name | מכ״ם גשם | Camera name shown in HomeKit / used to match the entry. | | lat / lon | Tel Aviv area | Map center coordinates. | | width / height | 1300 / 900 | Screenshot resolution. | | captureIntervalMs | 120000 (2 minutes) | How often to refresh the radar image. | | chromiumPath | /usr/bin/chromium | Path to the system Chromium binary. |

How it works

The plugin does not register any HomeKit accessories of its own — its only job is to (a) keep a radar screenshot fresh on disk and (b) make sure homebridge-camera-ui has a videoConfig entry pointing at that image. The actual HomeKit camera protocol is entirely handled by homebridge-camera-ui.