Commit Graph
25 Commits
Author SHA1 Message Date
Hendrik 240d5cbd4b add slave response frame 2025-09-19 18:02:37 +02:00
Hendrik 3384c89475 add UDP command processing and sender for dynamic testing 2025-09-15 11:17:33 +02:00
Hendrik 8591e7433d truma_inetbox: refine master mode discovery with correct CP Plus signatures 2025-09-14 23:31:04 +02:00
Hendrik 4c097a576d truma_inetbox: enhance device discovery with targeted queries and logging 2025-09-14 23:00:01 +02:00
Hendrik a0837070e2 add TriggerDiscoveryButton component with discovery functionality 2025-09-14 22:40:37 +02:00
Hendrik 958293f686 add CP Plus identifier for master mode in lin_identifier function 2025-09-14 22:05:27 +02:00
Hendrik f022db25c4 truma_inetbox: enhance master mode device discovery with targeted queries 2025-09-14 21:22:22 +02:00
Hendrik 98ad6caab9 truma_inetbox: implement master mode auto-discovery and device scanning
udp_lin_receiver: add option to suppress repeated identical messages
2025-09-14 21:07:18 +02:00
Hendrik aa5a85ec42 remove unused COMPONENT_VERSION constant 2025-09-14 16:55:28 +02:00
Hendrik 29235365dc rm test 2025-09-09 21:09:48 +02:00
Hendrik ac8d902c08 print component version 2025-09-09 17:07:03 +02:00
Hendrik 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
Hendrik 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
Hendrik 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
Hendrik b5f02d0a47 truma_inetbox(stream): enqueue keepalive/test; add SO_SNDTIMEO on UDP socket 2025-09-09 10:53:37 +02:00
Hendrik d0632b8457 truma_inetbox: fix ESP32 streaming preprocessor guards 2025-09-09 02:14:17 +02:00
Hendrik 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
Hendrik 99249dfaa9 truma_inetbox: add stream_send_test() helper to trigger a UDP test line 2025-09-08 20:02:05 +02:00
Hendrik 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
Hendrik 4719d483a7 truma_inetbox: expose observer_mode in CONFIG_SCHEMA and wire to set_observer_mode() 2025-09-08 16:30:34 +02:00
Hendrik c81ffdcb12 tools: add udp_lin_receiver.py for capturing and diffing UDP LIN stream
- Records each datagram with timestamp to CSV
- Prints live console summary
- Optional --pid-diff mode parses textual lines like 'PID XX <hex>' and only prints on data changes
2025-09-08 16:20:46 +02:00
Hendrik 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
Hendrik 8db35ea7a5 fix: correct formatting of import statements in __init__.py 2025-09-08 11:06:33 +02:00
Hendrik 1174392774 Fix incorrect macro usage for port tick rate in UART component 2025-03-30 20:54:15 +02:00
Hendrik c3a855f314 Refactor QUEUE_WAIT_BLOCKING definition for clarity 2025-03-30 20:37:15 +02:00