Repository to share various work related to OpenAPS.
The current solution for setup temporary targets is to set them from nightscout. For this it is necessary to have internet connection, which is not always possible and sometimes problematic.
start-temp-target.sh - script able to change temporary target in settings/temptarget.json, to be able to use it, nightscout download of temptargets needs to be disabled.
The script can be used from Hot Button application.
TODO: rewrite in more json friendly way e.g. Node.js, improve parameter handling, ...
- clone this repository
- install dependencies:
sudo pip install flask
- to start the service:
OPENAPSROOT=/path/to/youropenapsp python APSapi.py
- to run on startup add to the crontab:
@reboot OPENAPSROOT=/path/to/your/openaps python /path/to/service/APSapi.py
The service uses by default port 5001.
Http Request Shortcuts can be used to create various buttons for Http requests.
Http Push is pebble application where you can create custom http buttons. No registration anywhere is required and you do not need an internet connection to execute your requests.