You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains simple [scripts](./scripts) that can be run with Python to generate images representing different state about your node. The images can be easily displayed either on an attached screen using the simple [slideshow.sh](./scripts/slideshow.sh) script or service, or to a [web site dashboard](#displaying-to-a-website-dashboard).
4
+
This repository contains simple [scripts](./scripts) that can be run with Python to generate images representing different state about your node, market rates, mining and more..
5
5
6
-
STATUS: ALPHA. Scripts are functional, may require adjustment (admin vs bitcoin user). There may be bugs, or unhandled exceptions may be raised that cause related wrapper service to terminate. Please test and provide feedback.
6
+
The images can be easily displayed either on an attached screen using the simple [slideshow.sh](./scripts/slideshow.sh) script or service, or to a [web site dashboard](#displaying-to-a-website-dashboard).
7
+
8
+
STATUS: BETA. Scripts are functional, but there may be bugs, or unhandled exceptions may be raised that cause related wrapper service to terminate. Please test and provide feedback. Moving forward for the final 1.0.0 release, configuration will be externalized to facilitate easier updates.
7
9
8
10

9
11
@@ -33,7 +35,7 @@ To use the scripts in this project, you'll need a Bitcoin Node. An easy low cos
33
35
34
36
You'll also need to ensure dependencies are met for Python and assorted libraries
35
37
36
-
### Setting up Python, Git and Torify
38
+
### Setting up Python, Git, and Torify
37
39
38
40
1. Login to your node via SSH as admin
39
41
2. Install Python3. The Raspberry Pi comes with Python 2.7, but the scripts asume Python 3. Use the command `sudo apt-get install python3`.
@@ -59,9 +61,10 @@ You can upgrade Pillow to the latest using `python3 -m pip install --upgrade Pil
59
61
60
62
Some scripts make use of rounded_rectangle, which requires Pillow 8.2 or above.
61
63
62
-
4. Install Beautiful Soup pythong library using the command `python3 -m pip install beautifulsoup4`
63
-
5. Install git using the command `sudo apt install git`. This will get used later to clone the repo.
64
-
6. Install torify using the command `sudo apt-get install apt-transport-tor`. This may be used when calling external services like Bisq or Mempool.space to improve privacy.
64
+
4. Install Beautiful Soup python library using the command `python3 -m pip install beautifulsoup4`
65
+
5. Install Pandas python library using the command `python3 -m pip install pandas`
66
+
6. Install git using the command `sudo apt install git`. This will get used later to clone the repo.
67
+
7. Install torify using the command `sudo apt-get install apt-transport-tor`. This may be used when calling external services like Bisq or Mempool.space to improve privacy.
65
68
66
69
### Prepare output folder and clone repository
67
70
@@ -72,7 +75,9 @@ The assorted python scripts each create image files. We want them all in a sing
72
75
3. Create the folder for images `mkdir /home/bitcoin/images`
73
76
4. Clone this repo `cd /home/bitcoin ; git clone https://github.com/vicariousdrama/nodeyez.git`
74
77
5. Mark the scripts as executable `chmod +x ~/nodeyez/scripts/*`
75
-
6. Exit the shell from the bitcoin user, returning to admin `exit`
78
+
6. Create folders for configuration files `mkdir -p ~/nodeyez/config`
79
+
7. Create folders for data files `mkdir -p ~/nodeyez/data`
80
+
8. Exit the shell from the bitcoin user, returning to admin `exit`
76
81
77
82
78
83
### Display to a screen attached to GPIO
@@ -219,7 +224,7 @@ Press CTRL+C to stop the process to make any changes. An image will be output t
219
224
### f2pool.py
220
225
This python script is useful if you have a F2 Pool account. This is based on having a read only account setup. You'll need your account name.
221
226
222
-

227
+

223
228
224
229
Dependencies:
225
230
- An account on F2 Pool
@@ -273,7 +278,7 @@ Currently this script is in beta, and does not run at an interval. If you run i
273
278
See also the daily-data-retrieval.py script which retrieves the same information as a service but doesn't produce the images.
274
279
In time this script will be updated to use that common data.
275
280
276
-

281
+

277
282
278
283
Dependencies:
279
284
- An account with Luxor (https://beta.luxor.tech/)
@@ -520,8 +525,6 @@ sudo ./slideshow.sh &
520
525
521
526
You should start seeing images display on your screen. If you dont see any images, then edit the slideshow.sh file, and remove the part at the end `> /dev/null 2>&1` and rerun. Any errors should be reported to help diagnose.
522
527
523
-
524
-
525
528
## Run At Startup
526
529
527
530
You can run the scripts you so choose automatically at startup so that you don't have to login and manually start them after a power outage. To do this, copy the service scripts to the appropriate systemd folder
0 commit comments