But the roots use O₂ when the lights are off, lol (and the solar cell is not producing any electricity).
I could be wrong, Brother, but I believe that is incorrect... Actually, it's correct, but not complete!
My understanding is that plants are using oxygen all the time during respiration. However, during the daylight, respiration is occurring at the same time as photosynthesis when the plants are taking in CO2 and releasing O2 into the atmosphere. Because of the surplus of O2 during the day, it only gives the appearance that the plants don't require the O2.
At night, when photosynthesis is NOT occurring, the plants will absorb O2 and relsase CO2 like any other breathing animal.
That being said, if you have info that shows otherwise, I would love to see it since it's very possible that my understanding is WRONG!