Find devices correctly in HTTP API