Skip to content

Latest commit

 

History

History
executable file
·
44 lines (30 loc) · 1.9 KB

README.md

File metadata and controls

executable file
·
44 lines (30 loc) · 1.9 KB

TP-Link Smart Plug and Bulb (WIFI) app for Athom Homey

This app lets you control TP-Link Smart Plugs HS100 (plug with no energy monitoring) HS110 (plug with energy monitoring) and Smart Bulbs LB100/110/120 and LB130 as well as the KL50/60/110/120/130 from within flows and the (mobile) app. The HS200 Smart Switch is as of yet untested but should work as well (please let me know ;-)

Support for several other devices such as the HS115 mini plug and LB200 and LB230 bulbs can be added with little effort, let me know if you have one of these devices.

Usage note: Use fixed IP addresses for the TP Link devices by reserving IP addresses in the DHCP server for each device if you can. In case this is not possible, enable the option to use dynamic IP addresses in the settings. The app will then attempt to rediscover the device each time the IP address has changed.

Supported flow triggers:

  • Power / total power changed (HS110/HS200)
  • On / off state changed
  • Dim level changed (all bulbs)

Supported flow conditions:

  • If on / off

Supported flow actions:

  • Switch on / off
  • Toggle on / off
  • Switch LED on / off ('nightmode', HS100/HS110)
  • reset power meter / undo reset power meter (HS110/HS200)
  • Transition on / off ('wake-up light', LB100/LB110/LB120/LB130/KL50/KL60/KL110/KL120/KL130)
  • Select mode ('circadian' or 'normal', LB120/LB130/KL120/KL130)

Mobile capabilities:

  • On/off
  • Display power and energy usage (HS110/HS200)
  • Dim (all bulbs)
  • Set light temperature (LB120/LB130/KL120/KL130)
  • Set hue (LB130/KL130)

This app is based on the following resources:

Kudo's to Patrick Seal for the fantastic job on the TP Link smarthome API!