get live data for switches