Learning what??
How to use executeCommandLine
Learning what??
How to use executeCommandLine
yes and a more advanced
hm…just updated to OH3 but executeCommandLine did not work…ERROR
if (TradfriSwitch01.state == "brightness_move_up") { executeCommandLine("amixer set Headphone -- 93%") playSound("beep.mp3")}
From here (Actions | openHAB) I do see that it still exists the old-fashinoned way in parallel to the “delayseconds - return value” way which i do not need. so i would love to stick to the classic way but it does not work anymore…
Thanks for your hints, Norbert
You still need to separate the individual items in your command by comma.
Try:
executeCommandLine("amixer", "set", "Headphone", "--", "93%")