Happened to me last week. Checked on a butter bell with Amazon's and message pop up that I did something illegal. Called the number they provide and next thing I know I'm getting all kind of messages from FBI. Hung up an let my grankids deal with it. Turns out they can get your address from urine, not sure how but it does not matter. It's a scam.
They got your IP Address, which just means they have the number that corresponds to your device when it accesses the internet (for most people in most situations, this number changes often) and it doesn't really do much besides tell them the general location of the device based on the numbers themselves as they pertain to a location with how they're assigned. But they're general enough to be mostly useless. But enough to spook some folks.
But, was the thing about urine in your second to last sentence a mistype or did you mean that?