Raspberry PI & Meshtastic
Raspberry PI & Meshtastic
Hey all,
I have a heltec v3 and a raspberry pi and im looking to see how i can use my rpi to interface with the heltec device via bluetooth. Anyone have experience doing this? Id like to potentially have a web gui but also interested in using the python package to send messages based on some events ill be creating.
Is there a specific reason why you are choosing Bluetooth instead of WiFi? Connecting the Heltec V3 to the local WiFi will let you interact with it over the network. I think that this would make what you want to do a lot easier.
The Heltec V3 device itself can connect to wifi? I must have been living under a rock. Can you point me to where I can do this?
I don't have the Heltec V3, but the model I was able to find online does support WiFi.
You need to connect to it using some other device. It can be with Bluetooth using an app, or via USB using a web client. Once you are connected to it, you can go to Radio Configuration and add the WiFi info in the Network settings.
Then, you need to figure out what its IP is. There are a few different ways to do it. Usually I log into my router and check the IP of the latest device to log into the WiFi.
You can then go to that IP via your browser, and you will see this:
You can then connect to it and interact with the device over the browser.
To interact with it using the python library, you set the device's IP as the NODE's interface. Here is an example of a very simple script that will connect to the node via its IP and cause it to automatically respond with 'Pong' to any message that it receives that contain 'Ping'.
In the radio settings you can setup the wifi network that you want to use.