The second militia act of 1792. Though that required you to have a gun. Which in some fashion required monitoring. In modern times many states require you to have a permit to own a firearm and states regularly prosecute people without a license. In Washington state they have laws about safe storage and the police can come into your house to inspect your storage solution without if someone calls them and says you aren’t storing it properly. There’s a constant stream of cases fighting these laws in court. In the 2025-2026 SCOTUS term there were 14 petitions for cert.