-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB connection string after migration to Mongodb Atlas #9
Comments
Just making sure you are aware that xDrip can read directly from the pis. Moving to write to atlas should be easy.
After this, you should be able to see writes to the mongo-db. Reading from the mongdb by xDrip requires to create a site that will allow to read the DB. Let me know if things work for you. |
Dear @tzachi-dar thank you on the fast response. Yes, I am aware of the xdrip+ capability to read from the pis. I am using it and this software is so useful and great to cover all the house in order to not worry any more about the libre full coverage arround the house. |
If both xDrip and the pis are on the same wifi network you don't need the mongodb. |
Tnx for the info! I have looked following the link NightscoutFoundation/xDrip#1557 you have provided but honestly I can not figure it out what kind of site it would be needed to allow me to extract data from mongodb using xdrip. I will continue reading and trying to figure it out. Thank you very much |
In order to create a sight, you need to follow: But when asked for a git page, replace it with: Once the site is up and running, you need to set two environment variables: |
After migration from MLab sandbox to free MongoDB Atlas database I am having trouble to properly configure db_uri parameter. I am not seeing any uploads have been done.
I have tried with
mongodb+srv://username:[email protected]/dbname?retryWrites=true&w=majority
but unfortunately without sucess.
What is the proper way to configure db_uri ?
Tnx in advance
The text was updated successfully, but these errors were encountered: