Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion temper.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _read_hidraw(self, device):
self._parse_bytes('internal temperature', 2, 256.0, bytes, info)
return info

if info['firmware'][:15] in [ 'TEMPerGold_V3.1', 'TEMPerGold_V3.3', 'TEMPerGold_V3.4' ]:
if info['firmware'][:15] in [ 'TEMPerGold_V3.1', 'TEMPerGold_V3.3', 'TEMPerGold_V3.4', 'TEMPerGold_V3.5' ]:
info['firmware'] = info['firmware'][:15]
self._parse_bytes('internal temperature', 2, 100.0, bytes, info)
return info
Expand Down Expand Up @@ -342,6 +342,8 @@ def _is_known_id(self, vendorid, productid):
return True
if vendorid == 0x1a86 and productid == 0xe025:
return True
if vendorid == 0x3553 and productid == 0xa001:
return True

# The id is not known to this program.
return False
Expand Down