在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:plasticrake/homebridge-tplink-smarthome开源软件地址:https://github.com/plasticrake/homebridge-tplink-smarthome开源编程语言:TypeScript 90.3%开源软件介绍:homebridge-tplink-smarthomeTPLink Smart Home Plugin for Homebridge. (formerly Models Supported
More models may be supported than listed. If you have another model working please let me know so I can add here. HomeKit
InstallationManual Installation
Homebridge Config UI X InstallationCheck out Homebridge Config UI X for easier setup. This plugin can be installed from the Plugins tab by searching. Updating
ConfigurationSample ConfigurationMinimalMost setups do not require any other configuration to get up and runing. "platforms": [{
"platform": "TplinkSmarthome",
"name": "TplinkSmarthome"
}] All options with defaultsSee 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 AddressesMAC Addresses are normalized, special characters are removed and made uppercase for comparison. So any format should work: Custom Characteristics in EveDevices 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 Discovery and BroadcastThis plugin uses UDP broadcast to find devices on your network. This is also how the Kasa app finds devices. Try setting the Manually Specifying DevicesIf 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
]
}] Accessory NamesNote 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. TroubleshootingUUID Errors
You can remove them by running:
CreditsThanks to George Georgovassilis and Thomas Baust for reverse engineering the HS1XX protocol. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论