I don’t think it is practical to use batteries and solar power, at least, not here in the UK (latitude 51 degrees) in winter.
I have a typical setup. SDS011, BME280, DHT22, ESP8266. It is powered from Li-ion batteries - a pair of Soshine INR 26650 5500mAh. Running exclusively on battery I get about 4 days and 9 hours before the system shuts down. The DHT22 dies first, then about half an hour later the ESP8266 dies.
I can recharge the batteries through a TP4056, and I monitor the battery charge/discharge with an INA219 device. A DC-DC converter keeps a steady 5.1V for the SDS011.
The whole system draws about 80mA. When the SDS011 bursts into life consumption goes up to just over 100mA.
I have a solar panel rated at 6V 1.67A (340mm x 220mm). In theory one hour of full bright sun should give me enough energy for about 15hrs runtime. The reality is that there is not enough bright full sun to keep the system fully charge and running day after day in winter. I have to supplement the solar charge with some mains charging.
Last December we had just 3 hrs of full bright sun in the whole month.
If you want to see a .csv file of data from today showing the charge/discharge follow this link. Sunrise is about 8 a.m. You can see the current from the battery dropping from about 80mA. There was fluctuating cloud cover until lunch time when it clouded over properly. Mains charging started about 4 p.m.
I hope this is of interest.