Binding few TCP devices

Hello, OpenHab community! I’m a very newbie here, and this is my second day with OpenHab. That’s why my question could be a bit stupid. I want to connect to OpenHab few temperature “sensors”. Actually, this is already made device, and that device connects to TCP server and in ASCII format sends current temperature. But here I’m a bit confused. One device - okay, but how to manage two same devices which actually located in different rooms? Is it possible to split (understand who’s who) them by MAC or IP? Could someone share an example with me? Thanks a lot!