implement push mode for sensor and repo