- Platform information:
- Hardware: OrangePi+2 2Gb RAM/armv7l
- OS: ARMBIAN 5.60 stable Debian GNU/Linux 9 (stretch) 4.14.70-sunxi
- Java Runtime Environment: OpenJDK Client VM (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 25.152-b76, mixed mode, Evaluation)
- openHAB version: 2.3.0
- Issue of the topic: How can I set a general positionnal command to all my rollershutters
Hi all,
I’ve just finished to set up my configuration in a brand new 2.3.0 OpenHAB, after a crash with the eMMC of my OrangePi+2, that was running OpenHAB 2.2 before.
I’ve successfully recovered the usage of my supervision under PaperUI.
I just can’t find how to set up a general positionnal command for all my rollershutters (neither in OpenHAB 2.3.0, nor in OpenHAB 2.2.0/KNXv1).
I defined all my rollershutters individualy (in .things file, and in .items file) and they are all working individually (via the rollershutter item in a sitemap).
All my ga’s for rollershutters are of this form :
-2/0/x : upDown setting
-2/1/x : stopMove setting
-2/2/x : position setting
-2/3/x : listeningGA for state
I also have a general ga for setting a precise position for all my rollershutters, stored in ga 0/0/3. For this, I defined a generic device in .things file, with a definition like this :
Thing device generic [ address="1.0.100",fetch=false,pingInterval=300,readInterval=3600 ]
{
Type number : PctVolets "% Volets [%d %%]" [ ga="5.001:<0/0/3" ]
}
In my .things file, I defined a rollershutter like this :
Type rollershutter : VRGrenier "Grenier" [ upDown="2/0/17+<2/3/17", stopMove="2/1/17", position="2/2/17+<2/3/17" ]
In ETS, in the precise position parameter object of every rollershutter, both ga’s 2/2/x and 0/0/3 are set up.
Via a zennio Z41 control pannel, I’m able to set a value to the 0/0/3 ga, and all my rollershutters move to the correct position.
To reproduce this in OpenHAB, I would like to set a slider in a sitemap, like this :
Slider item=PctVolets label="% volets [%d %%]" icon="blinds"
Unfortunately, this doesn’t work at all. The number PctVolets is set up with the position I want, but no rollershutter move.
Any explanation ?
Thanks in advance for all.