TP-Link Device  

Developer: John BURGESS's Plugins     Like this plugin? Show your appreciation!
Category: Lighting
Github: Github Repo
Assistance: Get help!   
Plugin ID: com.JohnBurgess.indigoplugin.TP-Link-Device
Latest release: v0.2.0 released on Dec. 11, 2018
Release downloaded: 0 times
Requires: Indigo v7.0.2 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release



The TP-Link Device plugin makes Wifi-based SmartPlugs appear as Relay (on/off) devices. Find the source here [1].

Simply install the plug-in in indigo 7, then add a new device with type SmartPlug. You'll need to know its IP address, which you can get from your DHCP server (i.e., router). You might want to make it a static mapping, so that you won't have to change indigo should the IP address change, which can happen, for example, if you lose power.

Then simply click on or off.

I implemented the default "status" request as "information". This returns an object with lots of details about the device, which is printed to the indigo log.

I decided to implement this as a plug-in, rather than a Virtual Device [3], because it makes it easier for the user, embeds the IP address as the device address, and allowed me to implement the "info" command in place of "status".

Release details
Released on: Dec. 11, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed bugs: * missing "self." * correctly save the On/Off display state * modernize code (Thanks, Jay)

Release details
Released on: July 25, 2018
Requires: Indigo v6.1.0+
Downloaded: 38 times 
Changes in this release

This is the Initial Test release of TP-Link plugin, version 0.1.2 I welcome your feedback.

This is a pre-release. It seems the "pre-release" check box doesn't work.