Open broux2 opened 8 years ago
Could this be that hap-nodejs does not have the rotational speed characteristic? I saw a sample someone was using and they added { cType: types.ROTATION_SPEED_CTYPE, perms: ["pw","pr","ev"], format: "bool", initialValue: 0, supportEvents: true, supportBonjour: false, manfDescription: "Change the speed of the fan", designedMaxLength: 1, onUpdate: function(value) { if (value == 0) { that.setPowerState(0); } else if (value > 0 && value < 40) { that.setBrightnessLevel("low"); } else if (value > 40 && value < 75) { that.setBrightnessLevel("med"); } else { that.setBrightnessLevel("high"); } } },
I'm having the same issue with my fanlinc control through homekit (works in openhab, not in homekit).
@broux2 where would your suggested code go? In the config file? Or somewhere in the homebridge files?
It has beena while since I tried to get fanlinc working on homebridge. Unfortunately i was never successful.
I have a insteon fanlinc configured in openhab and working fine. I set a custom attribute and set that item to a fan item. In the Insteon+ app it shows the homekit device as a fan with high , medium, low settings but the only command it sends is false.