OpenSense and better sensor type handling