fix(bot): Nachrichten ohne ACK-Anforderung senden (wantAck=False)

sendText() verwendet jetzt wantAck=False – keine Retry-Logik,
keine ACK-Pakete im Mesh. Sinnvoll für Broadcasts und periodische
Status-Meldungen. Closes #14.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ppfeiffer 2026-02-20 14:25:54 +01:00
parent 087cccd35c
commit 30960a194d
3 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,12 @@
# Changelog
## [0.08.12] - 2026-02-20
### Changed
- **Bot-Nachrichtenversand ohne ACK**: `sendText()` verwendet jetzt `wantAck=False`
Nachrichten werden einmal gesendet ohne auf Bestätigung zu warten und ohne Retry-Logik.
Sinnvoll für Broadcasts und periodische Status-Meldungen; reduziert ACK-Pakete im Netz (closes #14).
## [0.08.11] - 2026-02-20
### Fixed

View file

@ -1,4 +1,4 @@
version: "0.08.11"
version: "0.08.12"
bot:
name: "MeshDD-Bot"

View file

@ -468,7 +468,7 @@ class MeshBot:
except Exception:
logger.exception("Error storing sent message")
try:
self.interface.sendText(msg, channelIndex=channel)
self.interface.sendText(msg, channelIndex=channel, wantAck=False)
except Exception:
logger.exception("Error sending text via radio")