Hops is a Meshtastic bot that responds to dot commands.
Get information on the bot (sends you here) Synonyms:.info, .?
Node info as hops sees it
Sends a short ack.
Say hello! Synonyms:.👋🏼
Send a message to a user. The user can be specified by their short or long name.
Retrieve your most recent 5 mail messages.
Add an item to the global BBS
List the most recent 5 BBS messages
Start by cloning the repository and setting up a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`Then, install the required packages:
pip install -r requirements.txtThen, you can run the bot using the following command:
python main.py --helpTests can be run with:
python -m unittest discoverYou can install the bot via
pip install .and once installed run it via
hops --helpHops expects to have access via the serial interface or via TCP. It does not run via BLE.
To run via the serial interface,
hops --serialand via TCP,
hops --tcp <ip_address>By default hops will create a sqlite database db.sqlite in the current directory. Alternatively you can specify a different database file with the --db option:
hops --serial --db /path/to/db.sqlite