Skip to content

[Toshiba AC] I want Tasmota to understand the reception of swing mode. #1424

@nao-pon

Description

@nao-pon

Version/revision of the library used

v2.7.15

Describe the bug

This is not a bug.

The Toshiba air conditioner library treats the temperature as 17 ° C when receiving an IR signal in swing mode.

Tasmota publishes an MQTT message based on the temperature information, so the client who receives the MQTT recognizes that the temperature has been changed to 17 ° C.

Therefore, I wanted to include an MQTT message that the reception was in swing mode in some way. My idea is to use state.model. In the case of Toshiba air conditioner, the fixed value is "Model": -1, but in the swing mode, it is "Model": 0. I don't know if that's a good idea.

However, I would like to somehow announce in an MQTT message that I am receiving swing mode.

Output of raw data from [IRrecvDumpV2.ino]

Heat, 20℃, ON

Timestamp : 000007.345Library   : v2.7.15
Protocol  : TOSHIBA_ACCode      : 0xF20D03FC0130070036 (72 Bits)Mesg Desc.: Temp: 20C, Power: Off, Fan: 0 (Auto), Turbo: Off, Econo: Off
uint16_t rawData[295] = {4410, 4362,  558, 1604,  560, 1606,  556, 1606,  556, 1606,  556, 548,  532, 528,  552, 1608,  554, 548,  534, 524,  554, 526,  554, 548,  532, 548,  532, 1606,  556, 1608,  556, 526,  554, 1604,  558, 526,  554, 548,  532, 548,  532, 548,  532, 526,  554, 548,  534, 1608,  552, 1606,  558, 1606,  556, 1606,  556, 1606,  556, 1606,  556, 1606,  558, 1604,  556, 548,  532, 526,  554, 528,  552, 548,  532, 528,  554, 548,  532, 548,  532, 548,  532, 526,  554, 1606,  556, 526,  554, 548,  532, 1606,  556, 1606,  556, 548,  532, 548,  532, 526,  554, 526,  552, 528,  552, 548,  532, 528,  554, 548,  532, 548,  532, 1606,  556, 1606,  556, 1606,  556, 528,  554, 526,  554, 548,  532, 548,  532, 526,  554, 526,  554, 526,  554, 528,  552, 548,  532, 528,  554, 1606,  556, 1606,  556, 548,  532, 1604,  558, 1606,  556, 548,  532, 4632,  4414, 4364,  558, 1604,  556, 1606,  556, 1606,  556, 1604,  558, 548,  532, 526,  552, 1606,  556, 548,  532, 526,  552, 528,  554, 548,  532, 528,  554, 1630,  532, 1606,  556, 526,  554, 1608,  556, 548,  532, 548,  532, 526,  554, 526,  554, 526,  554, 526,  552, 1630,  532, 1608,  554, 1608,  554, 1606,  558, 1630,  534, 1606,  556, 1606,  556, 1606,  558, 546,  532, 546,  532, 548,  532, 548,  532, 548,  532, 528,  554, 548,  532, 548,  532, 526,  554, 1606,  556, 548,  532, 526,  554, 1604,  558, 1604,  558, 526,  554, 548,  532, 526,  554, 548,  532, 526,  554, 548,  532, 528,  554, 546,  532, 526,  554, 1608,  554, 1606,  558, 1606,  556, 528,  552, 528,  552, 548,  532, 548,  532, 526,  554, 548,  532, 548,  532, 548,  532, 528,  554, 548,  532, 1606,  556, 1606,  556, 528,  554, 1608,  554, 1608,  554, 528,  552};  // TOSHIBA_ACuint8_t state[9] = {0xF2, 0x0D, 0x03, 0xFC, 0x01, 0x30, 0x07, 0x00, 0x36};

Heat, 20℃, Off

Timestamp : 000009.267Library   : v2.7.15
Protocol  : TOSHIBA_ACCode      : 0xF20D03FC0130030032 (72 Bits)Mesg Desc.: Temp: 20C, Power: On, Mode: 3 (Heat), Fan: 0 (Auto), Turbo: Off, Econo: Off
uint16_t rawData[295] = {4412, 4390,  532, 1628,  534, 1608,  554, 1606,  556, 1606,  558, 548,  532, 548,  532, 1606,  556, 528,  554, 526,  552, 548,  532, 526,  554, 548,  532, 1606,  556, 1606,  556, 528,  552, 1608,  554, 548,  532, 528,  554, 526,  554, 526,  554, 548,  532, 548,  532, 1606,  558, 1606,  556, 1604,  558, 1606,  556, 1606,  558, 1604,  558, 1606,  556, 1606,  556, 548,  532, 526,  554, 526,  554, 526,  554, 548,  532, 548,  532, 526,  554, 526,  554, 548,  532, 1630,  534, 526,  552, 528,  554, 1606,  556, 1606,  556, 548,  532, 548,  532, 526,  554, 548,  532, 526,  554, 526,  554, 550,  532, 526,  554, 526,  554, 548,  532, 1606,  556, 1606,  558, 526,  554, 526,  554, 526,  554, 528,  552, 528,  554, 548,  532, 526,  554, 548,  532, 526,  552, 548,  532, 1604,  556, 1606,  558, 528,  554, 526,  554, 1606,  556, 526,  554, 4658,  4390, 4340,  580, 1604,  556, 1606,  556, 1606,  556, 1604,  558, 526,  554, 526,  554, 1606,  556, 528,  552, 528,  552, 526,  554, 548,  532, 526,  554, 1606,  556, 1608,  558, 526,  554, 1604,  556, 526,  554, 548,  532, 528,  554, 526,  554, 548,  532, 548,  532, 1606,  556, 1604,  556, 1606,  558, 1606,  556, 1604,  556, 1608,  554, 1630,  532, 1634,  532, 526,  554, 548,  532, 548,  532, 528,  552, 526,  554, 548,  532, 528,  554, 526,  554, 526,  554, 1630,  532, 530,  554, 526,  554, 1606,  556, 1604,  558, 526,  554, 526,  554, 526,  554, 526,  554, 528,  554, 526,  552, 550,  532, 526,  554, 526,  554, 526,  552, 1608,  556, 1604,  558, 526,  554, 526,  554, 548,  532, 548,  532, 550,  532, 548,  532, 548,  532, 526,  554, 526,  552, 530,  550, 1608,  556, 1606,  556, 526,  554, 526,  554, 1606,  556, 526,  554};  // TOSHIBA_ACuint8_t state[9] = {0xF2, 0x0D, 0x03, 0xFC, 0x01, 0x30, 0x03, 0x00, 0x32};

Swing On/Off

Timestamp : 000012.392Library   : v2.7.15
Protocol  : TOSHIBA_ACCode      : 0xF20D01FE210425 (56 Bits)Mesg Desc.: Temp: 17C, Swing(V): 0 (Step)
uint16_t rawData[231] = {4414, 4364,  558, 1604,  556, 1606,  556, 1606,  556, 1604,  558, 548,  532, 548,  532, 1606,  556, 548,  530, 548,  532, 526,  554, 548,  532, 548,  532, 1606,  556, 1604,  558, 548,  532, 1604,  558, 526,  554, 526,  554, 528,  554, 548,  532, 548,  532, 548,  532, 526,  554, 1604,  556, 1604,  558, 1608,  556, 1606,  558, 1604,  556, 1606,  558, 1606,  556, 1604,  558, 548,  532, 528,  552, 548,  532, 1604,  558, 548,  532, 548,  532, 526,  554, 548,  532, 1606,  556, 548,  532, 548,  532, 548,  532, 526,  554, 548,  532, 1606,  556, 548,  532, 526,  554, 548,  532, 548,  532, 1606,  558, 548,  532, 548,  532, 1608,  554, 548,  532, 1604,  558, 4636,  4410, 4368,  556, 1606,  556, 1606,  556, 1604,  558, 1606,  556, 526,  554, 526,  554, 1606,  558, 548,  532, 526,  554, 526,  554, 548,  532, 548,  532, 1606,  556, 1606,  556, 548,  532, 1606,  558, 526,  554, 548,  532, 528,  552, 548,  532, 548,  532, 528,  552, 548,  532, 1604,  558, 1606,  558, 1606,  556, 1606,  556, 1606,  558, 1606,  556, 1606,  556, 1606,  556, 528,  552, 528,  554, 548,  532, 1606,  558, 526,  554, 548,  534, 526,  554, 526,  554, 1604,  558, 526,  554, 548,  532, 548,  532, 528,  552, 548,  532, 1606,  558, 528,  552, 548,  532, 548,  532, 526,  554, 1606,  558, 526,  554, 528,  554, 1606,  556, 526,  552, 1606,  558};  // TOSHIBA_ACuint8_t state[7] = {0xF2, 0x0D, 0x01, 0xFE, 0x21, 0x04, 0x25};

Swing Step

Timestamp : 000013.760Library   : v2.7.15
Protocol  : TOSHIBA_ACCode      : 0xF20D01FE210021 (56 Bits)Mesg Desc.: Temp: 17C, Swing(V): 0 (Step)
uint16_t rawData[115] = {4414, 4366,  556, 1606,  556, 1630,  532, 1606,  556, 1606,  556, 526,  554, 548,  532, 1606,  558, 548,  532, 546,  532, 548,  532, 548,  532, 548,  532, 1604,  558, 1606,  558, 548,  532, 1606,  556, 550,  532, 526,  554, 548,  532, 548,  532, 526,  554, 548,  532, 548,  532, 1606,  556, 1604,  556, 1606,  558, 1606,  556, 1604,  558, 1606,  556, 1604,  558, 1606,  558, 548,  532, 526,  554, 548,  532, 1632,  530, 548,  532, 548,  532, 548,  532, 526,  554, 1604,  556, 528,  554, 548,  532, 526,  554, 526,  554, 548,  532, 526,  554, 548,  532, 526,  554, 548,  532, 526,  554, 1606,  556, 526,  554, 526,  554, 548,  532, 526,  554, 1606,  556};  // TOSHIBA_ACuint8_t state[7] = {0xF2, 0x0D, 0x01, 0xFE, 0x21, 0x00, 0x21};

What brand/model IR demodulator are you using?

VS1838B

Circuit diagram and hardware used (if applicable)

Link to an image of the circuit diagram used. Part number of the IR receiver module etc. ESP8266 or ESP32 board type.

I have followed the steps in the [Troubleshooting Guide]

Yes

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions