Smarter devices and real-time data for decision-making