Skip to main content

Notifications for

Project description

Simple bot that sends you an email when you didn’t pay your parking on

Installation on a Raspberry PI (about 30 minutes)

Install Chromium

Firefox doesn’t support headless mode on Debian yet.

sudo apt-get install chromium-browser

Install Chromedriver

  1. Go to the page of the latest armhf build on

  2. Use this link in

  3. Install gdebi

    sudo apt-get install gdebi
  4. Install chromedriver

    sudo gdebi chromium-chromedriver*.deb
  5. Put chromedriver in your path

    sudo mv /usr/lib/chromium-browser/chromedriver /usr/bin/chromedriver


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

In ~/.paybybot:

{Your phone number}:{PayByPhone password}

In ~/.email-creds:

{Your email address}:{Email password}

For your email account, I advise you to use an app password. See here to configure one in Gmail.

Add a cron task

crontab -e

and write

50 8 * * * ~/.local/bin/paybybot

to run paybybot everyday at 8:50

Configure your timezone correctly

For both crontab and the logs.

sudo raspi-config

then Localisation Options > Change Timezone

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paybybot-0.0.4.tar.gz (7.5 kB view hashes)

Uploaded source

Built Distribution

paybybot-0.0.4-py3-none-any.whl (9.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page