This script is a command bot that connects to a MeshCore device and responds to commands received in private channels.
Node.js: Make sure you have Node.js installed. You can download it from https://nodejs.org/.
Clone:: Clone this repo.
Dependencies: Open a terminal in the directory of the meshcore-bot.js script and run:
meshcore-bot.js
npm ci
To run the bot use the following command:
node meshcore-bot.js [serial_port]
[serial_port]
/dev/cu.usbmodem1101
node meshcore-bot.js /dev/tty.usbmodem12345
!ping
!date