# Controlling outdoor lighting

**URL:** <https://community.homey.app/t/controlling-outdoor-lighting/105864>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [March 9, 2024, 11:17am UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864 "2024-03-09T11:17:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 9, 2024, 11:17am UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/1 "2024-03-09T11:17:50Z")

</div>

Hello,

I’m looking to home-automate my outdoor lighting to make it compatible with homey pro. The idea is to know when the outside light is switched on via a motion detector and then trigger scenarios.

What’s the best solution? A connected bulb? Module (fibaro type) at the switch?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![hmarkstrom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hmarkstrom/32/10278_2.png) [@hmarkstrom](https://community.homey.app/u/hmarkstrom)\
**Post date:** [March 9, 2024, 12:30pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/2 "2024-03-09T12:30:00Z")

</div>

I use Philips Hue and the Philips Hue Bridge. You have a lot of lights to choose from and you can move around the Philips Hue Bridge until all lights works.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [March 10, 2024, 5:42pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/3 "2024-03-10T17:42:46Z")

</div>

So the motion sensor is switching the 230 V of the lamps?

---

<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:** [March 10, 2024, 5:59pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/4 "2024-03-10T17:59:47Z")

</div>

I use a Shelly 1 for something similar, where the PIR switching wire is connected to the Shelly’s switch input. In my case it was a bit more involved because I also wanted to decouple the lightbulb from the PIR so I could replace it with a (permanently powered) smart bulb. The wires at the bottom (red, blue, black) are connected to the PIR sensor:

 ![190B706D-8EBC-4F02-8648-AC99038A0FC7_1_105_c](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6caaa023fbf2f4427d9e1a94226f04b4c760503e.jpeg)

---

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 10, 2024, 6:40pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/5 "2024-03-10T18:40:01Z")

</div>

Thank you for your answers.

Does the following case work?

A simple light connected to electricity.  
A module (Fibaro or Shelly type) behind the switch that controls the light.  
A motion detector (Homey pro compatible).

If the motion detector detects something, it sends the information to the Homey pro box. The box itself sends the information to the module to switch on the light in the luminaire.

---

<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:** [March 11, 2024, 5:46am UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/6 "2024-03-11T05:46:29Z")

</div>

Sure, that should work just fine.

---

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 11, 2024, 1:12pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/7 "2024-03-11T13:12:50Z")

</div>

On the French forum I’m told that it’s not great because the existing switch will interfere with operation if someone presses it.

What is your opinion?

---

<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:** [March 11, 2024, 1:21pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/8 "2024-03-11T13:21:16Z")

</div>

> [@zinoviyky](#):
>
> On the French forum I’m told that it’s not great because the existing switch will interfere with operation if someone presses it.

Smart modules should always be powered, so if you also have a physical switch to turn off the light (and the PIR?) you should make it so that either the switch cannot be switched off, or that it is circumvented, or that it switches the module instead of the light/PIR.

For the light that I showed I just stuck a piece of tape on the switch so it cannot be switched anymore (I have promised my wife more than a year ago that I would replace the switch with a dummy plate 😂)

 ![F84391CF-B29A-4A4C-8392-514F3DB0B012_1_102_o](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/1/31b64c9b0baac069d082bf042c913054512e9696.jpeg)

---

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 11, 2024, 5:48pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/9 "2024-03-11T17:48:53Z")

</div>

So it’s impossible to have both the home automation side and the functional physical switch?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [March 11, 2024, 5:55pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/10 "2024-03-11T17:55:45Z")

</div>

It is possible but will lead to strange use cases as @robertklep indicated.  
You can make the status of the physical switch known to Homey, and decide in your flow what to do. Look for example for Shelly devices what they can do for you. Some switches can even, optionally, switch locally, that is switching without a Homey flow involved, but still updating the status of the switch to Homey. Your lights are controlled by a motion sensor and a Shelly switch, so how would your use case look like?

---

<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:** [March 11, 2024, 6:14pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/11 "2024-03-11T18:14:38Z")

</div>

> [@zinoviyky](#):
>
> So it’s impossible to have both the home automation side and the functional physical switch?

No, but you need to redo your wiring. Instead of the switch switching power to the outdoor lighting fixture, it will serve as an input for the smart module.

---

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 11, 2024, 7:34pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/12 "2024-03-11T19:34:32Z")

</div>

In fact, I need a motion detector so that the lights come on automatically when someone approaches. Making it home automation allows you to create scenarios.

But I also need a switch when I want to go out onto my terrace, for example. I have to turn on my light!

Doesn’t a connected light bulb get round the problem?  
Or maybe a motion detector + physical switch and I’ll give up the idea of making everything home automation.

---

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 11, 2024, 7:38pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/13 "2024-03-11T19:38:04Z")

</div>

Like this?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/95a8e7494c2f3ea37982fd3acacd7127a6eb2a7e.png)

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [March 11, 2024, 8:25pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/14 "2024-03-11T20:25:55Z")

</div>

You can make flows in such a way, that normally the motion sensor switches the lamps. When the lamps are switched on by the physical switch (with smart module), they shall not be switched off by the motion sensor. In that case you have to remember to switch it of by the physical switch. So the switch overrules the motion sensor. You can also make this without home automation by making the right electrical connections.

---

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 11, 2024, 10:07pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/15 "2024-03-11T22:07:16Z")

</div>

I’m sorry, I don’t understand everything. Why would the physical switch turn off the motion detector?  
Does the physical switch only turn the light on and off?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [March 11, 2024, 11:03pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/16 "2024-03-11T23:03:47Z")

</div>

To much different solutions are now discussed together, which makes things too complex.  
No, I did not say that the motion sensor is switched of, but that the lamps which are switched on in a flow by the motion sensor, can be switched off in a flow by some physical button.  
As it is not clear to me what your current experience is and for better understanding, I suggest to start with test scenario using a simple wall outlet with a lamp and a motion sensor and start making flows to switch on and off the lamp.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [March 11, 2024, 11:12pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/17 "2024-03-11T23:12:19Z")

</div>

Going back to your original question: what do you mean with scenario? Using a flow switching on and off the outside light or switching on and of the washing machine 😉 ?  
Then you know what to make compatible with Homey, the motion sensor, the lamp or the physical switch.

---

<div class="post-metadata">

**Author:** ![zinoviyky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zinoviyky/32/75567_2.png) [@zinoviyky](https://community.homey.app/u/zinoviyky)\
**Post date:** [March 12, 2024, 2:52pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/18 "2024-03-12T14:52:25Z")

</div>

I think I’m going to start testing a little at a time to get a better understanding. I’m receiving the Homey box this week.

By scenario I mean any action that automates simple tasks. For example, automatically switching on an outside light.  
My initial question was what would be the simplest solution for automating a simple outdoor light while still being able to keep a physical switch (if that’s feasible).

But then, with connected light bulbs there’s the same problem with physical switches? Is it better to avoid using them?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [March 12, 2024, 3:20pm UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/19 "2024-03-12T15:20:32Z")

</div>

> [@zinoviyky](#):
>
> My initial question was what would be the simplest solution for automating a simple outdoor light while still being able to keep a physical switch (if that’s feasible).

I understand your question. The schema above you gave might be the solution.  
Because what you , and I want, is to control the light with a physical button, but also by Homey.  
With this schema I hope Homey knows the state of the switch (and so the lamp) is on or off and Homey knows the state of the button (pressed yes or know). The button is usually not a rocker switch, but a push button.  
The manual [https://manuals.fibaro.com/dimmer-2/](https://manuals.fibaro.com/dimmer-2/) says:  
_FIBARO Dimmer 2 can switch or dim connected light source either through radio waves or through the wall switch connected directly to it._  
So that looks promising.

[Fibaro App voor Homey | Homey](https://homey.app/nl-nl/app/com.fibaro/Fibaro/) gives an idea of the possibilities in Homey, the triggers, conditions and actions. Maybe I have to by one to see how it works.

---

<div class="post-metadata">

**Author:** ![Lacke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lacke/32/79384_2.png) [@Lacke](https://community.homey.app/u/Lacke)\
**Post date:** [March 14, 2024, 9:53am UTC](https://community.homey.app/t/controlling-outdoor-lighting/105864/20 "2024-03-14T09:53:08Z")

</div>

As mentioned above, you can use a hard wired switch to toggle a zigbee/zwave relay that will send a signal to homey.  
Either you use the same relay to power the lights or you have another one where fitted to toggle the lights.  
But I went for the approach to hardwire the lights to always be on and used Ikea lights (cheaper than Philips hue) and used a ziebee button. That way, the lights could be 100% controlled via the Homey flows.  
This enables “come home” feature, motion and door sensor to toggle the lights either individually or all in a group.
