milo
(M)
156
Yes both are there
rollershutter.js
openhabian@smarthome:/etc/openhab/transform $ cat rollershutter.js
(function(position) {
var newposition = 100 - position;
return newposition;
}) (input)
rollershuttertothing.js
(function(position) {
var newposition = position;
return newposition;
}) (input)
@J-N-K No the only scripts I am using…I use some map or scale
here is the item definition
Rollershutter myLivingShutter "Wohnzimmerd " { channel="deconz:windowcovering:000000000000:a4c1385ebde6490601:position"[profile="transform:JS", toItemScript="JS:rollershutter.js", toHandlerScript="JS:rollershuttertothing.js"] }
Filed an issue