Greywater-harvesting diversion valves, branched-drain plumbing, permitting, & maintenance tips