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
2023-05-03 18:56:51 +08:00
csv added scheduler 2023-04-21 16:49:45 +08:00
feature_titles Add files via upload 2023-03-07 13:17:53 +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 hog and cattle logos 2023-05-03 13:31:20 +08:00
rpi-rgb-led-matrix@dfc27c15c2 scrolling text implimented in Python 2021-04-27 19:29:14 +01:00
static hog and cattle added to commodities validation 2023-05-03 13:32:09 +08:00
templates removed commodities-shit-api 2023-05-02 23:09:11 +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 fixed check update available bug 2022-10-05 16:19:59 +08: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 try except for date 2 2023-04-27 18:51:52 +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
live_mlb.py live mlb 2023-01-09 17:36:59 +08:00
live_mls.py live mls 2023-01-09 17:35:54 +08:00
live_nba.py live nba 2023-01-09 17:39:53 +08:00
live_nfl.py live nfl 2023-01-09 17:41:52 +08:00
live_nhl.py live nhl 2023-01-09 17:45:32 +08:00
live_pl.py live premier league 2023-01-09 17:34:12 +08:00
pulsing-brightness.py Add files via upload 2023-02-23 13:26:12 +08:00
pulsing-colors.py Add files via upload 2023-02-23 13:26:12 +08: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
samplebase.py Add files via upload 2023-02-23 13:26:12 +08:00
server.py restart scheduler brightness whenever stop start 2023-04-27 22:32:54 +08:00
setup_config_files.sh added brightness setting 2023-04-26 14:37:03 +08:00
setup.sh removed display images from github 2021-12-01 15:57:44 +00:00
startup.sh deleted force_fetch.py, doesn't work 2022-10-06 16:35:34 +08:00
stockTicker.py fixed trailing zeros for crypto 2023-05-03 12:42:05 +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.