# Kasa HS-105 - Event in case of power outage?

**URL:** https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373
**Category:** General
**Created:** [27 May 2021 21:10 UTC](https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373 "2021-05-27T21:10:15Z")
**Posts on this page:** 6
**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: [27 May 2021 21:10 UTC](https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373/1 "2021-05-27T21:10:15Z")

</div>

Hello - I am using the TP-Link node ( node-red-contrib-tplink) and I can see the power events if I turn the plug on/off from either the app or by sending it the command from Node-RED (inject node). However, I am trying to capture an event if the plug restarts on its own (either due to a power blip or something else). If I cut power or restore power to the plug, there is no event published so I am not not sure if this is possible.

**Background** : I have a flaky home automation hub plugged into the Kasa device. The hub has been restarting on its own occasionally - I have replaced the USB cable to the hub and the surge strip that the Kas device is plugged into but it is still happening. So I'm trying to eliminate the Kasa device as the culprit. The only other thing remaining is the power adapter that the USB cable is plugged into or the Kasa plug.

Any help or guidance would be appreciated. Thanks

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [28 May 2021 08:55 UTC](https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373/2 "2021-05-28T08:55:33Z")

</div>

Did you read thru the node’s read me?

> **[node-red-contrib-tplink](https://flows.nodered.org/node/node-red-contrib-tplink)**
>
> A collection of Node-RED nodes for TP-Link smart-home devices.

Looks like you could subscribe power on/off events

---

<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: [28 May 2021 10:25 UTC](https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373/3 "2021-05-28T10:25:35Z")

</div>

> [@zenofmud](#):
>
> Did you read thru the node’s read me?

Yes I did! As I said in my original post, I **can** see power on/off events but **only** if the plug is turned on/off from the Kasa app or from Node-RED itself . But those events are not published if the plug loses power and then it comes back on. I tested this by using a power strip and cutting power to the plug.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [28 May 2021 10:38 UTC](https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373/4 "2021-05-28T10:38:36Z")

</div>

Is the node-red device pluggen into the same outlet?  
'What abut plugging a lamp into the hs-105 and watching it for a bit to see if it flickers?

---

<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: [28 May 2021 13:33 UTC](https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373/5 "2021-05-28T13:33:35Z")

</div>

> [@zenofmud](#):
>
> Is the node-red device pluggen into the same outlet?

No - the Hubitat hub (home automation) is the only device plugged into the Kasa outlet.

> [@zenofmud](#):
>
> What abut plugging a lamp into the hs-105 and watching it for a bit to see if it flickers?

Good thought. Unfortunately, the "outage" happens infrequently (once a week or so) making monitoring the lamp status difficult. Though you have given me an idea - I could plug a zigbee bulb (lamp) into the outlet as well and have it in the "off" status. If the lamp comes on at any time (it will turn on if power is cut), that would tell me that the Kasa plug is causing the outage!

---

<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: [27 July 2021 13:33 UTC](https://discourse.nodered.org/t/kasa-hs-105-event-in-case-of-power-outage/46373/6 "2021-07-27T13:33:44Z")

</div>

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