letovlive / hiveos-mqtt-stats

HiveOS MQTT statistic publisher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HiveOS MQTT statistics.

"Buy Me A Coffee"

The package contains MQTT statistics publisher for HiveOS miner.

Installation

To run the project:

cd ~
git clone https://github.com/letovlive/hiveos-mqtt-stats.git
cd hiveos-mqtt-stats
cp .env.example .env

Use preferred editor and setup credentials in .env file. Or use vi to edit:

vi .env

Make scripts executable:

chmod +x install.sh
chmod +x start.sh
chmod +x stop.sh

Install and run:

./install.sh
./start.sh

To stop publishing statistics:

./stop.sh

Uninstall

To remove the project:

cd ~/hiveos-mqtt-stats
chmod +x uninstall.sh
./uninstall.sh

About

HiveOS MQTT statistic publisher

License:MIT License


Languages

Language:JavaScript 80.8%Language:Shell 19.2%