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
2021-05-07 19:40:04 +01:00
__pycache__ api call conditions improved 2021-05-06 20:59:27 +01:00
csv switched to IEX api 2021-05-07 19:39:42 +01:00
fonts font size increased and all font options added 2021-05-01 12:08:15 +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 persistant settings added 2021-05-05 16:22:01 +01:00
.gitmodules scrolling text implimented in Python 2021-04-27 19:29:14 +01:00
api_caller.py switched to IEX api 2021-05-07 19:39:42 +01:00
demo initial commit - old code 2021-04-26 19:51:21 +01:00
EncodeSans.ttf initial commit - old code 2021-04-26 19:51:21 +01:00
final1.ppm api call conditions improved 2021-05-06 21:00:19 +01:00
final.ppm api call conditions improved 2021-05-06 20:59:27 +01:00
README.md Update README.md 2021-05-07 19:28:54 +01:00
server.py api call conditions improved 2021-05-06 20:59:27 +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 api call conditions improved 2021-05-06 20:59:27 +01:00
stockTicker.pyc api call conditions improved 2021-05-06 20:59:27 +01:00
test.py communication between server and matrix process working 2021-05-01 11:39:20 +01:00

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 pyEX

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