# \#groups

**URL:** https://community.openhab.org/tag/groups/486.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Design Pattern: Working with Groups in Rules](https://community.openhab.org/t/design-pattern-working-with-groups-in-rules/20512)

<div class="topic-metadata">

**Author:** [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Replies:** 183\
**Last updated:** [December 28, 2025, 2:14pm UTC](https://community.openhab.org/t/design-pattern-working-with-groups-in-rules/20512 "2025-12-28T14:14:59Z")

</div>

Edit: Updates for OH 4, inclusion of JS Scripting and Blockly examples, removed the doors example as it’s superfluous. Please see Design Pattern: What is a Design Pattern and How Do I Use Them for how to read and use DP…

---

## [Missing "value" in sitemap with active "mappings"](https://community.openhab.org/t/missing-value-in-sitemap-with-active-mappings/165192)

<div class="topic-metadata">

**Author:** [@dankr3](https://community.openhab.org/u/dankr3)\
**Replies:** 3\
**Last updated:** [July 30, 2025, 5:17pm UTC](https://community.openhab.org/t/missing-value-in-sitemap-with-active-mappings/165192 "2025-07-30T17:17:45Z")

</div>

Hi guys, I face a strange behaviour in my openHAB system regarding group items and my sitemap. The group item is definded as follows: Group:Switch:OR(ON,OFF) Lights "Active Lights \[%d\]" // e.g. ON and "2" Wh…

---

## [Disappearing of items in groups, and groups in groups in the pages](https://community.openhab.org/t/disappearing-of-items-in-groups-and-groups-in-groups-in-the-pages/163746)

<div class="topic-metadata">

**Author:** [@Richard123](https://community.openhab.org/u/Richard123)\
**Replies:** 3\
**Last updated:** [April 22, 2025, 5:47am UTC](https://community.openhab.org/t/disappearing-of-items-in-groups-and-groups-in-groups-in-the-pages/163746 "2025-04-22T05:47:54Z")

</div>

Platform information: Hardware: \_OdroidC4 -+/4Gb/16GB eMMC 5.0 OS: \_ Odroid N2 Java Runtime Environment: openjdk version “17.0.13” 2024-10-15 openHAB version: 4.3.2 Issue of the topic: Disappearing of items in group…

---

## [Design Pattern: Associated Items](https://community.openhab.org/t/design-pattern-associated-items/15790)

<div class="topic-metadata">

**Author:** [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Replies:** 28\
**Last updated:** [January 16, 2025, 5:45pm UTC](https://community.openhab.org/t/design-pattern-associated-items/15790 "2025-01-16T17:45:02Z")

</div>

Edit: Updates for OH 4 Please see Design Pattern: What is a Design Pattern and How Do I Use Them for how to read and use DPs. Problem Statement Often one will have a number of separate Items which are all related to ea…

---

## [OH3: I "discovered" aggregation for groups, but they do (not) persist](https://community.openhab.org/t/oh3-i-discovered-aggregation-for-groups-but-they-do-not-persist/155347)

<div class="topic-metadata">

**Author:** [@Max\_G](https://community.openhab.org/u/Max_G)\
**Replies:** 4\
**Last updated:** [April 13, 2024, 10:57pm UTC](https://community.openhab.org/t/oh3-i-discovered-aggregation-for-groups-but-they-do-not-persist/155347 "2024-04-13T22:57:19Z")

</div>

openHABian 3.4 on rPi4 with 4GB I never used the aggregation feature of a group, until most recently when I grouped my three inverters and tried the ‘sum’ function. It showed me the total solar PV production; how good…

---

## [Rule with iterating through group members value as input, and output to another groups member items](https://community.openhab.org/t/rule-with-iterating-through-group-members-value-as-input-and-output-to-another-groups-member-items/153093)

<div class="topic-metadata">

**Author:** [@Zylle](https://community.openhab.org/u/Zylle)\
**Replies:** 7\
**Last updated:** [January 17, 2024, 5:25pm UTC](https://community.openhab.org/t/rule-with-iterating-through-group-members-value-as-input-and-output-to-another-groups-member-items/153093 "2024-01-17T17:25:25Z")

</div>

I’m trying to get electricity price calculations for about 40 devices (and more to come surely) every 5 minutes. I have placed all price items, each representing a device, that show the cost of running the device for the…

---

## [\[OH3\] Group Status / Group aggregation from a single group member](https://community.openhab.org/t/oh3-group-status-group-aggregation-from-a-single-group-member/152613)

<div class="topic-metadata">

**Author:** [@gizmo69the2nd](https://community.openhab.org/u/gizmo69the2nd)\
**Replies:** 1\
**Last updated:** [January 4, 2024, 2:58pm UTC](https://community.openhab.org/t/oh3-group-status-group-aggregation-from-a-single-group-member/152613 "2024-01-04T14:58:52Z")

</div>

I have an zigbee Tuya plug that is connected over MQTT to OH. This plug also has a child lock that disables the physical button on the plug. After adding this Thing, I use ‘Add Equipment to Model’ to create a group of …

---

## [HowTo: Get notified on empty batteries](https://community.openhab.org/t/howto-get-notified-on-empty-batteries/56496)

<div class="topic-metadata">

**Author:** [@Dibbler42](https://community.openhab.org/u/Dibbler42)\
**Replies:** 129\
**Last updated:** [November 25, 2023, 9:18am UTC](https://community.openhab.org/t/howto-get-notified-on-empty-batteries/56496 "2023-11-25T09:18:12Z")

</div>

In addition to all the SmartHome functionality that makes life easier, the SmartHone unfortunately also requires frequent maintenance. Anyone who takes care of the SmartHome topic will quickly notice that the number of b…

---

## [Group of lights as new Thing or not?](https://community.openhab.org/t/group-of-lights-as-new-thing-or-not/148464)

<div class="topic-metadata">

**Author:** [@massi](https://community.openhab.org/u/massi)\
**Replies:** 4\
**Last updated:** [August 14, 2023, 7:21am UTC](https://community.openhab.org/t/group-of-lights-as-new-thing-or-not/148464 "2023-08-14T07:21:31Z")

</div>

Hallo, in the BTicino system already integrated by the openwenet/BTicino lights can be grouped in Areas, Groups and then there is also a General group (=“all lights”). So for example one can switch on/off one group or a…

---

## [Auto populate group with items based on item tag](https://community.openhab.org/t/auto-populate-group-with-items-based-on-item-tag/145604)

<div class="topic-metadata">

**Author:** [@Ltty](https://community.openhab.org/u/Ltty)\
**Replies:** 1\
**Last updated:** [March 27, 2023, 3:40pm UTC](https://community.openhab.org/t/auto-populate-group-with-items-based-on-item-tag/145604 "2023-03-27T15:40:07Z")

</div>

Hi all, Is there a way to automatically populate group items with items based on a tag? For example, I have a group for battery status items. Instead of manually adding an item’s battery status to the group whenever I …

---

## [Adding items to a group sets state to NULL](https://community.openhab.org/t/adding-items-to-a-group-sets-state-to-null/145256)

<div class="topic-metadata">

**Author:** [@tcgerhard](https://community.openhab.org/u/tcgerhard)\
**Replies:** 17\
**Last updated:** [March 17, 2023, 3:24am UTC](https://community.openhab.org/t/adding-items-to-a-group-sets-state-to-null/145256 "2023-03-17T03:24:31Z")

</div>

Using 3.3.0 on Raspbian I’ve recently started using groups for status reporting (battery levels, devices offline, etc.) and I’ve noticed that adding an existing item (“Garage temp sensor battery level”) to a group (“Ba…

---

## [Members of a group what is correct way in OH3](https://community.openhab.org/t/members-of-a-group-what-is-correct-way-in-oh3/144809)

<div class="topic-metadata">

**Author:** [@Peter\_Novotny](https://community.openhab.org/u/Peter_Novotny)\
**Replies:** 10\
**Last updated:** [March 1, 2023, 9:42pm UTC](https://community.openhab.org/t/members-of-a-group-what-is-correct-way-in-oh3/144809 "2023-03-01T21:42:41Z")

</div>

During migration from OH2 to OH3 the groups does not work correctly. In forum many possibilities are mentioned: getMembers allMembers members Somehow members does not work in my DSL, allMembers seems to work, but retu…

---

## [Wrong group average with Number:Temperature](https://community.openhab.org/t/wrong-group-average-with-number-temperature/141787)

<div class="topic-metadata">

**Author:** [@noidea](https://community.openhab.org/u/noidea)\
**Replies:** 3\
**Last updated:** [December 7, 2022, 10:29am UTC](https://community.openhab.org/t/wrong-group-average-with-number-temperature/141787 "2022-12-07T10:29:07Z")

</div>

Hi Community. I’ll start with Platform information: Hardware: Raspberry Pi 3 OS: Openhabian on Raspbian 10 Java Runtime Environment: openJDK 11 openHAB version: 3.3.0 release I’m having a strange issue with Averages …

---

## [OMG! OH3 is amazing, because I (with all your help) achieved this!](https://community.openhab.org/t/omg-oh3-is-amazing-because-i-with-all-your-help-achieved-this/110321)

<div class="topic-metadata">

**Author:** [@andydukes](https://community.openhab.org/u/andydukes)\
**Replies:** 53\
**Last updated:** [November 14, 2022, 8:16am UTC](https://community.openhab.org/t/omg-oh3-is-amazing-because-i-with-all-your-help-achieved-this/110321 "2022-11-14T08:16:56Z")

</div>

The last time I coded was in COBOL (for those born after the 1960’s, it was a programming language, and we had punch cards, and no graphics because there were no screens!) So fast forward to 2020 and having stupidly offe…

---

## [How can I turn off all lights of a Location in my Semantic Model](https://community.openhab.org/t/how-can-i-turn-off-all-lights-of-a-location-in-my-semantic-model/119614)

<div class="topic-metadata">

**Author:** [@manrax](https://community.openhab.org/u/manrax)\
**Replies:** 12\
**Last updated:** [October 9, 2022, 5:11pm UTC](https://community.openhab.org/t/how-can-i-turn-off-all-lights-of-a-location-in-my-semantic-model/119614 "2022-10-09T17:11:47Z")

</div>

Hi there, I got some Shellys and hue devices in my newly setup openHAB3. I’m trying to setup a rule that turns off all lights in the living room. It’s working if I put every single light in the rule but I can’t find a…

---

## [Groups, and new JavaScript rules](https://community.openhab.org/t/groups-and-new-javascript-rules/138526)

<div class="topic-metadata">

**Author:** [@brianmichalk](https://community.openhab.org/u/brianmichalk)\
**Replies:** 6\
**Last updated:** [August 31, 2022, 3:46pm UTC](https://community.openhab.org/t/groups-and-new-javascript-rules/138526 "2022-08-31T15:46:14Z")

</div>

This is my first stab at a JavaScript Rule, and I’m also setting up a new installation managing 14 air conditioners, with more to come later. I am pulling in a calendar, and am seeing events update from that, and I want…

---

## ["Level 2"-screens / Groups in Apple Watch App do not load](https://community.openhab.org/t/level-2-screens-groups-in-apple-watch-app-do-not-load/136986)

<div class="topic-metadata">

**Author:** [@Cplant](https://community.openhab.org/u/Cplant)\
**Replies:** 1\
**Last updated:** [August 27, 2022, 7:51am UTC](https://community.openhab.org/t/level-2-screens-groups-in-apple-watch-app-do-not-load/136986 "2022-08-27T07:51:37Z")

</div>

I’m running openHAB 3.3 with the iOS App 2.4.49. While the iOS App works perfectly well, on the Apple Watch App all screens that are on “level 2 / Groups” (refer to the screenshot below) do not load. When e.g. I click o…

---

## [Make Temperature Group UNDEF if Member UNDEF \[OH3\]](https://community.openhab.org/t/make-temperature-group-undef-if-member-undef-oh3/136698)

<div class="topic-metadata">

**Author:** [@lloydatron](https://community.openhab.org/u/lloydatron)\
**Replies:** 6\
**Last updated:** [June 18, 2022, 10:51am UTC](https://community.openhab.org/t/make-temperature-group-undef-if-member-undef-oh3/136698 "2022-06-18T10:51:34Z")

</div>

Running OH 3.1.0 on Synology DS docker Hi I have done some poking, some searching and now I am reaching out. The idea is to have a group of temperature sensors (UNDEF\_Temperature), if one of the members of this group g…

---

## [Model concept misunderstanding - Equipment with unlike channels that accept same commands](https://community.openhab.org/t/model-concept-misunderstanding-equipment-with-unlike-channels-that-accept-same-commands/134198)

<div class="topic-metadata">

**Author:** [@userexec](https://community.openhab.org/u/userexec)\
**Replies:** 2\
**Last updated:** [March 13, 2022, 8:25pm UTC](https://community.openhab.org/t/model-concept-misunderstanding-equipment-with-unlike-channels-that-accept-same-commands/134198 "2022-03-13T20:25:02Z")

</div>

Platform information: Hardware: x86/16GB/1TB OS: Linux/5.4.0-94-generic (amd64) - Ubuntu 20.04 Java Runtime Environment: 11.0.13 (Zulu11.52+13-CA) openHAB version: 3.2.0, Docker I was reading a few comments here and…

---

## [Chart does not show group value](https://community.openhab.org/t/chart-does-not-show-group-value/133714)

<div class="topic-metadata">

**Author:** [@BananaBender](https://community.openhab.org/u/BananaBender)\
**Replies:** 9\
**Last updated:** [March 3, 2022, 1:43am UTC](https://community.openhab.org/t/chart-does-not-show-group-value/133714 "2022-03-03T01:43:55Z")

</div>

Hi, I’m struggling with the handling of charts to show the power consumption over a day. For this purpose I want to use my Shellys. I’ve defined some groups for that and each matching shelly item contains a reference to…

---

## [Multiple group membership](https://community.openhab.org/t/multiple-group-membership/118529)

<div class="topic-metadata">

**Author:** [@topological-state](https://community.openhab.org/u/topological-state)\
**Replies:** 11\
**Last updated:** [January 30, 2022, 11:41am UTC](https://community.openhab.org/t/multiple-group-membership/118529 "2022-01-30T11:41:29Z")

</div>

I’m building the semantic model of my home in OpenHAB 3.0.1 and can’t figure out how to add an item to multiple groups. I want to create “vertical groups” like in Figure 2 of the Semantic Model tutorial, so that I can tr…

---

## [Thing group / status](https://community.openhab.org/t/thing-group-status/31148)

<div class="topic-metadata">

**Author:** [@lfs\_alp5](https://community.openhab.org/u/lfs_alp5)\
**Replies:** 3\
**Last updated:** [January 12, 2022, 4:05pm UTC](https://community.openhab.org/t/thing-group-status/31148 "2022-01-12T16:05:40Z")

</div>

Hi, Since it’s now possible to get a “thing” state, is it possible to group them somehow and loop them? For example looping every Z-wave device to check if the thing is dead and do notification… Ref: Provide a trigger…

---

## [How to Group Items](https://community.openhab.org/t/how-to-group-items/131623)

<div class="topic-metadata">

**Author:** [@KiffKeff](https://community.openhab.org/u/KiffKeff)\
**Replies:** 6\
**Last updated:** [January 12, 2022, 12:12pm UTC](https://community.openhab.org/t/how-to-group-items/131623 "2022-01-12T12:12:48Z")

</div>

Hi Together, would like to group three light bulb. But I not know how. I have read that about “Direct Parent Groups” but I can’t find it. — System Information — Platform information: Hardware: Raspberry PI 4 openHA…

---

## [Semantic Model: Additional Parent Groups](https://community.openhab.org/t/semantic-model-additional-parent-groups/130796)

<div class="topic-metadata">

**Author:** [@NCO](https://community.openhab.org/u/NCO)\
**Replies:** 4\
**Last updated:** [December 29, 2021, 2:58pm UTC](https://community.openhab.org/t/semantic-model-additional-parent-groups/130796 "2021-12-29T14:58:39Z")

</div>

I just started from scratch to get my items from file based configurations to UI based. And I love the "Create Equipment from Things" a lot - that makes it much easier! For specific Groups I had in my previous setup (e…

---

## [Toggling grouped lights](https://community.openhab.org/t/toggling-grouped-lights/130687)

<div class="topic-metadata">

**Author:** [@ceedee](https://community.openhab.org/u/ceedee)\
**Replies:** 5\
**Last updated:** [December 28, 2021, 2:44pm UTC](https://community.openhab.org/t/toggling-grouped-lights/130687 "2021-12-28T14:44:42Z")

</div>

Hi everyone! I’m trying to re-work my whole setup from openHAB2 using openHAB3. For the most part I’m getting along quite well, I especially like the powerful new ways for scripting/defining rules. But I think, I’ve no…

---

## [Strange behavior in charts when I put two measures together](https://community.openhab.org/t/strange-behavior-in-charts-when-i-put-two-measures-together/129202)

<div class="topic-metadata">

**Author:** [@davidtorres](https://community.openhab.org/u/davidtorres)\
**Replies:** 0\
**Last updated:** [November 25, 2021, 10:25am UTC](https://community.openhab.org/t/strange-behavior-in-charts-when-i-put-two-measures-together/129202 "2021-11-25T10:25:57Z")

</div>

Hello, When I press I see the value on which I have pressed. Up to here everything is correct. I want to visualize in this graph the sum of values, for example, of the item “energy\_active\_group”. At first I do not see …

---

## [Set the group state for mixed group items](https://community.openhab.org/t/set-the-group-state-for-mixed-group-items/128677)

<div class="topic-metadata">

**Author:** [@EnricoS](https://community.openhab.org/u/EnricoS)\
**Replies:** 3\
**Last updated:** [November 12, 2021, 3:05pm UTC](https://community.openhab.org/t/set-the-group-state-for-mixed-group-items/128677 "2021-11-12T15:05:25Z")

</div>

Hello everybody I have a group for a light, which consist of items of different types. Group gLight1 Switch LightPower (gLight1) Number LightLevel (gLight1) Dimmer LightColor (gLight1) In groups of different item …

---

## [Best way to publish Groups to Alexa?](https://community.openhab.org/t/best-way-to-publish-groups-to-alexa/111851)

<div class="topic-metadata">

**Author:** [@Timsto](https://community.openhab.org/u/Timsto)\
**Replies:** 26\
**Last updated:** [October 12, 2021, 9:24pm UTC](https://community.openhab.org/t/best-way-to-publish-groups-to-alexa/111851 "2021-10-12T21:24:27Z")

</div>

hey folks, i tried my best in the last few weeks and had a lot of curious problems with Groups which are published to Alexa. Following problems i see: Groups are not discovered by Alexa if you published a massive gro…

---

## [Group type and member base type for color picker?](https://community.openhab.org/t/group-type-and-member-base-type-for-color-picker/127435)

<div class="topic-metadata">

**Author:** [@Pedals2Paddles](https://community.openhab.org/u/Pedals2Paddles)\
**Replies:** 6\
**Last updated:** [October 12, 2021, 6:42pm UTC](https://community.openhab.org/t/group-type-and-member-base-type-for-color-picker/127435 "2021-10-12T18:42:28Z")

</div>

Is there no current means to have a group type and member base type of color picker? The purpose would be to control multiple colorpicker items at once. For example, a room has 5 items with a color picker. A group cal…

---

## [OH3: Meaning of Locations and Groups](https://community.openhab.org/t/oh3-meaning-of-locations-and-groups/111171)

<div class="topic-metadata">

**Author:** [@Tobi77](https://community.openhab.org/u/Tobi77)\
**Replies:** 33\
**Last updated:** [September 1, 2021, 10:23am UTC](https://community.openhab.org/t/oh3-meaning-of-locations-and-groups/111171 "2021-09-01T10:23:19Z")

</div>

Dear all, two questions on modeling in the new UI? First, I am confused by the model semantics in the OH3 tutorial: I have several devices (“equipment”) that are distributed over some rooms. Intuitively, I created roo…

[Next page](https://community.openhab.org/tag/groups/486.md?match_all_tags=true&page=1&tags%5B%5D=groups)
