The water evaporation rate was calculated based on the change in mass of the reservoir. For integrated setups, the generated water vapour condensed on the tilted window of the reactor and flowed down into a separate compartment (Supplementary Fig. ). After the experiment, this water was collected and weighed to quantify the clean water produced by the device. The solar thermal conversion efficiency was also calculated using the equation 2.