Hi Christian,

as already mentioned, setting the values directly shall not be used for normal 
operations. Please use get/set output value commands only for a configuration 
process and store the final settings as scene, see "saveScene" command.


The GR-KL220 and GR-HKL230 supports the following Offset Values in 
getOutputValue:


Offset
        Size    Value

0       8 Bit   Current Position
2       16 Bit  Target Vertical Position
4       8 Bit   Target Lamella Angle


The setOutputValue command does not support current position (offset "0"), only 
the target positions.


Michael



http://developer.digitalstrom.org/Architecture/dss-json.pdf, p.69:

[cid:84f57078-96d2-40c8-85f7-c9a17b1d63bf]







________________________________
Von: [email protected] 
<[email protected]> im Auftrag von Christian 
Stüllein | SSE <[email protected]>
Gesendet: Mittwoch, 14. November 2018 14:57
An: [email protected]
Betreff: [dss-developer] REST-API - Get/Set Value for blinds (KL220)

Hi,

I wonder what's the correct way to explicitly get/set the current device
values (position and angle) for blinds (like the KL220). I am able to
use scenes for that (call a scene, get the scene values for both
position and angle). I know, that scenes are the prefered way working
with the system, but some of our customers want to have the possibility
to set a value ecplicitly. This works fine for other devices (like
dimming lights), but not for the KL220. I have 2 problems here:

1) If I request the current value with the getOutputValue() command with
offset 0 - the position value is returned. But this value is scaled to
0..255 instead of the value given in the getSceneValue() command
(0..65538). But it seems that I also can get the same value with the
16-bit scaling when i use the offset 2 - is this correct?

2) Which offset I have to use in the getOutputValue() command to get the
angle? Or is there an other way requesting this? (Same question for
setOutputValue)


Thank you in advance


--


Mit freundlichen Grüßen
______________________________________________________________
Christian Stüllein

SSE - Stüllein Software Engineering
Friedrich-Hartung-Str. 16
64560 Riedstadt

Mobil: +49 (0)170 / 294 61 67
Tel:   +49 (0)6158 / 828 7707
Fax:   +49 (0)6158 / 828 7708

E-Mail: [email protected]
Web: www.sse-engineering.de<http://www.sse-engineering.de>


_______________________________________________
dss-developer mailing list
[email protected]
http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer

Reply via email to