ericellb / Broadlink-CLI-SmartIR

A CLI tool to help you learn codes for Climate, Fan and Media devices for SmartIR and Home Assistant
10 stars 1 forks source link

Fan level choise for Dry mode #1

Open Sr-psycho opened 2 months ago

Sr-psycho commented 2 months ago

Greetings! Thank you very much for the simple and convenient way to remove codes from Ir remote controls. But I wanted to make a note that the Dry mode on some devices has a fixed fan level (on my Zanussi Perfecto DC Inverter ZACS/I-09 this is exactly the case), usually this is the first Fan level. It would have been nice to have a choice of levels for this mode before scanning the remote, since I had to scan the same mode four times.

ericellb commented 2 months ago

You're talking about Dry mode for a Climate device, not a Fan device correct?

That's interesting, I'll add a choice in the CLI to allow you to pick Dry (With Speeds) or Dry (Single speed).

Thanks for using the tool and the feedback!

ericellb commented 2 months ago

@Sr-psycho Can you check if the change I pushed to https://github.com/ericellb/Broadlink-CLI-SmartIR/tree/fix/dry-single-variable-speed fixes your problem?

Checkout the branch and run the tool from there and let me know. The output config it spits out seems a bit strange, and I dont have a compatible device to test with SmartIR

Sr-psycho commented 2 months ago

Great! Dry mode codes are now recorded correctly.

PS Now the question is: Is it possible to record additional functions of the air conditioner? Such as X-Fan mode (drying the evaporator before turning off the air conditioner to prevent the formation of mold, etc.)?

ericellb commented 2 months ago

That really boils down to how SmartIR and Climate works in Home Assistant.

I can 100% allow you to register commands for special modes, but if SmartIR and Climate does not support than, then it means nothing.

You can edit the JSON yourself and try it in Home Assistant and report back. You could technically register it as a seprate "fan speed" and maybe get it working like that?

Sr-psycho commented 2 months ago

Ok. PS Unfortunately, I currently do not have the opportunity to test config files. But as soon as the opportunity arises, I will let you know about the bugs.