Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 2019 15:51
    xen0n starred openaps/oref0
  • Jan 31 2019 15:12
    cclauss opened #1191
  • Jan 31 2019 15:09
    cclauss edited #1190
  • Jan 31 2019 15:08
    cclauss edited #1189
  • Jan 31 2019 15:07
    cclauss edited #1190
  • Jan 31 2019 15:07
    cclauss opened #1190
  • Jan 31 2019 15:00
    cclauss synchronize #1189
  • Jan 31 2019 14:52
    cclauss opened #1189
  • Jan 31 2019 14:10
  • Jan 31 2019 14:06
    Owaisaaa starred openaps/docs
  • Jan 31 2019 12:20
    cclauss synchronize #22
  • Jan 31 2019 12:16
    cclauss opened #22
  • Jan 31 2019 12:11
    cclauss edited #21
  • Jan 31 2019 12:09
    cclauss opened #21
  • Jan 31 2019 11:31
    tuzoenduro commented #1406
  • Jan 31 2019 11:25
    cclauss opened #140
  • Jan 30 2019 05:53
  • Jan 29 2019 16:03
    tzachi-dar commented #1406
  • Jan 29 2019 14:46
    rostag starred openaps/oref0
  • Jan 27 2019 22:06
    PieterGit synchronize #1176
Dave Acklam
@dcacklam
@tzachi-dar just use a 6000mah battery
Caleb Seekell
@jauntySerpent
My backup rig isn't working at the moment so I'm unable to test a completely fresh install, but there appears to be issues with the current master branch of oref0 (0.7.0) and token-based NS authentication. I'm finally getting around to updating my rig with token auth instead of api_secret, but I've been troubleshooting an issue for the past several weeks where the rig does not include the token in several GET requests, resulting in an permissions error and prevents the rig from downloading BG data.
Jul 21 07:00:07 ********* heroku/router at=info method=GET path="/api/v1/entries/sgv.json?count=288" host=*********.herokuapp.com request_id=a57e9b7b-cd93-4c10-8903-f73eb9f70d52 fwd="*********" dyno=web.1 connect=0ms service=5ms status=401 bytes=560 protocol=https
Jul 21 07:00:07 ********* app/web.1 Resolving secret/token to permissions failed
Jul 21 07:00:12 ********* heroku/router at=info method=GET path="/api/v1/entries/sgv.json?count=12" host=*********.herokuapp.com request_id=ee5eef71-627b-4f36-81fd-2eefeb116d9b fwd="*********" dyno=web.1 connect=0ms service=473ms status=401 bytes=560 protocol=https
Jul 21 07:00:12 ********* app/web.1 Resolving secret/token to permissions failed
The current version of dev does not have this problem, and I finally found this commit which seems to describe the issue perfectly openaps/oref0@89a90b8 . Can anyone else confirm whether they are seeing this issue?
Dana Lewis
@danamlewis

I am not sure if that’s the only thing broken in master but you’re not the only one who needed to switch to dev recently and found it resolved the/an issue.

If we can get some volunteers to test some fresh installs and report back (here or in the open PR of dev to master), we could do a release (dev to master) and get master back to a working state.

old-square-eyes
@old-square-eyes
How do I disable Autotune, but leave it to run each night on my rig?
I just want to manually observe recommendations
I keep dropping low and it keeps recommending more insulin. I can't figure out why.
I'm entering carbs.
Constantly getting negative IOB
image.png
old-square-eyes
@old-square-eyes
image.png
Do I just change "enable": " autotune ", to "enable": "",?
In prefs
Caleb Seekell
@jauntySerpent
@danamlewis I am happy to test as soon as I get my backup rig running.
old-square-eyes
@old-square-eyes
Or do I delete the whole line
refields
@refields
For a few days now there has been no activity on my nightscout
image.png
image.png
I didnt change anything in nightscout settings, Dexcom Share is on with connectivity, and Heroku plug size is
58.2 MiB of 500 MiB. Anyone know what else I can try or check?
Eric
@ecc1
@refields have you checked if your mongodb is full?
is your openaps successfully uploading to NS? what do the logs say?
refields
@refields
@ecc1 it looks like my mongodb is full
image.png
how do I clear it to zero?
refields
@refields
openaps is creating new logs in paper trail but not looping
Most recent logs:
image.png
refields
@refields
@ecc1 I dont think those instructions apply anymore since the mLab migration to Atlas which happened in November 2020. Are there instructions for doing this in the Atlas UI?
Eric
@ecc1
@refields I found this using Google; you can too. I don't use a hosted mongo service, so YMMV: https://nightscout.github.io/troubleshoot/troublehoot/#database-full
refields
@refields
@ecc1 this worked. thank you again. I promise I did try Google initially, and unsuccessfully. I think I even had to do this once before. The problem is life goes on fine for 6-12 months with the CGM-rig working properly and then something goes awry and I forget all the steps. Really appreciate it.
Eric
@ecc1
@refields glad it worked. I have a repeating 6 month reminder on my calendar to do this, btw
tzachi-dar
@tzachi-dar
@ecc1 @refields openaps/oref0#1232 has a script that deletes old NS entries every night. Actually it does not delete them but rather copy them locally. Fill free to use it.
Foxy7
@Foxy7
@kellyisworking thanks for the link.
refields
@refields
@ecc1 thats a great idea will do the same. Thank you @tzachi-dar
Milan
@milanlakhani
Hi all :) we are trying to collect tracing data on an OpenAPS Raspberry Pi rig for our voluntary safety project, we were wondering if anyone here would have time to send us some trace logs of their rig while their loop is running if we send them instructions on how to do this? Also if anyone would like to look at our safety analysis so far? :)
garetis
@garetis
So I bought a Pi4 to upgrade from the Pi0. The PiHAT doesn't seem to fit as nicely onto the 4 as the zero. I looked through the docs. I don't see anything that explicitly says it won't work, but is that a compatible setup or do I need to go and get another bonnet instead?
Sarah Park
@iamgopark

Hi, I have been trying to install OpenAPS on Pi Hat, Medtronic 722 (which serves as CGM and Pump) and got stuck in error messages for several weeks, Profile invalid, Couldn't refresh_old_profile, etc. The signal between Pi Hat and Pump seems to be strong, and the setup retrieves the data OK and updates Nightscout with BG, but it does not generate any treatment files (no files within enact). I followed Dave Cole's note (http://www.dc9.com/openapsonrpizero/InstallingOpenAPSMasteronRPIZeroW.html). I also tried to install the Raspberry Pi Desktop version, but nothing seems to work. Any suggestions would be appreciated.

'code'
Starting oref0-pump-loop at Sun 1 Aug 03:54:07 CDT 2021 with 2 second wait_for_silence:
MDT CGM configured; not waiting
Listening for 2s: .No interfering pump comms detected from other rigs (this is a good thing!)
Continuing oref0-pump-loop at Sun 1 Aug 03:54:11 CDT 2021
Preflight OK.
Attempting to retrieve MDT CGM data from pump
MDT CGM data retrieved
Old settings: pump profile refresh unsuccessful; trying again on next loop
Invalid carb_ratios.json
Profile invalid: -rw-r--r-- 1 root root 596 Aug 1 02:55 settings/profile.json
No more radio errors; canceling reboot
pump profile refresh unsuccessful; trying again on next loop
Couldn't refresh_old_profile
oref0-pump-loop failed. pump_loop_completed more than 15m old; waiting for 23 s silence before mmtuning
'code'

Foxy7
@Foxy7
@iamgopark that looks to me like it's not speaking to the pump
try this section
garetis
@garetis
Following up on my thoughts of the PiHAT vs. Bonnet for pairing with my RPi4, it seems that I'm having a similar issue that I was originally having when I purchased the RPi0 and paired it the PiHAT -- the system seems to stop working randomly after a period of time. The LCD screen of the HAT stays illuminated but I'm unable to connect to SSH and all temp basals stop. I/other though before that the Pi0 just wasn't as capable, but it might be the PiHAT that's causing the issue? I'm using 722+G6. Is this something that people are aware of, and any thoughts about which logs I should be checking out to figure it out?
tzachi-dar
@tzachi-dar
@garetis The issue is that there is a line of code that is looking for the battery, and if it is lower than 1% it closes the pi.
You need to find that line and remove it.
Sarah Park
@iamgopark

@Foxy7 Thank you! I ran the script as soon as I came home got the following result - it looks okay to me, but I don't know if I expect something else

~/myopenaps# cd ~/myopenaps && sudo service cron stop && killall -g openaps ; killall-g oref0-pump-loop; oref0-mmtune && sudo service cron start
openaps: no process found
bash /usr/local/bin/oref0-pump-loop
└─status.sh /root/src/openaps-menu/scripts/status.sh
└─status.sh /root/src/openaps-menu/scripts/status.sh
├─sed -n s/."response":\([^}]\)}/\1/p
└─socat -,ignoreeof /root/src/openaps-menu/socket-server.sock
killing bash /usr/local/bin/oref0-pump-loop pid 913 pgid 614 running for 430 seconds
mmtune: "916.700", 3, -20 -- "916.750", 3, -22

@tzachi-dar I have a quick question for you. You mentioned battery, which I do not have in my setup. I wonder if I got the error because of that. Any suggestions?
jaybaron1
@jaybaron1
Do we have the ability to design a diy insulin pump with openaps onboard?
I was thinking about reverse engineering an insulin pump with a raspberry pi or something like that which could control a plunger
jaybaron1
@jaybaron1
Hey @danamlewis, just found out a new layer of compatibility instructions for users of Windows 10: This needs to be installed in addition to the Edison drivers: https://ftdichip.com/wp-content/uploads/2021/02/CDM21228_Setup.zip (see https://ftdichip.com/drivers/ for more detail).
tzachi-dar
@tzachi-dar
@iamgopark on the file oref0\bin\oref0-cron-every-15min.sh you have this line:
sudo ~/src/openaps-menu/scripts/getvoltage.sh | tee ~/myopenaps/monitor/edison-battery.json | jq .battery | awk '{if ($1<2)system("sudo shutdown -h now")}' &