Panasonic CS-Z20TKEW CRC issue
Posted: Sun Jan 06, 2019 4:36 pm
Hi,
I have used and adopted the code from https://www.analysir.com/blog/2014/12/2 ... -protocol/
and a tool (Arduino) to decode the actual remote control signals.
I do not flip the bits, thats why my hex values starts with 0x40040720. In the send function, I send the bytes inverted. When I use a recorded string, the AC is reacting with a "beep" to my program. But I have probems calculating the CRC.
The article says: "The checksum is the sum (addition) of the previous 18 bytes modulo 256 (frame 2 only)."
But if I do this I get a slightly different CRC byte.
For example: (second frame only)
HVAC_HOT, 27, FAN_SPEED_5, VANNE_V3,Wide_Auto, NORMAL, true: 0x 40,4,7,20,0,92,6C,1,CE,B0,0,70,7,0,0,91,0,0 gives a CRC of 0F but the remote control has CRC of 3F. All other bits are identical.
Same for HVAC_HOT, 25, FAN_SPEED_5, VANNE_V3,Wide_Auto, NORMAL, true:
My Programm has CRC of 2F and the remote control has 1F.
So the first part of the CRC byte differs by one or two.
Has anyone a hint, how to calculate the CRCin new Panasonic ACs?
Thanks for your help.
Christian
I have used and adopted the code from https://www.analysir.com/blog/2014/12/2 ... -protocol/
and a tool (Arduino) to decode the actual remote control signals.
I do not flip the bits, thats why my hex values starts with 0x40040720. In the send function, I send the bytes inverted. When I use a recorded string, the AC is reacting with a "beep" to my program. But I have probems calculating the CRC.
The article says: "The checksum is the sum (addition) of the previous 18 bytes modulo 256 (frame 2 only)."
But if I do this I get a slightly different CRC byte.
For example: (second frame only)
HVAC_HOT, 27, FAN_SPEED_5, VANNE_V3,Wide_Auto, NORMAL, true: 0x 40,4,7,20,0,92,6C,1,CE,B0,0,70,7,0,0,91,0,0 gives a CRC of 0F but the remote control has CRC of 3F. All other bits are identical.
Same for HVAC_HOT, 25, FAN_SPEED_5, VANNE_V3,Wide_Auto, NORMAL, true:
My Programm has CRC of 2F and the remote control has 1F.
So the first part of the CRC byte differs by one or two.
Has anyone a hint, how to calculate the CRCin new Panasonic ACs?
Thanks for your help.
Christian