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-mi-waterpuri

v1.0.3

Published

Mi WaterPurifier plugin for homebridge: https://github.com/nfarina/homebridge

Readme

homebridge-mi-waterpuri

MiWaterPurifier for homebridge

简体中文说明

The following models of water purifiers may be supported

| Model| Name| Test| | :--- | :---: | :---: | | yunmi.waterpurifier.v1| Mi Water Purifier v1 | [ ] | | yunmi.waterpurifier.v2| Mi Water Purifier v2 | [ ] | | yunmi.waterpurifier.v3| Mi Water Purifier (Under sink) v3 | [ ] | | yunmi.waterpurifier.v4| Mi Water Purifier v4 | [ ] | | yunmi.waterpuri.lx2| Mi Water Purifier lx2 | [ ] | | yunmi.waterpuri.lx3| Mi Water Purifier (Under Counter) | [x] | | yunmi.waterpuri.lx4| Mi Water Purifier lx4 | [ ] | | yunmi.waterpuri.lx5| Mi Water Purifier 1A/400G Pro | [ ] | | yunmi.waterpuri.lx6| Mi Water Purifier (Under Counter) | [ ] | | yunmi.waterpuri.lx7| Mi Water Purifier 500G/500G Pro | [ ] | | yunmi.waterpuri.lx8| Mi Water Purifier 600G | [ ] | | yunmi.waterpuri.lx9| Mi Water Purifier D1 | [ ] | | yunmi.waterpuri.lx10| Mi Water Purifier lx10 | [ ] | | yunmi.waterpuri.lx11| Mi Water Purifier C1 (Triple Setting) | [ ] | | yunmi.waterpuri.lx12| Mi Water Purifier S1 | [ ] |

TDS shows in LightSensor.(No accessory available for water purifier)

Installation

  1. Install HomeBridge, please follow it's README.
    If you are using Raspberry Pi, please read Running-HomeBridge-on-a-Raspberry-Pi.
  2. Make sure you can see HomeBridge in your iOS devices, if not, please go back to step 1.
  3. Install packages.
  4. Get ip and token, please install this version of Mijia link
npm install -g miio homebridge-mi-waterpuri

Configuration

"platforms": [{
    "platform": "MiWaterPurifierPlatform",
    "deviceCfgs": [{
        "type": "MiWaterPurifier",
        "ip": "192.168.31.x",
        "token": "xxxxxxxxxxxxxxxxxxx",
        "FilteredWaterQuality": "TDS OUT",
        "TapWaterQuality": "TDS IN",
        "PpCottonFilterRemaining": "PP cottonfilter remaining",
        "FrontActiveCarbonFilterRemaining": "Front active Carbonfilter remaining",
        "RoFilterRemaining": "Ro Filter Remaining",
        "RearActiveCarbonFilterRemaining": "Rear active carbonFilter remaining"
    }]
}]

If you don't want to display an item, please delete the configuration item or leave the value blank, such as displaying only the TDS of inlet and outlet water

"platforms": [{
    "platform": "MiWaterPurifierPlatform",
    "deviceCfgs": [{
        "type": "MiWaterPurifier",
        "ip": "192.168.31.x",
        "token": "xxxxxxxxxxxxxxxxxxx",
        "FilteredWaterQuality": "TDS OUT",
        "TapWaterQuality": "TDS IN"
    }]
}]