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-03-04 23:00:20 +08:00
csv premier league fix 2022-03-03 23:13:30 +08:00
feature_titles bug fixes 2021-12-06 20:10:14 +00: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 premier league fix 2022-03-03 23:13:30 +08:00
rpi-rgb-led-matrix@dfc27c15c2 scrolling text implimented in Python 2021-04-27 19:29:14 +01:00
static enable wi-fi saving 2022-03-02 23:09:52 +08:00
templates fixing premier league 2022-03-03 23:03:19 +08:00
.DS_Store premier league fix 2022-03-03 23:13:30 +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 api caller bugfix 2021-12-21 10:17:43 +00:00
check_update.sh check update added 2022-02-27 17:22:35 +00:00
coin_list.json bug fixes 2021-12-06 20:10:14 +00:00
database_caller.py fixed premier league 2022-03-04 23:00:20 +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 README.md 2021-12-10 16:08:29 +00:00
resetmatrix.py bug fixes 2021-12-06 20:10:14 +00:00
server.py removed unnecessary characters for wifi SSID 2022-03-03 01:09:38 +08:00
setup_config_files.sh setup fix 2022-02-26 17:00:19 +00:00
setup.sh removed display images from github 2021-12-01 15:57:44 +00:00
startup.sh bigfix 2021-11-29 15:02:59 +00:00
stockTicker.py fixed PL not showing up in past games 2022-03-04 17:42:24 +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 change version number and ledgpio slowdown 2022-02-22 20:48:43 +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.