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

@mickey-mikey/homebridge-laser-egg

v1.0.3

Published

A plugin for homebridge to support first gen Laser Egg air quality monitors.

Downloads

17

Readme

homebridge-laser-egg

This is the original work of @bfishadow and others mentioned at https://github.com/bfishadow/homebridge-laser-egg This fork updates the plugin for API changes made by kaiterra. Below is the updated isntructions

About

This is a Homebridge plugin to add HomeKit support to the first generation Laser Egg air quality monitors. Laser Egg is a sleek AQI monitor. However the 1st gen Laser Eggs don’t have HomeKit support, while the newer model does. This plugin will save some money if you don’t need more features but the HomeKit integration.

Usage

  1. Install this plugin by npm install -g homebridge-laser-egg
  2. Update the config.json file to add accessory.

Config

Getting the UDID & API key

To get this plugin to work you will need your device's unique ID (UDID) and API key from the kaiterra website. You can get both by following the below:

  1. I am assuming you've already got the device working and added to the kaiterra/live air app.
  2. Go to the Kaiterra app and click on the gear icon.
  3. Under device and firmware version, you will find your UDID. Note this down.
  4. Now go to https://dashboard.kaiterra.com/login and login with your credentials
  5. Go to account settings, and generate an API key. Note this down

Sample config

Here’s the sample config fileb

{
    "accessories": [
        {
            "accessory": "laser-egg",
            "name": "Laser Egg",
            "laser_egg_id": "YOUR_UDID_HERE",
            "laser_egg_key": "YOUR_API_KEY_HERE",
            "polling": "5"
        }
]

Here are the explanations for each data field. All fields are required.

  1. accessory The name of the HomeKit accessory. Use "laser-egg" (all lowercase).
  2. name The name for the accessory. It will show in the Home app. Don’t make it too long. Otherwise it will be hard to identify.
  3. laser_egg_id This is your device's unique ID i.e. UDID
  4. laser_egg_key This is the API access key you generated from the kaiterra website.
  5. polling The interval in minutes of fetching data. Five is enough. Please don’t abuse the API.