Skip to content
Marion Barker edited this page Jul 16, 2025 · 11 revisions

Welcome to the OmniLoopMessageParser wiki!

Purpose

Reads the LoopReport generated by Loop and extracts the portions that are associated with the Omnipod to report information about the session and parse all the messages between Loop and the pod(s) included in the LoopReport.md file.

Expand this to parse the log_prev.txt and log.txt files from initially from FreeAPS X, but now from Trio

  • Type of file: Loop or Trio style passed in by the user (see examples in runLastLoopReport.py and runLastFAPSXlog.py)
    • We kept the FAPSX name in the code, but it is update to support Trio
  • In addition to the summary report and csv files the parser creates for Loop files, for FreeAPS X files, the parser also creates plots (mac only) for the user showing BG, IOB, COB, TB/SMB and SensRatio

See https://github.com/openaps/openomni/wiki for information about pod messages.

Required packages

Be sure to run pip install -r requirements.txt to ensure you have the required packages to use this parser.

Overview

The modules can be used to

  • assist in evaluating new features under test
  • assist in trouble-shooting pod-pairing issues
  • obtain statistics per pod or set of pods in file
  • obtain statistics over multiple users

Personal Use

This is configured for my file system and my convenience. You will need to modify the fileio function getAnalysisIO.py in order to use for yourself.

Outline

  1. Top Level Functions
  2. Packages
  3. Methods
  4. History and Acknowledgements
  5. Parse HEX Strings

Clone this wiki locally