I’d suggest tweaking the debug part to be more like this.
If you find a wire that looks like it’s sending uart messages you may need to tweak the after:
a bit. Or try my other commented out variants.
If you get messages but they are complete rubbish you may need find the gnd and share it with the ESP.
debug:
direction: BOTH
dummy_receiver: true
after:
# timeout: 5ms
# delimiter: "\n"
delimiter: [0x7E]
sequence:
- lambda: |-
UARTDebug::log_int(direction, bytes, ','); // Log the message as int. Good for height message checks.
UARTDebug::log_hex(direction, bytes, ','); // Log the message in hex. Good for checking against protocol documentation.
ESP_LOGD("custom", "Bytes size: %d", bytes.size()); // Logs how many bytes in the message, useful for protocol and message identification.