Dusan Vojacek
b08782525e
fix(modbus): zadne vecne pending v journalu + flock timeout + EV poll backoff
Zivy incident home-01 (TeltoCharge .16): zapis 15/19-20 koncil failed
s prazdnym error_msg, nebo zustal trvale pending a zablokoval exportni ticky.
- _gateway_exclusive: neblokujici flock s deadline (EMS_MODBUS_FLOCK_TIMEOUT_S,
default 20 s) -> GatewayLockTimeout misto starvation bez limitu
- execute_modbus_commands: invariant written/failed + neprazdny error_msg
(str(e) or repr(e)); safety net pres BaseException (CancelledError, chyba DB);
journal update mimo retry cyklus zarizeni; force_disconnect bez zamku brany
- telemetry poll_ev_chargers: po 3 selhanich backoff 5 min per (host,port,unit)
- mrtvy unit_id drzi branu 4x8=32 s z kazde minuty
- testy backend/tests/test_modbus_execute_failsafe.py; docs
modbus-command-journal.md (sekce Robustnost zapisu + konfigurace)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 00:17:04 +02:00
..
2026-06-11 13:56:12 +02:00
2026-05-28 23:22:57 +02:00
2026-06-12 15:07:17 +02:00
2026-05-30 23:23:17 +02:00
2026-06-06 22:36:27 +02:00
2026-04-19 20:02:20 +02:00
2026-04-19 20:02:20 +02:00
2026-06-12 19:14:56 +02:00
2026-04-29 13:38:00 +02:00
2026-06-12 14:14:48 +02:00
2026-06-12 22:21:59 +02:00
2026-06-12 20:40:11 +02:00
2026-04-20 11:11:47 +02:00
2026-06-11 13:56:12 +02:00
2026-06-13 00:17:04 +02:00
2026-06-06 22:32:48 +02:00
2026-06-11 13:56:12 +02:00
2026-05-24 22:44:21 +02:00
2026-05-06 12:50:05 +02:00
2026-06-11 22:37:57 +02:00
2026-06-12 19:31:56 +02:00
2026-04-29 13:24:28 +02:00
2026-06-12 19:06:41 +02:00
2026-04-10 20:30:03 +02:00
2026-06-11 22:10:46 +02:00
2026-06-12 09:06:10 +02:00