Currently there is the Farm monitor, and a standalone Wallet monitor (instructions at bottom)
The wallet monitor is also built into the Farm Monitor
Standalone wallet monitor - Do not use with The Farmer Monitor Thingy as it is already built into it. This will query your node for wallet balance changes, and notify you via discord (more notifications soon!)
- Rename
config.yaml.example
toconfig.yaml
and then edit the configuration - Run
pip install -r requirements.txt
- Run
python wallet_monitor_thingy.py
- Supports remote farmers
- Notifications to Discord or Pushover (more coming!) of events
- Monitors your wallet for balance changes
- Lots more!
More features coming!
Ping me on the Subspace Discord (Wolfrage) if you have any questions. No DMs though -- DMs are the Devil's handjob.
Installation:
- You must add
--rpc-listen-on <LocalIP>:<Port>
to your NODE launch command - port 9944 is default - You must add
--prometheus-listen-on <localIP>:<Port>
to your FARMER launch command - port 8181 is default - If you need to create a farmer log file, add this to the end of your launch command:
|tee -a <FILENAME>.txt
FOR BOTH SIDES:
- Edit
config.yaml.example
and save it asconfig.yaml
- Copy
config.yaml
to both monitor and viewer folders - Run:
pip install -r requirements.txt
THEN FOR FARMER SIDE:
- Save monitor folder to the farmer
- Run:
monitor.py
to launch
THEN FOR VIEWER:
- Copy the Viewer folder to a machine you can connect to the console for
- In the folder Run:
pip install -r requirements.txt
- Run:
python view.py
to launch
The UI will not fully update until a machine cycles and sends its data over. If the drive list is empty after awhile, or if you get Unicode Errors, edit config.yaml and toggle the "TOGGLE_ENCODING" setting.