ccwienk / temper

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

Add a JSON field "port" to reliably associate a device with a USB socket #1

Closed mrj closed 3 years ago

mrj commented 4 years ago

While a device's "devnum" field changes each insertion/boot, making it hard for a program to identify a given device/sensor from the JSON output, a device's USB port-identifier reflects where it's plugged-in.