LG AC Wired Controller integration via ESPHome/ESP32

Got aliexpress.com/item/1005007399213896.html
but cant make it work. board has tja1021. it should work but doesnt.
wondering why...
Can you help to figure it out?

Do you have some more?

Yes, I will send you a private message

I may have found a clue.

Looking at the photos of that board, it uses a NXP TJA1021T/20 LIN transceiver. The original ESPHome LG controller project specifically warns against LIN transceivers that implement a TXD Dominant Timeout because LG uses an extremely slow communication speed (~104 bps), which can trigger the timeout and corrupt the signal.

Interestingly, another user in this thread mentioned that they bought a very similar AliExpress board but replaced the original TJA1021 with a NXP TJA1027T/20 and reported that it worked perfectly afterwards.

According to the NXP datasheets, the TJA1021 includes a TXD timeout mechanism, while the TJA1027 does not. The TJA1027 is also largely pin-compatible with the TJA1021, which makes the replacement relatively straightforward.

It would be interesting to know whether the TJA1021 timeout is the reason why the communication is failing on this particular LG bus.

Does this also work with the H24S1D?

Hi! I would like to have a PCB. I am in Germany and willing to pay for the PCB and shipping. Can you dm me?

Hi, I would also like to purchase two boards. Are there any available? Thanks.

Hi,

anyone willing to sell me 2 boards? Happy to pay. Need shipping to Germany.

I have cheap LIN from Ali with 1021 and it is not working, but

when I replaced 1021 with 1027 everything is working (even without diode and resistor)

Where do you buy 1027? any link?

Ali:

Hi - regarding the low cost LIN UART adapters with the TL1021 that do not work. I think there maybe a workaround by creating small glitches to keep the TL1021 active on the LIN bus while not impacting the overall slow transmission. I hope to try this with my real LG unit soon when I get out to it. But for now I have a proof of concept documented: here.

Confirming successful operation using TTL LIN UART adapter with workaround I’ve documented here

Thanks you for writing the lg wired controller component!