This app lets you control TP-Link Smart Plugs HS100 (plug with no energy monitoring) HS110 (plug with energy monitoring) and Smart Bulbs LB100, LB110, LB120 and LB130 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 ;-) The same goes for the HS115 mini plug, this should work with the HS110 driver.
In its current state, the app can auto-detect the IP address of the device when adding a device, however it currently cannot detect when it is changed. It is advised to set it up to have a fixed IP address or a 'static lease' from the DHCP server until this feature is added.
This app is based on the following resources:
- The tplink-smarthome-api: https://github.com/plasticrake/tplink-smarthome-api
- https://github.com/ggeorgovassilis/linuxscripts/tree/master/tp-link-hs100-smartplug
- https://www.softscheck.com/en/reverse-engineering-tp-link-hs110
- https://github.com/DaveGut/TP-Link-Bulbs
Supported flow triggers:
- Power / total power changed (HS110/HS200)
- On / off state changed
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)
- Select mode (LB130)
Mobile capabilities:
- On/off
- Display power and energy usage (HS110/HS200)
- Dim (LB100/LB110/LB120/LB130
- Set light temperature (LB120/LB130)
- Set hue (LB130)
- Select mode (LB130)
Energy monitoring has currently not been implemented for the bulbs (LB110 and up) as I am not sure anyone would use it. The selection of pre-sets for the LB130 is currently not supported in the API.
If you like the app you can show your appreciation by posting it in the forum, and if you really like it you can donate. Bug reports and feature requests can also be placed on the forum.
===============================================================================