Code Monkey home page Code Monkey logo

tp-link-smartthings's Introduction

TP-Link / Kasa Smart Home Device SmartThings Integration

(Note: The previous version is still available in the directory "Old Version")

Current Versions:

  1. Service Manager: 4.0.02
  2. Device Handler: 4.0.01

2/21/2019 UPDATE

A significant update to version 4.0. No added device functionality, so upgrade is purely optional. Changes:

I. Cleaned up device handlers to reduce code size and (very slightly) reduce execution cycles.

II. Added a "upgrade installation" in the smart application to simplify the update process. This new version is designed to upgrade from Versions 1, 2, 3, 3.5, and 3.6 and has been tested to do so.

III. Created documentation for installation and upgrade in the Documentation Folder:

1.	"0 - Upgrade Installation.pdf"
2.	"1 - Installing DH and SmartApp into SmartThings.pdf"
3.	"2 - Running the Service Manager for the First Time.pdf"
4.	"3 - Adding Kasa Devices.pdf"
5.	"4 - Setting Kasa Device Preferences.pdf"
6.	"TP-Link SmartThing Implementation.pdf"
7.  "RE270_370 IFTTT Instructions.txt"

There is only one version supporting three integrations:

a. Kasa Account. Integration via the user's Kasa Account through the Cloud. This uses a Smart Application for installation, device communications, and device management.

b. Node Applet. Smart Application integration via a home wifi Node.JS bridge (pc, fire tablet, android device, Raspberry Pi). The Smart Application is used (with user entry of bridge IP) to install and manage the devices. Especially useful in the new SmartThings phone app since it allows entry of user preferences via that app.

c. Manual Node Installation. Traditional Hub installation. Does not use a Smart Application.

Installation Prequisites:

A SmartThings Hub, IDE Account and SmartThings Classic are required for all original installations. After installation, you may (if desired) transition to the new SmartThings phone app.

a.	A SmartThing Hub
b.	Kasa Account.  (1) Kasa Account, (2) TP-Link devices in remote mode.
c.	Node Applet.  (1) Node.js Bridge, (2) Static IP address for Bridge 
	(recommended for all devices).
d.	Manual Node Installation.  (1)  Node.js Bridge, (2) Static IP addresses 
	for the bridge and all devices.

Installation.

a.  Install the code to your Smart Things IDE per: "1 - Installing DH and SmartApp into SmartThings.pdf".
b.  Run the Service Manager for the first time per: "2 - Running the Service Manager for the First Time.pdf".
c.  Add your Kasa Devices per: "3 - Adding Kasa Devices.pdf".
d.  OPTIONAL.  Set preferences for the devices per: "4 - Setting Kasa Device Preferences.pdf".

Upgrade from previous versions.

See: "0 - Upgrade Installation.pdf".

a.  Replace the content of the device handlers and service manager in SmartThings  (NOTE: For the combined plug-switch device handler, use either the plug or the switch device handler.  They are the same except for an icon.)
b.  Run the Service Manager and select Update Installation Data then "Save" in the right corner on the next page.

tp-link-smartthings's People

Contributors

davegut avatar

Watchers

Wade avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.