Hello, is it possibile to control a Group of RollerShutters in HabPanel?
<div class="section">
{{(itemsInGroup('gRolladen') | filter:{state:'!100'}).length}}/{{(itemsInGroup('gRolladen')).length}} offen
<hr></hr>
<div class="controls">
<div ng-repeat="item in itemsInGroup('gRolladen') ">
<div class="bigDash">
<div class="description">{{item.label}}</div>
<button ng-click="sendCmd(item.name, 'UP')" style="border-radius: 10px;"><i class="glyphicon glyphicon-menu-up"></i></button>
<button ng-click="sendCmd(item.name, 'STOP')" style="border-radius: 10px;"><widget-icon iconset="'eclipse-smarthome-classic'" icon="'blinds'" size="45" state="itemValue(item.name)" /></button>
<button style="margin-right: 0" ng-click="sendCmd(item.name, 'DOWN')" style="border-radius: 10px;"><i class="glyphicon glyphicon-menu-down"></i></button>
</div>
</div>
</div>
I have this code to display all RollerShutters in the Group “gRolladen”
This is the group
Group:Rollershutter gRolladen "alle Rollläden [%d%%]"
Now I would like an additional Item “alle Rollläden”, which controls all the Shutters at the same time. So i add the following “bigDash”
<div class="bigDash">
<div class="description">{{gRolladen}}</div>
<button ng-click="sendCmd(gRolladen, 'UP')" style="border-radius: 10px;"><i class="glyphicon glyphicon-menu-up"></i></button>
<button ng-click="sendCmd(gRolladen, 'STOP')" style="border-radius: 10px;"><widget-icon iconset="'eclipse-smarthome-classic'" icon="'blinds'" size="45" state="itemValue(gRolladen)" /></button>
<button style="margin-right: 0" ng-click="sendCmd(gRolladen, 'DOWN')" style="border-radius: 10px;"><i class="glyphicon glyphicon-menu-down"></i></button>
</div>
But this solution don’t work. Do you have any idea how i can realize this?