esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
420 stars 26 forks source link

Add support for mapping USB host mode CDC-ACM (OTG) to `uart` #2944

Open felipecrs opened 2 weeks ago

felipecrs commented 2 weeks ago

Describe the problem you have/What new integration you would like

Support for USB host mode CDC-ACM (OTG):

https://components.espressif.com/components/espressif/usb_host_cdc_acm

Allowing users to register an USB ACM device as a uart interface in ESPHome.

Please describe your use case for this integration and alternatives you've tried:

Boards like the ESP32-S3 DevKit C comes two USB-C ports:

image

It would be great if cheap boards like these could be used to interface with inverters through USB. In my case, owner of a SRNE HF Series one, it would avoid a more convoluted solution through RS485:

image

And instead, I could just connect the ESP32-S3 to the inverter using an USB-B to USB-C cable/adapter. It would prevent a lot of soldering and lower the entry barrier for new tinkerers too.

Additional context