HelBot

A MeshCore chat bot that runs on the radio itself: ping, path, wx, sun and more, with no computer or server. For the Heltec WiFi LoRa 32 V4 only.

What do you want to do?

After flashing: connect it to your WiFi

  1. Power the board from a charger or power bank; some computers hold it in the bootloader. Press RST if it doesn't restart by itself.
  2. With no WiFi saved, it opens a network called HelBot-XXXXXX. The password is shown on the board's screen. Join it from your phone and the setup page opens by itself.
  3. Choose your WiFi network and set a web password for the bot. The board restarts, joins your WiFi and shows its address on the screen.

Set it up

  1. Open the board's address in a browser and log in with user admin and your web password.
  2. On Settings: choose the bot's name, your location and UTC offset (for sun, moon and wx), the channels it answers on, and which commands are on. Save, then restart.
  3. In the MeshCore app, connect to the board like any companion radio, set your region's radio settings, and join the channel the bot should answer on.
  4. Send ping on that channel. The bot answers pong.

MQTT observer (optional, off by default)

The bot can publish the packets it hears to a MeshCore analyzer. It stays off until you pick a broker and enter your IATA location code (a nearby airport code) on the Settings page, then restart. The community brokers are shared, volunteer-run infrastructure: use your own region's code and follow the operators' rules.

Troubleshooting

The port isn't listed, or flashing won't start Use a data cable (not charge-only) and try another USB port. Then hold BOOT, tap RST, release BOOT, and try again.
I forgot the WiFi or want to switch networks Hold the BOOT button for 10 seconds. That wipes the saved WiFi (the web password stays) and the board opens its setup network again.
I can't reach the settings page Use the address shown on the board's screen. Your computer must be on the same WiFi. If the board can't join its network for three minutes after a restart, it falls back to the setup network.
The bot doesn't answer Check that the channel is in the allow-list on the Settings page, that the command is on, and that the radio settings match your mesh. The bot rate-limits its replies on purpose.

Download the files yourself

You don't have to trust this page: every file is published on the releases page, built by a public workflow from the source, with checksums. These are the files for the selected version and what each one is for.

FileUse it forHow
firmware-merged.binNew install or clean start. Erases settings.esptool: write at 0x0
firmware-update.binUpdate over USB. Keeps settings.esptool: write at 0xe000
firmware.binUpdate over WiFi. Keeps settings.Upload on the bot's /update page
SHA256SUMSChecksums of the three files above.sha256sum -c SHA256SUMS
pip install esptool
# new install (erases settings)
esptool.py --chip esp32s3 --port <port> --baud 921600 write_flash 0x0 firmware-merged.bin
# update over USB (keeps settings)
esptool.py --chip esp32s3 --port <port> --baud 921600 write_flash 0xe000 firmware-update.bin

The port is COMx on Windows and /dev/cu.usbmodem* on macOS. Want to build it yourself? The source and build steps are in the repository.