tested and working. motion and distance being sent but getting 404