* daemon started successfully
connected to 192.168.0.165:5555
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
when i start the bash script in putty, the same error apears SOMETIMES.
but if I type in the lines of the script manually, it works.
as far as I know / understand there are keys stored in the users folder /home//.android
adbkey adbkey.pub debug.keystore
Running executeCommandLine runs with the openhab users privileges thus this users directory will be checked for the above keys which are not found.
Try to create a copy of this folder in oenhab users home directory ( /var/lib/openhab/ ) or try to run the command via ssh with a different user’s privileges.
This is ONE possibility.
I just saw that the binding is already in the OH 3.1.0 M1.
You can also wait, until 3.1 comes out.
If your system is a production system, and it works well, you may not want to use well-tested modules.