Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mitsubishi] Not work Power OFF command #1402

Closed
nao-pon opened this issue Feb 4, 2021 · 11 comments
Closed

[Mitsubishi] Not work Power OFF command #1402

nao-pon opened this issue Feb 4, 2021 · 11 comments

Comments

@nao-pon
Copy link

nao-pon commented Feb 4, 2021

Version/revision of the library used

Current master
ab466e4

Describe the bug

Brand: Mitsubishi Electric, Model: MLZ-RX5017AS A/C (MITSUBISHI_AC)
Brand: Mitsubishi Electric, Model: SG153/M21EDF426 remote (MITSUBISHI_AC)

It is not possible to turn off the air conditioner with the above devices.

Example code used

IRrecvDumpV3

Expected behaviour

Hope we can turn it off with this library

Output of raw data from [IRrecvDumpV3.ino]

Timestamp : 000108.206
Library   : v2.7.14

Protocol  : MITSUBISHI_AC
Code      : 0x23CB26010020080400C05D00000803000069 (144 Bits)
Mesg Desc.: Power: On, Mode: 1 (Heat), Temp: 20C, Fan: 0 (Auto), Swing(V): 0 (Auto), Swing(H): 0 (UNKNOWN), Clock: 15:30, On Timer: 00:00, Off Timer: 00:00, Timer: -
uint16_t rawData[583] = {3396, 1632,  462, 1214,  462, 1214,  462, 398,  440, 376,  462, 398,  438, 1214,  462, 376,  462, 376,  460, 1214,  462, 1236,  438, 398,  438, 1212,  462, 376,  462, 376,  460, 1216,  460, 1214,  462, 398,  440, 1212,  462, 1236,  438, 376,  462, 378,  460, 1216,  460, 376,  462, 374,  464, 1212,  462, 398,  440, 374,  462, 376,  462, 376,  460, 398,  438, 398,  438, 374,  464, 398,  438, 378,  458, 378,  460, 376,  460, 376,  460, 376,  460, 398,  438, 400,  438, 376,  462, 378,  460, 376,  460, 378,  460, 400,  438, 1214,  462, 376,  462, 398,  438, 376,  462, 376,  462, 376,  460, 1214,  460, 400,  438, 376,  462, 378,  460, 376,  460, 376,  462, 376,  460, 1214,  462, 376,  462, 376,  462, 400,  438, 374,  462, 378,  460, 376,  460, 374,  462, 376,  462, 376,  462, 374,  462, 376,  462, 376,  462, 376,  462, 398,  438, 376,  460, 376,  462, 376,  460, 376,  462, 376,  462, 1214,  460, 1238,  438, 1212,  464, 378,  458, 1216,  460, 1236,  438, 1238,  438, 376,  460, 1214,  462, 400,  438, 376,  462, 374,  462, 376,  460, 376,  460, 378,  460, 376,  460, 376,  460, 400,  438, 376,  462, 398,  438, 376,  462, 378,  460, 376,  460, 378,  460, 378,  458, 376,  460, 376,  462, 376,  460, 378,  460, 1212,  462, 376,  460, 378,  460, 376,  462, 374,  462, 1236,  438, 1214,  462, 376,  436, 426,  438, 378,  460, 376,  460, 400,  438, 378,  460, 376,  460, 400,  438, 378,  458, 378,  460, 376,  460, 378,  460, 400,  438, 376,  460, 376,  460, 398,  438, 376,  460, 376,  460, 400,  438, 376,  462, 376,  460, 376,  460, 1238,  438, 376,  462, 400,  438, 1236,  438, 378,  460, 1238,  438, 1214,  460, 376,  460, 11278,  3372, 1680,  438, 1214,  462, 1238,  438, 376,  462, 378,  460, 400,  438, 1214,  460, 376,  462, 398,  438, 1238,  438, 1236,  438, 376,  462, 1216,  460, 376,  460, 400,  436, 1238,  438, 1216,  460, 378,  460, 1214,  462, 1214,  462, 376,  460, 400,  438, 1214,  460, 376,  460, 376,  460, 1216,  460, 376,  462, 376,  460, 374,  462, 378,  460, 376,  460, 376,  462, 400,  436, 378,  460, 378,  460, 376,  460, 398,  438, 376,  434, 426,  438, 400,  436, 402,  410, 406,  432, 404,  434, 402,  460, 376,  434, 404,  434, 1240,  436, 426,  438, 376,  436, 404,  460, 376,  462, 378,  460, 1214,  462, 400,  438, 400,  436, 376,  460, 378,  432, 404,  434, 404,  460, 1216,  458, 400,  412, 404,  460, 376,  460, 376,  460, 378,  460, 378,  432, 426,  412, 404,  458, 378,  460, 376,  460, 376,  434, 404,  460, 376,  462, 378,  460, 378,  434, 404,  458, 378,  434, 404,  434, 404,  434, 1240,  462, 1236,  438, 1238,  438, 378,  460, 1216,  458, 1216,  460, 1214,  460, 380,  458, 1214,  460, 378,  434, 404,  460, 378,  460, 378,  458, 376,  460, 376,  462, 376,  460, 376,  460, 376,  434, 404,  460, 378,  458, 378,  460, 398,  438, 378,  460, 378,  458, 378,  458, 400,  438, 376,  434, 426,  438, 378,  434, 1242,  460, 376,  460, 378,  460, 378,  460, 378,  458, 1214,  462, 1214,  460, 380,  458, 376,  460, 378,  460, 380,  458, 400,  438, 378,  458, 378,  460, 400,  438, 378,  432, 426,  412, 404,  458, 376,  434, 404,  434, 426,  438, 398,  438, 400,  438, 378,  460, 378,  432, 404,  460, 378,  458, 400,  412, 426,  412, 1240,  460, 378,  460, 376,  434, 1240,  460, 378,  434, 1240,  462, 1214,  462, 376,  460};  // MITSUBISHI_AC
uint8_t state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x20, 0x08, 0x04, 0x00, 0xC0, 0x5D, 0x00, 0x00, 0x08, 0x03, 0x00, 0x00, 0x69};


Timestamp : 000127.869
Library   : v2.7.14

Protocol  : MITSUBISHI_AC
Code      : 0x23CB26010000080400C05D00000803000049 (144 Bits)
Mesg Desc.: Power: Off, Mode: 1 (Heat), Temp: 20C, Fan: 0 (Auto), Swing(V): 0 (Auto), Swing(H): 0 (UNKNOWN), Clock: 15:30, On Timer: 00:00, Off Timer: 00:00, Timer: -
uint16_t rawData[583] = {3374, 1632,  460, 1214,  460, 1238,  438, 374,  462, 376,  462, 374,  464, 1212,  462, 376,  462, 374,  464, 1214,  462, 1216,  460, 376,  462, 1236,  438, 374,  464, 374,  464, 1236,  438, 1236,  438, 374,  464, 1236,  438, 1214,  462, 374,  462, 374,  464, 1238,  438, 376,  462, 374,  462, 1238,  410, 402,  464, 374,  462, 374,  462, 374,  462, 398,  438, 374,  462, 376,  462, 374,  462, 374,  462, 374,  462, 376,  462, 374,  462, 376,  462, 374,  462, 376,  462, 398,  438, 376,  462, 376,  462, 374,  462, 376,  460, 374,  462, 376,  460, 376,  462, 374,  462, 376,  462, 374,  464, 1216,  458, 376,  462, 374,  462, 374,  462, 376,  462, 376,  460, 374,  464, 1214,  462, 374,  462, 374,  464, 374,  464, 374,  462, 376,  460, 376,  462, 374,  462, 374,  462, 374,  462, 376,  462, 376,  462, 374,  462, 398,  438, 376,  462, 376,  462, 374,  464, 376,  462, 376,  462, 376,  462, 1216,  460, 1214,  462, 1214,  462, 374,  462, 1236,  438, 1212,  464, 1214,  462, 374,  462, 1214,  462, 374,  462, 376,  462, 376,  462, 376,  462, 374,  462, 376,  462, 374,  462, 376,  462, 374,  462, 376,  462, 374,  462, 374,  464, 374,  462, 398,  440, 376,  462, 374,  462, 376,  462, 376,  462, 374,  462, 398,  438, 1214,  460, 376,  462, 378,  460, 378,  460, 374,  462, 1238,  438, 1236,  438, 374,  464, 374,  462, 376,  462, 374,  462, 374,  462, 398,  438, 374,  464, 398,  438, 400,  438, 376,  462, 374,  462, 376,  462, 376,  460, 376,  462, 374,  462, 374,  464, 398,  440, 374,  464, 374,  462, 374,  462, 374,  460, 376,  410, 1266,  462, 376,  462, 376,  462, 1212,  464, 376,  460, 376,  460, 1238,  438, 374,  462, 11310,  3372, 1656,  438, 1214,  462, 1238,  438, 376,  462, 398,  440, 374,  462, 1236,  438, 374,  462, 376,  460, 1214,  462, 1236,  438, 376,  462, 1214,  460, 376,  462, 374,  462, 1214,  462, 1214,  462, 374,  462, 1216,  460, 1214,  462, 374,  462, 376,  460, 1214,  462, 376,  462, 376,  460, 1214,  462, 376,  462, 376,  462, 374,  464, 374,  462, 374,  464, 374,  462, 376,  462, 376,  462, 376,  462, 374,  464, 376,  462, 374,  462, 374,  462, 376,  462, 374,  462, 376,  462, 376,  462, 398,  438, 376,  462, 374,  462, 376,  462, 376,  462, 374,  462, 376,  462, 376,  462, 376,  462, 1214,  460, 376,  462, 374,  462, 376,  460, 376,  462, 378,  460, 376,  460, 1216,  460, 376,  460, 376,  462, 376,  462, 376,  462, 376,  462, 378,  460, 376,  462, 374,  462, 376,  462, 376,  462, 374,  462, 376,  462, 376,  462, 374,  462, 376,  462, 374,  462, 376,  430, 404,  464, 376,  462, 1216,  460, 1214,  460, 1214,  462, 376,  462, 1214,  462, 1214,  462, 1238,  436, 376,  462, 1214,  460, 376,  462, 376,  462, 374,  462, 376,  462, 376,  460, 376,  462, 376,  462, 374,  462, 376,  462, 376,  462, 376,  462, 398,  438, 376,  462, 374,  462, 374,  462, 398,  440, 376,  462, 398,  438, 374,  464, 376,  462, 1216,  460, 374,  462, 376,  460, 374,  464, 376,  462, 1236,  438, 1238,  438, 376,  462, 376,  460, 398,  438, 376,  462, 376,  462, 374,  462, 374,  462, 376,  460, 376,  462, 374,  462, 376,  462, 376,  462, 376,  462, 376,  462, 374,  462, 376,  462, 376,  460, 376,  462, 376,  462, 374,  462, 376,  460, 376,  462, 1216,  460, 376,  462, 376,  460, 1216,  460, 376,  462, 374,  462, 1238,  438, 376,  460};  // MITSUBISHI_AC
uint8_t state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x00, 0x08, 0x04, 0x00, 0xC0, 0x5D, 0x00, 0x00, 0x08, 0x03, 0x00, 0x00, 0x49};

What brand/model IR demodulator are you using?

HX1838: However, there seems to be no problem with the decoded data.

I have followed the steps in the Troubleshooting Guide & read the FAQ

Yes

Has this library/code previously worked as expected for you?

No

@nao-pon
Copy link
Author

nao-pon commented Feb 4, 2021

Brand: Mitsubishi Electric, Model: MSZ-GV2519 A/C (MITSUBISHI_AC)
Brand: Mitsubishi Electric, Model: RH151/M21ED6426 remote (MITSUBISHI_AC)

The above devices can be turned off with the current library without any problems.

The dump is shown below, but it seems that Mode is not OFF when turning it off with my Mitsubishi air conditioners.

Timestamp : 001256.125
Library   : v2.7.14

Protocol  : MITSUBISHI_AC
Code      : 0x23CB260100200804304000000000040000B5 (144 Bits)
Mesg Desc.: Power: On, Mode: 1 (Heat), Temp: 20C, Fan: 0 (Auto), Swing(V): 0 (Auto), Swing(H): 3 (Middle), Clock: 00:00, On Timer: 00:00, Off Timer: 00:00, Timer: -
uint16_t rawData[583] = {3444, 1676,  456, 1240,  458, 1242,  456, 394,  454, 394,  454, 394,  454, 1242,  456, 418,  430, 394,  454, 1240,  458, 1242,  458, 394,  454, 1240,  458, 394,  454, 394,  454, 1240,  458, 1240,  456, 394,  454, 1242,  456, 1240,  458, 394,  454, 394,  454, 1242,  456, 394,  454, 394,  454, 1240,  458, 396,  452, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 392,  452, 394,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1242,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1242,  456, 1240,  458, 394,  454, 394,  454, 394,  456, 392,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1242,  456, 394,  454, 1240,  458, 394,  454, 1240,  458, 1238,  458, 394,  454, 1240,  456, 12950,  3446, 1676,  456, 1240,  456, 1240,  458, 394,  454, 394,  454, 394,  454, 1242,  456, 394,  454, 394,  454, 1242,  454, 1242,  456, 394,  454, 1242,  456, 394,  454, 394,  454, 1240,  458, 1242,  456, 394,  454, 1242,  456, 1240,  458, 394,  454, 394,  454, 1242,  456, 394,  454, 394,  456, 1240,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 392,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 1242,  456, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 1242,  456, 1242,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  456, 394,  454, 394,  454, 394,  534, 314,  454, 420,  430, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 392,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 392,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 1242,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 392,  454, 1242,  458, 394,  454, 1240,  458, 394,  454, 1240,  458, 1240,  456, 394,  454, 1240,  458};  // MITSUBISHI_AC
uint8_t state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x20, 0x08, 0x04, 0x30, 0x40, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0xB5};


Timestamp : 001257.598
Library   : v2.7.14

Protocol  : MITSUBISHI_AC
Code      : 0x23CB26010000080430400000000004000095 (144 Bits)
Mesg Desc.: Power: Off, Mode: 1 (Heat), Temp: 20C, Fan: 0 (Auto), Swing(V): 0 (Auto), Swing(H): 3 (Middle), Clock: 00:00, On Timer: 00:00, Off Timer: 00:00, Timer: -
uint16_t rawData[583] = {3444, 1674,  434, 1266,  458, 1242,  456, 394,  454, 394,  454, 394,  454, 1240,  458, 396,  454, 394,  454, 1240,  458, 1240,  458, 394,  454, 1242,  456, 394,  454, 394,  454, 1242,  456, 1240,  456, 394,  454, 1240,  458, 1242,  456, 396,  454, 394,  454, 1242,  456, 394,  454, 418,  430, 1244,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 392,  454, 1242,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 1242,  456, 1240,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 392,  454, 392,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1242,  456, 394,  454, 1242,  456, 394,  456, 1242,  456, 394,  454, 394,  454, 1240,  458, 12952,  3444, 1676,  456, 1240,  458, 1242,  456, 394,  454, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 1240,  458, 1240,  458, 394,  456, 1240,  456, 394,  454, 394,  456, 1240,  456, 1240,  458, 394,  454, 1242,  458, 1240,  458, 396,  454, 394,  454, 1242,  456, 394,  454, 394,  454, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  456, 394,  476, 370,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 1242,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1242,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  458, 1240,  458, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1242,  458, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 396,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  456, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 394,  454, 1240,  456, 394,  454, 1240,  458, 394,  454, 1240,  458, 392,  456, 394,  454, 1240,  458};  // MITSUBISHI_AC
uint8_t state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x00, 0x08, 0x04, 0x30, 0x40, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x95};

@crankyoldgit
Copy link
Owner

First off, I'm confused by how you are explaining the issue(s). Please be more verbose and explain more what you are doing, and what the steps are, and what the results are.

For instance, are the captures you have provided, from the remote or from the ESP? (Please be more detail and verbose)
What do you mean by "it seems that Mode is not OFF when turning it off"? (expand and explain)

What are the sequences you are doing/code you are using to generate IR messages. (please include the smallest possible/practical example so I can reproduce your problem)

@nao-pon
Copy link
Author

nao-pon commented Feb 4, 2021

Sorry for lack of explanation.

The problem is that I can't turn off the air conditioner with the commands I send from this library.
This problem only occurs with one of the two types of Mitsubishi air conditioners I have.

it seems that Mode is not OFF when turning it off with my Mitsubishi air conditioners.

This was my misunderstanding.

Below is a dump of the commands sent by this library. It says "Power: Off, Mode: 4 (Auto)", but one air conditioner does not seem to accept "Mode: 4 (Auto)". By setting this to "Power: Off, Mode: 1 (Heat)", I was able to turn off the air conditioner.

Timestamp : 003803.431
Library   : v2.7.14

Protocol  : MITSUBISHI_AC
Code      : 0x23CB26010000200230C0670000000000008E (144 Bits)
Mesg Desc.: Power: Off, Mode: 4 (Auto), Temp: 18C, Fan: 0 (Auto), Swing(V): 0 (Auto), Swing(H): 3 (Middle), Clock: 17:10, On Timer: 00:00, Off Timer: 00:00, Timer: -
uint16_t rawData[583] = {3402, 1768,  476, 1286,  478, 1280,  478, 404,  476, 428,  452, 404,  474, 1282,  478, 406,  474, 410,  474, 1282,  480, 1280,  478, 406,  474, 1282,  478, 428,  452, 428,  450, 1282,  478, 1282,  478, 406,  474, 1282,  478, 1282,  478, 406,  474, 404,  474, 1284,  476, 404,  474, 430,  452, 1282,  478, 406,  474, 406,  474, 404,  474, 404,  474, 406,  474, 404,  474, 406,  474, 428,  450, 404,  476, 406,  474, 406,  474, 404,  474, 404,  474, 404,  476, 404,  476, 404,  474, 404,  476, 404,  476, 404,  474, 404,  474, 406,  474, 404,  474, 406,  474, 428,  452, 404,  474, 404,  474, 406,  474, 404,  474, 1282,  454, 428,  476, 428,  452, 404,  474, 1282,  478, 404,  474, 404,  474, 406,  474, 404,  476, 404,  474, 406,  474, 404,  474, 404,  474, 404,  474, 404,  476, 1282,  476, 1282,  478, 404,  474, 406,  474, 404,  474, 406,  474, 404,  474, 406,  474, 404,  476, 404,  474, 1282,  478, 1282,  478, 1282,  478, 1282,  478, 1282,  478, 404,  474, 404,  474, 1282,  478, 1282,  478, 406,  474, 404,  476, 406,  474, 404,  474, 404,  476, 428,  450, 404,  476, 404,  476, 404,  476, 404,  474, 404,  476, 404,  476, 404,  474, 404,  474, 406,  474, 404,  474, 430,  450, 404,  476, 404,  476, 404,  476, 404,  474, 404,  474, 404,  474, 404,  476, 404,  476, 404,  474, 404,  474, 404,  476, 404,  474, 404,  476, 404,  476, 404,  474, 406,  474, 404,  476, 404,  476, 404,  474, 406,  474, 404,  476, 404,  474, 404,  474, 406,  474, 406,  474, 404,  474, 404,  474, 404,  476, 404,  474, 404,  476, 404,  476, 404,  476, 406,  474, 1282,  476, 1282,  478, 1282,  478, 404,  476, 404,  474, 404,  474, 1282,  474, 17226,  3408, 1746,  478, 1286,  478, 1282,  478, 404,  474, 404,  474, 406,  474, 1282,  476, 406,  474, 404,  476, 1282,  478, 1282,  478, 404,  474, 1280,  478, 404,  476, 404,  474, 1282,  478, 1282,  478, 404,  474, 1282,  478, 1282,  478, 404,  476, 404,  474, 1282,  478, 404,  474, 406,  474, 1282,  478, 404,  476, 404,  476, 404,  476, 404,  474, 404,  476, 404,  474, 406,  474, 428,  452, 404,  476, 406,  474, 404,  476, 404,  474, 404,  474, 404,  476, 406,  474, 404,  474, 404,  474, 406,  474, 404,  474, 404,  476, 404,  476, 404,  474, 406,  476, 404,  474, 404,  474, 404,  476, 404,  476, 404,  474, 1282,  478, 404,  476, 406,  474, 404,  476, 1282,  478, 404,  474, 404,  476, 404,  476, 404,  474, 404,  474, 406,  476, 404,  476, 404,  474, 404,  476, 404,  476, 1282,  476, 1282,  478, 404,  474, 406,  474, 404,  476, 404,  476, 404,  474, 406,  474, 404,  476, 404,  474, 1282,  478, 1282,  478, 1282,  478, 1280,  452, 1308,  490, 390,  476, 402,  476, 1282,  478, 1282,  478, 404,  476, 402,  474, 404,  476, 404,  476, 402,  476, 404,  476, 404,  476, 404,  474, 406,  474, 406,  474, 404,  476, 404,  474, 404,  476, 404,  476, 406,  474, 404,  476, 404,  476, 404,  476, 404,  474, 406,  474, 404,  474, 404,  476, 404,  482, 396,  474, 406,  474, 404,  476, 404,  474, 404,  476, 428,  434, 420,  480, 400,  482, 394,  476, 406,  474, 404,  474, 406,  474, 404,  476, 404,  474, 404,  476, 404,  474, 404,  474, 406,  474, 404,  476, 404,  474, 404,  476, 404,  476, 404,  474, 404,  476, 402,  476, 404,  476, 404,  474, 1282,  478, 1282,  478, 1282,  478, 406,  474, 404,  476, 404,  476, 1282,  476};  // MITSUBISHI_AC
uint8_t state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x00, 0x20, 0x02, 0x30, 0xC0, 0x67, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8E};


Timestamp : 003809.025
Library   : v2.7.14

Protocol  : MITSUBISHI_AC
Code      : 0x23CB26010020080230C06700000000000096 (144 Bits)
Mesg Desc.: Power: On, Mode: 1 (Heat), Temp: 18C, Fan: 0 (Auto), Swing(V): 0 (Auto), Swing(H): 3 (Middle), Clock: 17:10, On Timer: 00:00, Off Timer: 00:00, Timer: -
uint16_t rawData[583] = {3354, 1788,  478, 1286,  478, 1282,  478, 428,  452, 428,  452, 404,  476, 1280,  478, 404,  476, 410,  474, 1282,  476, 1282,  478, 404,  474, 1282,  478, 404,  476, 404,  474, 1282,  478, 1282,  478, 404,  476, 1280,  478, 1282,  478, 428,  450, 406,  474, 1280,  478, 404,  474, 406,  476, 1280,  478, 404,  476, 402,  474, 428,  452, 428,  452, 404,  474, 404,  476, 404,  476, 404,  474, 404,  474, 406,  474, 404,  476, 404,  476, 404,  474, 404,  474, 406,  474, 406,  474, 404,  474, 404,  474, 406,  474, 404,  474, 1280,  478, 404,  476, 406,  474, 404,  474, 404,  474, 406,  474, 1282,  478, 404,  476, 406,  474, 428,  450, 406,  474, 404,  476, 1282,  478, 404,  474, 404,  476, 404,  474, 404,  476, 428,  452, 406,  474, 404,  474, 404,  476, 404,  476, 404,  474, 1280,  480, 1282,  476, 404,  474, 406,  476, 404,  474, 404,  474, 404,  476, 428,  452, 404,  474, 404,  476, 1280,  478, 1282,  478, 1284,  476, 1282,  478, 1280,  480, 404,  476, 404,  474, 1282,  478, 1282,  560, 320,  452, 426,  478, 404,  476, 404,  476, 428,  450, 404,  476, 404,  476, 404,  474, 406,  474, 406,  474, 404,  474, 404,  474, 404,  476, 404,  474, 428,  452, 428,  450, 404,  476, 404,  474, 404,  476, 404,  474, 406,  474, 404,  476, 404,  474, 404,  474, 406,  474, 406,  474, 404,  476, 404,  474, 406,  474, 404,  476, 404,  476, 404,  476, 404,  476, 404,  476, 404,  474, 406,  474, 404,  476, 404,  474, 404,  476, 404,  474, 406,  474, 404,  476, 404,  476, 404,  474, 404,  476, 404,  474, 404,  474, 402,  476, 406,  476, 404,  476, 1280,  478, 1282,  478, 404,  474, 1282,  478, 404,  476, 428,  452, 1282,  474, 17218,  3408, 1740,  478, 1286,  478, 1282,  478, 404,  476, 404,  476, 404,  476, 1282,  478, 404,  474, 430,  452, 1282,  476, 1282,  478, 404,  474, 1282,  478, 404,  476, 404,  474, 1282,  478, 1282,  478, 404,  476, 1282,  478, 1282,  564, 342,  426, 430,  476, 1280,  478, 404,  476, 406,  474, 1282,  478, 404,  476, 404,  474, 404,  474, 406,  474, 404,  476, 404,  476, 428,  452, 404,  476, 404,  474, 404,  476, 402,  476, 404,  476, 404,  474, 404,  476, 404,  476, 428,  450, 404,  474, 406,  474, 404,  474, 404,  474, 1282,  478, 404,  474, 406,  476, 404,  476, 404,  474, 404,  476, 1282,  478, 404,  474, 406,  474, 404,  474, 404,  476, 404,  476, 1282,  478, 404,  476, 404,  476, 404,  474, 404,  474, 404,  476, 404,  476, 404,  474, 404,  474, 404,  476, 404,  476, 1282,  478, 1282,  478, 404,  476, 406,  474, 404,  476, 404,  476, 404,  474, 404,  476, 404,  474, 404,  474, 1282,  478, 1282,  478, 1282,  478, 1282,  478, 1282,  478, 404,  474, 404,  476, 1282,  478, 1282,  478, 406,  476, 404,  476, 404,  474, 404,  474, 404,  476, 404,  474, 404,  476, 402,  476, 406,  474, 404,  474, 404,  476, 404,  476, 404,  474, 406,  474, 404,  476, 404,  474, 404,  476, 404,  476, 404,  476, 404,  474, 404,  476, 404,  476, 404,  474, 404,  476, 404,  476, 404,  474, 404,  476, 404,  476, 406,  474, 404,  476, 404,  474, 404,  474, 406,  476, 404,  476, 404,  558, 318,  452, 430,  476, 404,  476, 404,  474, 404,  476, 404,  476, 404,  476, 404,  476, 404,  476, 404,  474, 406,  474, 404,  476, 404,  474, 406,  476, 404,  476, 1282,  476, 1282,  478, 404,  474, 1282,  478, 404,  476, 404,  474, 1282,  474};  // MITSUBISHI_AC
uint8_t state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x20, 0x08, 0x02, 0x30, 0xC0, 0x67, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x96};

@crankyoldgit
Copy link
Owner

"Power: Off, Mode: 4 (Auto)" ... [SNIP] ... By setting this to "Power: Off, Mode: 1 (Heat)", I was able to turn off the air conditioner.

Okay, but how are you telling it to go to these modes? Please provide the code and/or detailed instructions/steps etc. There are multiple ways you could be doing this and I can't reproduce or diagnose the path without knowing this.

@nao-pon
Copy link
Author

nao-pon commented Feb 4, 2021

I'm currently controlling with Tasmota --https://github.com/hristo-atanasov/Tasmota-IRHVAC --HomeAssistant.

When I send the OFF command in this environment, it is sent with his MQTT payload as follows.

{"Vendor":"MITSUBISHI_AC","Model":-1,"Mode":"Off","Power":"Off","Celsius":"On","Temp":18,"FanSpeed":"Auto","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}

I was able to turn off the air conditioner by sending this payload part as follows:

{"Vendor":"MITSUBISHI_AC","Model":-1,"Mode":"Heat","Power":"Off","Celsius":"On","Temp":18,"FanSpeed":"Auto","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"Off","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}

@nao-pon
Copy link
Author

nao-pon commented Feb 4, 2021

@crankyoldgit Is this a problem with Tasmota-IRHVAC?

@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 4, 2021

I don't know yet. This is why we prefer people using our tools/examples or providing code as it eliminates a whole layer of complexity/potential bugs/problems. i.e. We don't debug other people's code unless it's trivially small.

@nao-pon
Copy link
Author

nao-pon commented Feb 4, 2021

Yes, I'm sorry to report the problem in an ambiguous state. Also, thank you for taking your precious time.

If this library does not specify the mode when turning off the air conditioner and you need instructions from the user, I think this is a problem with Tasmota-IRHVAC.

@nao-pon
Copy link
Author

nao-pon commented Feb 4, 2021

I found the cause of this problem in Tasmota. When Power is Off, Mode is forcibly rewritten to Off.

https://github.com/arendst/Tasmota/blob/62c95122f2d5c9fcfe3ec9dac32b072844db7db5/tasmota/xdrv_05_irremote_full.ino#L206-L213

I rewrote this as follows, and now I can control it by issuing the appropriate command in Tasmota-IRHVAC.

  // Home Assistant wants mode to be off if power is also off & vice-versa.
  if (state.mode == stdAc::opmode_t::kOff || !state.power) {
    json.add(PSTR(D_JSON_IRHVAC_MODE), IRac::opmodeToString(state.mode));
    json.add(PSTR(D_JSON_IRHVAC_POWER),  IRac::boolToString(false));
  } else {
    json.add(PSTR(D_JSON_IRHVAC_MODE), IRac::opmodeToString(state.mode));
    json.add(PSTR(D_JSON_IRHVAC_POWER), IRac::boolToString(state.power));
  }

nao-pon added a commit to nao-pon/Tasmota that referenced this issue Feb 4, 2021
Power and mode must be individually controllable. Some devices may not function properly if the mode is also turned off when the power is turned off.

see. crankyoldgit/IRremoteESP8266#1402
@crankyoldgit
Copy link
Owner

crankyoldgit commented Feb 4, 2021

I found the cause of this problem in Tasmota. When Power is Off, Mode is forcibly rewritten to Off.

Yes, This is typically required because Home Assistant likes it to look that way.
Setting both to Power & Mode to "Off" should result in the internal MitsubishiAC class attempting to change it's Mode to Off (which doesn't exist so it will default to "Auto") and changing the Power state to off.
This should (still) produce a valid "Power off the AC" message.

So you may be barking up the wrong tree.

@nao-pon
Copy link
Author

nao-pon commented Feb 4, 2021

For the time being, I made a PR for Tasmota. HomeAssistant core-2021.1.5 doesn't seem to have any problems.

Thank you very much.

@nao-pon nao-pon closed this as completed Feb 4, 2021
nao-pon added a commit to nao-pon/Tasmota-IRHVAC that referenced this issue Feb 4, 2021
The final mode other than OFF is retained, and it can be saved and
restored. This will do the following:

- From the OFF state, when the Turn on command is accepted, the
operation starts in the previous mode.
- With the option "keep_mode_when_off: True", when sending an OFF
command, only Power is Off and Mode sends the previous mode.
  - crankyoldgit/IRremoteESP8266#1402
  - arendst/Tasmota#10829
Jason2866 added a commit to Jason2866/Tasmota that referenced this issue Feb 12, 2021
* Prep ESP32S2

* LITTLEFS.h casing for ESP32

* Publish more precise Free Heap metric

* Zigbee command ``ZbScan`` to do an energy scan on each radio channel

* Reduce code size

* fix i2s audio

* Update AudioOutputI2SNoDAC.cpp

* Allows individual control of power and mode

Power and mode must be individually controllable. Some devices may not function properly if the mode is also turned off when the power is turned off.

see. crankyoldgit/IRremoteESP8266#1402

* Prep ESP32S2

* Add fragmentation translations

* ESP32 increase number of relay GPIOs from 8 to 28

* Add Server to HTTP header (arendst#10831)

* BLE_ESP32 (xdrv_79): Start scan as soon as we are connected to a device - saves missing a few adverts.
iBeacon (xdrv_52): Clean up BLE_ESP32 based driver; add commands and advert timing.  Remove HM10 code - it's in the other one.....

* Add timeout initialise

* Add additional #if for CONFIG_IDF_TARGET_ESP32

* update comment

* Increase number of switch GPIOs from 8 to 28

* Increase number of button GPIOs from 4 to 8

* Allow BLE when ethernet only connected

Allow BLE when ethernet only connected (arendst#10753)

* ESP32 Increase number of interlock groups from 4 to 14

- Removed migration support for versions before v8.1.0 (Doris)
- ESP32 Increase number of interlock groups from 4 to 14

* Clean settings code

* Increase ESP32 SwitchText to 28

* Fix long SwitchText message logging

* Update Italian language

* Platformio esp8266 2.6.3

* Platformio esp8266 2.6.3

* Update af_AF.h

* Create fy_NL.h

* Update fy_NL.h

* Update platformio.ini

* Update platformio_tasmota32.ini

* Update platformio_tasmota_env.ini

* Update platformio_tasmota_env.ini

* Update platformio_tasmota_env32.ini

* Update af_AF.h

* Update fy_NL.h

* Applied standardization to WiFi

Changed Wifi and wifi to WiFi for the purpose of standardization

* Corrected some Dutch words

onmiddelijk requires a double L.
i and e where wrongfully ordered in Windsnelheid.

* Update nl_NL.h

* update max31855 json temperature name publication

For using the thermostat function, publication of the measured temperature was using the wrong name. Changed to the common used name.

* Add read buffer function to TasmotaSerial

* if pulse is not specified, let the lib use its default value

* Preview of Berry language for Tasmota32

* sns_53_sml: make ebus correctly interpret signed values

Signed-off-by: Sven Ebenfeld <[email protected]>

* xsns_53_sml: add option to emit ebus sync only telegrams

Signed-off-by: Sven Ebenfeld <[email protected]>

* fix wrong test on pulse

* add variant FY and build map files

* Add files via upload

* Update Tasmota_build_master.yml

* Update Tasmota_build_master.yml

* Consolidate ESP specific functions

* Enable higher PWM frequencies for ESP32

LEDC peripheral of ESP32 allows higher PWM frequencies than the ESP8266.

Higher frequencies come with reduced available bit depth (as by https://esphome.io/components/output/ledc.html).

New max value of 50 kHz to include at least the frequency for 4-pin pwm fans and a bit more.

* Add no_share_mask support, DevGroupSend channels in hex, AND/OR operators, Use dynamic log buffer

* Add support for transistor-based output without DAC

Add support for transistor-based output without DAC (arendst#10875)

* Add SDM72 Modbus energy meter

* Update xdrv_27_shutter.ino

* Update xdrv_27_shutter.ino

Fix shutter pwm command to include device number and update loggin information.

* Prepare RISCV

* Add DGR device map support

* Use device map for received power item

* Update xdrv_27_shutter.ino

Add #define to turn off servo in ShutterPowerOff.

* Rename DevGroupDevice to DevGroupTie

* Use # prefix for color channel hex value

* Fix DevGroupSend invert operator default value

* Bring ModeSet value out of the for loop, this ModeSet is repeated for every other value on the webpage.

* move renderer, add touch display slider

* warning if ESP8266 firmware is too big

* Bump version to 9.2.0.7

* Default disable ESP32 BLE due to instabilities

* Fix NTC calculation for ESP32

Fix NTC calculation for ESP32 (arendst#10906)

* Use Arduino ESP32-S2 RC6

* fix teleinfo standard mode

* add 7 seg number font

* better impl of ebus negative values

* json subroutines, sendmail shortcut

* tasmota32-ble

* Tasmota variant ESP32 bluetooth

* Add dummy fade2 (arendst#10916)

* Delete xdrv_85_esp32_bluetooth.ino

No need for this file and it takes up precious driver numbers.

* correct order

* Delete tasmota_template.h

* Update tasmota_template.h

* Update tasmota_configurations_ESP32.h

* Update tasmota_template.h

* bluetooth in repo firmware

* bluettoth in branch release-firmware

Co-authored-by: Theo Arends <[email protected]>
Co-authored-by: Barbudor <[email protected]>
Co-authored-by: Stephan Hadinger <[email protected]>
Co-authored-by: s-hadinger <[email protected]>
Co-authored-by: gemu2015 <[email protected]>
Co-authored-by: Naoki Sawada <[email protected]>
Co-authored-by: Simon Hailes <[email protected]>
Co-authored-by: bovirus <[email protected]>
Co-authored-by: crispy78 <[email protected]>
Co-authored-by: RvDesign <[email protected]>
Co-authored-by: Sven Ebenfeld <[email protected]>
Co-authored-by: Thomas A <[email protected]>
Co-authored-by: Paul C Diem <[email protected]>
Co-authored-by: Norbert Richter <[email protected]>
Co-authored-by: mikep1998 <[email protected]>
Co-authored-by: Yves De Muyter <[email protected]>
Jason2866 added a commit to Jason2866/Tasmota that referenced this issue Feb 12, 2021
* Fix compile error on enable sensor debug

* Update NeoPool support extended types

* Fix redox unit

* Fix hydrolysis unit

* HA discovery via MQTT for BLE MI sensor devices

* Add 'MI32Option5 1' to only accept sensors if they have a BLEAlias

* Refactor TX2x sensor float outputs

* Clear MI sensors when setting 'mi32Option5 1'

* Document CmndSetoptionBase()

* Fix warnings

* Add light synonyms

Add commands ``ChannelRemap``, ``MultiPWM``, ``AlexaCTRange``, ``PowerOnFade``, ``PWMCT``, ``WhiteBlend``, ``VirtualCT`` as synonyms for ``SetOption37, 68, 82, 91, 92, 105 and 106`` respectively

* Fix compile error

* Refactor dtostrfd

* Refactor dtostrfd

* Add Modbus errorcode

* Add Zigbee SetOption synonyms
Add commands ``ZbNameKey``, ``ZbDeviceTopic``, ``ZbNoPrefix``, ``ZbEndpointSuffix``, ``ZbNoAutoBind``, ``ZbNameTopic`` as synonyms for ``SetOption83, 89, 100, 101, 110 and 112`` respectively

* Make USE_BLE_ESP32 the default for sensors.

* belt and braces fix test failure

* Fix PMS3003 sensor message lenght and CRC chk

* Refactor TX2x sensor

* Refactor ext print usage

* Update changelog

* Clarify file name functionality

* rename + soime explaination

* Add Sensor83 99 cmnd write to eeprom

* Refactor some IP addresses

* Refactor some IP addresses

* Add support for ESP32 ``Module 5`` Wireless Tag Eth01

Add support for ESP32 ``Module 5`` Wireless Tag Eth01 (arendst#9496)

* Add template place holders

* Support trailing silence in buzzer tune

Support trailing silence in buzzer tune (arendst#10694)

* Remove unwanted persistance

* Add commands ``BuzzerActive``, ``BuzzerPwm`` as synonyms for ``SetOption67, 111`` respectively

Add commands ``BuzzerActive``, ``BuzzerPwm`` as synonyms for ``SetOption67, 111`` respectively

* refactor dtostrfd

* add L1MusicSync mode

* cleanup

* Use dgr name for MQTT if SO88

* Added macro for SO synonyms and MQTT

* Add support for once off speed and fade

* Add Sonoff L1 Music Sync control

Add command ``L1MusicSync <0|Off>|<1|On>|<2|Toggle>, 1..10, 1..100>`` to control Sonoff L1 Music Sync mode sensitivity and speed (arendst#10722)

* Initial support for ZStack 3

* Zibee add ``SetOption120 1`` or ``ZbEndpointTopic`` to add the endpoint as suffix in topic when using ``SetOption89 1``

* Respond to fade2 and speed2

* Merge fade2 with speed2

* Forgot changelog update

* Change L1 music sync defaults

* Revert "Merge pull request arendst#10736 from emontnemery/once_off_speed_fade_fix"

This reverts commit aa8a23e, reversing
changes made to f6111e9.

* Update changelog

* Zigbee more synonyms

* Update changelog

* Fix subStr related exceptions

* Zigbee fix ZbNoAutoQuery synonym

* XNRG7 ADE: Set Debug log level from 3 to 4 for ADE comms

It is better for visualization while checking

* In case of lost comms with PZEM, avoid losing Today Energy

* Refactor Sensor83 cmnd

* Add Sensor83 TakeOver cmnd

* fix ip crashes

* Update xdrv_13_display.ino

* Add Sensor83 switch light relay cmnd

* NeoPool cleanup polling

* Refactor command line arguments

* Refactor command line arguments

* Refactor command line arguments

* Refactor command line arguments

* Update stale-actions.yml

* Use espressif32 platformio 3.0.0

* Deleted duplicated entries in i18n.h

The entry: #define D_ZIGBEE_NOT_STARTED "Zigbee not started" is duplicated in i18n.h from all language files. This produces a warning while compiling due to redefinition if changing the language in my_user_config.h

* Return to previous output of IPADDRESS1 command

* Update af_AF.h

* change solo1 to release_v3.3-solo1-bd65eb8d1

* add and fix new string ops in rules

* Add strict rule scale parameters

* Change NeoPool Sensor83 to prop. cmnds

* Add  MAX31865 specific setting per sensor

* Fix IrRemote_Full JSON message (arendst#10680)

* Revert comment

* Add demo for driver/sensor settings file storage (arendst#10786)

* Fix IrRemote_Full JSON hash value (arendst#10680)

* Fix IrRemote_Full JSON leading zeroes (arendst#10680)

* ESP32-S2

* Oops

* s2 toolchain

* Refactor File Settings Demo

* Add optional SSE demo

* Prep support ESP32S2

* ESP32S2 toolchain is there

* Cleanup webserver

* refactor + bugfixes

* Prep ESP32S2

* Fix ETH_ADDR related warning

* Zigbee refactor sending ZCL packets

* fix regression

* Update xsns_62_esp32_mi.ino

* Revert ESP32S2 ethernet defines

* Prep ESP32S2

* Prep ESP32S2

* Prep ESP32S2

* Prep ESP32S2

* LITTLEFS.h casing for ESP32

* Publish more precise Free Heap metric

* Zigbee command ``ZbScan`` to do an energy scan on each radio channel

* Reduce code size

* fix i2s audio

* Update AudioOutputI2SNoDAC.cpp

* Allows individual control of power and mode

Power and mode must be individually controllable. Some devices may not function properly if the mode is also turned off when the power is turned off.

see. crankyoldgit/IRremoteESP8266#1402

* Prep ESP32S2

* Add fragmentation translations

* ESP32 increase number of relay GPIOs from 8 to 28

* Add Server to HTTP header (arendst#10831)

* BLE_ESP32 (xdrv_79): Start scan as soon as we are connected to a device - saves missing a few adverts.
iBeacon (xdrv_52): Clean up BLE_ESP32 based driver; add commands and advert timing.  Remove HM10 code - it's in the other one.....

* Add timeout initialise

* Add additional #if for CONFIG_IDF_TARGET_ESP32

* update comment

* Increase number of switch GPIOs from 8 to 28

* Increase number of button GPIOs from 4 to 8

* Allow BLE when ethernet only connected

Allow BLE when ethernet only connected (arendst#10753)

* ESP32 Increase number of interlock groups from 4 to 14

- Removed migration support for versions before v8.1.0 (Doris)
- ESP32 Increase number of interlock groups from 4 to 14

* Clean settings code

* Increase ESP32 SwitchText to 28

* Fix long SwitchText message logging

* Update Italian language

* Platformio esp8266 2.6.3

* Platformio esp8266 2.6.3

* Update af_AF.h

* Create fy_NL.h

* Update fy_NL.h

* Update platformio.ini

* Update platformio_tasmota32.ini

* Update platformio_tasmota_env.ini

* Update platformio_tasmota_env.ini

* Update platformio_tasmota_env32.ini

* Update af_AF.h

* Update fy_NL.h

* Applied standardization to WiFi

Changed Wifi and wifi to WiFi for the purpose of standardization

* Corrected some Dutch words

onmiddelijk requires a double L.
i and e where wrongfully ordered in Windsnelheid.

* Update nl_NL.h

* update max31855 json temperature name publication

For using the thermostat function, publication of the measured temperature was using the wrong name. Changed to the common used name.

* Add read buffer function to TasmotaSerial

* if pulse is not specified, let the lib use its default value

* Preview of Berry language for Tasmota32

* sns_53_sml: make ebus correctly interpret signed values

Signed-off-by: Sven Ebenfeld <[email protected]>

* xsns_53_sml: add option to emit ebus sync only telegrams

Signed-off-by: Sven Ebenfeld <[email protected]>

* fix wrong test on pulse

* add variant FY and build map files

* Add files via upload

* Update Tasmota_build_master.yml

* Update Tasmota_build_master.yml

* Consolidate ESP specific functions

* Enable higher PWM frequencies for ESP32

LEDC peripheral of ESP32 allows higher PWM frequencies than the ESP8266.

Higher frequencies come with reduced available bit depth (as by https://esphome.io/components/output/ledc.html).

New max value of 50 kHz to include at least the frequency for 4-pin pwm fans and a bit more.

* Add no_share_mask support, DevGroupSend channels in hex, AND/OR operators, Use dynamic log buffer

* Add support for transistor-based output without DAC

Add support for transistor-based output without DAC (arendst#10875)

* Add SDM72 Modbus energy meter

* Update xdrv_27_shutter.ino

* Update xdrv_27_shutter.ino

Fix shutter pwm command to include device number and update loggin information.

* Prepare RISCV

* Add DGR device map support

* Use device map for received power item

* Update xdrv_27_shutter.ino

Add #define to turn off servo in ShutterPowerOff.

* Rename DevGroupDevice to DevGroupTie

* Use # prefix for color channel hex value

* Fix DevGroupSend invert operator default value

* Bring ModeSet value out of the for loop, this ModeSet is repeated for every other value on the webpage.

* move renderer, add touch display slider

* warning if ESP8266 firmware is too big

* Bump version to 9.2.0.7

* Default disable ESP32 BLE due to instabilities

* Fix NTC calculation for ESP32

Fix NTC calculation for ESP32 (arendst#10906)

* Use Arduino ESP32-S2 RC6

* fix teleinfo standard mode

* add 7 seg number font

* better impl of ebus negative values

* json subroutines, sendmail shortcut

* tasmota32-ble

* Tasmota variant ESP32 bluetooth

* Add dummy fade2 (arendst#10916)

* Delete xdrv_85_esp32_bluetooth.ino

No need for this file and it takes up precious driver numbers.

* correct order

* Delete tasmota_template.h

* Update tasmota_template.h

* Update tasmota_configurations_ESP32.h

* Update tasmota_template.h

* bluetooth in repo firmware

* bluettoth in branch release-firmware

Co-authored-by: Norbert Richter <[email protected]>
Co-authored-by: Simon Hailes <[email protected]>
Co-authored-by: Theo Arends <[email protected]>
Co-authored-by: Stephan Hadinger <[email protected]>
Co-authored-by: s-hadinger <[email protected]>
Co-authored-by: lonmi <[email protected]>
Co-authored-by: blakadder <[email protected]>
Co-authored-by: Paul C Diem <[email protected]>
Co-authored-by: Erik <[email protected]>
Co-authored-by: Adrian Scillato <[email protected]>
Co-authored-by: gemu2015 <[email protected]>
Co-authored-by: Adrian Scillato <[email protected]>
Co-authored-by: crispy78 <[email protected]>
Co-authored-by: Barbudor <[email protected]>
Co-authored-by: Naoki Sawada <[email protected]>
Co-authored-by: bovirus <[email protected]>
Co-authored-by: RvDesign <[email protected]>
Co-authored-by: Sven Ebenfeld <[email protected]>
Co-authored-by: Thomas A <[email protected]>
Co-authored-by: mikep1998 <[email protected]>
Co-authored-by: Yves De Muyter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants