# Unable to switch on Philips Smart Plug from flow, on switching off works. Controlling the plug from the device screen works for on and off

**URL:** <https://community.homey.app/t/unable-to-switch-on-philips-smart-plug-from-flow-on-switching-off-works-controlling-the-plug-from-the-device-screen-works-for-on-and-off/91361>\
**Category:** Questions & Help\
**Tags:** app, flow, hue\
**Created:** [October 9, 2023, 2:31pm UTC](https://community.homey.app/t/unable-to-switch-on-philips-smart-plug-from-flow-on-switching-off-works-controlling-the-plug-from-the-device-screen-works-for-on-and-off/91361 "2023-10-09T14:31:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Zeppetzauer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_zeppetzauer/32/74931_2.png) [@Stefan\_Zeppetzauer](https://community.homey.app/u/Stefan_Zeppetzauer)\
**Post date:** [October 9, 2023, 2:31pm UTC](https://community.homey.app/t/unable-to-switch-on-philips-smart-plug-from-flow-on-switching-off-works-controlling-the-plug-from-the-device-screen-works-for-on-and-off/91361/1 "2023-10-09T14:31:12Z")

</div>

Hello, I’m unable to switch ON a Philips Smart Plug from the flow, switching OFF works from the flow.  
Controlling the same plug from the device screen works both ways for ON and OFF.

Anyone any idea why the flow behaves like this and how to resolve this?

---

<div class="post-metadata">

**Author:** ![Hans\_Eisink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans_eisink/32/12916_2.png) [@Hans\_Eisink](https://community.homey.app/u/Hans_Eisink)\
**Post date:** [October 9, 2023, 2:49pm UTC](https://community.homey.app/t/unable-to-switch-on-philips-smart-plug-from-flow-on-switching-off-works-controlling-the-plug-from-the-device-screen-works-for-on-and-off/91361/2 "2023-10-09T14:49:00Z")

</div>

Hi Stefan, do you use Philips Hue with a bridge?

---

<div class="post-metadata">

**Author:** ![Stefan\_Zeppetzauer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_zeppetzauer/32/74931_2.png) [@Stefan\_Zeppetzauer](https://community.homey.app/u/Stefan_Zeppetzauer)\
**Post date:** [October 11, 2023, 6:16am UTC](https://community.homey.app/t/unable-to-switch-on-philips-smart-plug-from-flow-on-switching-off-works-controlling-the-plug-from-the-device-screen-works-for-on-and-off/91361/3 "2023-10-11T06:16:04Z")

</div>

Hi, yes I‘m using the Philips Hue Bridge. The flows are presence flows. A specific person leaves the house switches the plug off (that works fine), this person coming home, should switch the plug on (that part doesn’t work).  
Presence detection is working fine. Switching on doesn‘t even work when manually triggering the flow.

Thanks a lot already for looking into this!!!

---

<div class="post-metadata">

**Author:** ![Hans\_Eisink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans_eisink/32/12916_2.png) [@Hans\_Eisink](https://community.homey.app/u/Hans_Eisink)\
**Post date:** [October 11, 2023, 2:04pm UTC](https://community.homey.app/t/unable-to-switch-on-philips-smart-plug-from-flow-on-switching-off-works-controlling-the-plug-from-the-device-screen-works-for-on-and-off/91361/4 "2023-10-11T14:04:51Z")

</div>

Hm strange. Did you test your flow? What was the result?

---

<div class="post-metadata">

**Author:** ![Stefan\_Zeppetzauer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_zeppetzauer/32/74931_2.png) [@Stefan\_Zeppetzauer](https://community.homey.app/u/Stefan_Zeppetzauer)\
**Post date:** [October 11, 2023, 2:32pm UTC](https://community.homey.app/t/unable-to-switch-on-philips-smart-plug-from-flow-on-switching-off-works-controlling-the-plug-from-the-device-screen-works-for-on-and-off/91361/5 "2023-10-11T14:32:17Z")

</div>

Testing the flows works for coming home, meaning switching ON, but not for leaving, i.e. OFF.

But I seem to have found a workaround. Rather then directly switching off the plug from the presence flow, I now created a separate flow with „when this flow is started“ then „turn off plug“ which I trigger from the presence flow instead and that seems to work fine - for whatever reason…

Anyway thanks a lot for looking into this!
