Notifications for https://www.paybyphone.fr/
Project description
Simple bot that sends you an email when you didn’t pay your parking on https://www.paybyphone.fr/
Installation on a Raspberry PI
Install Chromium
Firefox doesn’t support headless mode on Debian yet.
sudo apt-get install chromium-browser
Install Chromedriver
Go to the page of the latest armhf build on https://launchpad.net/ubuntu/trusty/+package/chromium-chromedriver
Use this link in
Install gdebi
sudo apt-get install gdebi
Install chromedriver
sudo gdebi chromium-chromedriver*.deb
Put chromedriver in your path
sudo mv /usr/lib/chromium-browser/chromedriver /usr/bin/chromedriver
Sources:
Install pip
sudo apt-get install python3-pip
Install paybybot
pip3 install paybybot # next line is there to find the paybybot command echo 'export PATH=~/.local/bin:$PATH' >> .bashrc
Configure your credentials
# ~/.paybybot {Your phone number}:{PayByPhone password} # ~/.email-creds {Your email address}:{Email password}
For your email account, I advise you to use an app password. See here for Gmail.
Add a cron task
crontab -e
and write
50 8 * * * paybybot
to run paybybot everyday at 8:50
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.