What happens when you write "expect" using a terminal?
This is on my ubuntu:
Code:
[12:39:14] openhab@zodiac:~$ expect
expect1.1>
The script that's exectured by openhab looks like this:
Code:
#!/bin/bash -
if ! command -v expect &> /dev/null
then
echo "Expect is not installed, install using \"apt install -y expect\""
exit 127
fi
echo "Expect is already installed!"
exit 0
You can try and store that to a .sh (script.sh) file:
and then
chmod u+x script.sh
./script.sh and see what it returns.
Should be:
Code:
[12:42:45] openhab@zodiac:~$ ./script.sh
Expect is already installed!
If it's not installed then try and reinstall it. If it is installed by still not working, you will have to enable debug logs in openhab and send me.
Also I've done a couple of bug fixes, although not related to this, you should still see if you can update to the latest snapshot,
Ruckus Unleashed Openhab Addon. Contribute to seaside1/unleashed development by creating an account on GitHub.
github.com