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

seikan/homebridge-mi-camera: Xiaomi Mi camera plugin for Homebridge.

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

开源软件名称:

seikan/homebridge-mi-camera

开源软件地址:

https://github.com/seikan/homebridge-mi-camera

开源编程语言:

JavaScript 100.0%

开源软件介绍:

homebridge-mi-camera

This is Xiaomi Mi Camera plugin for Homebridge.

mi-camera

Features

  • Switch on / off.

Notes: Only able to wake the camera from sleep or set it to sleep at this moment.

Installation

  1. Install required packages.

    npm install -g homebridge-mi-camera miio
    

  2. Open Mi Home app and open Mi Camera from the device list.

  3. Go to Network Info and find the IP address of the camera.

  4. On your Homebridge server, open command prompt or terminal. Run following command to discover the device:

    miio --discover --sync
    

    Notes: This will take about a minute or two.

  5. Wait until you get output below with the Address matches with the IP address you found from Network Info.

    Device ID: 50668318
    Model info: Unknown
    Address: 192.168.1.203
    Token: 3574645a6a52526447566b4e69484e42 via auto-token
    Support: Unknown
    
  6. Record down the value value for Token as we need it later.

  7. Add these values to config.json.

      "accessories": [
        {
          "accessory": "MiCamera",
          "name": "Mi Camera",
          "ip": "IP_ADDRESS_OF_THE_CAMERA",
          "token": "TOKEN_DISCOVERED_FROM_STEP_5",
        }
      ]
    

  8. Restart Homebridge, and your Mi Camera will be added to Home app.

License

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




鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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