I can see why you're using these boards, but the ESP32 is an incredibly power hungry device. For battery/solar power it's not the best choice.
For devices in the field I'd use one of the many available low power ARM controllers.
For devices in the field I'd use one of the many available low power ARM controllers.