81 Commits

Author SHA1 Message Date
aa5a85ec42 remove unused COMPONENT_VERSION constant 2025-09-14 16:55:28 +02:00
29235365dc rm test 2025-09-09 21:09:48 +02:00
ac8d902c08 print component version 2025-09-09 17:07:03 +02:00
451c184dda truma_inetbox(stream): stream slave responses too (enqueue in ISR, format/send in background); tag MASTER/SLAVE 2025-09-09 11:57:14 +02:00
7248f611df truma_inetbox(stream): decouple UDP streaming from logger level by streaming master frames from lin_msg queue 2025-09-09 11:54:25 +02:00
02cafc62dd truma_inetbox(stream): pin sender task to core 1; fix %s typo; keep keepalive/test queued; remove WiFi.h dependency 2025-09-09 11:29:15 +02:00
b5f02d0a47 truma_inetbox(stream): enqueue keepalive/test; add SO_SNDTIMEO on UDP socket 2025-09-09 10:53:37 +02:00
d0632b8457 truma_inetbox: fix ESP32 streaming preprocessor guards 2025-09-09 02:14:17 +02:00
382a4d3b4a truma_inetbox(stream): move UDP sending to background task
- Add FreeRTOS queue + dedicated sender task to avoid blocking main loop
- Short socket send timeout to prevent stalls
- Keepalive and PID lines enqueued; drop on full queue
- Add stream_send_test() to verify UDP path
2025-09-09 01:39:59 +02:00
99249dfaa9 truma_inetbox: add stream_send_test() helper to trigger a UDP test line 2025-09-08 20:02:05 +02:00
9e07fb6953 truma_inetbox: add UDP streaming (ESP32)
- observer_mode sniffer UDP: create socket, send 'PID XX <hex>' lines
- Keepalive with stream_keepalive_ms
- stream_diag_only filters to 0x3C/0x3D
- Controlled by stream_enabled/host/port
2025-09-08 17:11:53 +02:00
4719d483a7 truma_inetbox: expose observer_mode in CONFIG_SCHEMA and wire to set_observer_mode() 2025-09-08 16:30:34 +02:00
4298e675a5 truma_inetbox: fix compile on ESP32 Arduino
- Add missing member fields for stream+master config in LinBusListener
- Expose write_lin_master_frame_ as protected
- Make LinBusLog use <cstdint> and uint8_t
- Add <queue> + declarations for lin_reset_device/has_update_to_submit in TrumaiNetBoxApp.h
- Arduino: fix UART calls and add helper prototypes in LinBusListener_esp32_arduino.cpp

Tested: esphome compile tests/test.esp32_ard.yaml (build OK).
2025-09-08 14:53:35 +02:00
Automation
891d3c59e8 fix(c++): remove stray CRLF escapes and place write_lin_master_frame_ inside namespaces 2025-09-08 12:23:59 +02:00
8db35ea7a5 fix: correct formatting of import statements in __init__.py 2025-09-08 11:06:33 +02:00
Automation
e717bf7d85 fix(py): import CONF_TIME for clock action requires_component 2025-09-08 11:02:15 +02:00
Automation
de21822c7a fix(py): correct indentation in to_code for stream options 2025-09-08 10:54:13 +02:00
Automation
d5942af8a0 fix: correct __init__.py imports and add stream+master options to schema/to_code 2025-09-08 10:32:19 +02:00
Automation
422fc3469e feat(master): add guarded LIN master TX (ESP32 Arduino), B2 scanner API, and scheduler 2025-09-07 23:09:51 +02:00
c3a855f314 Refactor QUEUE_WAIT_BLOCKING definition for clarity 2025-03-30 20:37:15 +02:00
Martin Polehla
1086945fe2 Water temp 200 shown as 80 hack. 2024-03-13 11:29:05 +01:00
Your Name
e6fbece988 Add alde detection. 2024-03-10 17:17:06 +01:00
Your Name
a743ee12f8 Ingore last three bytes of truma_message_header #25. 2024-03-10 16:42:12 +01:00
Your Name
2042ceccd1 Fix build issue 2024-03-10 15:37:43 +01:00
Your Name
694f0ffa68 Add config for TRUMA_MSG_QUEUE_LENGTH & TRUMA_LOG_QUEUE_LENGTH 2024-03-10 15:37:37 +01:00
Your Name
adc86f7488 Add jump from READ_STATE_BREAK to READ_STATE_SID. 2024-03-10 15:34:45 +01:00
Your Name
1dfe75af44 Remove inner from status frame. 2023-04-02 21:24:46 +02:00
Your Name
21144d3645 water sensor decimals is 0. 2023-04-02 20:45:41 +02:00
Your Name
a0b8b5a44e Alter detection logic of heater and aircon device. 2023-03-31 20:46:39 +02:00
Your Name
1e452c1a12 add select component 2023-03-23 15:25:02 +01:00
Your Name
c21653fd1e update naming. 2023-03-23 13:30:01 +01:00
Your Name
d9233806d3 first version of aircon auto update msg. 2023-03-23 13:23:24 +01:00
Your Name
e045cbb2e0 Fix build issue 2023-03-23 13:03:36 +01:00
Your Name
3d64c93809 Fix idf compiler errors & warnings 2023-03-23 12:32:50 +01:00
Your Name
54e289a860 Fix climate component 2023-03-23 12:02:08 +01:00
Your Name
a9115c0d9a fiddle with logging 2023-03-22 22:17:12 +01:00
Your Name
a97f8ad31d add number & action for manual aircon. 2023-03-22 20:48:37 +01:00
Your Name
ea3eb4b007 add Diesel energy mix 2023-03-22 20:13:42 +01:00
Your Name
0956a94c38 Improve code reability. 2023-03-22 20:04:39 +01:00
Your Name
85d1afe874 Split TrumaiNetBoxApp into multiple files. 2023-03-22 15:51:13 +01:00
Your Name
504a3012bf Split header file TrumaiNetBoxApp.h 2023-03-22 14:41:42 +01:00
Your Name
92ce427edb add more lin identifier comment 2023-03-22 14:39:32 +01:00
Your Name
b95c246c20 prepare for when UART PR#4465 is merged. 2023-03-20 14:38:33 +01:00
Your Name
ac72e272ee Fix rp2040 build. 2023-03-20 13:25:37 +01:00
Your Name
88cf3e3f4e naming of aircon variables. 2023-03-20 12:38:03 +01:00
Your Name
04081f7674 Fix rp2040 build 2023-03-20 12:36:58 +01:00
Your Name
6689ee5c00 simplify inetboxapp code. 2023-03-20 12:27:16 +01:00
Your Name
975797a300 Add heater error code sensors. 2023-03-19 18:42:07 +01:00
Your Name
7a2bf42454 Update Aircon messages. 2023-03-19 12:51:56 +01:00
Your Name
3bc1015f79 improve dump_config output of sensors. 2023-03-14 16:04:45 +01:00