cd ~/src/oref0 && git checkout tiny-basal-eSMB && git pull
I get error: pathspec 'tiny-basal-eSMB' did not match any file(s) known to git.
What am I doing wrong here?
git pull
before running the first command. I'm not sure why, but that's what google told me and it worked, so I'll go with that.
git pull
runs a git fetch
which pulls new branches down from the server.
git pull
did something like that. Just don't remember having to do that before. I guess because this is an entirely new branch?
maxSMBBasalMinutes=20
for the first days when switch from bilinear to rapid-acting curve
I was continuously getting the error:
"Could not get subg_rfspy state or version. Have you got the right port/device and radio_type?"
After doing all of the troubleshooting steps with no relief, I ended up flashing the edison again and starting from scratch.
Still didn't work.
I replaced the explorer board with a new one, and voila. It works.
So that error can indicate bad hardware, so if you are pulling your hair out with that error, you might try a new explorer board.
The only odd thing - when I replaced the explorer board, I expected my MAC address to change, but it didn't. Not sure if the MAC is generated and not an actual hardware address, but had me scratching my head...
Running oref0-autotune --dir=/root/myopenaps --ns-host=https://mynightscout.azurewebsites.net --start-date=2017-10-01 --end-date=2017-10-20
Grabbing NIGHTSCOUT treatments.json and entries/sgv.json for date range...
Query: https://mynightscout.azurewebsites.net find%5Bdate%5D%5B%24gte%5D=1506834000000&find%5Bdate%5D%5B%24lte%5D=1506920400000&count=1000
-rw-r--r-- 1 root root 994 Oct 21 08:45 ns-entries.2017-10-01.json
Query: https://mynightscout.azurewebsites.net/find%5Bcreated_at%5D%5B%24gte%5D=2017-09-30T06:00-0500&find%5Bcreated_at%5D%5B%24lte%5D=2017-10-02T12:00-0500
-rw-r--r-- 1 root root 39761 Oct 21 08:45 ns-treatments.2017-10-01.json
oref0-autotune-prep ns-treatments.2017-10-01.json profile.json ns-entries.2017-10-01.json profile.pump.json > autotune.2017-10-01.json
/root/src/oref0/lib/autotune-prep/categorize.js:22
var glucoseData = opts.glucose.map(function prepGlucose (obj) {
^
TypeError: Object #<Object> has no method 'map'
at categorizeBGDatums (/root/src/oref0/lib/autotune-prep/categorize.js:22:40)
at generate (/root/src/oref0/lib/autotune-prep/index.js:22:30)
at Object.<anonymous> (/root/src/oref0/bin/oref0-autotune-prep.js:105:27)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
Could not run oref0-autotune-prep ns-treatments.2017-10-01.json profile.json ns-entries.2017-10-01.json
ns-entries.2017-10-01.json
has been downloaded ok
less ~/myopenaps/autotune/ns-entries.2017-10-01.json
{
"error": {
"message": "ObjectID is not defined",
"stack": "ReferenceError: ObjectID is not defined\n at D:\\home\\site\\wwwroot\\lib\\entries.js:149:42\n at use_collection (D:\\home\\site\\wwwroot\\lib\\storage.js:45:7)\n at Function.getEntry (D:\\home\\site\\wwwroot\\lib\\entries.js:145:7)\n at D:\\home\\site\\wwwroot\\lib\\api\\entries\\index.js:148:17\n at Layer.handle [as handle_request] (D:\\home\\site\\wwwroot\\node_modules\\express\\lib\\router\\layer.js:82:5)\n at next (D:\\home\\site\\wwwroot\\node_modules\\express\\lib\\router\\route.js:110:13)\n at Route.dispatch (D:\\home\\site\\wwwroot\\node_modules\\express\\lib\\router\\route.js:91:3)\n at Layer.handle [as handle_request] (D:\\home\\site\\wwwroot\\node_modules\\express\\lib\\router\\layer.js:82:5)\n at D:\\home\\site\\wwwroot\\node_modules\\express\\lib\\router\\index.js:267:22\n at param (D:\\home\\site\\wwwroot\\node_modules\\express\\lib\\router\\index.js:340:14)"
}
}
less ~/myopenaps/autotune/ns-entries.2017-10-01.json
echo $NIGHTSCOUT_HOST
has the same ns url
~/myopens/oref0-runagain.sh
and rerun that script to reinstall
echo $NIGHTSCOUT_HOST
had the correct URL
oref0-autotune --dir=/root/myopenaps --ns-host=https://mynightscout.azurewebsites.net
_> "message": "The _id field cannot be changed from {_id: ObjectId('59ea0951ac9277f77de06c72')} to {_id: \"59ea0951ac9277f77de06c72\"}.",
morgan at enhancedradio.com
(i also see mails to support at enhancedradio.com
)
maxSMBBasalMinutes
because it's clear what it does and is powerful. Perhaps we should implement enableSMB_with_falling_bg
as a non exposed preference in preference.json
and let it be only set it default to true if the all other enableSMB's are set to true. Docs now suggest "You may want to experiment with turning only one of them on at a time so you can closely observe the behavior (via both Nightscout and pump-loop.log) in the enabled situation." .
enableSMB_after_carbs
in order to allow SMBs during falling BG. I think we should focus on identifying why OpenAPS wrongly gave insulin, be it as SMB or as high temp. An option is fine, but it should not be default or conditional.
touch
on ns-glucose.json
, but can't find it in the branches / PR's anymore
ccprog
to reflash the radio chip on the Explorer Boards? We have 2 Explorer Boards, both less than 3 months old, and both had to be reflashed twice. Is that normal?
maxSMBBasalMinutes
to 20 before my ISF/CSF/DIA was tuned.
offline
branch.
#needmorehands #andhoursinaday