Comments (6)
I have a blood pressure monitor at hand which gives
- timestamp
- timezone
- systole (mmHg)
- diastole (mmHg)
- pulse (bpm)
- arhythmic heartbeats detected?
- cuff placement control ("Manschettensitzkontrolle")
- name of device (e.g. "RS3 Intelli IT")
These values can be exported as CSV from the app. I would like to be able to import these into Nextcloud for further analysis/monitoring. Is there anything where I could help to make it happen? What would be a good start to setup a development environment and to implement this?
Hi,
a very basic solution could be to import the values direct into the database. Depending on your environment that could be an easy job -> phpMyAdmin etc.
If there are fields missing, you can put it into the comment or dive into development to add the field.
If you are familiar with that topic you could make an import section for data, but that is a bit tricky!
You ask for a good start for a setup. Like for every app, you should install all dependencies, see https://docs.nextcloud.com/server/21/developer_manual/getting_started/devenv.html.
Here you need specially nodejs and npm. The frontend is preprocessed with vuejs.
Clone the repo and try to install all npm dependencies with "npm install".
After that you should be able to precompile the packenges with "npm run watch".
For me it was a hard beginning until this nodejs thing is running. So feel free to ask, I will try to help you...
from health.
Thanks for that proposal. I added it to the first big milestone.
from health.
Are there any IOT-devices that could automatically forward the results?
from health.
I have a blood pressure monitor at hand which gives
- timestamp
- timezone
- systole (mmHg)
- diastole (mmHg)
- pulse (bpm)
- arhythmic heartbeats detected?
- cuff placement control ("Manschettensitzkontrolle")
- name of device (e.g. "RS3 Intelli IT")
These values can be exported as CSV from the app. I would like to be able to import these into Nextcloud for further analysis/monitoring. Is there anything where I could help to make it happen? What would be a good start to setup a development environment and to implement this?
from health.
I have Nextcloud running and checked out version 21d18f0 of the health app into the apps
folder. npm install
gave a couple of warnings, but no errors and npm run watch
looked also good.
However, when I tried to enable the Health app from the settings, this is what I got:
"Return value of OCA\\Health\\Migration\\Version0123Date20201028200000::extendPersons() must be of the type bool, none returned"
full error:
{"reqId":"eQ4Cic2XS5GAqPzBEGAz","level":3,"time":"2021-04-13T23:23:04+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"index","method":"POST","url":"/nextcloud/settings/apps/enable","message":{"Exception":"Exception","Message":"Return value of OCA\\Health\\Migration\\Version0123Date20201028200000::extendPersons() must be of the type bool, none returned","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":159,"Previous":{"Exception":"TypeError","Message":"Return value of OCA\\Health\\Migration\\Version0123Date20201028200000::extendPersons() must be of the type bool, none returned","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/health/lib/Migration/Version0123Date20201028200000.php","line":44,"function":"extendPersons","class":"OCA\\Health\\Migration\\Version0123Date20201028200000","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/MigrationService.php","line":455,"function":"changeSchema","class":"OCA\\Health\\Migration\\Version0123Date20201028200000","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/MigrationService.php","line":418,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Installer.php","line":163,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":448,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/health/lib/Migration/Version0123Date20201028200000.php","Line":96},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0","version":"21.0.1.1"}
from health.
well okay, the node stuff is running. Very good.
The version you cloned is still ongoing (from the last evening:)), but install should be possible.
The error is in a former migration step, I have to check that.
Can you tell me your php and db product and version please?
from health.
Related Issues (20)
- nextcloud - health - medication
- Adding Blood sugar monitor feature
- Feature Request: Import from *** HOT 1
- Input weight in pounds, display in kilograms
- Feature request: Variable number of status values
- Exception: App with id health has invalid signature HOT 4
- Wrong version on Nextcloud app store? HOT 9
- Upload files and foldera ( pdf, dicom, )
- Open, and draw chart (and maybe save too) of an external .csv or .json file HOT 1
- Track illness
- Additional field for a Food Diary
- Incluir analíticas de sangre
- [bug] Newlines Not Respected
- [feat] Granular Workout Tracking
- Is it possible to add a kcal tracker in the app?
- Bad colors in dark theme HOT 1
- Issue with Accessing String Offset on getParticipant() Return Value in PermissionHelperService
- [bug] Weight API: `bodyfat` and `measurement` are set to `0` on update HOT 1
- [bug] Weight API: `lastupdateTime` is not updated on update
- BuyMeACoffee link is wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from health.