Skip to content

Newest oref0 dev breaking nightscout #1228

@stevebell117

Description

@stevebell117

Describe the bug
Installing the newest oref0, the ns-status that's being uploaded to NS is breaking the "devicestatus" collection due to including a "uploader: {}" empty hash on a non-uploader entry.

To Reproduce
Steps to reproduce the behavior:

  1. Install dev oref0
  2. Start looping with it
  3. Wait a few minutes for the first few loops to complete, try refreshing Nightscout
  4. See failure

Expected behavior
No Nightscout issues

Screenshots
NA

Smartphone (please complete the following information):
Pixel 3

Setup Information (please complete the following information):

  • Pump type : Medtronic 523
  • CGM type : Dexcom G6
  • Rig type : Pi/Radio
  • oref0 version : 0.7.0-dev

Additional context
Here are snippets of a "normal" devicestatus entry, and the broken (Taken from two different rigs running two different commits at the same time within range of each other):
Bad

    "pump": {
        "clock": "2019-03-11T18:52:33-05:00",
        "battery": {
            "voltage": 1.28,
            "string": "normal"
        },
        "reservoir": 51.35,
        "status": {
            "status": "normal",
            "bolusing": false,
            "suspended": false,
            "timestamp": "2019-03-11T23:52:41.365Z"
        }
    },
    "uploader": {},
    "created_at": "2019-03-11T23:52:58.291Z"
}

Good

    "pump": {
        "clock": "2019-03-11T18:50:37-05:00",
        "battery": {
            "voltage": 1.28,
            "string": "normal"
        },
        "reservoir": 51.35,
        "status": {
            "status": "normal",
            "bolusing": false,
            "suspended": false,
            "timestamp": "2019-03-11T23:50:43.197Z"
        }
    },
    "created_at": "2019-03-11T23:52:14.009Z"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions