This may be a start:
But unless you use something which can filter out the exact frequencies you’re looking for, and match those up to a pattern that you’re looking for, then it’ll be difficult to drown out other noises.
I really like the idea, though - using one device to sense two devices. But it’d be too much faff for me - I’d just stick a power sensor inline on the power cable and call it a day.