-
Notifications
You must be signed in to change notification settings - Fork 62
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
API for adding log notes #61
Comments
Hi, But there is an alternative solution to have automatically push data to Nomie. More details can be found at: Any questions concerning that plugin I should be able to answer for you. Regards, |
Thanks for the recommendation! |
I found python package that is trying to use HTTP API to couch DB https://github.com/huberf/nomiepy But inspired by this package I tried to reverse how the browser inserts data into couchdb in nomie. I was trying to do the same post request as browser do, and it responds 200! 🥳 But nomie does not show these changes in the timeline or dashboard :-( If anyone could tip me how to insert tracker value with curl request to couch DB - would be extremely cool |
I think this is because the web app only reads from the locally (in-browser) stored data. And it doesn't accept data changes from CouchDB, if I understand the code correctly. I haven't gotten around to testing this yet, but I believe it should be as simple as removing the conditional around calling change listeners. |
Nomie uses CouchDB as a backend, so I'm looking for a way to add log notes through curl. I've tried exploring the CouchDB structure, but I couldn't find a document that stores all logs in the format mentioned in the README.md.
I was trying to explore browser history when I add a log note, but it makes dozen of requests at that time and it is hard to extract the required requests.
It would be helpful to have this feature, especially when multiple trackable data points such as weight, sleep, and walking are collected by smart devices and I want to send them to Nomie automatically. Can someone provide some tips on how to add trackable logs to CouchDB using an HTTP request?
The text was updated successfully, but these errors were encountered: