bitcoin-ticker is a E-ink ticker that shows usefull information about bitcoin. Due to the limited refresh lifetime, new information is currently shown every 5 minutes and whenever a new block arrives.
The github can be found here: https://github.com/btc-ticker/btc-ticker
I'm currently working on a 7.5 inch version with the following e-Paper:
The config.ini needs the following settings when using the 7.5 inch:
epd_type = 7in5_V2
orientation = 270
The Tickers the following information:
Whenever a new block has arrived on the blockchain, the following information is shown for 120 seconds (can be disabled in the config.ini):
Due to the limited lifetime of 1000000 refreshes and an expected lifetime of 5 years, the refresh period has been set to 216 seconds.
There are four buttons which the following behaviour (Please be patient after pressing, the e-ink is quite slow):
Per default, the file system is mounted writable. When there is a empty ro file in /boot, the filesystem will remounted readonly.
sudo touch /boot/ro
enables the readonly remount. The file can also be created with a PC, similar to the ssh file.
After logging in with ssh,
rw
remounts the file system with write support.
ro
switches back to readonly.
It possible to personalize the ticker to your needs. After logging into your raspi with SSH, the config can be edited with
rw
nano config.ini
ro
After writing the change to the ini file, a restart of the btc-ticker service is needed:
sudo systemctl restart btcticker
After logging into the btc-ticker with SSH, the update can be started with
rw
./99updateMenu.sh
Select now:
ebeb7e615237853f7388f3f8b00268c2e88b560104f711f11e76ed6e0e59805d
Use https://www.raspberrypi.com/software/ for flashing the image to the sd-card.
When you use the Raspberry Pi Imager with settings, there is no need for adding wpa_supplicant.conf manually.
When you did not enter your wifi credentials in the settings menu, you need to do thefollowing:
wpa_supplicant.conf
to the boot partition when mounted on PC
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=[COUNTRY_CODE]
network={
ssid="[WIFI_SSID]"
psk="[WIFI_PASSWORD]"
key_mgmt=WPA-PSK
}
[COUNTRY_CODE]
with the ISO2 code (e.g. DE)[WIFI_SSID]
and [WIFI_PASSWORD]
The SDcard build process is inspired by the great raspiblitz.
ssh
file to the boot partition when mounted on PCwpa_supplicant.conf
file, as shown in the section before. More information are also available heressh pi@[IP-OF-YOUR-RASPI]
using password raspberry
The image can now be build with:
wget https://raw.githubusercontent.com/btc-ticker/btc-ticker/main/build_sdcard.sh && sudo bash build_sdcard.sh
After everything run through, it is possible to login with the password btcticker
In order to prepare everyting for release, run /home/admin/XXprepareRelease.sh
. When you just want to use it for yourself, you do not need to run /home/admin/XXprepareRelease.sh
.
In order to secure your btc-ticker in your local network, you should change the SSH password after setting up everything.
ssh admin@[IP-OF-YOUR-RASPI]
using the password btcticker
echo "pi:NEWPASSWORD" | sudo chpasswd
echo "root:NEWPASSWORD" | sudo chpasswd
echo "admin:NEWPASSWORD" | sudo chpasswd
Replace NEWPASSWORD
with the new password.
btc-ticker is using the following APIs: