ccwienk / temper

Simple python for accessing TEMPer USB thermometers
MIT License
35 stars 27 forks source link

Select device by other mean #10

Closed corsac-s closed 1 year ago

corsac-s commented 2 years ago

Hey, i just received a TEMPer2 and a TEMPerGold device, and both are identified by the same USB ids: 1a86:e025 which means it's not really useful to select a device using its id. Maybe it'd make sense to select by name or something like that?

eode commented 1 year ago

The IDs are Vendor:Device, which is effectively vendor/model.

Unfortunately, TEMPer devices are only distinguished by model number, and don't have a serial number.

On Linux, if you need distinction between different devices, make sure to always plug the same device into the same USB port. This way, you'll be able to use the bus NNN dev NNN to distinguish them.