# \[APP\]\[Pro\] TP-Link KASA LAN - Smart Plugs and Bulbs (WIFI)

**URL:** <https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045>\
**Category:** Apps\
**Tags:** app, homey-pro, community-app\
**Created:** [September 2, 2018, 6:53pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045 "2018-09-02T18:53:59Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [July 18, 2020, 12:25pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/103 "2020-07-18T12:25:38Z")

</div>

You can use the builtin triggercard:

Devices (‘Apparaten’) -\> Device has not reported (‘Een apparaat heeft niet gerapporteerd’) -\> Select device and time period.

---

<div class="post-metadata">

**Author:** ![anon61197305](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon61197305](https://community.homey.app/u/anon61197305)\
**Post date:** [July 31, 2020, 10:19am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/104 "2020-07-31T10:19:29Z")

</div>

I have finally my complex laundry flows working, now keeps the tp-link app crashing (“onverwachts gestopt”) and devices are offline.  
I submitted an issue. Am I the only one?

---

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [July 31, 2020, 11:58am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/105 "2020-07-31T11:58:44Z")

</div>

I have seen the issue, without additional information it is completely useless. What do you expect me to do based on the supplied information (‘ The app keeps crashing on homey. At random.’)?

No Homey or app fw/sw details, no info on what you have tried to do about it, fixed or dymamic ip asignments? Did you go through the topic?

Of 1250 users there are a few (a handful, maybe fewer) that have intermittent issues with the app crashing. In most cases it seems to be related to network issues. As explained earlier, try to avoid dynamic ip assignments, instead use static ip reservations in your dhcp server.

---

<div class="post-metadata">

**Author:** ![Wesley\_Witjes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wesley_witjes/32/16366_2.png) [@Wesley\_Witjes](https://community.homey.app/u/Wesley_Witjes)\
**Post date:** [August 10, 2020, 4:24pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/106 "2020-08-10T16:24:15Z")

</div>

Hello.

I have a tp-link m9 deco set. Could it be possible to add them? I think you could do many cool stuff with it.

Precense?  
Integrate the zigbee routers?  
Bleutooth???

I hope something like this could come in the future!

---

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [August 14, 2020, 8:22am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/107 "2020-08-14T08:22:00Z")

</div>

The app for the TP-Link sockets and bulbs is based on a reverse engineered API. It seems this API is not used for other TP-Link devices. The only thing the deco line seems to have in common with the sockets and bulbs is the brand name. Perhaps someone will make an app for it, but it will not be part of this app.

The same goes for the TP-Link ‘Tapo’ line of smart sockets, it’s completely different, and it isn’t even supported by the TP-Link Kasa app 🤪. These will require a separate app as well.

---

<div class="post-metadata">

**Author:** ![anon61197305](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anon61197305](https://community.homey.app/u/anon61197305)\
**Post date:** [August 19, 2020, 6:26am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/108 "2020-08-19T06:26:43Z")

</div>

I understand that it is completely useless although the Homey app says it did send a report to the developer. I could make a diagnostic report but I don’t know if you’d pick up on that or that I need to do other things to provide you the right data to analyse.  
My post wasn’t a rant to your app, but merely a start to get a problem fixed.  
You don’t ask me wait you need, so I’ll ask you explicitly: what do you need from me to analyse this? The crash happened again, yesterday, so… (with a fixed ip-address by the way, fixed in router/dhcp, not static)

If you need it, this is the notification

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/e/4e9939300c6e0f94899d87cbc25b4a698a783773.jpeg)

If you need it, this is the diagnostic report code: b8b5bc89-0d4e-421c-b948-b218696785d1

Homey Pro, latest non-beta firmware.

---

<div class="post-metadata">

**Author:** ![Floris\_van\_Drunen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_van_drunen/32/18012_2.png) [@Floris\_van\_Drunen](https://community.homey.app/u/Floris_van_Drunen)\
**Post date:** [September 26, 2020, 7:33am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/109 "2020-09-26T07:33:13Z")

</div>

Hello,

I’m looking for Homey support for the TP Link KL50 filament bulb, how should I begin to support this?

---

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [September 26, 2020, 1:43pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/110 "2020-09-26T13:43:34Z")

</div>

The bulbs are supported by the library used in the app, so I can add support for them.

The main bit of work is looking up and adding driver images for each. If you could supply these based on the requirements listed in the link below, it would help 👍

> **[App Store - Homey Apps SDK v2 Documentation](https://apps-sdk-v2.developer.athom.com/tutorial-App%20Store.html)**

---

<div class="post-metadata">

**Author:** ![Floris\_van\_Drunen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_van_drunen/32/18012_2.png) [@Floris\_van\_Drunen](https://community.homey.app/u/Floris_van_Drunen)\
**Post date:** [September 28, 2020, 8:02am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/111 "2020-09-28T08:02:20Z")

</div>

Here the images are,

Thanks in advance!

![kl50bulb_small](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2dae5a00b23f0ba7b805e87e6bf548c4c6ec3f73.png)

---

<div class="post-metadata">

**Author:** ![Floris\_van\_Drunen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_van_drunen/32/18012_2.png) [@Floris\_van\_Drunen](https://community.homey.app/u/Floris_van_Drunen)\
**Post date:** [September 28, 2020, 8:02am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/112 "2020-09-28T08:02:53Z")

</div>

![kl50bulb_large](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fe46925884e2341931ed3385d5849e5c68a2191f.png)

---

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [September 29, 2020, 3:33pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/113 "2020-09-29T15:33:05Z")

</div>

I have added support for the KL50, KL60, KL110, KL120 and KL130 bulbs (the latter of which are apparently replacing the LB series bulbs) in version v0.1.12 of the app.

You can install the test version (v0.1.12) here: [TP-Link KASA LAN App for Homey | Homey](https://homey.app/a/nu.baretta.tplink/test/)

@anon61197305, while testing the app I happened to run into the issue you were/are experiencing, and I was able to reproduce the issue. I have added a workaround in the new version. I haven’t seen the issue since.

Note that the issue only occurs when using the ‘dynamic ip’ option in the advanced settings, and then only when devices are offline (or otherwise unreachable for a longer period of time). If you still have the issue, you may want to give v0.1.12 a go.

Update: v0.1.12 has been deployed.

---

<div class="post-metadata">

**Author:** ![Henk\_Jan\_Baard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_jan_baard/32/4570_2.png) [@Henk\_Jan\_Baard](https://community.homey.app/u/Henk_Jan_Baard)\
**Post date:** [October 30, 2020, 7:58am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/114 "2020-10-30T07:58:16Z")

</div>

I have a HS110 plug and want to turn on or off a boolean when the energy is above or below a threshold (say 5W) .  
Is that possible? And if so, how should I make this flow?

---

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [November 3, 2020, 12:03pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/115 "2020-11-03T12:03:19Z")

</div>

Sure. Use the ‘energy has changed’ triggercard for the TP-Link device in combination with a builtin logic conditioncard. Use the tag with the reported energy, something like: ‘ is smaller than 5’.

You can search the forum for screenshots or shared flows for more details.

---

<div class="post-metadata">

**Author:** ![Henk\_Jan\_Baard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_jan_baard/32/4570_2.png) [@Henk\_Jan\_Baard](https://community.homey.app/u/Henk_Jan_Baard)\
**Post date:** [November 3, 2020, 12:27pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/116 "2020-11-03T12:27:53Z")

</div>

Thanks, I managed to create it!

---

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [November 25, 2020, 9:19am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/117 "2020-11-25T09:19:23Z")

</div>

All, it seems TP-Link are changing the local API on the TP-Link devices (plugs and bulbs) in the latest firmware updates. This means that after updating the firmware on the devices the Homey app will not work anymore, only the Kasa app can then be used to control the devices.

If you happen to have upgraded and thereby inadvertently broken local access to the TP-Link bulbs and plugs, it seems it is possible to get a downgrade option through TP-Link support, refer to [https://www.home-assistant.io/blog/2020/11/23/tplink-local-access/](https://www.home-assistant.io/blog/2020/11/23/tplink-local-access/).

It seems that there’s a new way of accessing the plugs locally, the open source community is working on adding support for the new access and encryption method, so eventually the newest firmware can be supported, however there’s no telling how long it will take before it trickles down into the Homey app.

---

<div class="post-metadata">

**Author:** ![vip](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vip/32/3873_2.png) [@vip](https://community.homey.app/u/vip)\
**Post date:** [November 26, 2020, 6:17pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/118 "2020-11-26T18:17:20Z")

</div>

Hi Anne, will this app work with the new mini sockets from TP Link? Named Tapo P100

---

<div class="post-metadata">

**Author:** ![anne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anne/32/10393_2.png) [@anne](https://community.homey.app/u/anne)\
**Post date:** [November 26, 2020, 6:43pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/119 "2020-11-26T18:43:08Z")

</div>

No, the app only works with the devices that can be controlled with the Kasa app.

---

<div class="post-metadata">

**Author:** ![vip](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vip/32/3873_2.png) [@vip](https://community.homey.app/u/vip)\
**Post date:** [November 27, 2020, 11:53pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/120 "2020-11-27T23:53:45Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![Wout-1976](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout-1976/32/175413_2.png) [@Wout-1976](https://community.homey.app/u/Wout-1976)\
**Post date:** [December 3, 2020, 3:48pm UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/121 "2020-12-03T15:48:46Z")

</div>

Kp105 smartplug is supported by the Kasa app.  
Can u add it also for Homey?

---

<div class="post-metadata">

**Author:** ![vezet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vezet/32/36423_2.png) [@vezet](https://community.homey.app/u/vezet)\
**Post date:** [February 22, 2021, 8:59am UTC](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045/122 "2021-02-22T08:59:13Z")

</div>

Hi. I got HS100 and it works, however the device keeps disconnecting regularly. I got a flow setup where the socket should turn on every hour for 2 minutes but after few days this stops working. Then, I am not able to control the socket from homey app at all - I mean, the device is still visible in homey, but the device does not react on the commands from homey anymore - e.g. I can turn it on in homey and it also changes status to “on” in homey, but the socket does not turn on. Device needs to be pluged out from electricity, pluged in again and then it starts working again as expected = the connection to homey is restored. IP address of the socket is fix and does not change.  
Any ideas how to resolve this or at least find out what might be the issue? Is there any logging available?

[Previous page](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045.md?page=5)

[Next page](https://community.homey.app/t/app-pro-tp-link-kasa-lan-smart-plugs-and-bulbs-wifi/1045.md?page=7)
