I am constantly not able to use the Meshtastic cli to communicate with my TBeam radio. I recently used the chrome web flasher and successfully flashed both of my radios with the latest version. (see screenshot)
I am trying to use the CLI now to set up the gpio channel using the python meshtastic package and every time I get this exception…
% meshtastic --info
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/meshtastic", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/meshtastic/__main__.py", line 933, in main
common()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/meshtastic/__main__.py", line 709, in common
client = meshtastic.serial_interface.SerialInterface(args.port, debugOut=logfile, noProto=args.noproto)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/meshtastic/serial_interface.py", line 57, in __init__
StreamInterface.__init__(self, debugOut=debugOut, noProto=noProto, connectNow=connectNow)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/meshtastic/stream_interface.py", line 50, in __init__
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/meshtastic/stream_interface.py", line 74, in connect
self._waitConnected()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/meshtastic/mesh_interface.py", line 402, in _waitConnected
raise Exception("Timed out waiting for connection completion")
Exception: Timed out waiting for connection completion
I am able to call esptool.py chip_id and grab that information. This is the output from that…
% esptool.py chip_id
esptool.py v4.1
Found 6 serial ports
Serial port /dev/cu.wchusbserial51850163561
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 58:bf:25:05:5d:18
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: 58:bf:25:05:5d:18
Hard resetting via RTS pin...
Things I’ve already tried:
- upgrading pip3 (version: pip 23.0.1)
- reinstalling meshtastic (version: 1.2.95)
- reinstalling esptool (version: 4.1)
- re flashing the radio (version: 2.0.20.7100416)
- restarting my Mac (Ventura 13.1)
- reinstalling the Silicon Labs driver (version: 6.0.2)
I also can see the radio id is connected under my “Hardware → USB device tree”
Hopefully there is something obvious I am doing wrong here. I have been able to connect before and get or set values through the CLI.
Thanks for any help!!