Add support for the TEMPerHUM_V3.8 #45
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will add support for a USB sensoe I have that reports itself as a TEMPerHUM_V3.8. I've been running this change reliably for quite a while and decided I should upstream it.
#2025-11-01-21:24:34#0#root@jarvis:/usr/local/src/temper2 ☉ ./temper.py --verbose Firmware query: b'0186ff0100000000' Firmware value: b'54454d50657248554d5f56332e382020' TEMPerHUM_V3.8 Data value: b'8020090111930000' Converted value: b'0901' Bus 001 Dev 002 1a86:e025 TEMPerHUM_V3.8 23.05C 73.49F 44% - - - #2025-11-01-21:24:50#0#root@jarvis:/usr/local/src/temper2 ☉ git reset --hard HEAD HEAD is now at 60889bf Merge pull request #40 from damg22/master #2025-11-01-21:24:54#0#root@jarvis:/usr/local/src/temper2 ☉ ./temper.py --verbose Firmware query: b'0186ff0100000000' Firmware value: b'54454d50657248554d5f56332e382020' TEMPerHUM_V3.8 Data value: b'802008ff11af0000' Bus 001 Dev 002 1a86:e025 TEMPerHUM_V3.8 Error: Unknown firmware TEMPerHUM_V3.8: b'802008ff11af0000' #2025-11-01-21:24:56#0#root@jarvis:/usr/local/src/temper2 ☉