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

meg768/homebridge-ikea-tradfri-gateway: homebridge-ikea-tradfri-gateway

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

开源软件名称:

meg768/homebridge-ikea-tradfri-gateway

开源软件地址:

https://github.com/meg768/homebridge-ikea-tradfri-gateway

开源编程语言:

JavaScript 99.4%

开源软件介绍:

homebridge-ikea-tradfri-gateway

Yet another HomeBridge plugin for the IKEA Trådfri Gateway.

Please note that this module is no longer supported by me. However, I will continue to merge pull request but I do not have the ability to test anything.

There are several other npm modules that connect to the IKEA Trådfri Gateway.

This plugin uses the npm module node-tradfri-client from alcalzone that does not require any other components to be installed and works on multiple platforms.

Installation

First, install Homebridge. See https://www.npmjs.com/package/homebridge for more information.

Then install this plugin.

$ sudo npm install homebridge-ikea-tradfri-gateway -g

If you are having permission problems during install, try this

$ sudo npm install homebridge-ikea-tradfri-gateway -g --unsafe-perm

Configuration File

Configure your ~/.homebridge/config.json with the following platform.

{
    "bridge": {
        "name": "Trådfri",
        "username": "AA:22:3D:E3:CE:57",
        "port": 51826,
        "pin": "031-45-123"
    },

    "description": "This is an example configuration file",

    "platforms": [
        {
            "platform": "Ikea Trådfri Gateway",
            "name": "Ikea Trådfri Gateway",
            "securityCode" : "this-is-found-on-the-back-of-the-gateway",
            "expose": ["lightbulbs", "outlets", "blinds"]
        }
    ]
}

You can also only expose non-IKEA devices (which are not exposed to HomeKit with the native integration) with:
"expose: ["non-ikea-lightbulbs", "non-ikea-outlets", "non-ikea-blinds"]

This module auto detects the ip address of the IKEA gateway. If by some reason you would like to access a specific gateway, merge the following into ~/.homebridge/config.json.

{
    ...
    "platforms": [
        {
            ...
            "host": "ip-address-of-ikea-gateway"
        }
    ]
}

What This Plugin Does

This plugin simply extracts all lightbulbs, outlets and blinds currently in use by the IKEA Trådfri Gateway and exposes them to HomeKit and you have the ability to turn the devices on or off. And, of course, you may change the device names and group them into rooms on your iPhone or iPad.

The following IKEA devices are supported

  • Standard white bulbs
  • RGB bulbs
  • Warm white bulbs with temperature control
  • Outlets
  • Blinds

After this, start homebridge, scan the presented code with your iPhone, and hopefully you will se all you IKEA lightbulbs in your iPhone/iPad Home app.

To Do

  • Support motion sensors and remote controls if possible
  • Handle reboot or connection break of gateway

Bugfixes/Updates

  • 2018-01-29 - Can now have accessories with the same name in the IKEA app
  • 2018-02-04 - Updated to work with gateway version 1.3.14. The security code must now be present in ~/.homebrige/config.json.
  • 2019-01-19 - Added support for outlets.
  • 2019-08-19 - Added support for blinds.
  • 2019-08-25 - Added support for auto detecting the IKEA gateway. The host property in ~/.homebridge/config.json is no longer required.
  • 2019-11-27 - Added support for non IKEA devices.
  • 2021-05-30 - Updated dependencies in package.json

Useful Links




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
aarons22/homebridge-bond: Homebridge plugin for Bond发布时间:2022-06-14
下一篇:
Proxmark/homebrew-proxmark3: Homebrew Tap for OS X users发布时间: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