kongkx/homebridge-gree-air-conditioner

Lack of Sleep mode switch

Saqool opened this issue · 2 comments

Hi,

I'm running this plugin in my HomeBridge. All is working, I see different switches for different modes like: dry mode, turbo mode, quite mode etc.
However I don't see any possibility to show as an accessory switch for Night Mode or Sleep Mode depending how it's called.

Under below logs I see that it's read from the device, but I don't see it in HomeBridge as button like the rest of the staff.

[5/17/2022, 2:44:33 PM] [Gree AC] [] Update Status: {"Pow":1,"Mod":1,"SetTem":23,"TemSen":62,"TemUn":0,"TemRec":1,"WdSpd":0,"SwingLfRig":3,"SwUpDn":4,"Blo":0,"Lig":1,"Quiet":0,"Tur":0,"HeatCoolType":0,"SvSt":0,"SwhSlp":0,"time":"2022-05-17 14:44:23"}

I just release a new version (1.3.0) to include a sleep mode swtich, but it may not work as you expected.

The sleep mode has 4 option, can not be controlled by a single on and off swtich.

I could not find a way to make the "sleep mode control" clean and working properly and then same time.

If you got any ideas, share with me .

Hi, I've checked, It's choosing first program of sleep mode, but it's great this is what I needed for now. Thank you foir such quick response.