cemilbrowne / homebridge-airtouch5-platform

Airtouch5 Support
Apache License 2.0
11 stars 1 forks source link

Support of More Than Three Fan Speeds #12

Open roscoe81 opened 2 months ago

roscoe81 commented 2 months ago

Describe Your Problem: My MHI aircon system has four fan speeds: Low, Medium, High and Powerful. When using the Powerful fan speed, I get a Homebridge warning that the rotation speed exceeds the 99 limit, because it's trying to set the rotation speed to 132. I modified Line 94 of platformACAccessory.ts to have a minStep of 24 and changed 33 to 24 in Lines 106 and 112. This solved the problem for my system but it's not a flexible fix. Is there a way of the plugin sensing how many fan speeds have been set up in the aircon system and setting up the rotation speeds to suit?