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

seikan/homebridge-xiaomi-mi-robot-vacuum: XiaoMi Mi robot vacuum plugin for Home ...

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

开源软件名称:

seikan/homebridge-xiaomi-mi-robot-vacuum

开源软件地址:

https://github.com/seikan/homebridge-xiaomi-mi-robot-vacuum

开源编程语言:

JavaScript 100.0%

开源软件介绍:

homebridge-xiaomi-mi-robot-vacuum

This is Xiaomi Mi Robot Vacuum plugin for Homebridge. Since Apple Homekit is not supporting vacuum cleaner device yet, this plugin will add the robot as Fan to your Home app.

mi-air-purifier

Features

  • Switch on / off. When off, it will returning to charging dock automatically.

  • Control suction power by adjust the fan speed.

    • Quiet (1 -38%)
    • Balance (39 - 60%)
    • Turbo (61 - 77%)
    • Max Speed (>77%)
  • Display battery level, and notify on low battery.

  • Display battery charging state.

Installation

  1. Install required packages.

    npm install -g homebridge-xiaomi-mi-robot-vacuum miio
    

  2. Remove Mi Robot Vaccum from your Mi Home app.

  3. Press "Power" and "Home" button simultaneously and hold for 3 seconds on your Mi Robot Vacuum to reset the Wi-Fi.

    mi-robot-reset-wifi

  4. It will advertised a new Wi-Fi spot similar torockrobo-vacumum-v1_xxxx.

  5. Connect your PC to that Wi-Fi network.

  6. Open command prompt or terminal. Run following command to discover the device:

    miio --discover --sync
    

    Notes: This will take about a minute or two.

  7. Wait until you get output similar to this:

    Device ID: 49466045
    Model info: Unknown
    Address: 192.168.8.1
    Token: 6f7a65786550386b755a6b526666744d via auto-token
    Support: Unknown
    
  8. Record down the value value for Token as we need it later.

  9. Disconnect from robot Wi-Fi network.

  10. Open Mi Home app and add the device as usual.

  11. In Mi Home app, get the Robot Vacuum IP address from General Settings > Network Info.

  12. Add these values to config.json.

      "accessories": [
        {
          "accessory": "MiRobotVacuum",
          "name": "Vacuum Cleaner",
          "ip": "IP_ADDRESS_OF_THE_ROBOT",
          "token": "TOKEN_DISCOVERED_FROM_STEP_7",
          "pause": false
        }
      ]
    

    ​Set "pause" to true or false to display or hide pause button for the vacuum.

  13. Restart Homebridge, and your Mi Robot Vacuum will be added to Home app.

License

See the LICENSE file for license rights and limitations (MIT).




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
Sponsor @chezou on GitHub Sponsors · GitHub发布时间:2022-06-14
下一篇:
chezou/homebrew-cloudera: Homebrew Formulas for cloudera tools发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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