I want to try to power a soil moisture device in my glasshouse. I already have a small 6v solar panel and some 18650 batteries so would something like this handle charging the batteries as well as supplying 5v to the device at the same time then switching to battery output when solar drops?

