i need autoconnect from Openhab to Zyxel AccessPoint, to turn on-off the wifi.
I’m able to turn on-off the wifi manually with a ssh connection from my Macbook.
But i’m not able from Openhab because i need to write it in a single command line with the Exec Binding Thing:
Hi rossko57,
thanks for your hint, but I think the permissions are not the problem here.
I found out that most OpenHAB Docker versions don’t have a shell on board and therefore the shell commands from the exec binding are not executed.
If I run the terminal command /bin/bash in the Qnap NAS, in the container station, in the Openhab container, a browser window with terminal input opens.
When I try ssh there I get command not found as an answer.
So if it really is the case that there is no shell in Docker, how can I install one?
I only found a few fragments of information on the net that I, as a greenhorn, can’t do anything with.