I am successfully solar charging with a 6V Voltaic panel hooked up to VIN. I also successfully enable/disable charging based on temperature in V2.0.1
//Enable/disable charging based on the temperature
if ((TempF < 340 || TempF > 900) && chargeEnabled) {
PMIC pmic(true);
pmic.disableCharging();
chargeEnabled = false;
Log.info("Battery charging is diabled due to unsafe temperature");
}
else if ((TempF > 340 && TempF < 900) && !chargeEnabled) {
PMIC pmic(true);
pmic.enableCharging();
chargeEnabled = true;
Log.info("Battery charging is enabled due to safe temperature");
}
I also can dynamically change the PMIC settings via the cloud configuration so a user can flip between USB charging or Solar charging. It also defaults back to USB settings when the battery gets low so it can always be charged via USB when the battery is low or the system is first powered on. This is explained in detail here: Boron Solar Charging with 1.5.0-rc1 - #60 by jgskarda
What you are asking the Boron to do is certainly capable... just take the time to code it and properly debug it rather than getting frustrated so quickly. Honestly, in the world of programming... 80% of the time is debugging. In the ideal world 80% of the time would be coding and it would just work... but in practice, it's more like 20% of the time is writing code the remaining 80% is debugging and learning. At least that is what it is for me. It's just part of the fun.