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-xgimi-tv-plus

v1.0.3

Published

A plugin on homebridge to bring XGimi Smart Projector to HomeKit with Mi plug

Downloads

33

Readme

Homebridge XGimiTv Plugin Plus

中文文档

Introduce

use a smart plug let xgimi tv link in homekit to turn on/off tv and control tv.

Installation

sudo npm i -g homebridge-xgimi-tv-plus@latest

Configuration

Get Mi Plug token

Use this tool to get plug token, ip, id, model(https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor)

To get the package attribute, you can visit

http://{{you_tv_ip}}:16741/data/data/com.xgimi.vcontrol/app_appDatas/list

you need decode the data in chrome debug console(F12) ,paste fallow script

decodeURIComponent(document.body.textContent)

or copy data to this tool(https://www.urldecoder.org/)

Example BASIC config

set host with your xgimi tv ip.

Set ip, id,token,model with your device info.

If you wanna some app autorun on start,set autorun with the app package attribute name,or set the key is ""

{
    "platform": "XGimiTeleVisionPlatform",
    "name": "XGimiTeleVisionPlatform",
    "devices": [
        {
            "name": "XGimi TV",
            "host": "192.168.10.100",
            "inputs": [
                {
                    "name": "Kodi",
                    "type": "APPLICATION",
                    "package": "org.xbmc.kodi"
                },
                {
                    "name": "Huya",
                    "type": "APPLICATION",
                    "package": "com.huya.nftv"
                }
            ],
            "outlet": {
                "name": "xgimi outlet",
                "ip": "192.168.10.150",
                "id": "437035619",
                "token": "9mfq49he8tterr8xubzv9c6sjr70y302q",
                "model": "cuco.plug.cp1",
                "autorun": "org.xbmc.kodi"
            },
            "manufacturer": "XGimi",
            "model": "H3S",
            "serialNumber": "JRTZYCSJRK4R",
            "firmwareRevision": "1.10.241"
        }
    ]
}

The last step:set when power is on turn on xgimi tv in advanced settings.

Warning

  1. If unplug or power outage,you need restart homebridge.
  2. Control tv access by iphone control center's remoter.

Tested Device

Plug:Gosund CP1-AM(cuco.plug.cp1)

Xgimi tv:H3S

Special thanks

This plugin is based on fantasytu/homebridge-xgimi-tv modified.

http://github.com/fantasytu/homebridge-xgimi-tv

https://github.com/merdok/homebridge-miot

https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor