# \#array

**URL:** https://community.openhab.org/tag/array/1240.md

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

---

## [Retrieving value of a group member with specific tags in a widget](https://community.openhab.org/t/retrieving-value-of-a-group-member-with-specific-tags-in-a-widget/162500)

<div class="topic-metadata">

**Author:** [@stue](https://community.openhab.org/u/stue)\
**Replies:** 5\
**Last updated:** [February 22, 2025, 9:53pm UTC](https://community.openhab.org/t/retrieving-value-of-a-group-member-with-specific-tags-in-a-widget/162500 "2025-02-22T21:53:55Z")

</div>

In my widget, I would like to retrieve the string value (state) of an item that meets the following criteria: It has the tags \[“Status”, “OnlineStatus”\] It is a member of a specific group How can I achieve this using …

---

## [Dynamic number of items in a widget](https://community.openhab.org/t/dynamic-number-of-items-in-a-widget/160071)

<div class="topic-metadata">

**Author:** [@L\_B](https://community.openhab.org/u/L_B)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 5:08pm UTC](https://community.openhab.org/t/dynamic-number-of-items-in-a-widget/160071 "2024-11-05T17:08:03Z")

</div>

Is there a way to add an array item when defining props in a widget? For example I have this items below and I want to have like an array/list where I can add any number of items inside it: I only want to achieve thi…

---

## [Getting array in rules, doesn't work all the times](https://community.openhab.org/t/getting-array-in-rules-doesnt-work-all-the-times/156755)

<div class="topic-metadata">

**Author:** [@Javad\_Effat\_doost](https://community.openhab.org/u/Javad_Effat_doost)\
**Replies:** 17\
**Last updated:** [July 20, 2024, 2:23pm UTC](https://community.openhab.org/t/getting-array-in-rules-doesnt-work-all-the-times/156755 "2024-07-20T14:23:23Z")

</div>

Hi, I have a set point for temperature and humidity which change every 12 hours. For this, I have a array to set from it. some times when 12 hour passes, the next number in the line does not set and it stuck at previous …

---

## [OH-repeater array item reference](https://community.openhab.org/t/oh-repeater-array-item-reference/157199)

<div class="topic-metadata">

**Author:** [@Zylle](https://community.openhab.org/u/Zylle)\
**Replies:** 2\
**Last updated:** [July 14, 2024, 3:56pm UTC](https://community.openhab.org/t/oh-repeater-array-item-reference/157199 "2024-07-14T15:56:54Z")

</div>

I’m trying to reference an item in an oh-repeater array, and using the " BoGoB: Big Ol’ Grid O’ Buttons widget as the foundation for my remote control widget. But rather than doing this, directly naming the actionItem i…

---

## [Array parameter configuration in things file](https://community.openhab.org/t/array-parameter-configuration-in-things-file/147011)

<div class="topic-metadata">

**Author:** [@binarious](https://community.openhab.org/u/binarious)\
**Replies:** 1\
**Last updated:** [June 2, 2023, 10:21am UTC](https://community.openhab.org/t/array-parameter-configuration-in-things-file/147011 "2023-06-02T10:21:41Z")

</div>

How would an array (receivingEEPId in my example) be translated to a .things file? Haven’t found anything in the docs regarding this. Example: configuration: receivingEEPId: - A5\_3F\_7F\_EltakoFSB - F6\_00\_00 I…

---

## [openHAB 3 UI - custom widget - oh-repeater for array](https://community.openhab.org/t/openhab-3-ui-custom-widget-oh-repeater-for-array/123209)

<div class="topic-metadata">

**Author:** [@SHUred](https://community.openhab.org/u/SHUred)\
**Replies:** 6\
**Last updated:** [June 6, 2021, 1:33pm UTC](https://community.openhab.org/t/openhab-3-ui-custom-widget-oh-repeater-for-array/123209 "2021-06-06T13:33:43Z")

</div>

Hello, i tried hard but could not find examples could not get it running by myself If i have a item String lTim\_Str with the value: “string1;string2” Is it possible to make a custom widget with…

---

## [Getting/Setting Array-Values in YAML to manage lights](https://community.openhab.org/t/getting-setting-array-values-in-yaml-to-manage-lights/119368)

<div class="topic-metadata">

**Author:** [@Ursusprimus](https://community.openhab.org/u/Ursusprimus)\
**Replies:** 12\
**Last updated:** [March 23, 2021, 6:26pm UTC](https://community.openhab.org/t/getting-setting-array-values-in-yaml-to-manage-lights/119368 "2021-03-23T18:26:30Z")

</div>

Here’s what I’d like to achieve: I want a symbol (f7: lightbulb\_fill) to be gray when a Hue-lamp’s brightness is 0 (this particular lamp strangely doesn’t have an on/off-state, so I need to work with brightness instead…

---

## [Predefined set of colors in Rule](https://community.openhab.org/t/predefined-set-of-colors-in-rule/103671)

<div class="topic-metadata">

**Author:** [@Candy6132](https://community.openhab.org/u/Candy6132)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 5:38pm UTC](https://community.openhab.org/t/predefined-set-of-colors-in-rule/103671 "2020-08-14T17:38:58Z")

</div>

Hello, I’m trying to make nice Rule to simulate TV light by an RGB Bulb in my room. To do that, I decided to use predefined set of colors used randomly by the bulb. The color is commanded as decimal. What would be the b…

---

## [HowTo to get the number of array-items in a JSON string?](https://community.openhab.org/t/howto-to-get-the-number-of-array-items-in-a-json-string/22303)

<div class="topic-metadata">

**Author:** [@opus](https://community.openhab.org/u/opus)\
**Replies:** 12\
**Last updated:** [December 9, 2019, 5:04pm UTC](https://community.openhab.org/t/howto-to-get-the-number-of-array-items-in-a-json-string/22303 "2019-12-09T17:04:22Z")

</div>

In order to parse each element of an array within a JSON-string I need know its length. I tried it with: var int ArrayLength=transform(“JSONPATH”, “$.sub1.sub2.length”, jsonString) but that didn’t work. Does anybody…

---

## [Complex Alarm rules](https://community.openhab.org/t/complex-alarm-rules/53536)

<div class="topic-metadata">

**Author:** [@kevinq](https://community.openhab.org/u/kevinq)\
**Replies:** 8\
**Last updated:** [October 11, 2018, 6:36pm UTC](https://community.openhab.org/t/complex-alarm-rules/53536 "2018-10-11T18:36:11Z")

</div>

I want to build a alarm system with multiple states and actions depending on what caused the alarm. First some Setup Information I’m running openHAB 2.3.0 on a local Debian 9 Server (x64, 8GB RAM). My Smarthome compo…

---

## [Array Loop question](https://community.openhab.org/t/array-loop-question/48047)

<div class="topic-metadata">

**Author:** [@NCO](https://community.openhab.org/u/NCO)\
**Replies:** 19\
**Last updated:** [July 30, 2018, 12:32pm UTC](https://community.openhab.org/t/array-loop-question/48047 "2018-07-30T12:32:22Z")

</div>

I read the address of my phone from openstreetmap using the geolocation. the result is a json string and contains strings and numbers like: Road, housenumber, suburb, town, city, state, postcode, …). Sometimes the json…
