I think DIY sometimes involves getting around the oligarchy sometimes. I don't see that repairing or even installing your own water softener is not code compliant. It may be called "illegal" work in some jurisdictions because of the politicians, but can't we just call it "undocumented" work? DIY can be code compliant even if it is "illegal" in a place. Right?