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

node-red-contrib-konkeio

v1.0.4

Published

控客设备控制

Downloads

5

Readme

控客的nodered节点

提供发现操作两个节点

发现节点用于发现内网可操作的控客开关,获取相关信息用于操作节点操作用

操作节点用于直接操作配置好的控客开关,同时也提供去检查指定开关状态的功能

基于以上两个功能可完成局域网控客开关的操作

安装

# 去nodered目录
npm i node-red-contrib-konkeio

nodered 范例流

请直接导入使用

[
    {
        "id": "eb21b7ea.649da8",
        "type": "konkeio-discover",
        "z": "f55b6e38.ef635",
        "timeout": 1000,
        "x": 310,
        "y": 340,
        "wires": [
            [
                "e8167b2c.cf2c38"
            ]
        ]
    },
    {
        "id": "30c0126f.cb394e",
        "type": "konkeio-action",
        "z": "f55b6e38.ef635",
        "name": "检查",
        "ip": "192.168.25.32",
        "mac": "28-d9-8a-8b-6d-f0",
        "password": "69:iv?tf",
        "status": "check",
        "x": 310,
        "y": 380,
        "wires": [
            [
                "c9345c8d.49554"
            ]
        ]
    },
    {
        "id": "e8167b2c.cf2c38",
        "type": "debug",
        "z": "f55b6e38.ef635",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "x": 450,
        "y": 340,
        "wires": []
    },
    {
        "id": "9b80127a.9c1a",
        "type": "inject",
        "z": "f55b6e38.ef635",
        "name": "按钮",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 170,
        "y": 340,
        "wires": [
            [
                "eb21b7ea.649da8"
            ]
        ]
    },
    {
        "id": "719b1b1f.cd3054",
        "type": "inject",
        "z": "f55b6e38.ef635",
        "name": "定时",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "1",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 170,
        "y": 380,
        "wires": [
            [
                "30c0126f.cb394e"
            ]
        ]
    },
    {
        "id": "c9345c8d.49554",
        "type": "ui_switch",
        "z": "f55b6e38.ef635",
        "name": "",
        "label": "控客",
        "tooltip": "",
        "group": "44f9f573.c9844c",
        "order": 0,
        "width": 0,
        "height": 0,
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "style": "",
        "onvalue": "true",
        "onvalueType": "bool",
        "onicon": "",
        "oncolor": "",
        "offvalue": "false",
        "offvalueType": "bool",
        "officon": "",
        "offcolor": "",
        "x": 450,
        "y": 380,
        "wires": [
            [
                "318135f1.7f664a"
            ]
        ]
    },
    {
        "id": "318135f1.7f664a",
        "type": "konkeio-action",
        "z": "f55b6e38.ef635",
        "name": "开关",
        "ip": "192.168.25.32",
        "mac": "28-d9-8a-8b-6d-f0",
        "password": "12345",
        "status": "auto",
        "x": 590,
        "y": 380,
        "wires": [
            []
        ]
    },
    {
        "id": "44f9f573.c9844c",
        "type": "ui_group",
        "z": "",
        "name": "插座",
        "tab": "c41a163c.ed1ae8",
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "c41a163c.ed1ae8",
        "type": "ui_tab",
        "z": "",
        "name": "办公室",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    }
]