padelt/temper-python

Sorry, not an issue - adding V1.1 support

bjornenki opened this issue · 4 comments

Hi, thanks for this project!

Sorry it's not a pull request, but in case it helps others, I just wanted to say that I have some old V1.1 units that work just fine with the following in device_library.py:

"TEMPerHumiV1.1": TemperConfig(
    temp_sens_offsets=[2],
    hum_sens_offsets=[4],
    type=TemperType.FM75,
),

Sample output:

Found 2 devices
Device #0: 25.7°C 78.2°F 46.2%RH
Device #1: 25.6°C 78.0°F 46.1%RH

Many thanks for your contribution!
If no one else gets to it first, I will create a PR in a few days time 👍

Sample output:

Found 2 devices
Device #0: 25.7°C 78.2°F 46.2%RH
Device #1: 25.6°C 78.0°F 46.1%RH

@bjornenki Did you have 2 devices plugged in at the time, or does the one USB device have two T and two RH sensors?

Now implemented on master. Thanks @bjornenki !