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

wylanswets/homebridge-sure-petcare-platform

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

开源软件名称:

wylanswets/homebridge-sure-petcare-platform

开源软件地址:

https://github.com/wylanswets/homebridge-sure-petcare-platform

开源编程语言:

JavaScript 100.0%

开源软件介绍:

homebridge-sure-petcare-platform

Enables Sure Petcare products (currently only doors) to work with Homekit. If you would like to see their other accessories supported feel free to reach out through this repo or to submit a pull request.

To install:

npm install -g homebridge-sure-petcare-platform

To configure, add this to your homebridge config.json file:

"platforms": [
    {
        "platform": "SurePetcare",
        "email": "[email protected]",
        "password": "your_password",
        "poll_interval": 30,
        "pet_occupancy": true,
        "occupancy_flipped": true,
        "lock_mode": 1
    }
]

Note:

poll_interval (optional)

If poll_interval it is not defined in the config it will default to 30. Adjusting this number will lengthen or shorten the amount of time between status checks for each accessory. I would recommend keeping this to above 5 seconds, but feel free to adjust this to your liking.

pet_occupancy (optional)

pet_occupancy will default to false. If this is true it will enable an occupancy sensor for each of your pets. During each "poll interval" the occupancy sensor will be updated to reflect if the app says the pet is inside or outside the house. "Occupancy Detected" means they are inside the house, "No Occupancy" means they are outside the house.

occupancy_flipped (optional)

occupancy_flipped will default to false. If you set this to true, the occupancy sensors state will be flipped. This means if your pet is outside, the sensor will read "occupancy detected". If a pet is inside the house occupancy will not be detected.

lock_mode (optional)

lock_mode will default to 1 if not defined. You can change this value based on the locking mode you want. The different modes are:

  • 1 (default) - Keeps your pets inside the house, but will let them enter from outside.
  • 2 - Keeps your pets outside the house, but will let them go outside. (keeps dead lizards and mice out)
  • 3 - Locks the door in both directions. No one in, no one out. (keeps lizards and mice alive and from dying and being brought in)

Supports:

  • Cat Door Connect
  • Pet Door Connect

Change Log:

0.1.4 - Oct. 6, 2020

  • Wired in lock_mode to actually work becuase who needs to test code you write?

0.1.3 - Oct. 6, 2020

  • Added lock_mode support to specify how the pet doors would lock from homekit.



鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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