ccwienk/temper

Unknown firmware TEMPerGold_V3.4

Closed this issue · 3 comments

Hi, it seems I have a slightly different model, mis-matched USB ID too?... I'm afraid I'm not too familiar with python, but I'm very happy to try to help... I see there was a guy with TEMPerGold_V3.3 who got it working, but no PR as yet... I guess they are probably related versions? Physically, it is the metal device with the thermometer printed on it.

root@trinity:/home/james# python3 temper.py --json
[
{
"vendorid": 6790,
"productid": 57381,
"manufacturer": "PCsensor",
"product": "TEMPerGold",
"busnum": 1,
"devnum": 12,
"devices": [
"hidraw6",
"hidraw7"
],
"port": "1-5.1",
"firmware": "TEMPerGold_V3.4",
"hex_firmware": "54454d506572476f6c645f56332e3420",
"hex_data": "80800c674e200000",
"error": "Unknown firmware TEMPerGold_V3.4: b'80800c674e200000'"
}
]

Bus 001 Dev 012 1a86:e025 * TEMPerGold ['hidraw6', 'hidraw7']

Seems to be addressed in PR #9, although I think it might be better to go with:-

if info['firmware'][:14] == 'TEMPerGold_V3.':

And thereby assume that all TEMPerGold 3.X versions will be compatible.

eode commented

Fixed. You can use master, but a release should be done shortly.

eode commented

Fixed, use master or wait a short bit for the release.

Once the fix is released, you should be able to upgrade using pip install --upgrade temper_py