Unable to receive messages but SDK works otherwise
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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?
- Lenguaje dominante
- Python
- Estrellas
- 855
- Forks
- 355
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 12
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de meshtastic/python
-
BLE: node unreachable on Linux after pairing — bluez auto-reconnect holds the single connectionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
meshtastic/python#972 ·
Los mantenedores suelen responder en 1 día
-
Bug: Can't run on TermuxPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
meshtastic/python#969 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
meshtastic/python#506 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
meshtastic/python#985 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Undocumented `--set` choicesPosiblemente ocupada @Cryptoteep la tomó hace 54 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
meshtastic/python#978 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de meshtastic/python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pimutils/vdirsyncer#1242 ·
-
backlog
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
sagemathinc/sagebrush#2768 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
vllm-project/vllm-ascend#23791 ·
Los mantenedores suelen responder en 1 día
-
priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
QuantConnect/lean-cli#792 ·
Los mantenedores suelen responder en 1 día