I don’t like expense entry, so I got a TagUI robot to do it for me

image

Hardware

Software

Instructions

  1. Run Etcher Portable as Administrator on a Windows PC to flash the Raspberry Pi OS onto the MicroSD card
  2. Insert the MicroSD card into the Raspberry Pi computer
  3. Connect the Raspberry Pi computer to power, monitor, keyboard, and mouse
  4. The Raspberry Pi will eventually log you in and you can configure the following
  5. Apply intial keyboard and locale settings
  6. Configure new password
  7. Configure wireless network settings
  8. Agree to let Raspberry Pi update its operating system and applications (~45mins)
  9. Restart the Raspberry Pi
  10. Run the following code in the terminal, best to do this one line at a time so you can monitor success or errors
# Refresh repositories
sudo apt-get update

# Install PHP 7.3
sudo apt-get install php=2:7.3+69

# Make space
mkdir -p ~/bin/phantomjs

# The following line is recommended to solve dependencies for PhantomJS,
# however Raspian Buster comes packaged with these by default
# so I think it's safe to skip this next line
# sudo apt install libssl1.0.2 fontconfig

# Install PhantomJS 2.1.1 (from fg2it/phantomjs-on-raspberry)
cd ~/bin/phantomjs
wget https://github.com/fg2it/phantomjs-on-raspberry/releases/download/v2.1.1-wheezy-jessie-armv6/phantomjs
sudo chmod 777 phantomjs
sudo ln -sf ~/bin/phantomjs/phantomjs /usr/local/bin/phantomjs

# Set the environment variable so that PhantomJS avoids a known OpenSSL error
# https://help.nextcloud.com/t/auto-configuration-failed/35721
printf "export OPENSSL_CONF=/etc/ssl/" >> ~/.bashrc
source ~/.bashrc

# Download and unzip TagUI 6.0
cd ~/bin
wget https://github.com/kelaberetiv/TagUI/releases/download/v6.0.0/TagUI_Linux.zip
unzip TagUI_Linux.zip
rm TagUI_Linux.zip

# Remove the PhantomJS files that come packaged with TagUI,
# if you skip this step then TagUI will assert its packaged PhantomJS
# instead of the PhantomJS that you have installed manually in these instructions
rm -r ~/bin/tagui/src/phantomjs

# Create symlink for TagUI
sudo ln -sf ~/bin/tagui/src/tagui /usr/local/bin/tagui

# Create symlink for TagUI to use Chromium instead of Google Chrome
sudo ln -sf /usr/bin/chromium-browser /usr/bin/google-chrome

// Log into SnapFitness
http://my.snapnation.com.au/
type nf-field-5 as cainhill@gmail.com
type nf-field-6 as xxxxxxxx
click nf-field-7
wait 30