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-g4s-alarm-risco

v0.4.2

Published

Use G4S alarm in Homekit

Readme

Homebridge G4S Alarm (Risco)

Control a G4S alarm panel that now lives on freecontrolweb.com / RISCO Cloud directly from HomeKit.

This fork replaces the old w-mit.g4severhome.dk API with the current RISCO Cloud web API (www.riscocloud.com/webapi/api) via risco-cloud-client. It is published under a different package name to avoid colliding with the original plugin.

Requirements

  • Node.js 18+
  • RISCO/FreeControl credentials: username, password, and the panel PIN you use on freecontrolweb.com.
  • Optional: siteId (if your account has multiple sites) and partitionId (if you want a specific partition).

Installation

npm install -g homebridge-g4s-alarm-risco

Configuration

Add the platform to your Homebridge config:

{
  "platform": "G4S",
  "name": "G4S Alarm",
  "username": "[email protected]",
  "password": "yourPassword",
  "pin": "1234",
  "languageId": 1,           // optional, defaults to 1 (English)
  "siteId": "",              // optional, first site is used when blank
  "partitionId": "",         // optional, first partition is used when blank
  "pollInterval": 10000      // optional, ms between status polls (min 3000)
}
  • Away arms fully, Stay/Night arms partially, Disarm disarms.
  • Alarm state is polled periodically; a recent manual action pauses polling for ~15s to avoid flipping states.

How this differs from the original

  • Package name is homebridge-g4s-alarm-risco (to avoid clashes).
  • Uses RISCO Cloud (freecontrolweb.com) endpoints instead of the legacy G4S host.
  • Adds PIN, siteId/partition selection, languageId, and configurable polling to the schema.

Notes & Limitations

  • Uses the official RISCO Cloud web endpoints that back freecontrolweb.com; credentials are never sent to the old G4S host.
  • Alarm-trigger detection depends on the partition state reported by RISCO; some panels may not expose a distinct alarm flag via the cloud API.
  • Not affiliated with G4S or RISCO. Use at your own risk.