meshtastic / python

The Python CLI and API for talking to Meshtastic devices
https://meshtastic.org
379 stars 160 forks source link

Linux/Mint: Every meshtastic cli command running just one, two maybe, times #534

Closed DE8MSH closed 6 months ago

DE8MSH commented 6 months ago

Hello.

I can run meschtastic command only one, sometime two, times in same shell as expected.

meshtastic --host 192.x.x.xx --nodes

for example. 1st time it runs well. If I want to let run it second (third) time shell shows:

meshtastic --host 192.x.x.x --nodes
Error connecting to 192.x.x.x:Timed out waiting for connection completion

It seems python / meshtastic doesn't closing any port -- or something like this?!

Anyone?

DE8MSH commented 6 months ago

Hmm... Don't ask. But it could have been because Heltec V3 ignored

meshtastic --port /dev/ttyUSB0 --set bluetooth.enabled false --set network.wifi_enabled true

BT was still active. After shutdown BT with Web interface, commands via IP adress working (inmo).