Solar-powered sensor system