how to use pis automatic sensor 1 4