danny-source / Arduino_DY_IRDaikin

Arduino control Daikin AC
69 stars 35 forks source link

Check sum error will decoding IR codes from Daikin ARC480A8 remote #9

Closed sisimomo closed 1 year ago

sisimomo commented 3 years ago

Hello,

First, I would like to say thank you for your excellent library. I have already been able to make my air conditioning smart using your library. Now the next step is to synchronize the state displayed on my automation hub (Hassio) and the actual state of AC. To do this, I wanted to rely on the "Bridge" example. But unfortunately I have some difficulty getting it to work. Here is my situation.

I get an error code when I try to decode the IR codes sent by my remote "ARC480A8".

Here is my wiring diagram:

To do this I used the Bridge example. The only thing I have to change is the pin numbers. As a Board, I use an Uno R3.

For this example, I looped between these two commands:

Here are the console errors when I send the IR codes using the remote:

Daikin Bridge Start!
wake
=Timeout=2=restart
=Decoded=
scount:308
bytes:19
pcount:1
plength:2
--
11-DA-27-00-00-31-2C-00-5F-00-00-00-00-00-00-C5-00-00-93-
--

93-93 CRC OK
=PSP=
detect packet is timeout,restart
wake
=Decoded=
scount:2
bytes:1
pcount:0
plength:2
--
11-
--

00-11 CRC ERR
-check sum error-restart
=Decoded=
scount:308
bytes:19
pcount:1
plength:3
--
11-DA-27-00-00-31-2A-00-5F-00-00-00-00-00-00-C5-00-00-91-
--

91-91 CRC OK
=PSP=
detect packet is timeout,restart
wake
=Timeout=2=restart
=Decoded=
scount:308
bytes:19
pcount:1
plength:2
--
11-DA-27-00-00-31-2C-00-5F-00-00-00-00-00-00-C5-00-00-93-
--

93-93 CRC OK
=PSP=
detect packet is timeout,restart
=Timeout=2=restart
=Decoded=
scount:308
bytes:19
pcount:1
plength:2
--
15-DA-27-00-00-31-2A-00-5F-00-00-00-00-00-00-C5-00-00-91-
--

95-91 CRC ERR
-check sum error-restart
wake
=Timeout=2=restart
=Decoded=
scount:308
bytes:19
pcount:1
plength:2
--
11-DA-27-00-00-31-2C-00-5F-00-00-00-00-00-00-C5-00-00-93-
--

93-93 CRC OK
=PSP=
detect packet is timeout,restart

So, my question is the following:

Why am I getting this error code, and how do I avoid the error in the future?

Thanks, and don't hesitate if you need more details.

iv1zz commented 1 year ago

Same problem with ARC480A33.

danny-source commented 1 year ago

May be protocol is not fit, i don't have ARC480A8 for testing, sorry