Smart tech could help fix the biggest barrier to building clean energy