It’s not unusual to have Exec calling a shell script somethwhere in the system.
I know some developers use to do it. I try to avoid it because of two reasons:
- it is not fully transparent, what the automation is doing, unless you read the shell script
- It will not be part of the backup done by
openhab-cli backup
Or is there a misunderstanding on my side?
After I worked now some more on command execution, e.g. to restart bindings, I understand much better the overall logic of access rights and what the openhab user is allowed to do (and what not, by default). If someone else is reading this, I can recommend the following posts and topics:
I owe this topic still an answer, if I could get the switch with a http binding working. Didn’t have time to do it. Will work on it in the christmas vacation time.