# Get value from all the roller/shutters

**URL:** <https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993>\
**Category:** Questions & Help\
**Created:** [August 18, 2019, 7:27am UTC](https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993 "2019-08-18T07:27:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeroen\_Kokhuis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_kokhuis/32/12592_2.png) [@Jeroen\_Kokhuis](https://community.homey.app/u/Jeroen_Kokhuis)\
**Post date:** [August 18, 2019, 7:27am UTC](https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993/1 "2019-08-18T07:27:19Z")

</div>

Hello,

I want was working on a rule for my roller/shutters. When the wind is above 50 km/h then they will go up.  
This is my flow:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/7c32a8a59f0072b476743eba327387fb8a27b817.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/c/cf9da8723fb121f28459b65bcbd5d0558db30b74.png)

but now it’s triggered continue when the wind is above 50 km/s. How can I check the state of the roller/shutters, that if they are up the flow stops.

---

<div class="post-metadata">

**Author:** ![Jeroen\_Kokhuis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_kokhuis/32/12592_2.png) [@Jeroen\_Kokhuis](https://community.homey.app/u/Jeroen_Kokhuis)\
**Post date:** [August 18, 2019, 8:06am UTC](https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993/3 "2019-08-18T08:06:03Z")

</div>

Thanks for your reply. But I have 5 roller/shutters to check. So If one of them is down then go futher with the flow otherwise stop

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [August 18, 2019, 8:19am UTC](https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993/4 "2019-08-18T08:19:45Z")

</div>

At the if part you can make three triggers. Just oull the trigger and you get a extra if trigger. If that is not enough you have to make more flows. Also you could make zones ofcourse or use devices. For example; devices sunscreen, if logic is livingroom etcetc

---

<div class="post-metadata">

**Author:** ![Jeroen\_Kokhuis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_kokhuis/32/12592_2.png) [@Jeroen\_Kokhuis](https://community.homey.app/u/Jeroen_Kokhuis)\
**Post date:** [August 18, 2019, 7:19pm UTC](https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993/6 "2019-08-18T19:19:21Z")

</div>

I tried today but not getting it. What I want is: if one of the rollers is down then go further. Otherwise stop. How can I check the states of the 5 rollers?

---

<div class="post-metadata">

**Author:** ![Jeroen\_Kokhuis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_kokhuis/32/12592_2.png) [@Jeroen\_Kokhuis](https://community.homey.app/u/Jeroen_Kokhuis)\
**Post date:** [August 21, 2019, 3:45am UTC](https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993/8 "2019-08-21T03:45:36Z")

</div>

thanks for that. But I will have three flows, because I have another trigger:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/f7e57c1993665956a9d47fb870ad30ae332ba5c7.jpeg)

I came from openhab and in openhab I can create a group. And if one of the device is on or off I can use that in a rule:

```
 rule "Away from home"
when
	Member of gAlarm changed to ON
then
	if (gPresence.state==OFF) {
	val AlarmTrigger = transform("MAP", "Motion.map", triggeringItem.name.toString)
	val actions = getActions("telegram","telegram:telegramBot:348594e1")
	actions.sendTelegram("OpenhabMsgBot", "De sensor "+AlarmTrigger.toString+" meld beweging")
    logInfo("Away from home", "Jeroen The item " + triggeringItem.name + " received command " + triggeringItem.state)
	}
end

```

Group item:  
`Group:Switch:OR(ON,OFF) gPresence "gPresence" <icon_presence>`

How can I do this in Homey?

---

<div class="post-metadata">

**Author:** ![viix](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viix](https://community.homey.app/u/viix)\
**Post date:** [August 21, 2019, 5:21am UTC](https://community.homey.app/t/get-value-from-all-the-roller-shutters/16993/9 "2019-08-21T05:21:58Z")

</div>

Use the Math.js card of Better logic and select the tags of the roller shutter’s position (dim level). I’m doing this for my 3 roller shutters too…

![42](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d2566d020a8fd6e3668913fa21cee1e459311102.png)  
This check if any are open…

![04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/20360295fb32b149f70a9d5fc821444bdc15f183.png)  
and this if all are close (less than 25% opened).

I prefer to set the roller shutters position by % open as I found the state reporting from the fibaro app inaccurate… somethings UP state is not
