add sensor detection
add sensor