| gate | gate_state | get state of your gate (open, closed, pedestrian) |
| gate | gate_position | get position (0-100%) of your gate (where supported) |
| roller shutter, shutter, screen, ven. blind, garage door, awning, pergola, curtain | control | device controller which reacts to commands UP/DOWN/ON/OFF/OPEN/CLOSE/MY/STOP + closure 0-100 |
+| roller shutter | moving | Indicates if the device is currently operating a command |
| window | control | device controller which reacts to commands UP/DOWN/ON/OFF/OPEN/CLOSE/STOP + closure 0-100 |
| silent roller shutter | silent_control | similar to control channel but in silent mode |
| venetian blind, adjustable slats roller shutter, bioclimatic pergola | orientation | percentual orientation of the blind's slats, it can have value 0-100. For IO Homecontrol devices only (non RTS) |
// Roller shutter, Shutter, Awning, Screen, Blind, Garage door, Window, Curtain
public static final String CONTROL = "control";
+ public static final String MOVING = "moving";
// Adjustable slats roller shutter
public static final String ROCKER = "rocker";
THING_TYPE_HITACHI_DHW, THING_TYPE_HITACHI_ATWMC, THING_TYPE_RAINSENSOR, THING_TYPE_SHUTTER));
// somfy gateways
- public static Map<Integer, String> gatewayTypes = new HashMap<Integer, String>() {
+ public static Map<Integer, String> gatewayTypes = new HashMap<>() {
+ private static final long serialVersionUID = 7473481667820682573L;
+
{
put(0, "VIRTUAL_KIZBOX");
put(2, "KIZBOX_V1");
public SomfyTahomaRollerShutterHandler(Thing thing) {
super(thing);
stateNames.put(CONTROL, "core:ClosureState");
+ stateNames.put(MOVING, "core:MovingState");
}
@Override
channel-type.somfytahoma.contact.description = A contact having OPEN/CLOSE state
channel-type.somfytahoma.control.label = Control
channel-type.somfytahoma.control.description = Device control (UP, DOWN, MY/STOP, closure 0-100%)
+channel-type.somfytahoma.moving.label = Moving
+channel-type.somfytahoma.moving.description = Indicates if the device is currently operating a command
channel-type.somfytahoma.control_silent.label = Control (silent)
channel-type.somfytahoma.control_silent.description = Device control (UP, DOWN, MY/STOP, closure 0-100%) (only for IO devices)
channel-type.somfytahoma.current_heating_mode.label = Current Heating Mode
<state readOnly="true"/>
</channel-type>
+ <channel-type id="moving">
+ <item-type>Switch</item-type>
+ <label>Moving</label>
+ <description>Indicates if the device is currently operating a command.</description>
+ <state readOnly="true"/>
+ </channel-type>
+
<channel-type id="luminance">
<item-type>Number:Illuminance</item-type>
<label>Luminance</label>
<label>Somfy Roller Shutter</label>
<channels>
<channel id="control" typeId="control"></channel>
+ <channel id="moving" typeId="moving"></channel>
</channels>
<representation-property>url</representation-property>
<config-description-ref uri="thing-type:somfytahoma:device"/>