Closed HBK1 closed 5 months ago
If I omit logger or point to UART1 it compiles so the error seems to be the default logger uart USB_CDC that S3 uses.
logger:
# hardware_uart: USB_CDC
hardware_uart: UART1
baud_rate: 50000
level: VERY_VERBOSE
If I comment out the Truma parts it compiles with USB_CDC without problem. So it looks like there may be something in your files that needs updating to support USB_CDC for logging.
esphome:
name: alde
esp32:
board: esp32-s3-devkitc-1
#external_components:
# - source: github://Fabian-Schmidt/esphome-truma_inetbox@alde
# refresh: 0s
ota:
web_server:
port: 80
logger:
hardware_uart: USB_CDC
baud_rate: 50000
level: VERY_VERBOSE
uart:
- id: lin_uart_bus
rx_pin: 44
tx_pin: 43
baud_rate: 9600
data_bits: 8
parity: NONE
stop_bits: 2
#truma_inetbox:
# uart_id: lin_uart_bus
#number:
# - platform: truma_inetbox
# name: "Target Room Temperature"
# type: TARGET_ROOM_TEMPERATURE
When I compare uart_component_esp32_arduino.cpp and uart_component_esp32_arduino.h with the esphome repository it differs and the esphome repo seems to handle the logging over USB_CDC. I am not a coder so I may be wrong.
Can you please test the following external component:
external_components:
- source: github://Fabian-Schmidt/esphome-truma_inetbox
components: ["truma_inetbox"]
The uart component was needed in the first release and the changes have been made upstream in esphome. I require it sometimes for local testing things and might remove it in the future.
Thanks Fabian, now it compiles. Will now try if I can get some logs from my Alde 3020.
Dear Fabian! I am trying to use a Lilygo T-Dongle-S3 but get errors when I compile the alde repository. (Same error with truma repository) Is this an ESPHome error or is it in truma-inetbox?
Config:
Compile: