# \<group\> is randomly switching on and off my lights

**URL:** <https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330>\
**Category:** Flows\
**Created:** [July 21, 2022, 1:33pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330 "2022-07-21T13:33:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_N](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_n/32/17266_2.png) [@Martin\_N](https://community.homey.app/u/Martin_N)\
**Post date:** [July 21, 2022, 1:33pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/1 "2022-07-21T13:33:09Z")

</div>

I have the lights in my living room collected in a “group”. This lighting group is switched by two flows: on at sun down and off at about 23:30. I noticed that the lights were switched on in the middle of the day, so I turned them off. When I looked at the log, it seems that the flows are switching the group as planned (bottom of picture), but “group” is switching them on and off at random times throughout night and day. How can I stop this? Aprreciate your help.

PS I have not created a flow called “group”, in case you wonder.

 ![log](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/3/43665102f94b2daaa7cdd46629d960d105867857.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 21, 2022, 3:04pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/2 "2022-07-21T15:04:08Z")

</div>

If you have log cards added to your flows, you can check the logs for events at those points in time.  
Sometimes a flow which turns on a group device, isn’t mentioned in that device overview, there’s just \< group \> …

---

<div class="post-metadata">

**Author:** ![Martin\_N](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_n/32/17266_2.png) [@Martin\_N](https://community.homey.app/u/Martin_N)\
**Post date:** [July 21, 2022, 3:33pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/3 "2022-07-21T15:33:39Z")

</div>

Thank you for your comment.

My observation: the flows that control switching on and off in the evening are systematically mentioned correctly and running every day. The event that is switching the group on and off at other times is systematically referred to as “group”.

One thing that I noticed is that the time the lights switches on at night (last time Jul 21 4:29) is just after the software update to version 8.0.3 (at 4:28). But the issue existed before, because I can look back until Jul 5. The lights are not switched on every day, but we also do not get software updates every day.

If the updates are coming in around 4 o’clock in the morning (on some days), it remains to be explained why the lights are (sometimes) switched on in the middle of the day, at 12:26 and sometimes switched off a few minutes later, sometimes not, remaining on until the proper flow switches them off.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/e/ee8da5f829ba4a67ab3d9474a893ab4b8fe8deef.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 21, 2022, 4:21pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/4 "2022-07-21T16:21:43Z")

</div>

As I wrote, add log cards to your flows (Papertrails or SimpleLog) and enter the flow name f.i.

I have similar issues sometimes, today as well:

 ![Screenshot_20220721-181029_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/70fe3a28360c00cc064fe7041a2a60b057ca9228.jpeg)

“KaKu” turned the light on. That’s not very clear.

In the log, I can see which flow was involved

> ![Screenshot_20220721-181448_Fast Notepad](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/2/326b3990d11440f826ec9301f002e2f912a0797c.jpeg)

---

<div class="post-metadata">

**Author:** ![Martin\_N](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_n/32/17266_2.png) [@Martin\_N](https://community.homey.app/u/Martin_N)\
**Post date:** [July 21, 2022, 4:42pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/5 "2022-07-21T16:42:08Z")

</div>

Thanks, I’ll have a look at these log cards, as the existing logs are quite limited (if existing at all).

---

<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:** [July 21, 2022, 4:46pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/6 "2022-07-21T16:46:08Z")

</div>

When a flow ir user changes the DIM level of a dimable device it is logged rhe same way. Device turned on by \<  
appName \>. This is just how it works.

---

<div class="post-metadata">

**Author:** ![Z0tteke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/z0tteke/32/78882_2.png) [@Z0tteke](https://community.homey.app/u/Z0tteke)\
**Post date:** [June 11, 2024, 2:50pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/7 "2024-06-11T14:50:52Z")

</div>

I’m wondering if you found the issue yet? Got the same issue myself that lights randomly would turn off by app.

---

<div class="post-metadata">

**Author:** ![Martin\_N](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_n/32/17266_2.png) [@Martin\_N](https://community.homey.app/u/Martin_N)\
**Post date:** [June 11, 2024, 3:29pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/8 "2024-06-11T15:29:43Z")

</div>

I replaced the Kaku material by Ecodim and Hue material. Then it was no problem anymore.

---

<div class="post-metadata">

**Author:** ![Z0tteke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/z0tteke/32/78882_2.png) [@Z0tteke](https://community.homey.app/u/Z0tteke)\
**Post date:** [June 11, 2024, 3:54pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/9 "2024-06-11T15:54:50Z")

</div>

So if i get this straight. Group app decides on wich manifacterer lights it’s gonna interfere in. So my innr lights are affected. But hue and Ecodim aren’t?  
What a strange thing.

---

<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:** [June 11, 2024, 5:22pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/10 "2024-06-11T17:22:25Z")

</div>

> [@Z0tteke](#):
>
> Group app decides…

No, it doesn’t. There’s a reason why this is happening. I don’t know the specifics of the \<group\> app, but it could be that your lights, or one of them, are changing state due to an external source and the app is propagating the new state to the other lights in the group (it’s a known issue between IKEA and Aqara devices that the latter can control the former with Zigbee group broadcast messages, even if both aren’t in the same Zigbee network; perhaps the same happens with INNR devices).

---

<div class="post-metadata">

**Author:** ![Z0tteke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/z0tteke/32/78882_2.png) [@Z0tteke](https://community.homey.app/u/Z0tteke)\
**Post date:** [June 12, 2024, 5:25am UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/11 "2024-06-12T05:25:10Z")

</div>

Well, that’s another frustrating issue on my homey then.  
Is there another app that does the same as the group app?

---

<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:** [June 12, 2024, 5:39am UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/12 "2024-06-12T05:39:26Z")

</div>

Even if there was, it’s likely not related to the app at all.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 12, 2024, 12:12pm UTC](https://community.homey.app/t/group-is-randomly-switching-on-and-off-my-lights/66330/13 "2024-06-12T12:12:38Z")

</div>

From my point of view, when you’re the only one experiencing & _reporting_ this behaviour, the app can’t really be the issue.  
It might be an idea for you to replace “frustrating” with “learning curve” 🤷‍♂️😉

it’s possible you configured the group’s options in a way which acts differently from what you expected.

I’d suggest you start with a three lights test group, and test all options to see what happens, and what doesn’t happen.

I suspect you used/enabled one of the advanced group options:

> [@\[APP\]\[Pro\] \< group \> (3.2.4 - Stable)](https://community.homey.app/t/app-pro-group-3-2-4-stable/3168/1):
>
> ### Advance Groups
> 
> **Unified Groups**  
> These same as a normal group, but you are no longer restricted by device class.  
> You can use these groups for additional flexibility, or advance use cases, but the advance settings are harder to manage.
> 
> **Blended Groups**  
> Group that include devices with different capabilities.  
> You can use these groups to control similar devices, for example a group with a light which only dims and a light which has colour changing capability.  
> When changing the the brightness, a blended group will change all devices brightness, but changing the colour will only change that on the devices where it is possible.
> 
> **Fused Groups**  
> These are a special type, which “fuse” devices together, creating a single device out of one or more devices.  
> When creating a new group, you will be asked which device to control for which action.  
> Fusing groups can be useful in situations like when you have a zwave switch and a hue globe and you may want to use the switch when turning off/on or reading the power, but the hue globe when setting the dim/color.
> 
> **Conjoined Groups**  
> These are groups where you can specify which capabilities you would like to be added to the group.  
> Giving the most control as to how the group is created.

### Alternatives:

The [advanced virtual device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) (part of the Device Capabilities app ) also has group possibilities

> ![Screenshot_20240612-141844_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/56c2678535b37e82d3505099a0d295768c94c04c.jpeg)
