The package contains MQTT statistics publisher for HiveOS miner.
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
To remove the project:
cd ~/hiveos-mqtt-stats
chmod +x uninstall.sh
./uninstall.sh