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-nordpool-cheapest-range

v1.3.0

Published

Homebridge plugin to create virtual sensors for the cheapest electricity hours within custom time windows using Nordpool data.

Readme

homebridge-nordpool-cheapest-range

This Homebridge plugin allows you to automate your home based on the cheapest electricity hours within a customized time range. It is perfect for optimizing high-energy appliances like car chargers, floor heating, or water heaters.

Credits This plugin is based on the awesome work of msegzda and his project homebridge-nordpool-baltics. A huge thank you to him for creating the original foundation and logic! If you want to support this plugin, donate to msegzda!

Key Features Custom Time Windows: Find the cheapest hours specifically within a daily range (e.g., only between 00:00 and 07:00).

Eve App History: Full support for historical graphs in the Eve Home app. See exactly when your devices were in "Cheap" mode.

Detailed Logging: Transparent logs showing the exact selected hours and their prices for the current window.

Contact Sensor Interface: Exposed as a virtual Contact Sensor for easy automation in the Apple Home app.

How to Install Set up your Homebridge environment.

Install the plugin via the Homebridge UI or using:

Bash npm install homebridge-nordpool-cheapest-range Configuration

You can configure multiple devices. Each device will appear as a Contact Sensor in HomeKit:

Name: Name of the sensor (e.g., "Water Heater Control").

Range Start: The hour when the calculation window begins (e.g., 0 for midnight).

Range End: The hour when the calculation window ends (e.g., 7 for 7 AM).

Target Cheapest Hours: How many hours within that range should the sensor be active.

Important Note: To ensure maximum reliability with the Nordpool API data resets, it is highly recommended to set your range within a single day (e.g., 0 to 7). Ranges crossing midnight (e.g., 23 to 06) may behave inconsistently during the midnight hour when price data for the previous day is cleared.