Try to run a pig farm on your home and see how far you get with that. The law of "nuisance" has existed for hundreds of years. Your right to use your property extends only as far as the limits of your property. If any of the effects spill over to your neighbors, they have the right to limit what you can do with your property (to the extent of the "spill over"). This has been basic American/British property law for centuries.