-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Description
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:
- Install dev oref0
- Start looping with it
- Wait a few minutes for the first few loops to complete, try refreshing Nightscout
- 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
Labels
No labels