TPLink Smart Home Plugin for Homebridge. (formerly homebridge-hs100
)
More models may be supported than listed. If you have another model working please let me know so I can add here.
Model | Service | Characteristics |
---|---|---|
HS100, HS103, HS105, HS107, KP105, KP303, KP400 | Outlet | On OutletInUse (based on On state) |
HS110, HS300, KP115 | Outlet | On OutletInUse (based on energy monitoring) Volts (Custom) Amperes (Custom) Watts (Custom) VoltAmperes (Custom) KilowattHours (Custom) KilowattVoltAmpereHour (Custom) |
HS200, HS210 | Switch | On |
HS220 | Lightbulb | On Brightness |
LB100, LB110, LB200 | Lightbulb | On Brightness Watts (Custom) |
LB120 | Lightbulb | On Brightness ColorTemperature Watts (Custom) |
LB130, LB230 | Lightbulb | On Brightness ColorTemperature Hue Saturation Watts (Custom) |
node --version
npm install -g homebridge
or sudo npm install -g --unsafe-perm homebridge
(more details)homebridge --version
npm install -g homebridge-tplink-smarthome
Check out Homebridge Config UI X for easier setup. This plugin can be installed from the Plugins tab by searching.
npm update -g homebridge-tplink-smarthome
Most setups do not require any other configuration to get up and runing.
"platforms": [{
"platform": "TplinkSmarthome",
"name": "TplinkSmarthome"
}]
See config.ts for documention on these options. It is recommended to use Homebridge Config UI X to setup the configuration if you don't want to manually edit JSON files.
"platforms": [{
"platform": "TplinkSmarthome",
"name": "TplinkSmarthome",
"addCustomCharacteristics": true,
"inUseThreshold": 0,
"switchModels": ["HS200", "HS210"],
"discoveryPort": 0,
"broadcast": "255.255.255.255",
"pollingInterval": 10,
"deviceTypes": ["bulb", "plug"],
"macAddresses": undefined,
"excludeMacAddresses": undefined,
"devices": undefined,
"timeout": 15,
"transport": 'tcp',
"waitTimeUpdate": 100
}]
MAC Addresses are normalized, special characters are removed and made uppercase for comparison. So any format should work: AA:BB:CC:00:11:22
or aaBbcc001122
are valid. Glob-style pattern matching is supported: ?
will match a single character and *
matches zero or more. To specify all MAC addresses that start with AA
you could use AA*
Devices that support energy monitoring (HS110, etc) will have extra characteristics that are viewable in the Eve app (such as Watts). Turn this off by setting addCustomCharacteristics
false. When this is on, you will see warnings on startup that you can ignore.
HAP Warning: Characteristic E863F10D-079E-48FF-8F27-9C2605A29F52 not in required or optional characteristics for service 00000047-0000-1000-8000-0026BB765291. Adding anyway.
This plugin uses UDP broadcast to find devices on your network. This is also how the Kasa app finds devices. Try setting the broadcast
configuration if you're having discovery issues. Some users have reported that rebooting their router or changing some router settings have fixed discovery issues.
If you have a network setup where UDP broadcast is not working, you can manually specify the devices you'd like this plugin to use. This will send the discovery message directly to these devices in addition to the UDP broadcast. Note that your device must have a static IP to work.
"platforms": [{
"platform": "TplinkSmarthome",
"name": "TplinkSmarthome",
"devices": [
{ "host": "192.168.0.100" },
{ "host": "192.168.0.101" },
{ "host": "192.168.0.102", "port": "9999" } // port defaults to "9999" but can be overriden
]
}]
Note the name in Homebridge/HomeKit may be out of sync from the Kasa app. This is a Homebridge/HomeKit limitation. You can rename your accessory through the Home app.
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory
If you get an error about duplicate UUIDs you'll have to either remove your cached configuration files or manually edit them to remove the offending entry. By default they are stored in ~/.homebridge/accessories
. In some cases you may also need to remove ~/.homebridge/persist
and re-pair homebridge to your home.
You can remove them by running:
rm -rf ~/.homebridge/accessories
rm -rf ~/.homebridge/persist
Thanks to George Georgovassilis and Thomas Baust for reverse engineering the HS1XX protocol.
homebridge-tplink-lightbulb TP-Link LB100/110/120/130 Smart Bulb plugin for Homebridge. Please read deprecation note below before installing! Deprecation Due to a number of issues with the current ver
岗位: 解决方案技术工程师 形式: 线下(hr要走了,所以约的高铁站肯德基店)30min 总的来说,问的比较常规,没有过多问简历 1.自我介绍 2.父母工作 3.有没有对象 4.对岗位的理解 5.遇到最困难的事情(追问细节) 6.朋友的评价 7.成绩方面(挂科没 四六级) 8.为什么能胜任工作(这个感觉答的不好) 9.之前有接触过硬件吗 10.兴趣爱好 11.性格 12.喜欢与人沟通吗 反问: 岗
嵌入式软件开发 7.20一面 40分钟 1.自我介绍,比赛,成绩,项目深挖 2.堆和栈的区别 3.c++三大特性 4.进程间通信方式 5.tcp udp区别 6.引用和指针的区别 剩下一堆忘了 8.3二面 50分钟 1.自我介绍,面试官觉得我的项目比较简单... 2.socket 3.线程池 4.输入网站时候各个环节对应的协议 5.OSI 7层模型and5层TCP/IP模型 6.ip及mac地址
很有意思的一次面试 1)紧急通知:下午两点左右的时候收到了当晚六点的面试邀请....... 2)开始面试后面试官甚至要了几分钟看我简历,问一些问题时会先沉默一段时间(在思考),全程未开摄像头 3)偏压力面,不知道是不是人招满了 一些问题: 自我介绍 校内成绩如何有挂过科吗 校内成绩不好是不是可以理解为你的学习能力不强 大学期间除了学习和社团以外还干过什么 同学间有没有大学间找些事做的想法(指创业)
Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。
提前批刚开就投了,一面07.01,二面7.20,三面07.29,座谈会08.17,08.25 sp call 通知是SSP -------------------------------------------------------------------------------------------------------------------------------- 具体的面试内容记得