Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with CLI with Heltec v3 board #670

Open
BenParker2022 opened this issue Sep 8, 2024 · 5 comments
Open

Problems with CLI with Heltec v3 board #670

BenParker2022 opened this issue Sep 8, 2024 · 5 comments

Comments

@BenParker2022
Copy link

when trying a command like meshtastic --info or meshtastic --ack the device shuts down. here are my stats that i got from the CLI. the only thing that works is -noproto. I have the proper drives and updated meshtastic, python, pip, and pytap.

System: Windows
Platform: Windows-10-10.0.22631-SP0
Release: 10
Machine: AMD64
Encoding (stdin): utf-8
Encoding (stdout): utf-8
meshtastic: v2.4.1
Executable: C:\Users******\AppData\Local\Programs\Python\Python311\Scripts\meshtastic
Python: 3.11.7 CPython MSC v.1937 64 bit (AMD64)

Please add the output from the command: meshtastic --info

C:\Users\bendp>meshtastic --info

C:\Users\bendp>meshtastic --listen
DEBUG file:main.py common line:1131 Not logging serial output
DEBUG file:serial_interface.py init line:35 ports:['COM4']
DEBUG file:serial_interface.py init line:46 Connecting to COM4
DEBUG file:stream_interface.py __reader line:147 in __reader()
DEBUG file:stream_interface.py _sendToRadioImpl line:110 Sending: want_config_id: 803497996
DEBUG file:stream_interface.py _sendToRadioImpl line:115 sending header:b'\x94\xc3\x00\x06' b:b'\x18\x8c\xd0\x91\xff\x02'
DEBUG file:mesh_interface.py _handleFromRadio line:963 in mesh_interface.py _handleFromRadio() fromRadioBytes: b'@\x01'
DEBUG file:mesh_interface.py _handleFromRadio line:967 Received from radio: id: 3804064768
rebooted: true # not sure if this is the problem but it crashes about 7 lines down

DEBUG file:stream_interface.py _sendToRadioImpl line:110 Sending: want_config_id: 3897468303
DEBUG file:stream_interface.py _sendToRadioImpl line:115 sending header:b'\x94\xc3\x00\x06' b:b'\x18\x8f\xcb\xba\xc2\x0e'
DEBUG file:mesh_interface.py _handleFromRadio line:963 in mesh_interface.py _handleFromRadio() fromRadioBytes: b'27\n$Client wants config, nonce=803497996\x1a\rSerialConsole \x14'

It crashes right after this. I don't think it is a power issue because when i connect a battery it still does it, thought i do not know if it only charges the battery when plugged in via serial. please help this is super annoying as I am trying to get this setup for remote node use. not sure if it is a programing bug in python or a issue on windows side. I am going to get a better USB C cable to see if that changes it. tried to connect on two separate computers with the same results

@kf4mot
Copy link

kf4mot commented Sep 13, 2024

Same for me.
I know I have other issues, at least a serial permission Windows problem since I can't get CLI to really work at all. I don't see other modules rebooting like this Heltec one though.

@lysol
Copy link
Contributor

lysol commented Sep 17, 2024

When you say the device crashes, does it reboot? What version of firmware does your heltec v3 have? If you have the original firmware that came with the device, I would erase and reflash with a more current Beta. I'm no authority on this, but I really don't think there's anything in the Python client that is magic that could crash the device, so I'd really suspect a hardware issue here.

@BenParker2022
Copy link
Author

It does not have reboot on the screen. Light flashes and turns to black for a couple seconds. Then comes back on with the meshtastic logo. The most recent stable version 2.4.2.5.

@BenParker2022
Copy link
Author

I have two board and they both do the same thing. Heltec v3

@BenParker2022
Copy link
Author

I was able to run it fine on a computer running windows 10. I think it might be a problem with windows thinking the node is a HID mouse or something. Definitely not the actual python script or the API. Still trying to figure this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants