added php get_sensor file