Skip to content

JohnREstes/Hub-Based_TP-Link-to-SmartThings-Integration

 
 

Repository files navigation

Hub-Based TP-Link Bulb, Plug, and Switch SmartThing Integration

Two versions of TP-Link to Smart Things Integraion now exist:

a. Cloud-Based TP-Link to Smart Things Integraion: This new version that relies on the TP-Link Kasa cloud. Attributes:

Reliant on TP-Link cloud (and the continued availabilty of same).
Must have TP-Link account.
Simpler setup. Install Service Manager and applicable device handlers. Runs service Manager.

b. Hub-Based TP-Link to Smart Things Integraion: The previous Hub-based version that requires an always on Hub device (bridge). Attributes:

Requires user-configured (PC, Android, Raspberry) Hub with node.js and server script.
Does not require a token captured from the TP-Link cloud.
Manual device installation and setting static IP addresses.

Hub-Based Pre-requisites:

  • bridge device running node.js and the TP-LinkServer applet. This device must be on continuously with th program running. Examples of devices:

    -- Window PC, Laptop, Tablet, Stick Computer

    -- Android devices with 'Server Ultimate'

    -- Amazon Kindle Fire (tablet) with 'Server Ultimate'

    -- Raspberry PI

  • Static IP address for the bridge and TP-Link devices. (done through your WiFi router as DHCP address reservations.

TP-Link Devices Supported:

  • HS100, Hs105, HS110, HS200 - TP-Link_HS_Series.groovy
  • HS110 with energy monitor functions - TP-Link_HS110_Emeter.groovy
  • LB100, LB110 - TP-Link_LB100_110.groovy
  • LB110 with energy monitor functions - TP-Link_LB110_Emeter.groovy
  • LB120 - TP-Link_LB120.groovy
  • LB120 with energy monitor functions - TP-Link_LB120_Emeter.groovy
  • LB130 - TP-Link_LB130.groovy
  • LB130 with energy monitor functions - TP-Link_LB130_Emeter.groovy

Installation instructions can be found in the documentation folder.

  • New (initial): 'Instructions - TP-Link Server Install.txt' in folder 'Documentation'
  • Upgrade: 'Update from earlier versions.txt' in folder 'Documentation'.

Files:

Top Level. Contains the 'TP-LinkServer_v3.js' and windows 'TP-LinkServer_v3.bat' files for the bridge installation.

DeviceHandlers. All SmartThings device handlers. Names are clear as to device applicability.

Utilities. Windows batch file 'cmdPrompt.bat'. he tool file 'GetDeviceIPs.js' and windows companion 'GetDeviceIPs.bat' will pop a window on your device with the TP-Link devices, IP, MAC Address, and Alias. Useful in installation.

Documentation. Installation instructions, Design Notes, and Interface description.

About

HUB-Based Version for experienced users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 86.8%
  • JavaScript 12.5%
  • Batchfile 0.7%