A small script that uses the predictions from Agile Predict and sends a notification to your favourite service using Apprise when the predicted price goes below a set threshold.
This is intended to be run on a cronjob.
Clone the project and install the dependencies into a python virtual environment:
# Clone the repository
$ git clone git@github.com:AlanCunningham/octopus-agile-prediction-notifier.git
# Create a python virtual environment
$ python3 -m venv venv
# Activate the virtual environment
$ source venv/bin/activate
# Install the python dependencies using the requirements.txt file provided
(venv) $ pip install -r requirements.txt
Open the settings.py and enter:
- Your Distribution Network Operator Code
- Your preferred price threshold in pence
- The Apprise services you want to notify - see the Apprise Supported Notifications for the format of the service you want to add.
Then run the application
(venv) $ python main.py