The method a gardener will use to grow Asters in a greenhouse is to break the darkness period with a flash of light for some time, so that the plants can bloom all year round.
Electrolysis is more expensive. Electrolysis is when water molecules break down into oxygen and hydrogen gas. Breakdown of methane contains carbon and releases CO2.