def _post_put_callback(self, m): cbpi.stop_sensor(m.id) cbpi.init_sensor(m.id)
def post_post_callback(self, m): cbpi.init_sensor(m.id)