- Python Installed: Version 3.x
- Pip Installed: Required for package management
- Meshtastic Python CLI Installed:
pip install meshtastic
- Meshtastic Device: Connected via USB
-
Verify Device Connection
- Open a terminal or command prompt.
- Run the following command to check if the device is detected:
meshtastic --info
-
List Available Nodes
- Run the following command to see other nodes in the network:
meshtastic --nodes
- Run the following command to see other nodes in the network:
-
Send a Message
- Use the following command to send a test message:
meshtastic --sendtext "Hello, this is a test!"
- If successful, the message will be transmitted to the network.
- Use the following command to send a test message:
-
Receive Messages
- Messages from other nodes should appear in the terminal automatically.
- If messages do not appear, check the node list to ensure connectivity.
- Ensure the device is powered on and properly connected via USB.
- If
--info
does not return results, try restarting the device. - Check if the firmware is up to date.
- Ensure the correct serial port is being used.
For further details, visit the Meshtastic Python CLI Guide.