• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Kwintenvdb/homebridge-vesync-client: A Homebridge plugin for Levoit air purifier ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Kwintenvdb/homebridge-vesync-client

开源软件地址:

https://github.com/Kwintenvdb/homebridge-vesync-client

开源编程语言:

TypeScript 100.0%

开源软件介绍:

homebridge-vesync-client

GitHub Workflow Status

A Homebridge plugin to control Levoit Air Purifiers with via the Vesync Platform.

NOTE: This plugin is still heavily work in progress. Therefore it has limited functionality and may introduce breaking changes at any time.

Installation

See the Homebridge documentation for how to install and run Homebridge.

To install the plugin, run the following on the command line on the machine where Homebridge is installed:

npm install -g homebridge-vesync-client

Configuration

  • Via the Homebridge UI, enter the Homebridge Vesync Client plugin settings.
  • Enter your Vesync app credentials.
  • Save and restart Homebridge.

This plugin requires your Vesync credentials as it communicates with the Vesync devices via Vesync's own API. Your credentials are only stored in the Homebridge config and not sent to any server except Vesync's.

You can also do this directly via the homebridge config by adding your credentials to the config file under platforms. Replace the values of username and password by your credentials.

"platforms": [
    {
        "platform": "VesyncPlatform",
        "username": "[email protected]",
        "password": "enter_your_password"
    }
]

Features

This plugin currently supports the following features.

Levoit Air Purifier

  • Turning the Air Purifier on and off

On the roadmap:

  • Changing fan speed
  • Displaying filter life level
  • Toggling night and auto mode
  • Extract TypeScript Vesync API client into separate library (port of pyvesync)

Local Development

If you want to develop and run the plugin locally, you can do the following:

  1. Clone the repository.
  2. Run the following scripts on the command line:
cd homebridge-vesync-client
npm install
npm run watch
npm link

Afterwards, restart Homebridge. Restart Homebridge whenever you have made changes to the code.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap