blafois / daikin-ir-reverse Goto Github PK
View Code? Open in Web Editor NEWDaikin AC Infrared remote control protocol reverse
Daikin AC Infrared remote control protocol reverse
Some remotes can switch to Fahrenheit mode by holding Temp+ and Temp- at the same time for 5 seconds, however it is internally transmitting the same as Celsius with precision down to 0.5 deg C, with 0x2d (22.5 deg C) and 0x37 (27.5 deg C) skipped. Mapping found below:
Deg F | Hex | Deg C |
---|---|---|
64-72 | 0x24-0x2c | 18.0-22.0 |
73-81 | 0x2e-0x36 | 23.0-27.0 |
82-90 | 0x38-0x40 | 28.0-32.0 |
There is no other code changes observed on the remote.
Warm mode is unchecked.
Hi Ben,
You mentioned you used a simple sketch to capture the IR data. Are you able to share the sketch you used?
Hi Ben,
do you have some example implementation? Or could you please provide the capture so I can see how the whole frame is transmitted?
Thanks.
Offset Description Length Example Decoding
========================================================================================================
00-03 Header 4 11 da 27 00
04 Message Identifier 1 00
05 Mode, On/Off, Timer 1 49 49 = Heat, On, No Timer
06 Temperature 1 30 It is temperature x2. 0x30 = 48 / 2 = 24°C
08 Fan / Vert Swing 1 30 30 = Fan 1/5 No Vert Swing. 3F = Fan 1/5 + Vert Swing.
09 Hori Swing 1 0F 00 = No Horizontal Swing. 0F = Horizontal Swing
0a-0c Timer delay 3 3c 00 60
0d Silent / Powerful 1 01 01 = Powerful enabled, 20 = Silent enabled
10 Econo / Eco Sensing 1 84 84 = Econo, 82 = Eco Sensing
12 Checksum 1 8e Add all previous bytes and do a OR with mask 0xff
Added Horizontal/Vertical swing, Silent outdoor unit feature (denoted as Silent), Eco Sensing feature.
The second frame seems to be related to timer feature, which mine has a byte ticking to the minute, but I am not yet sure.
Hi.
I'm planning to control a Daikin AC device from a computer, preferably with an USB-to-IR adapter, but I don't know which hardware to buy. :)
Did you use the diode in your schema to send frames to your Daikin device or did you use an specific device? If so, Which device did you use?
Best regards.
EDIT: Sorry already saw in a previous issue you used a led. :)
Hi Ben,
I'm quite new in this scene and look for the possiblity to use a Homebridge/Homekit plugin to emulate the ARC470A1.
I found your IR-Reverse library which to my view contains the codes you examined from the original ARC470A1.
Do you have already a respective plugin for homebridge, which can be used? I understand that the target of what you did is to use homebridge to control your AC? Or maybe you know where to find it (on the npm page I didnt find anything correlating...) Or am I wrong and can use your code in Homebrige already? But there is no config.json....?
Thank you
Thomas
Hey such a small world!!! I was trying to do the same thing to as my Daikin to my homebridge using an esp8266 and an ir sensor. Just wanted to ask you for a favour by explaining me how your got it working. Cheers 🥂!!
Daikin air cons has a diagnostic feature where remote sends out all codes but the AC unit long beeps when the diagnostic code matches.
See https://www.daikin.com/products/ac/services/error_codes for the feature.
The diagnostic code includes only one frame
11 da 27 00 01 XY 00 WW
Where X is
X | Actual Code |
---|---|
0 | 0 |
1 | A |
2 | C |
3 | E |
4 | H |
5 | F |
6 | J |
7 | L |
8 | P |
9 | U |
A | 9 |
B | 8 |
C | 7 |
D | 6 |
E | 5 |
F | 4 |
(Note that A-F is a guess from the manual. Not verified)
Where Y is
Y | Actual Code |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
A | A |
B | H |
C | C |
D | J |
E | E |
F | F |
Where WW is the checksum
Hi! I also check my arc470a1 rc to decode, but my rc alvays give different code for same command. I catch them with xiaomi ir. This device use kind of raw format. Do you know how can i convert your hex(?) commands to raw format? Thanks! ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.