connect your node over serial to Raspberry PI and let this bot answer public and private messages bot response to messages from public channel into direct messages too
- meshtastic python CLI - https://meshtastic.org/docs/software/python/cli/installation/
- got you to install python, pip and few other dependencies
- dependencies - install with
pip install -r requirements.txt
use git clone or upload via ssh (winSCP)
sudo apt install git
git clone https://github.com/PiDiBi/meshbot.git
cd meshbot
- edit mesh_bot.py if you need other than serial connection
- run
python3 mesh_bot.py
- if it starts without errors send private message to your node from other node
PING
- you should see response in the terminal and got it as message too
- terminate the script and install it as service
- create and edit service file (see content of mesh_bot.service)
sudo nano /etc/systemd/system/meshbot.service
- reload daemon
sudo systemctl daemon-reload
- start service
sudo systemctl start meshbot.service
- see status
sudo systemctl status meshbot.service | more
- this one displays log from the service so you can see when you send a message what happened
- basic functions
ping
- response withPONG
and signal strengthack
- responseACK-ACK!
and signal strengthwhereami
returns the address of location of sender if knownjoke
tells a jokewhereami
- tries to find your location from GPS
- (space) weather conditions
sun
andmoon
return info on rise and set local timetide
returns the local tides, NOAA data sourcesolar
gives an idea of the x-ray fluxhfcond
returns a table of HF solar conditionswx
andwxc
returns local weather forcast, NOAA data source (wxc is metric value)
Used ideas and snippets from other responder bots want to call them out!