Identifying a mobile device

A simple webpage shortcut - Yes, use the local IP address of your Node-red server dashboard and it will only work if you are connected to wifi.

Was it my device? Reserve the IP address of your iPhone in the router (assumes iPhone does not connect with a fake MAC address) or in the iPhone (I assume that's possible).
The ui_control node can tell the IP address of the device using it. https://discourse.nodered.org/t/tracking-users-ip-address/52801