Unable to receive messages but SDK works otherwise
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The report concerns the meshtastic.receive pypubsub topic in the Python SDK's serial interface, so start with how meshtastic.serial_interface.SerialInterface dispatches incoming packets. Reproducing needs a Meshtastic device connected over USB that receives direct text messages. The issue has no comments or assignee, and reproducing it depends on hardware, so a newcomer would need a maintainer's direction first. Done means text messages sent to the node reach the on_receive callback.
索引モデルが issue の本文から書いたものです。
説明
Using the following dead simple code based on countless examples, fails for me when using the Meshtastic Python SDK and the Seeed Wio Tracker L1 Pro.
import time
import meshtastic
import meshtastic.serial_interface
from pubsub import pub
def on_receive(packet, interface):
print(packet)
pub.subscribe(on_receive, "meshtastic.receive")
interface = meshtastic.serial_interface.SerialInterface()
print("Waiting for messages...")
while True:
time.sleep(5)
This will report occasional telemetry and position messages from various nodes but never any messages sent to the node. Received messages appear on the node's screen and can be read there but are never reported via the receiver hook. The node is connected by USB.
Note that I can retrieve the node list, send messages and interact with the node config via the Python SDK - I just can't seem to receive messages.
Things I've tried:
- Various meshtastic SDK versions in the 2.6.x and 2.7.x series
- Python versions 3.11, 3.12 and 3.13.
- Tried with both L1 Pros I have
- Firmware versions 2.715 and 2.7.19 (no difference)
- Usiing pypubsub's snoop feature to see all events - there are just none for incoming text messages.
I feel like I must be missing something. Any pointers on how to troubleshoot this?
- 主要言語
- Python
- スター
- 855
- フォーク
- 355
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
meshtastic/python のほかの issue
-
BLE: node unreachable on Linux after pairing — bluez auto-reconnect holds the single connectionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
meshtastic/python#972 ·
メンテナーはふだん 1 日以内に返信
-
Bug: Can't run on Termux対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
meshtastic/python#969 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
meshtastic/python#506 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
meshtastic/python#985 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Undocumented `--set` choices対応中かも @Cryptoteep が 54 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
meshtastic/python#978 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
meshtastic/python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pimutils/vdirsyncer#1242 ·
-
backlog
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sagemathinc/sagebrush#2768 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vllm-project/vllm-ascend#23791 ·
メンテナーはふだん 1 日以内に返信
-
priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
QuantConnect/lean-cli#792 ·
メンテナーはふだん 1 日以内に返信