New ask Hacker News story: Ask HN: Is it a dark pattern to probe local network from a webapp?

Ask HN: Is it a dark pattern to probe local network from a webapp?
3 by benctamas | 4 comments on Hacker News.
Hi HN! I would like to detect whether the user has our device present on the local network or not. This would happen during signup and the purpose is to be able to link the (already server-connected) device to the user. My other idea is to match the public ip address of the browser app and the device, as both connect to the same server(s), and let user select any matching device during signup. This does not sound lot better (for me). If you have any opinion or other ideas, please share. Thank you!