How to determine direction through rooftop solar energy