nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
725 stars 1.76k forks source link

NSClient Dev-l not syncing on profile switch cancelation #1772

Closed bchris21 closed 2 years ago

bchris21 commented 2 years ago

Version: Dev-l (on both AAPS and NSClient)

Issue Description:

Logs attached.

NSClient
Screenshot_20220526_074339.jpg

Screenshot_20220526_074451_info.nightscout.nsclient.jpg

AAPS
Screenshot_20220526_085655.jpg

Screenshot_20220526_085706.jpg

AndroidAPS_LOG_1653543930691.log.zip

AndroidAPS_LOG_1653543910211.log.zip

MilosKozak commented 2 years ago

do you use dev branch of NS? there is a bug in master

MilosKozak commented 2 years ago

i tested all described scenarios and it's working like expected. I believe it's NS in your case

bchris21 commented 2 years ago

Yes Milos. Maybe it's related with with issue #1743 too https://github.com/nightscout/AndroidAPS/issues/1743.

How can I use Dev in NS? Rebuild in Heroku using Dev branch? Will I keep my NS URL? (That's my only concern actually).

Thanks

swissalpine commented 2 years ago

Yes. Deploy dev branch. Your variables/settings stays untouched.

bchris21 commented 2 years ago

@swissalpine thanks a lot.

Nightscout updated in Heroku. Just to confirm my actions:

1) I disconnected and reconnected my fork and changed branch to Dev image

2) Deployed successfully image

image

Question:
How can I confirm that I have Dev version in NS and not the Master? As far as I remember version was the same before using Master. Restarted All Dynos and refreshed NS page.
image

I tried to send a TBR with NSClient (https://github.com/nightscout/AndroidAPS/issues/1743) but still is not passed.

Thanks

MilosKozak commented 2 years ago

tbr cannot be send over NS. It must come from pump

bchris21 commented 2 years ago

Temp Target I am sorry.

Also tried carb entry and bolus (record only) but didn't work.

Just tried with my wife's phone and all features work.

I have a Huawei P30 Pro while she has a Huawei P30. Same Dev-l versions installed on both phones.

I believe it's phone issue. I would like to make a clean installation of NSClient on my phone. Shall I Reset Database on NSClient? Will I lose any data from AAPS or NS or just local data? Can I simply uninstall and reinstall without recovering a settings backup?

Thanks

bchris21 commented 2 years ago

Issue fixed.

Built and installed NSClient2 which works fine.

Apparently something was corrupted on previous installation.

Again thanks for your support.