Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
APSapi.py
README.md
Screenshot_20170218-162111.png
Screenshot_20170218-162143.png
Screenshot_20170218-162223.png
start-temp-target.sh

README.md

OpenAPS share

Repository to share various work related to OpenAPS.

Temporary targets

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.

Shell script

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, ...

Web service

Installation
  • 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.

Android

Http Request Shortcuts can be used to create various buttons for Http requests.

Http Shortcuts 1

Http Shortcuts 2

Pebble

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.

Pebble

You can’t perform that action at this time.