You can also just take the collection of devices typically on the network, hash the MAC addresses all together, and now you have a unique identifier for a household
But devices would join and leave the network in a household - especially phones. Maybe you could have a listening period, e.g. a week, where you build a set of witnessed devices and then hash that for a household id?