RasPi Node JS motion sensor alarm