fix: v0.6.9 - _on_node_updated fehlende interface-Parameter
meshtastic.node.updated sendet (node, interface), _on_node_updated akzeptierte nur (node) -> SenderUnknownMsgDataError beim Empfang von Node-Updates. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0b68c0417d
commit
6bb04ec828
|
|
@ -1,5 +1,12 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.6.9] - 2026-02-18
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- **bot.py**: `_on_node_updated` Signatur um `interface=None` ergänzt –
|
||||||
|
`meshtastic.node.updated` sendet `(node, interface)`, fehlender Parameter
|
||||||
|
führte zu `SenderUnknownMsgDataError` und Absturz des Node-Handlers.
|
||||||
|
|
||||||
## [0.6.8] - 2026-02-18
|
## [0.6.8] - 2026-02-18
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: "0.6.8"
|
version: "0.6.9"
|
||||||
|
|
||||||
bot:
|
bot:
|
||||||
name: "MeshDD-Bot"
|
name: "MeshDD-Bot"
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,7 @@ class MeshBot:
|
||||||
stats["bot_connected"] = self._connected
|
stats["bot_connected"] = self._connected
|
||||||
await self.ws_manager.broadcast("stats_update", stats)
|
await self.ws_manager.broadcast("stats_update", stats)
|
||||||
|
|
||||||
def _on_node_updated(self, node, topic=pub.AUTO_TOPIC):
|
def _on_node_updated(self, node, interface=None, topic=pub.AUTO_TOPIC):
|
||||||
self.loop.call_soon_threadsafe(asyncio.ensure_future, self._handle_node_update(node))
|
self.loop.call_soon_threadsafe(asyncio.ensure_future, self._handle_node_update(node))
|
||||||
|
|
||||||
def _on_receive(self, packet, interface, topic=pub.AUTO_TOPIC):
|
def _on_receive(self, packet, interface, topic=pub.AUTO_TOPIC):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue