Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • May 14 18:04
    stijnbrouwers commented #6602
  • May 14 13:02
    Dragancokan opened #7030
  • May 13 10:10
    RoelStroeve opened #7029
  • May 09 11:06
    IEC69 opened #7028
  • May 09 00:19
    csidrak closed #7027
  • May 09 00:18
    csidrak synchronize #7027
  • May 09 00:16
    csidrak opened #7027
  • May 08 08:41
    psonnera opened #116
  • May 08 06:42
    psonnera closed #115
  • May 08 06:42
    psonnera commented #115
  • May 08 02:29
    bewest commented #115
  • May 07 23:43
    wizi688 opened #7026
  • May 07 21:09
    psonnera commented #115
  • May 07 06:10
    sandraloal commented #7009
  • May 06 19:24
    sulkaharo commented #115
  • May 06 16:21
    jlmgithub commented #115
  • May 06 14:21
    marionbarker commented #115
  • May 06 05:26
    psonnera commented #115
  • May 06 05:21
    Merit123456 closed #7025
  • May 06 05:20
    Merit123456 opened #7025
Now i found out there are 2 collections within my new Database cluster as shown below
the new one is on the top and only 29 MB in size ... the other named as the old database Heroku_9XXXX has 450 something MB. Overall it taps out at 512 and xdrip stopped uploading.
i tried deleting devicestatus in NS-Admin tools and only with deleting data >8 days lead to deletion of devicestatus in the first collection but not the latter
that makes me think that the first one is connected to NS and the second is just taking up space.
Is it safe to delete the second Heroku_9XXXX collection ?
NS has moved to Discord
The easiest way to reduce DB size is to click on the "device status" collection and then the trashcan.
It won't fix any issues you have, but it will remove all records relating to historical battery status etc, which is pretty much irrelevant info.
Gives you room to troubleshoot if you are indeed having space issues.
The collection is recreated on next upload from one of your devices.
Does anyone know how I can access a 7 day / 14 day / 21 day etc time in range value?
based upon my nightscout data?
@renegadeandy under Reports, choose the appropriate time interval and use the "Distribution" report
Aha! @ecc1 - spot on
@ecc1 are you available
Hello, could someone tell me how to export data (into an excel or csv file) from Nightscout?

@esha1701 may not be the only way but I extract via the api, something like

curl -X GET "https://<nightscout-site>/api/v1/entries/sgv?count=20" >output-file

will pull the last 20 readings to a file called output-file.
more details on the api are on your nightscout site at https://<nightscout-site>/api-docs/

please note: most NS discussion has moved to discord at https://discord.gg/zg7CvCQ so you may be better posting there


I just did a git pull to upgrade to the latest of master branch(14.0.7). Then i did a npm install , now when i do npm start It just does :

```[andy@192 cgm-remote-monitor]$ npm start

nightscout@14.0.7 start /home/andy/cgm-remote-monitor
node server.js


it basically just doesn't run anymore...
What version of node does 14.0.7 pre-req?
I wonder if thats the issue, im on 8.16.2
@renegadeandy probably best to ask on the discord channel posted above. but i always use this link which has worked so far. http://nightscout.github.io/pages/update-fork/
@Foxy7 I have asked on discord to no response
i dont use heroku or azure ;)
Hello, I am trying to setup a new nightscout following the documentation for installation. When I deploy from my fork to Heroku, I get the red message : The addon "mongolab" does not exist. Please ensure that the addon is spelled correctly. And the MONGODB_URI is missing from the list of variables. What have I done wrong ??
OK, sorry, it was my fault. I had an old nighscout fork ... from my previous openAPS setting. switching to the latest version solved the problem
does anyone know, for the nightscout v3 api's, do they always require an auth token, even to read something like bg's or devicestatus on an open site?
Patrick Sonnerat
@tynbendad this is an inactive chat, it's been moved to Discord: https://discord.gg/zg7CvCQ
Hi all ! I saw that in the new version the profile editor (with read only) is no longer available if the API secret is not entered. I help others to tune their profiles and it was a good tool to see how the settings are. Is there a way to activate this without telling the API secret?
@Elektrocat this is an inactive chat now. chat has moved over to Discord: https://discord.gg/zg7CvCQ
@Foxy7 Okay - thank you!