[dss-developer] REST-API - Get/Set Value for blinds (KL220)

Christian Stüllein | SSE christian.stuellein at sse-engineering.de
Wed Nov 14 14:57:46 CET 2018


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: christian.stuellein at sse-engineering.de
Web: www.sse-engineering.de


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20181114/c0be6542/attachment.pgp>


More information about the dss-developer mailing list