simbaja / gehome

Python SDK for GE smart appliances
MIT License
42 stars 29 forks source link

Dehumidifier Current Humidity Value Fix #55

Closed Aviian314 closed 1 year ago

Aviian314 commented 1 year ago

The Dehumidifier "Current Humidity" values are showing incorrect values. For example: Setting ErdCode.DHUM_CURRENT_HUMIDITY to 306 The values correspond to the following actual values 45% -> 301, 50% -> 306, 55% -> 311, 60% -> 316

The value seemed to only need to consider the first byte. I'm not entirely sure if this is the desired fix but I created a converter to do this and was receiving the correct value when running the websocket_example.py script afterwards: Setting ErdCode.DHUM_CURRENT_HUMIDITY to 50