Example code for SolarNetwork developers