@hagak I got a Pi set up with a receiver and lirc. I’m able to capture the commands however I’m a little lost on this part:
Should you wish to use this code the timing values are defined in the beginning of the program, you will probably need to adapt it.
It’s probably staring me right in the face but I’m not sure what he means about adapting. I capture the raw output, I get the 6 timing values at the top of the columns but not sure what to tweak. When I compile and run his decode program I get a string of gibberish from the most part, so something is off.
Am I missing the obvious? I can send you a raw file, for example the one I did when pressing on/off if that helps.
@hajak I’m at a standstill with this unfortunately. I can capture all the raw codes, starting from a standard baseline config from which I create one new file per button press for, but running the rounding program doesn’t convert to binary. I’d be willing to pay to help get this in at this point if you are interested.
Thanks! Do I need to run through all the iterations based on mode or can I just set it to one config i.e. “Cool, Fan low, 75, no swing, no eco” and then do each command/state per file from that baseline?
I’ve gotten the first round of raw codes ready so we can see if they work for you.
Files ordered by change date, I started with “cool_75f_swing-off_fan-low_on-off” that is I had the remote at cool, 75f, no swing, low fan, no aux modes (powerful, quiet, eco, etc.) enabled and then pressed the on/off button and recorded it to the file.
I then created each new file based on a single button push, the change is in the file name i.e. dry_75f* means I used the base config above and set the mode to “dry”, and so on.
It’s a pretty tiny zip file - how do I get it to you? I don’t see a way to attach files here.
Your unit has “powerful, quiet, eco” modes? Is this a Daikin Ceiling Cassette unit? This sounds more like the wall units that use the standard Daikin module. Have you tested that module?
Hmm yeah this remote is much closer to the original remote. The ceiling cassettes that use the remote i built this for do not have those extra modes. I will look at it but it is probably not something i want to add to this module since it is probably a completely different protocol
Also Daikin really could use some unification in their product lines, good lord they seem to be all over the place. Also why I did not bother with their Wifi interface because it looked like a closed system and the IR I could atleast write some code to work with it.
The Daikin protocol used with these remotes is 128. I don’t believe that has been upstreamed to ESPHome but it is in the ESP8286 IRRemote library. You can see it referenced in here Starting line 552 you’ll find the correct frequency and bits for this protocol along with the supported modes. It is further broken out in the class reference: IRremoteESP8266: IRDaikin128 Class Reference
I’m fooling around with the library with custom components/libraries in ESPHome but I’m curious if the above is useful to you as well. I haven’t gotten it working yet but that may be more to my unfamiliarity with ESPHome config syntax.
Edit: Well, well. I’ve managed to get the unit to turn on and off. ATM when I try to change the temp. it turns the unit off instead but that’s just something in the code I hacked together. I’m just delighted that much worked, and also confirmed I’m getting enough range from my IR led. More to come