I’m currently trying to get my Autonomous.ai desk integrated into Home Assistant, using ESPHome.
The Connection between the control panel and the desk controller is UART, my current progress so far:
Using this repository I was able to get a working ESPHome config going, allowing me to control the desk. When the ESP is not connected, I can also control the desk from the control panel, but as soon as I connect the ESP again, the control panel doesn’t work anymore.
I’m actually not that surprised, seeing as UART is not designed to work with more than 2 devices at the same time.
What I’m thinking of doing now, is using the ESP as a forward node for the UART messages, using 2 UART busses on the ESP itself. 1 bus connected to the control panel, the other to the desk. It seems I couldn’t find any examples on this yet, maybe nobody has done this before?
I think I should create a custom UART component (Custom UART Device — ESPHome), that depends on both UART busses, that would allow me to read data and write it to the other bus?