I'm asking a general question, and kindly awaits general answers, omitting voluntarily my tank's parameters:
I had an algae problem not long ago, mostly long brown hair algae.
I wasn't injecting CO2 at the time in my planted tank. When I did inject (DIY) CO2 (I was turning it off during the night). The hair algae was then growing at a slower rate and even turned red (or grew red I don't know..).
Lately, I forgot to turn off the co2 at night and noticed hair algae was decreasing in amount

.

Now, I don't know if leaving the CO2 turned on all the time is the way to go, thinking long term (for the fishes/shrimps)..?

I do have low light plants (cladophora, anubias nana, java moss..) are they able to balance CO2 and O2 during the night
(lights comes from a distant room)?