cross-posted from: https://lemmy.world/post/110673
Hey all,
i want to hack a portable AC. The devices communicates via UART between Mainboard and control unit (LCD and Buttons). As we still want to use the original controls, i had the idea to put an ESP32 in the middle of the communication (using UART2 for the mainboard and UART3 for the control board).
I don’t want to reverse engineer the whole protocol, only the relevant parts. So, i need a way to forward all messages in both directions, to make this work as it should.
Has anybody done such a thing already? Or has any tips how to do it.
I’m fluent in C++, so there is not barrier here, but i am new to the codebase of ESPHome
If- you are just wanting to listen- that is pretty easy.
If- you were wanting to have a middle-man in the middle, to interpret, and re-forward the signals, that would be a bit harder.