These are chat archives for nightscout/intend-to-bolus

12th
Aug 2018
kelseyyearick
@kelseyyearick
Aug 12 2018 02:43
image.png
Having trouble adding a second Wifi network to my Rasp PI. I go in through edit-wifi, remove the update_config=1, so it looks like the attached picture. But as soon as I leave the wifi network that I setup the rig on, it will no longer connect to any network, including the original one. What am I missing?
Tim Gunn
@Tornado-Tim
Aug 12 2018 07:08
I needed update_config=1 for my wifi to switch properly, not sure why people are recommending to remove it.....
Wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf is also a good idea to switch WiFi networks.....
kelseyyearick
@kelseyyearick
Aug 12 2018 13:52
Thanks @Tornado-Tim
statuur
@statuur
Aug 12 2018 14:10

Hi, i'me trying to get a Medtronic 640G / Enlite sensor ready for OpenAPS (readonly) with an explorer HAT rig for nightscout. Goal is to use it as a monitor tool for parents with a 2 year old son with TD1.

  • The oref0-setup asks for a six digit serial number.
    The serialnumber on the pump is constructed like this: NG0000000H. I tried the whole number and only the zeven digits. Which number should i use?

  • This is the partial output when tailing the pumploop log:
    Preflight OK.
    Attempting to retrieve MDT CGM data from pump
    Unable to get cgm data from pump

Any suggestions how to get it going?

Dana Lewis
@danamlewis
Aug 12 2018 15:22
@statuur 640 uses different radio and comms. We can't read from it
With an OpenAPS rig.
Scott Leibrand
@scottleibrand
Aug 12 2018 15:27
You would need to set up a separate 640G uploader using the CNL meter to NS. That’s not part of OpenAPS.
statuur
@statuur
Aug 12 2018 16:20
ahh it was afraid of that. Can you point me in the right direction how to use a CNL meter to upload glucose data to NS?
Martin Haeberli
@mhaeberli
Aug 12 2018 16:41
@danamlewis thx!
iValkou
@iValkou
Aug 12 2018 17:44
Hello! openaps-menu stopped working. What could be the reason?
Zach Gohr
@zgohr
Aug 12 2018 17:49
What about it stopped working?
iValkou
@iValkou
Aug 12 2018 17:49
no screen menu at all
black srceen
Jon Cluck
@cluckj
Aug 12 2018 17:52
systemctl status openaps-menu to see what's causing the error?
iValkou
@iValkou
Aug 12 2018 17:55
Снимок экрана 2018-08-12 в 20.55.14.png
Jon Cluck
@cluckj
Aug 12 2018 17:56
systemctl restart openaps-menu
iValkou
@iValkou
Aug 12 2018 17:58
empty output
Jon Cluck
@cluckj
Aug 12 2018 17:59
Then check the status again...
iValkou
@iValkou
Aug 12 2018 18:00
Снимок экрана 2018-08-12 в 21.00.09.png
Снимок экрана 2018-08-12 в 21.00.25.png
Jon Cluck
@cluckj
Aug 12 2018 18:01
It may also help to check the longer log for errors with journalctl -u openaps-menu
iValkou
@iValkou
Aug 12 2018 18:02
Снимок экрана 2018-08-12 в 21.02.36.png
I/O Error
Jon Cluck
@cluckj
Aug 12 2018 18:07
Those are okay
Have you rebooted since the screen stopped displaying?
iValkou
@iValkou
Aug 12 2018 18:09
It worked until I reflash the flash card with a new openaps installation
How can I check is the hardware ok?
Zach Gohr
@zgohr
Aug 12 2018 18:34
Mainly if the hardware wasn’t okay, you’d see Unknown system error -121 in those logs - that would mean openaps-menu isn’t able to write to the screen at all. I’m sure the hardware could have some other issue, but I don’t know how you’d be able to tell other than it just not display anything
iValkou
@iValkou
Aug 12 2018 18:40
It looks like hardware problem. I have 2 Pi rigs, I just changed sdcards, and the first screen is still black, but the 2nd rig's screen works (with the 1st card).
Jon Cluck
@cluckj
Aug 12 2018 18:48
Oh, if you just reinstalled, i2c may not be enabled, can you check on that with raspi-config?
iValkou
@iValkou
Aug 12 2018 18:51
i2c is enabled
/boot/config.txt contains dtparam=i2c1=on,i2c1_baudrate=400000
Jerry Jarreau
@JerryJarreau_twitter
Aug 12 2018 18:54
is the dexcom g6 compatible with and old paradigm 522 pump?
Jon Cluck
@cluckj
Aug 12 2018 18:55
dtparam=i2c_arm=onalso?
iValkou
@iValkou
Aug 12 2018 18:56
yes
another rig’s screen works with this flash card
Jon Cluck
@cluckj
Aug 12 2018 18:58
Want to switch the HAT over to the other pi?
The screen being cracked usually produces a bunch of errors like Zach was saying
iValkou
@iValkou
Aug 12 2018 19:01
i will try
Jon Cluck
@cluckj
Aug 12 2018 19:02
Was it reporting battery voltage?
iValkou
@iValkou
Aug 12 2018 19:04
How can I check it?
aw!!!
IMAGE 2018-08-12 22:05:17.jpg
Jon Cluck
@cluckj
Aug 12 2018 19:06
Hah did that do it?
iValkou
@iValkou
Aug 12 2018 19:06
and now it is black
I just touched it by a finger
Jon Cluck
@cluckj
Aug 12 2018 19:10
Hm
That does sound hardware related, like something is loose
iValkou
@iValkou
Aug 12 2018 19:17
Jon Cluck
@cluckj
Aug 12 2018 19:19
Yep
Send a message to ERD?
iValkou
@iValkou
Aug 12 2018 19:21
ок, I will send, but it's like I broke it.
Jon Cluck
@cluckj
Aug 12 2018 20:36
now that I'm back at my computer, it looks like that red area has some cracks in it
PieterGit
@PieterGit
Aug 12 2018 21:16
just installed fresh 0.7.0 dev rig, but see no cgm. cgm log says
Sun Aug 12 23:16:02 CEST 2018
[Errno 2] No such file or directory
openaps: 'monitor-cgm' is not an openaps command. See 'openaps --help'.
`` --cgm=G4-upload. any idea what might be wrong?
PieterGit
@PieterGit
Aug 12 2018 21:54
now trying cgm=G4-go. G4-upload on dev seems broken