mdt-cgm.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. [
  2. {
  3. "type": "vendor",
  4. "name": "openapscontrib.glucosetools",
  5. "openapscontrib.glucosetools": {
  6. "path": ".",
  7. "module": "openapscontrib.glucosetools"
  8. }
  9. },
  10. {
  11. "extra": {},
  12. "type": "device",
  13. "name": "glucose",
  14. "glucose": {
  15. "vendor": "openapscontrib.glucosetools",
  16. "extra": "glucose.ini"
  17. }
  18. },
  19. {
  20. "monitor/cgm-mm-glucosedirty.json": {
  21. "hours": "24.0",
  22. "device": "cgm",
  23. "use": "iter_glucose_hours",
  24. "reporter": "JSON"
  25. },
  26. "type": "report",
  27. "name": "monitor/cgm-mm-glucosedirty.json"
  28. },
  29. {
  30. "type": "report",
  31. "name": "cgm/cgm-glucose.json",
  32. "cgm/cgm-glucose.json": {
  33. "use": "clean",
  34. "reporter": "JSON",
  35. "astimezone": "False",
  36. "date": "display_time dateString",
  37. "adjust": "missing",
  38. "input": "raw-cgm/raw-entries.json",
  39. "device": "glucose",
  40. "timezone": "",
  41. "infile": "monitor/cgm-mm-glucosetrend.json"
  42. }
  43. },
  44. {
  45. "type": "report",
  46. "name": "monitor/cgm-mm-glucosetrend.json",
  47. "monitor/cgm-mm-glucosetrend.json": {
  48. "device": "oref0",
  49. "remainder": "mdt-trend monitor/cgm-mm-glucosedirty.json",
  50. "use": "shell",
  51. "json_default": "True",
  52. "reporter": "JSON"
  53. }
  54. },
  55. {
  56. "type": "report",
  57. "name": "monitor/glucose.json",
  58. "monitor/glucose.json": {
  59. "use": "rezone",
  60. "reporter": "JSON",
  61. "astimezone": "False",
  62. "date": "timestamp dateString start_at end_at created_at display_time",
  63. "adjust": "missing",
  64. "input": "monitor/glucose-unzoned.json",
  65. "device": "tz",
  66. "timezone": ""
  67. }
  68. },
  69. {
  70. "type": "report",
  71. "nightscout/recent-missing-entries.json": {
  72. "oper": "format-recent-type",
  73. "use": "shell",
  74. "reporter": "JSON",
  75. "device": "ns",
  76. "remainder": "tz entries nightscout/glucose.json",
  77. "json_default": "True"
  78. },
  79. "name": "nightscout/recent-missing-entries.json"
  80. },
  81. {
  82. "type": "report",
  83. "nightscout/uploaded-entries.json": {
  84. "oper": "upload",
  85. "use": "shell",
  86. "reporter": "JSON",
  87. "device": "ns",
  88. "remainder": "entries.json nightscout/recent-missing-entries.json",
  89. "json_default": "True"
  90. },
  91. "name": "nightscout/uploaded-entries.json"
  92. },
  93. {
  94. "type": "report",
  95. "nightscout/glucose.json": {
  96. "oper": "mm-format-ns-glucose",
  97. "use": "shell",
  98. "reporter": "JSON",
  99. "device": "ns",
  100. "remainder": "monitor/glucose.json",
  101. "json_default": "True"
  102. },
  103. "name": "nightscout/glucose.json"
  104. },
  105. {
  106. "//": "May be run directly by the user (mentioned in docs)",
  107. "type": "alias",
  108. "first-upload": {
  109. "command": "! bash -c \"cat nightscout/glucose.json | json 1 > nightscout/recent-missing-entries.json && openaps report invoke nightscout/uploaded-entries.json\""
  110. },
  111. "name": "first-upload"
  112. }
  113. ]