Skip to content

makotila/LibreOOPWeb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibreOOPWeb

This is a site to upload and manage libre readings. If you consider setting up an instance of LibreOOPWeb, you should really really know what you are doing, so instructions here are going to brief

Install LibreOOPWeb

  • Use azure, set up a new web app and deploy from source code. Select "github"
  • Add the following app settings:
    • NS_Host should point to a nightscout installation, f.ex. https://somesite.herokuapp.com . This will be used to authorize users, both uploaders and processor users. Users should be administered in nightscout's admin tools
    • Mongo_Url should be a mongo uri string to a completely new database, separate from your nightscout install. This will be used to store libre readings

Setup users in nightscout

  • Go to your nightscout site admin tools. Set up two new roles
    • libreoopprocessor - users that are members of this group are allowed to fetch, process and upload processed results
    • libreoop - users that are members of this group are allowed to upload raw readings for processing
  • Create necessary amount of users as you see fit

Set up a processing agent

Setting on a processing agent requires you to create one user in nightscout that has membership with libreoopprocessor permissions

  • Build a special version of libreoopalgo, it can be found here: https://github.com/dabear/LibreOOPAlgorithm/commit/90e78de0f70fe3c01f2371aa6f7b36e21051abc5
  • Configure the LIBRE_OOP_WEB_ENABLE, LIBRE_OOP_WEB_PROCESSING_TOKEN and LIBRE_OOP_WEBSITE variables before building.
  • The details regarding how you should build the oopalgo is out of scope for this document
  • oopalgo app needs to be run on a physical android device. Emulators are not an option. The android device's Screen must not be locked ever, or processing might stop working.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 86.8%
  • C# 9.5%
  • HTML 3.4%
  • Other 0.3%