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
2022-06-27 23:23:07 +08:00
csv commodities_settings.json and added commodities to last_updates 2022-06-14 19:00:42 +08:00
feature_titles Add files via upload 2022-06-12 18:44:54 +08:00
fonts bug fixes 2021-12-06 20:10:14 +00:00
gifs bug fixes 2021-12-06 20:10:14 +00:00
images bug fixes 2021-12-06 20:10:14 +00:00
logos Add files via upload 2022-06-23 15:37:38 +08:00
rpi-rgb-led-matrix@dfc27c15c2 scrolling text implimented in Python 2021-04-27 19:29:14 +01:00
static change back to standard scrolling after reset 2022-06-27 17:08:26 +08:00
templates cache control for app.js and style.css 2022-06-21 16:19:14 +08:00
.gitmodules scrolling text implimented in Python 2021-04-27 19:29:14 +01:00
7x14.bdf bug fixes 2021-12-06 20:10:14 +00:00
7x14.pbm bug fixes 2021-12-06 20:10:14 +00:00
7x14.pil bug fixes 2021-12-06 20:10:14 +00:00
api_caller.py Update api_caller.py 2022-03-08 19:50:25 +08:00
check_update.sh Merge branch 'master' into dev 2022-04-11 18:33:28 +01:00
coin_list.json bug fixes 2021-12-06 20:10:14 +00:00
database_caller2.py database caller new method 2022-03-06 09:29:42 +00:00
database_caller.py added commodities to db caller 2022-06-13 01:19:14 +08:00
demo initial commit - old code 2021-04-26 19:51:21 +01:00
display_gif.ppm bug fixes 2021-12-06 20:10:14 +00:00
EncodeSans.ttf bug fixes 2021-12-06 20:10:14 +00:00
README.md update test 2022-03-07 20:27:14 +00:00
resetmatrix.py bug fixes 2021-12-06 20:10:14 +00:00
server.py reboot after resetting files 2022-06-24 15:46:11 +08:00
setup_config_files.sh Update setup_config_files.sh 2022-06-24 12:52:15 +08:00
setup.sh removed display images from github 2021-12-01 15:57:44 +00:00
startup.sh Update startup.sh 2022-03-08 22:16:47 +08:00
stockTicker.py got rid of ''' 2022-06-20 17:46:06 +08:00
stockTicker.pyc bug fixes 2021-12-06 20:10:14 +00:00
test.py bug fixes 2021-12-06 20:10:14 +00:00
test.txt scrolling news headlines added 2021-05-21 14:24:37 +01:00
update.sh Update update.sh 2022-02-21 20:26:07 +00:00
user_image.ppm startup logo 2021-07-28 20:18:38 +01:00
version.txt sports_fixes 2022-03-05 10:37:22 +00: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/fin-tic/fintic --recursive

cd fintic
./setup.sh

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. And disable bluetooth, change temp limit:

dtparam=audio=off
dtoverlay=disable-bt
temp_soft_limit=70
sudo nano /boot/cmdline.txt

isolcpus=3

enable ssh

cd /Volumes/boot
touch ssh

disable hdmi, add this line above exit 0

sudo nano /etc/rc.local
/usr/bin/tvservice -o

then reboot the pi with

sudo reboot

Set to run at startup

add the startup script to crotab. Open the crontab

crontab -e

add the line

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

dont forget the ampersand!

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

Install the hotspot

cd ~
curl "https://www.raspberryconnect.com/images/hsinstaller/AutoHotspot-Setup.tar.gz" -o AutoHotspot-Setup.tar.gz
tar -xzvf AutoHotspot-Setup.tar.gz
cd Autohotspot
sudo ./autohotspot-setup.sh

Choose option 2, then option 7 to change the SSID and password (for some reason it didnt work with the default SSID and password).

Then you can connect to the network and go to http://fintic.local:1024 or http://10.0.0.5:1024 and enter wifi information, then reboot

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

sudo -E python3 server.py

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

If it doesnt work because of a missing package try running setup.sh again, sometimes it fails to connect to the package repos

Notes

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