Open elojn opened 8 months ago
Just idea. I also had issues running this project initially. So I tried https://github.com/danielfett/inetbox.py, just to ensure that my LIN adapter works with my Truma. When I knew, I can see data and send MQTT commands to the heater from my RPI OS command line, I came back to this project and HAOS. Here are my quick notes from the experiment (https://github.com/p0l0us/PiHowTo/blob/main/RaspberryPI_4_HomeAssistant_Truma.md#truma-lin-and-mqtt)
Can you please share which lin bus controller you are using and how it is connected to the ESP32?
Also change logging to VERBOSE
to see the lin messages.
Hello Fabian,
thanks for your answer. Here are pictures of my Hardware:
Connection to Truma:
Will try modified Loglevel asap.
Best regards
Hello Fabian,
thanks for your answer. Here are pictures of my Hardware:
Connection to Truma:
Will try modified Loglevel asap.
Best regards
I am also using this LIN board and it is working. Cables and config match. Apart from the color choice on one side pink and the other green for ground - That's dangerous.
Today i tried with loglevel verbose.
Here is the log,
After Downloading and reboot:
INFO Successfully uploaded program.
INFO Starting log output from COM3 with baud rate 115200
[13:12:15][ 6][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[13:12:15][I][logger:355]: Log initialized
[13:12:15][I][app:029]: Running through setup()...
[13:12:15][V][app:030]: Sorting components by setup priority...
[13:12:15][C][uart.arduino_esp32:077]: Setting up UART...
[13:12:15][C][truma_inetbox.LinBusListener:042]: Setting up LIN BUS...
[13:12:15][I][app:062]: setup() finished successfully!
[13:12:15][D][binary_sensor:036]: 'CP Plus alive': Sending state OFF
[13:12:15][I][app:102]: ESPHome version 2023.12.5 compiled on Mar 11 2024, 13:11:24
[13:12:15][C][logger:444]: Level: VERBOSE [13:12:15][C][logger:445]: Log Baud Rate: 115200 [13:12:15][C][logger:447]: Hardware UART: UART0 [13:12:15][C][uart.arduino_esp32:137]: UART Bus 1: [13:12:15][C][uart.arduino_esp32:138]: TX Pin: GPIO17 [13:12:15][C][uart.arduino_esp32:139]: RX Pin: GPIO16 [13:12:15][C][uart.arduino_esp32:141]: RX Buffer Size: 256 [13:12:15][C][uart.arduino_esp32:143]: Baud Rate: 9600 baud [13:12:15][C][uart.arduino_esp32:144]: Data Bits: 8 [13:12:15][C][uart.arduino_esp32:145]: Parity: NONE [13:12:15][C][uart.arduino_esp32:146]: Stop bits: 2
[13:12:15][C][truma_inetbox.LinBusListener:035]: Update Interval: 0.5s [13:12:15][C][truma_inetbox.LinBusListener:036]: LIN checksum Version: 2 [13:12:15][C][truma_inetbox.LinBusListener:037]: Observer mode: NO [13:12:15][C][truma_inetbox.cpplus_binary_sensor:019]: Truma CP Plus Binary Sensor 'CP Plus alive' [13:12:15][C][truma_inetbox.sensor:049]: Truma Sensor 'Current Room Temperature' [13:12:15][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [13:12:15][C][truma_inetbox.sensor:049]: State Class: 'measurement' [13:12:15][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [13:12:15][C][truma_inetbox.sensor:049]: Accuracy Decimals: 1
[13:12:15][C][truma_inetbox.sensor:049]: Truma Sensor 'Current Water Temperature' [13:12:15][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [13:12:15][C][truma_inetbox.sensor:049]: State Class: 'measurement' [13:12:15][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [13:12:15][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[13:12:15][C][truma_inetbox.sensor:049]: Truma Sensor 'Target Room Temperature' [13:12:15][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [13:12:15][C][truma_inetbox.sensor:049]: State Class: 'measurement' [13:12:15][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [13:12:15][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[13:12:15][C][truma_inetbox.sensor:049]: Truma Sensor 'Target Water Temperature' [13:12:15][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [13:12:15][C][truma_inetbox.sensor:049]: State Class: 'measurement' [13:12:15][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [13:12:15][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[13:12:22][ 7034][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:23][ 8641][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:23][ 8693][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:23][ 8745][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:23][ 8797][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 8817][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:12:24][ 8869][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 8923][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 8976][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9028][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9080][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9100][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:12:24][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.00.17.46.40.03.27 (9) - MASTER [13:12:24][ 9152][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9206][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9258][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9311][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9363][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:12:24][ 9383][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.23.17.46.40.03.04 (9) - MASTER [13:12:24][ 9435][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9489][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9541][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9593][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9646][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9666][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:12:24][ 9718][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:24][ 9772][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 9824][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 9876][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 9929][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 9949][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:12:25][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.00.17.46.40.03.27 (9) - MASTER [13:12:25][ 10001][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 10055][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 10107][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 10159][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][ 10211][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:12:25][ 10232][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:12:25][V][trumainetbox.LinBusListener:392]: PID 3C 7F.06.B2.23.17.46.40.03.04 (9) - MASTER ... and so on_
now i pushed Reset at CP Plus [13:13:06][ 51322][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:06][V][truma_inetbox.LinBusListener:392]: PID 3D 7F.06.B2.00.17.46.01.03.66 (9) - MASTER [13:13:06][ 51430][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:06][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:06][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.00.17.46.01.0C.5D (9) - MASTER [ 51483][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:06] [13:13:06][ 51587][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:06][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.00.17.46.00.1F.4B (9) - MASTER [13:13:06][ 51639][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:06][V][truma_inetbox.LinBusListener:343]: RESPONSE 3D 03.06.F2.17.46.00.1F.01 (8) [13:13:06][V][truma_inetbox.LinBusListener:392]: PID 3D 03.06.F2.17.46.00.1F.01.86 (9) - SLAVE [13:13:07][ 51870][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:07][ 51922][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:07][V][truma_inetbox.LinBusListener:392]: PID 00 FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [13:13:07][ 52287][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:07][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:07][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.00.17.46.10.03.57 (9) - MASTER [13:13:07][ 52339][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:07][ 52447][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:07][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:07][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.00.17.46.00.0C.5E (9) - MASTER [13:13:07][ 52499][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:07][ 52604][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:07][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:07][V][truma_inetbox.LinBusListener:392]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [13:13:07][ 52656][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:08][ 52887][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:08][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:08][V][truma_inetbox.LinBusListener:392]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [13:13:08][ 52939][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:08][ 53304][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:08][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:08][V][truma_inetbox.LinBusListener:392]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [13:13:08][ 53464][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:08][ 53516][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:08][V][truma_inetbox.LinBusListener:392]: PID 3D 7F.06.B2.00.17.46.04.0C.5A (9) - MASTER [13:13:08][ 53621][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:08][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:08][V][truma_inetbox.LinBusListener:392]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [13:13:08][ 53673][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 53904][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 53956][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54064][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54116][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][V][truma_inetbox.LinBusListener:392]: PID 3D 7F.06.B2.00.17.46.05.0C.59 (9) - MASTER [13:13:09][ 54221][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:09][V][truma_inetbox.LinBusListener:392]: PID 3C 03.06.B2.20.17.46.00.1F.A7 (9) - MASTER [13:13:09][ 54273][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54503][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54555][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54560][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54565][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54567][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][V][truma_inetbox.LinBusListener:343]: RESPONSE 3D 03.06.F2.17.46.00.00.00 (8) [13:13:09][E][truma_inetbox.LinBusListener:356]: PID 3D order - unable to send response [13:13:09][ 54664][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][ 54716][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:09][V][truma_inetbox.LinBusListener:392]: PID 3D 7F.06.B2.00.17.46.06.0C.58 (9) - MASTER [13:13:10][ 54820][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:10][V][truma_inetbox.LinBusListener:392]: PID 3C 03.06.B2.22.17.46.00.1F.A5 (9) - MASTER [13:13:10][ 54872][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][ 55103][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B0.17.46.40.03.01.28 (9) - MASTER [13:13:10][ 55155][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][ 55161][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][ 55162][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][V][truma_inetbox.LinBusListener:343]: RESPONSE 3D 03.06.F2.00.00.00.00.00 (8) [13:13:10][E][truma_inetbox.LinBusListener:356]: PID 3D order - unable to send response [13:13:10][ 55263][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][ 55316][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][V][truma_inetbox.LinBusListener:392]: PID 3D 7F.06.B2.00.17.46.07.0C.57 (9) - MASTER [13:13:10][ 55420][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:10][I][truma_inetbox.LinBusProtocol:153]: Assigned new SID 03 [13:13:10][ 55472][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][V][truma_inetbox.LinBusListener:392]: PID 3D 7F.06.B0.17.46.00.1F.03.4A (9) - MASTER [13:13:10][V][truma_inetbox.LinBusListener:343]: RESPONSE 3D 03.01.F0.FF.FF.FF.FF.FF (8) [13:13:10][V][truma_inetbox.LinBusListener:392]: PID 3D 03.01.F0.FF.FF.FF.FF.FF.0B (9) - SLAVE [13:13:10][ 55703][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:10][V][truma_inetbox.LinBusListener:392]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [13:13:10][ 55755][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 55863][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][V][truma_inetbox.LinBusListener:360]: PID 3D order no answer [13:13:11][V][truma_inetbox.LinBusListener:392]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [13:13:11][ 56020][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56126][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56178][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56230][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56282][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56303][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:13:11][ 56355][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56409][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56461][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56513][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56565][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:13:11][ 56585][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][V][truma_inetbox.LinBusListener:392]: PID 3C 7F.06.B2.00.17.46.40.03.27 (9) - MASTER [13:13:11][ 56638][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56692][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56744][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:11][ 56796][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][ 56848][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][ 56868][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [13:13:12][ 56920][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][V][truma_inetbox.LinBusListener:392]: PID 3D 7F.06.B2.23.17.46.40.03.04 (9) - MASTER [13:13:12][ 56975][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][ 57027][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][ 57079][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][ 57131][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [13:13:12][ 57151][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break.
There are some errors in the log:
[E][truma_inetbox.LinBusListener:356]: PID 3D order - unable to send response
This indicates that the CP Plus ask for information from the device and I tried to answer. But this answer did not made it on the wire, because If I did not observe the echo of my message.
Can you please increase the logger baud_rate to ensure the log output is not causing this issue:
logger:
baud_rate: 2000000
I assume the device is not in the list / index in the CP Plus device?
Can you please check that the cables make proper connection? Especially the TX wire.
Thanks for reply. will test with increased logger baudrate.
I tested the project although with different ESP32 board (NodeMcu WROOM32) with same issues. with other LIN<-> TTL converter (same Type) although same result. You are right the device ist not in the list/index in the CP Plus, even no flickering during RESET.
Other idea: could it help to test without logger ?
In this case perhaps I found the device ind the list of the CP Plus?
Next try:
suggested
logger: baud_rate: 2000000
didn't work.
I tried without logger, but although didn't work.
with baudrate 38400 got this log data:
INFO Successfully uploaded program. INFO Starting log output from COM3 with baud rate 38400 [17:21:42]\xb0n▬\xa9e§R\xd5▬\xd6M►$\x90B\x84\x90B§@"DD↑[I][logger:355]: Log initialized [17:21:42][I][app:029]: Running through setup()... [17:21:43][V][app:030]: Sorting components by setup priority... [17:21:43][C][uart.arduino_esp32:077]: Setting up UART... [17:21:43][C][truma_inetbox.LinBusListener:042]: Setting up LIN BUS... [17:21:43][I][app:062]: setup() finished successfully! [17:21:43][D][binary_sensor:036]: 'CP Plus alive': Sending state OFF [17:21:43][I][app:102]: ESPHome version 2023.12.5 compiled on Mar 13 2024, 17:20:58
[17:21:43][C][logger:444]: Level: VERBOSE [17:21:43][C][logger:445]: Log Baud Rate: 38400 [17:21:43][C][logger:447]: Hardware UART: UART0 [17:21:43][C][uart.arduino_esp32:137]: UART Bus 1: [17:21:43][C][uart.arduino_esp32:138]: TX Pin: GPIO17 [17:21:43][C][uart.arduino_esp32:139]: RX Pin: GPIO16 [17:21:43][C][uart.arduino_esp32:141]: RX Buffer Size: 256 [17:21:43][C][uart.arduino_esp32:143]: Baud Rate: 9600 baud [17:21:43][C][uart.arduino_esp32:144]: Data Bits: 8 [17:21:43][C][uart.arduino_esp32:145]: Parity: NONE [17:21:43][C][uart.arduino_esp32:146]: Stop bits: 2
[17:21:43][C][truma_inetbox.LinBusListener:035]: Update Interval: 0.5s [17:21:43][C][truma_inetbox.LinBusListener:036]: LIN checksum Version: 2 [17:21:43][C][truma_inetbox.LinBusListener:037]: Observer mode: NO [17:21:43][C][truma_inetbox.cpplus_binary_sensor:019]: Truma CP Plus Binary Sensor 'CP Plus alive' [17:21:43][C][truma_inetbox.sensor:049]: Truma Sensor 'Current Room Temperature' [17:21:43][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [17:21:43][C][truma_inetbox.sensor:049]: State Class: 'measurement' [17:21:43][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [17:21:43][C][truma_inetbox.sensor:049]: Accuracy Decimals: 1
[17:21:43][C][truma_inetbox.sensor:049]: Truma Sensor 'Current Water Temperature' [17:21:43][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [17:21:43][C][truma_inetbox.sensor:049]: State Class: 'measurement' [17:21:43][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [17:21:43][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[17:21:43][C][truma_inetbox.sensor:049]: Truma Sensor 'Target Room Temperature' [17:21:43][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [17:21:43][C][truma_inetbox.sensor:049]: State Class: 'measurement' [17:21:43][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [17:21:43][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[17:21:43][C][truma_inetbox.sensor:049]: Truma Sensor 'Target Water Temperature' [17:21:43][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [17:21:43][C][truma_inetbox.sensor:049]: State Class: 'measurement' [17:21:43][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [17:21:43][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[17:21:44][ 2041][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 3647][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 3699][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 3751][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 3803][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 3823][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:21:46][ 3876][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 3930][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 3982][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:46][ 4034][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4086][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID.[ 4106][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47] [17:21:47][ 4158][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4212][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4265][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4317][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4369][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4389][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:21:47][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.23.17.46.40.03.04 (9) - MASTER [17:21:47][ 4441][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4495][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4547][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4599][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4652][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4672][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:21:47][ 4724][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4778][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4830][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4882][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][ 4934][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID.[ 4954][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:47] [17:21:47][ 5007][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:48][ 5061][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:48][ 5113][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:48][ 5165][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:48][ 5217][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:48][ 5237][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:48][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:21:48][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.23.17.46.40.03.04 (9) - MASTER [17:21:48][ 5289][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:48][W][component:214]: Component truma_inetbox took a long time for an operation (0.06 s). [17:21:48][W][component:215]: Components should block for at most 20-30ms. [17:21:58][ 15368][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:59][ 16974][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:21:59][ 17026][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17078][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17130][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:22:00][ 17150][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17202][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17256][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17309][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17361][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17413][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17433][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:22:00][ 17485][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][V][truma_inetbox.LinBusListener:398]: PID 3D 7F.06.B2.00.17.46.40.03.27 (9) - MASTER [17:22:00][ 17539][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17591][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:00][ 17643][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break.
[17:22:08][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:22:08][ 25682][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:08][ 25736][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:08][ 26011][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.40.03.27 (9) - MASTER [17:22:09][ 26063][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09][ 26427][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.01.03.66 (9) - MASTER [17:22:09][ 26480][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09][ 26588][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09][V][truma_inetbox.LinBusListener:366]: PID 3D order no answer [17:22:09][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.01.0C.5D (9) - MASTER [ 26640][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09] [17:22:09][W][component:214]: Component truma_inetbox took a long time for an operation (0.06 s). [17:22:09][W][component:215]: Components should block for at most 20-30ms. [17:22:09][ 26744][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.00.1F.4B (9) - MASTER [17:22:09][ 26796][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:09][ 27026][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10][V][truma_inetbox.LinBusListener:398]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [17:22:10][ 27079][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10][V][truma_inetbox.LinBusListener:349]: RESPONSE 3D 03.06.F2.17.46.00.1F.01 (8) [17:22:10][V][truma_inetbox.LinBusListener:398]: PID 3D 03.06.F2.17.46.00.1F.01.86 (9) - SLAVE [17:22:10][ 27443][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.10.03.57 (9) - MASTER [17:22:10][ 27495][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10][ 27604][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.00.0C.5E (9) - MASTER [17:22:10][ 27656][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10][ 27760][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10][V][truma_inetbox.LinBusListener:366]: PID 3D order no answer [17:22:10][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.00.1F.4B (9) - MASTER [ 27812][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:10] [17:22:10][W][component:214]: Component truma_inetbox took a long time for an operation (0.06 s). [17:22:10][W][component:215]: Components should block for at most 20-30ms. [17:22:10][ 28043][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][V][truma_inetbox.LinBusListener:398]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [17:22:11][ 28095][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][ 28459][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.01.03.66 (9) - MASTER [17:22:11][ 28512][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][V][truma_inetbox.LinBusListener:349]: RESPONSE 3D 03.06.F2.17.46.00.1F.01 (8) [17:22:11][V][truma_inetbox.LinBusListener:398]: PID 3D 03.06.F2.17.46.00.1F.01.86 (9) - SLAVE [17:22:11][ 28620][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.04.0C.5A (9) - MASTER [17:22:11][ 28672][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][ 28776][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][V][truma_inetbox.LinBusListener:366]: PID 3D order no answer [17:22:11][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.00.1F.4B (9) - MASTER [17:22:11][ 28828][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:11][V][truma_inetbox.LinBusListener:349]: RESPONSE 3D 03.06.F2.17.46.00.1F.01 (8) [17:22:11][V][truma_inetbox.LinBusListener:398]: PID 3D 03.06.F2.17.46.00.1F.01.86 (9) - SLAVE [17:22:11][W][component:214]: Component truma_inetbox took a long time for an operation (0.06 s). [17:22:11][W][component:215]: Components should block for at most 20-30ms. [17:22:12][ 29059][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12][ 29111][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12][ 29475][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12][ 29528][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12][V][truma_inetbox.LinBusListener:398]: PID 3D 7F.06.B2.00.17.46.10.03.57 (9) - MASTER [17:22:12][ 29636][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12][V][truma_inetbox.LinBusListener:366]: PID 3D order no answer [17:22:12][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.05.0C.59 (9) - MASTER [17:22:12][ 29688][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12][ 29792][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12][V][truma_inetbox.LinBusListener:366]: PID 3D order no answer [17:22:12][V][truma_inetbox.LinBusListener:398]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [ 29844][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:12] [17:22:12][W][component:214]: Component truma_inetbox took a long time for an operation (0.06 s). [17:22:12][W][component:215]: Components should block for at most 20-30ms. [17:22:13][ 30075][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:13][ 30127][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:13][ 30492][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:13][V][truma_inetbox.LinBusListener:398]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [17:22:13][ 30652][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:13][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.06.0C.58 (9) - MASTER [17:22:13][ 30704][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:13][ 30808][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:13][V][truma_inetbox.LinBusListener:366]: PID 3D order no answer [17:22:13][V][truma_inetbox.LinBusListener:398]: PID 3C 03.06.B2.20.17.46.00.1F.A7 (9) - MASTER [ 30861][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:13] [17:22:13][W][component:214]: Component truma_inetbox took a long time for an operation (0.06 s). [17:22:13][W][component:215]: Components should block for at most 20-30ms. [17:22:14][ 31091][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B0.17.46.40.03.01.28 (9) - MASTER [17:22:14][ 31143][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][ 31251][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B2.00.17.46.07.0C.57 (9) - MASTER [17:22:14][ 31303][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][V][truma_inetbox.LinBusListener:349]: RESPONSE 3D 03.06.F2.17.46.00.00.00 (8) [17:22:14][V][truma_inetbox.LinBusListener:398]: PID 3D 03.06.F2.17.46.00.00.00.A6 (9) - SLAVE [17:22:14][ 31408][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][V][truma_inetbox.LinBusListener:398]: PID 3C 03.06.B2.22.17.46.00.1F.A5 (9) - MASTER [17:22:14][ 31460][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][V][truma_inetbox.LinBusListener:349]: RESPONSE 3D 03.06.F2.00.00.00.00.00 (8) [17:22:14][V][truma_inetbox.LinBusListener:398]: PID 3D 03.06.F2.00.00.00.00.00.04 (9) - SLAVE [17:22:14][ 31690][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][V][truma_inetbox.LinBusListener:398]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [17:22:14][ 31742][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][ 31850][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][V][truma_inetbox.LinBusListener:398]: PID 3C FF.FF.FF.FF.FF.FF.FF.FF.00 (9) - MASTER [17:22:14][ 32007][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:14][I][truma_inetbox.LinBusProtocol:153]: Assigned new SID 03 [17:22:15][V][truma_inetbox.LinBusListener:398]: PID 3C 7F.06.B0.17.46.00.1F.03.4A (9) - MASTER [17:22:15][ 32059][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15][V][truma_inetbox.LinBusListener:349]: RESPONSE 3D 03.01.F0.FF.FF.FF.FF.FF (8) [17:22:15][V][truma_inetbox.LinBusListener:398]: PID 3D 03.01.F0.FF.FF.FF.FF.FF.0B (9) - SLAVE [ 32113][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15] [17:22:15][ 32165][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15][ 32217][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15][ 32269][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15][W][truma_inetbox.LinBusListener:379]: 0x00 LIN CRC error on SID. [17:22:15][ 32289][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15][ 32341][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15][ 32445][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break. [17:22:15][ 32552][W][HardwareSerial.cpp:281] _uartEventTask(): UART1 RX break.
perhaps a step to solve the problem ?
Hi Fabian, first of all, thanks for this project. I tried to use it in my RV with Truma Combi 4, but it don´t work.
My Truma Hardware is: C4.01.01 / 0050.00 H1.02.00 / 0300.02
I tried with this basic program:
`esphome: name: "esphome-truma"
external_components:
esp32: board: mhetesp32devkit
Enable logging
logger: level: Debug
uart:
baud_rate: 9600 stop_bits: 2
truma_inetbox: uart_id: lin_uart_bus
binary_sensor:
sensor:
logging shows this while ESP ist connected to my laptop through USB (COM3):
INFO Successfully uploaded program. INFO Starting log output from COM3 with baud rate 115200 [15:29:26][I][logger:355]: Log initialized [15:29:26][I][app:029]: Running through setup()... [15:29:26][C][uart.arduino_esp32:077]: Setting up UART... [15:29:26][C][truma_inetbox.LinBusListener:042]: Setting up LIN BUS... [15:29:26][I][app:062]: setup() finished successfully! [15:29:26][D][binary_sensor:036]: 'CP Plus alive': Sending state OFF [15:29:26][I][app:102]: ESPHome version 2023.12.5 compiled on Mar 7 2024, 15:28:39
[15:29:26][C][logger:444]: Level: DEBUG [15:29:26][C][logger:445]: Log Baud Rate: 115200 [15:29:26][C][logger:447]: Hardware UART: UART0 [15:29:26][C][uart.arduino_esp32:137]: UART Bus 1: [15:29:26][C][uart.arduino_esp32:138]: TX Pin: GPIO17 [15:29:26][C][uart.arduino_esp32:139]: RX Pin: GPIO16 [15:29:26][C][uart.arduino_esp32:141]: RX Buffer Size: 256 [15:29:26][C][uart.arduino_esp32:143]: Baud Rate: 9600 baud [15:29:26][C][uart.arduino_esp32:144]: Data Bits: 8 [15:29:26][C][uart.arduino_esp32:145]: Parity: NONE [15:29:26][C][uart.arduino_esp32:146]: Stop bits: 2
[15:29:26][C][truma_inetbox.LinBusListener:035]: Update Interval: 0.5s [15:29:26][C][truma_inetbox.LinBusListener:036]: LIN checksum Version: 2 [15:29:26][C][truma_inetbox.LinBusListener:037]: Observer mode: NO [15:29:26][C][truma_inetbox.cpplus_binary_sensor:019]: Truma CP Plus Binary Sensor 'CP Plus alive' [15:29:26][C][truma_inetbox.sensor:049]: Truma Sensor 'Current Room Temperature' [15:29:26][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [15:29:26][C][truma_inetbox.sensor:049]: State Class: 'measurement' [15:29:26][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [15:29:26][C][truma_inetbox.sensor:049]: Accuracy Decimals: 1
[15:29:26][C][truma_inetbox.sensor:049]: Truma Sensor 'Current Water Temperature' [15:29:26][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [15:29:26][C][truma_inetbox.sensor:049]: State Class: 'measurement' [15:29:26][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [15:29:26][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[15:29:26][C][truma_inetbox.sensor:049]: Truma Sensor 'Target Room Temperature' [15:29:26][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [15:29:26][C][truma_inetbox.sensor:049]: State Class: 'measurement' [15:29:26][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [15:29:26][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[15:29:26][C][truma_inetbox.sensor:049]: Truma Sensor 'Target Water Temperature' [15:29:26][C][truma_inetbox.sensor:049]: Device Class: 'temperature' [15:29:26][C][truma_inetbox.sensor:049]: State Class: 'measurement' [15:29:26][C][truma_inetbox.sensor:049]: Unit of Measurement: '°C' [15:29:26][C][truma_inetbox.sensor:049]: Accuracy Decimals: 0
[15:29:37][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:37][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:38][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:38][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:38][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:38][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:50][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:29:52][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:04][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:04][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:04][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:04][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:05][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:05][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:17][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:17][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:17][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:18][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:18][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:18][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:30][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:30][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:31][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:31][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:31][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:32][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:43][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:44][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:44][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:44][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:44][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:45][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:49][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:49][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:49][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:50][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:50][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:50][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:51][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:52][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:52][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:52][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:53][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:53][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:53][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:53][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:54][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:54][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:54][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:55][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:55][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:55][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:55][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:56][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:56][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:56][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:57][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:57][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:57][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:57][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:30:58][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:03][I][truma_inetbox.LinBusProtocol:153]: Assigned new SID 03 [15:31:03][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:04][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:04][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:04][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:05][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:05][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:05][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID. [15:31:05][W][truma_inetbox.LinBusListener:373]: 0x00 LIN CRC error on SID.
Do you have any advice ?
What makes me wondering is that the Reset at the CP is different as described . At my CP there is no flickering INIT... after I start the reset.
I tried the RESET procedure at the CP several times but nothing changed.
best regards elojn