Tag - motion detector using python