# Note when the power is back on a hue lamp

**URL:** <https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368>\
**Category:** Flows\
**Created:** [April 27, 2019, 9:11pm UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368 "2019-04-27T21:11:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rottan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rottan/32/9457_2.png) [@Rottan](https://community.homey.app/u/Rottan)\
**Post date:** [April 27, 2019, 9:11pm UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/1 "2019-04-27T21:11:13Z")

</div>

Need help with a flow on the following

I have a hue lamp that I switch off the power via an old twilight relay (not smart).  
I see in the Hue app that the lamp is not in contact when the relay is off and when it is on, it is contactable.  
When the power is cut, the lamp is on and when it is lit it is on. So no status change on the lamp via any flow. Only remember what it was when the power was cut and when the power is back.

So i need a flow that gets me a notification when the power i back . There is no power current or volt value from the lamp only the status on and dimming value. Which never changes.

Is there any flow that can make this notification?  
Thanks

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 28, 2019, 6:52am UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/3 "2019-04-28T06:52:26Z")

</div>

I think the idea is that Homey should be able to generate an event when the connection has been lost, or re-established.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 28, 2019, 6:54am UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/5 "2019-04-28T06:54:53Z")

</div>

🦄

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [April 28, 2019, 7:29am UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/6 "2019-04-28T07:29:44Z")

</div>

> [@Rottan](#):
>
> I have a hue lamp that I switch off the power via an old twilight relay (not smart).

Issue has already been , discussed on the forum… (use search)  
Or click the link below

> [@Philips Hue "When..." Turned On flow does not work](https://community.homey.app/t/philips-hue-when-turned-on-flow-does-not-work/10923):
>
> Hi, I have a problem that I hope someone else knows the answer to. I am trying to get a flow working that starts with: “When… Turned On” but Homey does not seems to trigger when the lamp is ON. The thing is that I would like to create an auto dimmer flow for a couple of Philips Hue lamps that are triggered with normal light switches, and as you know if I turn on a Philips Hue lamp with a normal switch it will light up 100%. Here I would like Homey to detect that the lamp is turned on and auto…

---

<div class="post-metadata">

**Author:** ![Rottan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rottan/32/9457_2.png) [@Rottan](https://community.homey.app/u/Rottan)\
**Post date:** [April 28, 2019, 7:45am UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/7 "2019-04-28T07:45:48Z")

</div>

yes i want to know when lmpan loses or gets back the power. so there is no solution to this?

---

<div class="post-metadata">

**Author:** ![Rottan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rottan/32/9457_2.png) [@Rottan](https://community.homey.app/u/Rottan)\
**Post date:** [April 28, 2019, 7:47am UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/8 "2019-04-28T07:47:55Z")

</div>

this link does not help me get a note when the power is back to the lamp. or I miss something

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [April 28, 2019, 8:02am UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/9 "2019-04-28T08:02:14Z")

</div>

But in the link there is some statements that it’s not gonna work. So what else u wanna know?

---

<div class="post-metadata">

**Author:** ![Rottan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rottan/32/9457_2.png) [@Rottan](https://community.homey.app/u/Rottan)\
**Post date:** [April 28, 2019, 8:17am UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/10 "2019-04-28T08:17:16Z")

</div>

ok you mean so. Then I’m with you. there is no solution to my question then.  
Thank you for helping. 🙂

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [April 28, 2019, 12:03pm UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/11 "2019-04-28T12:03:11Z")

</div>

K[quote=“Rottan, post:8, topic:12368, full:true”]  
this link does not help me get a note when the power is back to the lamp. or I miss something  
[/quote]  
What do you want to do in the flow?  
The “power up behaviour” is the only thing you can really change.

As described in the other thread: you are using a smart bulb in a way that is is not intended to be used.  
So the trigger you are looking for is not available…

Right solution wouls be:  
Keep the hue on constant power (do not put it behind the switch)  
If you need the switch: replace it by a smart switch (many solution in this forum, when you search on switch)

---

<div class="post-metadata">

**Author:** ![Ezeta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ezeta/32/36968_2.png) [@Ezeta](https://community.homey.app/u/Ezeta)\
**Post date:** [January 2, 2024, 6:44pm UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/12 "2024-01-02T18:44:25Z")

</div>

I’m facing a similar problem.  
I did not try yet but I’m thinking to use an advanced flow, and to use the error output on the turn-on or turn-off to know if the device is offline.

If I want to be sure that this test does not turn on or off the light during the test, I could firstly check the current light state (on or off) and try to re-turn it on or off depending on that, and checking the error.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [January 2, 2024, 7:19pm UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/13 "2024-01-02T19:19:33Z")

</div>

Great idea…

It was dark in the cellar, the motion sensor didn’t work so my wife switches the ligt off and on again so the light goes on…

Then the flow trigers, Homey’s flow checks the light, it was off so it sends off… OK it was received and no error…

I hear a scream…

I quickly go outside to be just in time in front to catch Homey flying through the window.  
I am afraid it takes some time before the WAF is up again.

I still think manually switching a smart light is ̶s̶t̶u̶p̶i̶d̶ not smart…

---

<div class="post-metadata">

**Author:** ![Ezeta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ezeta/32/36968_2.png) [@Ezeta](https://community.homey.app/u/Ezeta)\
**Post date:** [January 2, 2024, 7:42pm UTC](https://community.homey.app/t/note-when-the-power-is-back-on-a-hue-lamp/12368/14 "2024-01-02T19:42:21Z")

</div>

Yeah, that’s why I always avoid smart bulbs, using modules behind switches instead.
