Mirror of https://github.com/fin-tic/fintic (private repo) This is the software that runs on the raspberry pi 3 inside a fintic.io device.
Go to file
Neythen b0f106c64f scrolling news headlines added 2021-05-21 14:24:37 +01:00
__pycache__ scrolling news headlines added 2021-05-21 14:24:37 +01:00
csv scrolling news headlines added 2021-05-21 14:24:37 +01:00
fonts font size increased and all font options added 2021-05-01 12:08:15 +01:00
gifs image and gif upload and display working 2021-05-21 11:20:39 +01:00
logos tidied up paths 2021-05-04 17:39:16 +01:00
rpi-rgb-led-matrix@dfc27c15c2 scrolling text implimented in Python 2021-04-27 19:29:14 +01:00
static initial commit - old code 2021-04-26 19:51:21 +01:00
templates scrolling news headlines added 2021-05-21 14:24:37 +01:00
.gitmodules scrolling text implimented in Python 2021-04-27 19:29:14 +01:00
7x14.bdf forgot some files 2021-05-14 14:06:57 +01:00
7x14.pbm forgot some files 2021-05-14 14:06:57 +01:00
7x14.pil forgot some files 2021-05-14 14:06:57 +01:00
EncodeSans.ttf initial commit - old code 2021-04-26 19:51:21 +01:00
README.md Update README.md 2021-05-21 11:30:02 +01:00
api_caller.py scrolling news headlines added 2021-05-21 14:24:37 +01:00
demo initial commit - old code 2021-04-26 19:51:21 +01:00
display_gif scrolling news headlines added 2021-05-21 14:24:37 +01:00
display_image scrolling news headlines added 2021-05-21 14:24:37 +01:00
final.ppm scrolling news headlines added 2021-05-21 14:24:37 +01:00
final1.ppm image and gif upload and display working 2021-05-21 11:20:39 +01:00
log.txt scrolling news headlines added 2021-05-21 14:24:37 +01:00
resetmatrix.py frist section done 2021-05-08 12:10:05 +01:00
scroll_text.ppm scrolling news headlines added 2021-05-21 14:24:37 +01:00
server.py scrolling news headlines added 2021-05-21 14:24:37 +01:00
setup.sh setup script added 2021-05-04 22:13:13 +01:00
startup.sh auto startup script added 2021-05-05 22:00:12 +01:00
stockTicker.py scrolling news headlines added 2021-05-21 14:24:37 +01:00
stockTicker.pyc image and gif upload and display working 2021-05-21 11:20:39 +01:00
test.py scrolling news headlines added 2021-05-21 14:24:37 +01:00
test.txt scrolling news headlines added 2021-05-21 14:24:37 +01:00

README.md

fintic

Install instructions

Run these commands in the directory you want to put the app and press enter during the setup whenever it asks for confirmation

sudo apt-get update
sudo apt-get install git
git clone https://github.com/zcqsntr/fintic --recursive

cd fintic
./setup.sh

sudo apt-get install libatlas-base-dev

pip3 install pycoingecko
pip3 install newsapi-python


Now to turn off the audio circuit open the config file with

sudo nano /boot/config.txt

look for the dtparam=audio option and turn it to off, the line should look like this:

dtparam=audio=off

then reboot the pi with

sudo reboot now

Set to run at startup

add the startup script to crotab. Open the crontab

crontab -e

add the line

@reboot <path to fintic>/startup.sh &

dont forget the ampersand!

also make sure that the paths in startup.sh are correct for your install location

Change the hostname

To change the hostname (URL used to access the server) first open config

sudo raspi-config

Then go to system options -> hostname and change it to e.g. fintic

You then connect to the server using the url fintic.local:1024

Run instructions

python3 server.py

in broswer go to url http://raspberrypi.local:1024

Notes

To conver bdf font to pil format do pilfont.py pillow v 5.4.1 works, but version 8.2.0 breaks