Ping based occupancy script for MiCasaVerde