prasad-edlabadka / homebridge-tuya-ir

Allows homebridge to control Tuya Smart IR based devices
Apache License 2.0
50 stars 22 forks source link

Auto and Heat mods mixed up. #42

Closed torukonami closed 1 year ago

torukonami commented 2 years ago

When trying to turn on heat mode cannot select any temperature value but in auto mode I can select. So for heat I have to choose automode and for auto have to choose heat IMG_0861 IMG_0862 .

jamdav16 commented 2 years ago

I'm having this issue too...

prasad-edlabadka commented 2 years ago

Can you please provide logs and your config?

gonzechevnublit commented 2 years ago

I'm having this issue too...

image

prasad-edlabadka commented 2 years ago

Can you please try using v1.0.0? It's released as beta so you will have to install it manually. It has some breaking changes. So, please backup your confit.json before installing

gonzechevnublit commented 1 year ago

Can you please try using v1.0.0? It's released as beta so you will have to install it manually. It has some breaking changes. So, please backup your confit.json before installing

Thanks prasad, I cloned the git repository and copy replace the plugin download from homebridge, same behaviour.

Update:I had made a mistake, now the heat mode works, I have to adjust the steps from 0.5 to 1 degree to make it work correctly. Thank you

gonzechevnublit commented 1 year ago

I added this code for heating:

this.service.getCharacteristic(this.platform.Characteristic.HeatingThresholdTemperature) .onGet(this.getCoolingThresholdTemperatureCharacteristic.bind(this)) .onSet(this.setCoolingThresholdTemperatureCharacteristic.bind(this)) .setProps({ unit: undefined, minValue: 17, maxValue: 30, minStep: 1, })

prasad-edlabadka commented 1 year ago

Fixed in #56