this post was submitted on 14 Jun 2023
3 points (100.0% liked)

ESP Home

61 readers
1 users here now

ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] vapeloki 2 points 2 years ago (1 children)

The ESP32 wroom has 3 uarts on Board.in theory, that should work.

Yeah, I thought about a custom component also.

At least for prototyping the best way. If it works, I may contribute a UART intercepting component later on.

[โ€“] bcnelson 3 points 2 years ago

Sounds good to go then. I would appreciate it if you let me know how it turns out