What strategy should be adopted to identify devices sharing the same USERNAME, DEVICE_ID, and DEVICE_CREDENTIAL?

Suppose two or more devices share the same USERNAME, DEVICE_ID, and DEVICE_CREDENTIAL due to a firmware update error.

What strategy can we use to identify which DEVICE_ID is affected by this situation?

Initially, we considered tracking the number of connections and reconnections from different IP addresses, since the devices would be competing for the connection to the server.

However, this might be an interesting feature to have built directly into the Thinger server.