/Heltec_helium_miner_telegram_bot

A telegram bot for heltec helium miner to get information about miner.

Primary LanguageJavaScriptMIT LicenseMIT

Heltec_helium_miner_telegram_bot

A telegram bot for heltec helium miner to get information about miner.

Installation

  • Create a bot on telegram and get the Bot token

  • Edit the ".env" file with your information

  • Node v14.18.1

  • Tested on ubuntu 18.04

# Install'
npm install 
#Rename example.env to .env and add your information'
cp example.env .env 
#Run Bot
npm start

Commands on Telegram app

# Display the  menu'
/menu

# Get miner information'
/info

#Get 10 last Lora logs
/lora_logs

#Start bluetooth pairing
/bluetooth

# Restart the device'
/restart_device

# Restart the miner process
/restart_miner

# Help
/help

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.