A python tool that sends a push notification via pushover if a new apartment becomes available on Wåhlin Fastigheter.
- Create python3 venv and run
pip install -r requirements.txt
to install required modules. - Edit config in
apartment-notifyer.py
. - Create Task in Task Scheduler to run at a interval.
- Set action to start
C:\path-to-venv\Scripts\python.exe
with argument"C:\path\to\project\apartment-notifyer.py"
- Create python3 venv and run
pip install -r requirements.txt
to install required modules. - Edit config in
apartment-notifyer.py
. - Create a LaunchAgent in
/Library/LaunchAgents/com.cr3ation.application-notifyer.plist
and execute/path/to/project/apartment-notifyer.py
Is sent once per day if number of apartments is >0
.
Another notification will be sent if number of available apartments goes from 1
to 2
to ...
on a given day.
Install using docker-compose
or by building the image from scratch. Examples below.
In order to run within a container you'll need docker installed.
Edit docker-compose.yaml
. Add PUSHOVER_TOKEN
and PUSHOVER_KEY
and save. Then run
docker-compose up
docker build -t apartment-notifyer:latest .
docker run -d -e PUSHOVER_TOKEN=<token> -e PUSHOVER_KEY=<key> apartment-notifyer:latest
PUSHOVER_TOKEN
- MandatoryPUSHOVER_KEY
- MandatoryUPDATE_INTERVAL
- Optional. Default = 60 seconds.
/app/
- Entire project including logs
/app/apartment-notifyer.py
- Main application/app/notifications.log
- Logs
Please read CONTRIBUTING.md for details on code of conduct, and the process for submitting pull requests.
- Henrik Engström - Initial work - cr3ation See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.