Now I discovered the following things:
- Data with codes for management is stored in the phone at the following address - folder eControl -> DNA I got there a folder named 20014 in which there are some files with commands.
Here is an example of my file (dnacontrollinfo has 642 lines in it)
132 123: bb0001033501006402083d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de
As far as I can guess, the first symvols can be decrypted as follows (dnainfo file)
“acSwitch”: [0,1], on or off
“mode”: [2,3,1,4,5], - modes of operation
“wind”: [7,0,1,2], - work speed
“windDirection”: , - direction
“tem”: [16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] - temperature
It turns out that the first command sends the code 132123, which can be decrypted above.
By converting the command itself to base64 we can use it to send via Broadlink.
I also installed another IHC program (replaces eControl), the air conditioners automatically appeared as TCL, although I have a different manufacturer of equipment Ballu. After that, I searched for remotes in the cloud for TCL and found three options, one of them turned out to be working and I was able to control the air conditioner from the IHC. Then I went further and found in the folder with eControl parts of the IHC, it turns out I downloaded these consoles in the archives. Similar to https://github.com/mjg59/python-broadlink/issues/74 in this post.
Now I have converted them, the lines are ~ 1500, but have not yet verified. In the future, it will be possible to use them in components for control via HA.
SmartIR - Climate component
Found one hack. Earlier, I used the eControl application, after I reassigned my RMPro via a reset and tied it to the IHC. And now interesting: Add a binding in GoogleHome and the air conditioner appears in it and you can turn it on and off with your voice, however, you cannot adjust the temperature and other parameters. This is one of the limitations of Google (in any case, I read it on their page). At the same time, I can still manage my climate systems from eControl and IHC applications via the Internet.
Now I have several scenarios that I have to check to answer the following questions:
- How can I use the commands from step 1 (Direct Sending)
- Check the operation through HA using the command base and your component as in paragraph 2.
- Operation of devices without the Internet (what will happen)
- Modify the library of broadlink and add to it any compatible devices that can give status to their state, by analogy with MP1 or SC1
- Creating a script to work through the Broadlink cloud (I need help here, I’m not good at programming)
About software: You can also use this app: eControl, IHC, tclEair (http://cloud.broadlink.com.cn/soft/tcl/tclEair.apk)