-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement request: Would love to be able to program basal schedules. #67
Comments
Great feature request! Here's a list of all the commands I found:
|
From
|
Looks like bunch of changes will be needed, according to this the profile/schedule is 144 bytes. The protocol itself only handles 64 bytes at a time, so this requires munging the one schedule into several frames and using Again, in |
hmmmm - command number 7 looks kinda interesting......... I wonder if we can use that to set the right mode for the newer pumps........ 87 too |
For basal profile, I suspect the data structure is the same as the history event data structure (as most things tend to be). decoding-carelink/decocare/commands.py Lines 851 to 903 in 6e09604
It appears to be a list of 3 byte tuples:
|
For someone feeling adventurous, you can test new commands by hand, but not sure if these type of commands require different handling by the underlying Something like: mm-send-comm.py ManualCommand 111 --maxRecords 2 --params 40 --params 0 --params 0 Might set a 24 schedule for 1.0 unit... but probably not. |
I just tried that and it's going to be a little more involved than just the don't do thisIf you do this, you will have to remove the stick and plug it back in again to do stuff with an insulin pump over RFusing
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 2L,
'packets.transmit': 2L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 16L,
'packets.transmit': 16L}}
PUMP MODEL:
|
@TC2013 and I were just chatting and he pointed me to this, has anyone looked writing the basal schedule again? What about the other profile settings like sensitivity and carb-ratios. |
2 issues:
|
ok, probably not the highest priority thing, but sounds like it might open up other possibilities |
There are commands to program all kinds of things, solving these issues would unlock those capabilities as well (bolus wizard settings, etc). |
Apparently using ParadigmPAL software, one can make basal changes and upload them to his or her insulin pump. Would love to see if there is a way to add this feature to decocare. If I can be pointed in the right direction, I'm willing to put the hours in.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: