# The new Kasa API is here! 🔌

**URL:** https://community.equiwatt.com/t/the-new-kasa-api-is-here/487
**Category:** General
**Tags:** announcement, betafeature
**Created:** [12 June 2023 14:06 UTC](https://community.equiwatt.com/t/the-new-kasa-api-is-here/487 "2023-06-12T14:06:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mahen](https://community.equiwatt.com/user_avatar/community.equiwatt.com/mahen/32/12_2.png) [@mahen](https://community.equiwatt.com/u/mahen)
#### Post date: [12 June 2023 14:06 UTC](https://community.equiwatt.com/t/the-new-kasa-api-is-here/487/1 "2023-06-12T14:06:06Z")

</div>

If you’re a beta user, you should now see the new Kasa API appear in your device list. If you’re having any issues with our existing Kasa integration, this should solve them. You can also enable 2FA for your Kasa account when using the new integration.

 ![kasaintegration](https://community.equiwatt.com/uploads/default/original/1X/2283e462bcc5274e0947b22be899a17509c8b269.jpeg)

We’ve also added a new “Command history” for each plug which will show you a history of commands that we send to your plug.

Please note that to use the new integration, you’ll need to remove your Kasa account from equiwatt and add it back using the new “TP-Link Kasa Plugs (Beta)” option.

### Let us know if you encounter any bugs & issues with this beta integration!

---

<div class="post-metadata">

### Author: ![MagicHorsey](https://community.equiwatt.com/user_avatar/community.equiwatt.com/magichorsey/32/113_2.png) [@MagicHorsey](https://community.equiwatt.com/u/MagicHorsey)
#### Post date: [12 June 2023 21:13 UTC](https://community.equiwatt.com/t/the-new-kasa-api-is-here/487/2 "2023-06-12T21:13:32Z")

</div>

Can you explain how the API works? Is this server to server or does the app need communicate directly with the Kasa device?

For those who don’t know: you can control Kasa devices from the command line.

---

<div class="post-metadata">

### Author: ![mahen](https://community.equiwatt.com/user_avatar/community.equiwatt.com/mahen/32/12_2.png) [@mahen](https://community.equiwatt.com/u/mahen)
#### Post date: [13 June 2023 08:25 UTC](https://community.equiwatt.com/t/the-new-kasa-api-is-here/487/3 "2023-06-13T08:25:18Z")

</div>

Hi @MagicHorsey, it’s server to server. We connect to the TP-Link servers and manage them through there..

---

<div class="post-metadata">

### Author: ![Oliver\_Dawson](https://community.equiwatt.com/user_avatar/community.equiwatt.com/oliver_dawson/32/62_2.png) [@Oliver\_Dawson](https://community.equiwatt.com/u/Oliver_Dawson)
#### Post date: [17 June 2023 14:58 UTC](https://community.equiwatt.com/t/the-new-kasa-api-is-here/487/4 "2023-06-17T14:58:11Z")

</div>

How do you remove the Kasa account from equiwatt? I have done nothing but the beta version has appeared in my list of integrations. There is also a command history for each plug.

 ![Screenshot_20230617_153734](https://community.equiwatt.com/uploads/default/original/1X/88d1c1fc12bd6a7243dd66afd7e5bbaa91ed1eb7.jpeg)

---

<div class="post-metadata">

### Author: ![mahen](https://community.equiwatt.com/user_avatar/community.equiwatt.com/mahen/32/12_2.png) [@mahen](https://community.equiwatt.com/u/mahen)
#### Post date: [19 June 2023 08:49 UTC](https://community.equiwatt.com/t/the-new-kasa-api-is-here/487/5 "2023-06-19T08:49:36Z")

</div>

Hi @Oliver_Dawson, if you didn’t disconnect your Kasa account and re-add it with the new (Beta) integration, you will not be on the beta. It will just appear in the add devices list as an option..but you are not on the beta unless you specifically used that option to connect your plugs.

For removing Kasa integrations, you can click on a kasa plug and then click on the gear icon that appears in the top right. Or there’s also a “Remove Kasa account” option just under the “View Command History”.

---

<div class="post-metadata">

### Author: ![Oliver\_Dawson](https://community.equiwatt.com/user_avatar/community.equiwatt.com/oliver_dawson/32/62_2.png) [@Oliver\_Dawson](https://community.equiwatt.com/u/Oliver_Dawson)
#### Post date: [19 June 2023 08:58 UTC](https://community.equiwatt.com/t/the-new-kasa-api-is-here/487/6 "2023-06-19T08:58:04Z")

</div>

Thanks. I followed your instructions and added the plugs using the beta integration.
