Hello,
after trying some other home automation systems I now want to relaunch my openHAB implemetation.
So I upgraded to OH3 with LCN-Binding. All went fine until I reached the topic to create a script for the “hitkey action”.
Now I’m quite helpless.
The sample code from the binding looks like this:
val actions = getActions(“lcn”,“lcn:module:b827ebfea4bb:S000M010”)
actions.hitKey(“C”, 4, “HIT”)
But how can I transform this to Javascript syntax?
Stiil working on it!
if ( actions.get(“lcn”,“lcn:15251F4BF1:S000M044”) == true)
always gives false
The Thing ID is lcn:module:0142301d08b8:15251F4BF1,
The Module is M044,
What should be the right input for the second argument in getactions?