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-davis-2

v0.5.1-beta.3

Published

WeatherLink and AirLink integration for Homebridge

Readme

Homebridge Davis 2

This is a Homebridge plugin that allows you to integrate your Davis WeatherLink Live station and AirLink sensors.


Manual Installation

You must have Homebridge already installed, then install the plugin:

npm install -g homebridge-davis-2


GUI Installation

Search for: homebridge-davis-2

and install via Homebridge UI.


How It Works

This plugin calls your Davis WeatherLink Live API and processes:

  • External weather stations (ISS or AirLink fallback)
  • Internal (console) temperature and humidity
  • AirLink air quality data (PM2.5 / PM10)

The plugin polls the API on an interval and stores the latest valid state in memory for fast HomeKit updates.


Configuration

This plugin uses graphical configuration in Homebridge UI.

Fields

URL: Your WeatherLink Live API endpoint (http://ip-address/v1/current_conditions)

Polling Interval: How often the API is queried (in seconds) - I Recommend no shorter than 30 second cycles.

Stale Threshold: How long before data is considered invalid (in minutes)

Sensor Unit: Temperature unit provided by your station (F or C)

TXIDs: Allowed transmitter IDs (default: [1])

Checkboxes:

Sensors: External: Will enable temperature and humidity sensors from external stations. Internal: Will enable temperature and humidity sensors from internal station. AirLink: This turns on the Air quality Indicator.

Detailed Debug Logging: Enables deep debug output (payloads, state dumps)


Notes

  • Fetch errors are expected with Davis WeatherLink devices under load
  • Logging is intentionally "noisy" in beta (Debug and Debug+ extremely so)

Known Behavior

  • AirLink logic is untested due to lack of equipment. (main reason it's in beta)
  • Sensor availability depends on API response structure
  • HomeKit accessories are dynamically created based on enabled flags

Credits

Inspired by original module: homebridge-Davis (PMoon00 and others) All work by Brendan Keyport (Assisted by ChatGPT to help understand concepts I was unable to understand alone)


Donation

Thank you for thinking of me, but I don't care to receive donations.

In leiu of donations to me, please donate to a local underprivledged rights type charity.

Disability rights, Gender equality, etc.

Thank you for your consideration!