# \[SOLVED\] Accesing all JSR223/Jython Item Values

**URL:** <https://community.openhab.org/t/solved-accesing-all-jsr223-jython-item-values/83584>\
**Category:** Bindings\
**Tags:** jython\
**Created:** [October 14, 2019, 7:10pm UTC](https://community.openhab.org/t/solved-accesing-all-jsr223-jython-item-values/83584 "2019-10-14T19:10:57Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![5iver](https://community.openhab.org/user_avatar/community.openhab.org/5iver/32/21201_2.png) [@5iver](https://community.openhab.org/u/5iver)\
**Post date:** [October 15, 2019, 3:25am UTC](https://community.openhab.org/t/solved-accesing-all-jsr223-jython-item-values/83584/7 "2019-10-15T03:25:56Z")

</div>

This may be helpful for you…

> [@Area Triggers --\> Area Actions](https://community.openhab.org/t/area-triggers-area-actions/81896):
>
> The main thing I am aiming to communicate in this tutorial is the concept of using the logic built into groups to lessen the complexity of rules. By setting up your Items and groups in the following way, you will be able to use one rule for much of the automation in your home. A second rule is needed if you’d like to have the lights adjust to Mode (Time of Day) and outside lux levels. The concept is that each area within a home has triggers and the combined state of those triggers can represent …

> [@GordanTrevis](#):
>
> BTW is there a better way to get Shared group items than with my little helper function?

I don’t know about better, but a list comprehension will work too…

```auto
def getfromgroup(locationgroup, functionalgroup):
    return [item for item in itemRegistry.getItem(locationgroup).members if item in itemRegistry.getItem(functionalgroup).members]

```

> [@GordanTrevis](#):
>
> Well, first of all, nice work on the Docs! But yea that was unfortunately not mentioned directly (or not obvious enough?).

Thank you… contributions are always welcome! There are 54 attributes and methods for a GroupItem. The helper library repo is not the proper place for them to be documented, since they do not have anything to do with the helper libraries. Javadoc has been written for them, but we still do not have a means for displaying it. However, some of the [older Javadoc from ESH](https://www.eclipse.org/smarthome/documentation/javadoc/index.html) is still available.

---

_[View the full topic](https://community.openhab.org/t/solved-accesing-all-jsr223-jython-item-values/83584)._
