# Getting status of TP-Link (Kasa) HS-105 Plug

**URL:** <https://discourse.nodered.org/t/getting-status-of-tp-link-kasa-hs-105-plug/33803>\
**Category:** General\
**Created:** [5 October 2020 22:01 UTC](https://discourse.nodered.org/t/getting-status-of-tp-link-kasa-hs-105-plug/33803 "2020-10-05T22:01:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [5 October 2020 22:01 UTC](https://discourse.nodered.org/t/getting-status-of-tp-link-kasa-hs-105-plug/33803/1 "2020-10-05T22:01:37Z")

</div>

Hello - I'm trying to get the current status (whether on/off) of the plug using **node-red-contrib-tplink** but I can't seem to be able to get it. I can control the plug and turn it on/off but I want to check if the plug is on before the flow tries to turn it off. The getInfo command has a bunch of information but it does not appear to have the current state of the plug.

Does anyone know what I might be missing?

Thanks

---

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [5 October 2020 23:38 UTC](https://discourse.nodered.org/t/getting-status-of-tp-link-kasa-hs-105-plug/33803/2 "2020-10-05T23:38:11Z")

</div>

Figured it out - it's returned in getQuickInfo -\>sysInfo as "relay\_state" (0 = Off, 1 = On). Hope this helps someone down the line...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 October 2020 23:38 UTC](https://discourse.nodered.org/t/getting-status-of-tp-link-kasa-hs-105-plug/33803/3 "2020-10-19T23:38:24Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
