当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

Cmdswitch2-Ecovacs

授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 郎雪风
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Cmdswitch2-Ecovacs

A Python script to integrate your Ecovacs vacuum to Homekit.

Requirements

This script assumes you have the following installed:

Installation

  1. Enter your Ecovacs credentials into the python script
  2. Run the script as state_cmd in your config.json file.

Example configuration

"platforms": [{
   "platform": "cmdSwitch2",
   "name": "CMD Switch",
   "switches": [{
       "name": "Vacuum",
       "on_cmd": "sucks clean 120",
       "off_cmd": "sucks charge",
       "state_cmd": "python3 /var/homebridge/vacstate.py",
       "polling": true,
       "interval": 120,
       "timeout": 20
   }]

License

MIT