Openhab out set +Percent

Hello Guys is it Possible to use a Command that i can put in the payload that increase/decrease like 10 percent brightness when ever it triggers?

NodeDimm

Thx
Chriss

Get the Item current state and add or distract 10 from that state and send it back.

There is no Command that i can put directly?

No, you can’t

Ok ty,

with which node i can get the current state?

Please press the grey ‘Reply’ button when replying, otherwise I can’t get any notifcation about it.

You have more options.
Save the current state on Node-RED with the help of a openhab-in and a function node (search for context.get and context.set).
Or you can easily get the state through the REST API with the builtin HTTP in node.

Have you seen this thread?

1 Like

Thx to all for the Help,

with the link Stuart posted i could find a solution for my problem

Greetz
Chriss

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.