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 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-airmega

v3.1.9

Published

Homebridge plugin for the Airmega air purifier

Downloads

8

Readme

homebridge-airmega

Control and monitor your Airmega purifier with HomeKit.

npm version

Functionality

  • Control power, fan speed, and lights
  • Toggle between manual and auto mode
  • Reports the current air quality
  • Reports the life levels and change indication for the pre-filter and Max2 filter.

Prerequisites

  • Installation of Homebridge
  • iOS 11 or later
  • Airmega 400S or 300S connected to WiFi and registered with the IOCare app

Installation

npm install -g homebridge-airmega

Configuration

Add the following to your homebridge config:

"platforms": [
  {
    "platform": "Airmega",
    "username": "myusername",
    "password": "password123"
  }
]

Excluding Accessories

You can optionally prevent certain accessories from being created by using the exclude option in your config (note: only the lightbulb accessory supports exclusion for now).

Example:

"platforms": [
  {
    "platform": "Airmega",
    "username": "myusername",
    "password": "password123",
    "exclude": [
      "lightbulb"
    ]
  }
]

Authentication

The IOCare app offers two main options for logging in: "Phone Number/Email" or "Coway ID". The username and password you supply in the config has been tested to work with either one. This plugin currently does not support authentication through social networks.

Tested Siri Commands

Example of some Siri commands you can use:

  • "Turn on the air purifier"
  • "Turn off the air purifier lights"
  • "Set the air purifier to auto"
  • "Set the air purifier fan to medium"
  • "What's the air quality in <room name>?"