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

wylanswets/homebridge-icontrol-platform: Enables iControl home security systems ...

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

开源软件名称:

wylanswets/homebridge-icontrol-platform

开源软件地址:

https://github.com/wylanswets/homebridge-icontrol-platform

开源编程语言:

JavaScript 100.0%

开源软件介绍:

homebridge-icontrol-platform

Enables iControl home security systems and other accessories in Homebridge for homekit Currently only supports XFinity Home (the one I have)

To install:

npm install -g homebridge-icontrol-platform

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

"platforms": [
    {
        "platform": "iControl",
        "name": "iControl Platform",
        "system": "XFINITY_HOME",
        "email": "[email protected]",
        "password": "password_here",
        "pin": "1234",
        "path": "/OPTIONAL/your/absolute/path/persist,
        "refresh_token": "refresh token that you got by using a proxy on your phone"
    }
]

Path parameter (optional):

Can be an absolute path or relative path - in most cases if you have a spot you know works, just use the absolute path to that folder. If you do not provide a "path" parameter it will default to the relative execution path.

Refresh Token (optional - workaround for login no longer working)

Due to recent updates from Comcast on their OAuth flow, it initially looks like it will be tricky to get a full login flow working again. As such I have updated the plugin to accept a refresh token in the configuration which can be captured using a proxy (like burpsuite) to intercept the refresh token when your phone app is initially starting up (I was able to see it when booting up the app that was already logged in).

I am not sure how much time I will spend on finding other workarounds or ways forward... as the refresh tokens are very reliable once you have one. The trick is to have a SEPARATE account that Homebridge uses so that the refresh token will not be replaced when you log in to your app with that same account. If there is a need I can point out more helpful instructions for intercepting the tokens, and appologize there is not more that can be done at this time.

Once the refresh token has been used to log in, it can be removed from the config so the internally cached refresh token will be used.

Not yet done:

  • Alarm being set off to trigger homekit alarm "triggered" state.

Supports:

  • Alarm Panel (does not yet trigger alarm state in homekit - haven't set my alarm off to test yet)
  • Door / Window sensors (gives live open / close state)
  • "Lights" (outlets) - when these are in dimmable mode homekit will show a dimmer, when in on/off mode you will only get a switch.

Does not support:

  • Motion sensors - these only trigger motion notices when the alarm is set for away mode rendering these unhelpful for automations and thus cluttering up homekit

Notes

Started from https://github.com/nfarina/homebridge-icontrol

I helped to update the iControl accessory plugin above, then was inspired to fully support the platform by supporting all peripherals.




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
hpbieker/homebridge-yr发布时间:2022-06-17
下一篇:
Sponsor @rcarmo on GitHub Sponsors · GitHub发布时间: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