[OBSOLETE] [Deprecated] New TP-Link/Kasa Plug, Switch, and Bulb Integration

Just got the KP115 and did the following to get it to work with smartthings

  1. Set up KP115 through the KASA smart app in my newly created KASA account
  2. Copy-pasted Davgut’s version 4 of the smart app in IDE, added the extra line for KP115 as mentioned by Ernie and published it for me
  3. Copied and pasted Davgut’s deprecated device handler in IDE and published it for me
  4. Added TP Link service manager in the new smartthings smart app
  5. Once added, I double-clicked the TP Link manager and updated the credentials with the token
  6. Then, I added the device and KP115 was found and added to smartthings under ‘No room assigned’
  7. I went to the TP link manager again and updated the device preferences to set the refresh rate
  8. Came back to smartthings and clicked on the smart plug where I can now see power meter and energy consumption
  9. I immediately wrote a simple automation to fire at 6PM and if the power meter is showing more than 5 W. I turned on the printer which showed the power as 12W and the automation fired perfectly
  10. So all done and am happy that I have not lost out on the purchase

Huge thanks for Davgut and Ernie.

3 Likes