diff --git a/temper.py b/temper.py index b4f2b8c..c3a5c1d 100755 --- a/temper.py +++ b/temper.py @@ -230,7 +230,7 @@ def _read_hidraw(self, device): #Bytes 11-12 hold the external temp, divide by 100 self._parse_bytes('external temperature', 10, 100.0, bytes, info, self.verbose) return info - if info['firmware'][:14] == 'TEMPerHUM_V3.9': + if info['firmware'][:14] in ['TEMPerHUM_V3.9', 'TEMPerHUM_V4.1']: info['firmware'] = info['firmware'][:14] #Bytes 3-4 hold the device temp, divide by 100 self._parse_bytes('internal temperature', 2, 100.0, bytes, info, self.verbose)