fixed exception and moved connect-code to run-function
Merge branch 'develop' of https://github.com/mknx/smarthome into develop