mill1000 / midea-msmart

Python library for local control of Midea (and associated brands) smart air conditioners.
MIT License
49 stars 2 forks source link

Accept reponses to properties commands with invalid CRCs #114

Closed mill1000 closed 6 months ago

mill1000 commented 6 months ago

Originally reported here https://github.com/mill1000/midea-ac-py/issues/101, and also witnessed on a personal unit.

Some devices generate PropertiesResponses with invalid CRCs Likely a bug in the device itself.

This change attempts to detect these responses and disable CRC checks only when sending GetProperties and SetProperties commands.