First, be sure that you can execute the commands bitcoin-cli and lncli with your user. If you don't, you need to check GO Path.
- Dependencies:
Python Libraries
pip3 install flask pip3 install requests pip3 install psutil py-cpuinfo sudo apt-get update sudo apt-get install lm-sensors libsensors4-dev pip3 install pysensors pip3 install markdown
##Below is for a manual installation without git clone
-
Get the files node-status.py, status.html, and message.txt
-
Place node-status.py in your user directory
/home/user/node-status
-
Make a directory
templates
sudo mkdir templates
-
Move the files
status.html
andmessage.txt
to the directory/home/user/node-status/templates
-
Edit the file
message.txt
and write anything you want -
Open the file
node-status.config
and fill out your configurationsRUNNING_ENVIRONMENT = 'umbrel' - Change to 'umbrel' for Umbrel systems or 'minibolt' for minibolt / raspibolt or any standalone
RUNNING_BITCOIN = 'local' - Change to 'external' if you are running Bitcoin Core on another machine
UMBREL_PATH = "/path/to/umbrel/scripts/" - Path to Umbrel app for Umbrel users only
-
Open the file
node-status.config
and fill out with your Bitcoind credentialsBITCOIN_RPC_USER = 'YOUR_BITCOIN_RPCUSER'
BITCOIN_RPC_PASSWORD = 'YOUR_BITCOIN_RPCPASS'
BITCOIN_RPC_HOST = 'YOUR_BITCOIN_MACHINE_IP'
BITCOIN_RPC_PORT = '8332'
-
Save and Exit
-
Execute:
python3 node-status.py
-
Now you can access
http://your_machine_ip:5000/status
You need to create a self-signed certificate otherwise the browser will not permit camera access
Inside the node-status folder execute the command:
openssl req -x509 -newkey rsa:4096 -keyout key-ns.pem -out cert-ns.pem -days 365 -nodes
You need to edit the node-status.py
and in the end of the file
Follow the instructions to uncomment the https server line.
After doing this you need to access https://your_machine_ip:5000/status