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

iklein99/homebridge-smartthings: Will be a basic connector for smartthings and A ...

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

开源软件名称:

iklein99/homebridge-smartthings

开源软件地址:

https://github.com/iklein99/homebridge-smartthings

开源编程语言:

TypeScript 97.9%

开源软件介绍:

Smartthings Homebridge Plugin

This is yet another smartthings plugin for Homebridge. This requires no access to the legacy smartthings app, and doesn't require a lot of work to install. It will discover devices automatically as well as unregister devices that are removed from your smarttthings network. This is currently under development.

New in verson 1.1.5

Added support for locks.

Fixed in version 1.1.3

When getting an unexpected state from a garage door, throw a communications exception.

New in version 1.1.1

Added the ability to specify locations to ignore. The locations are the names you set in the Smartthings App. See "How to configure" below to learn how to specify locations to ignore.

Fixed in version 1.0.2

Config UI now works.

Device types supported

Currently, the following have been implemented, because that is what I have access to in my home. Supports: Switch, Lightbulb, Fan, Garage Door Opener.

How to configure

You will need to create a Smartthings personal access token. You can do that here: https://account.smartthings.com/tokens. Create a new token and make sure it has all of the device permissions, and if you want to use the Ignore Locations feature, you must include the List Locations (r:locations) permission. Save your token and add it to the configuration.
This section should be added to the platforms array in your config.json file, but you can now edit using the config UI:

        {
            "Name": "Smartthings Plugin",
            "AccessToken": "INSERT YOUR PERSONAL ACCESS TOKEN HERE",
            "BaseURL": "https://api.smartthings.com/v1",
            "GarageDoorMaxPoll": 40,
            "platform": "HomeBridgeSmartThings",
             "IgnoreLocations": [
                 "My location 1",
                 "My location 2"
             ]
       }

The "IgnoreLocations" array may be omitted. This array can be used to specify location names, as confogured in the Smartthings app. All of the devices in these locations will be ignored and not added to Homebridge. If you add any IgnoreLocations after you had previously started Homebridge with this plugin, those devices will be removed. You may remove this section to have them added back in. IMPORTANT: your API token must have the "r:locations" permission in order to ignore locations.

You need to restart Homebridge when you make changes to this file.




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
steedferns/homebridge-roomba980: Roomba 980 support for Homebridge发布时间:2022-06-17
下一篇:
alexus1211/homebridge-jeedom发布时间:2022-06-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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