feature smarter sensor initialization and recovery behaviour

feature to solve Issue #14