One wire sensor control