Skip to content
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

New object idea for v3.0 : drying room #254

Open
Maxtille opened this issue Apr 14, 2021 · 4 comments
Open

New object idea for v3.0 : drying room #254

Maxtille opened this issue Apr 14, 2021 · 4 comments

Comments

@Maxtille
Copy link

Hello, i am a growtracker user for a few months now and I work on a project called OpenDryer, it's an arduino project to optimize drying process. It's currently keeping track of RH and temp from three points every ten seconds in a log.txt file on a microSD card. I would find it very usefull to be able to import these data in GrowTracker in a gardenlike object to which I would transfer my harvested plants. This way I could track every parameter from seed to end product in the same place and have a better idea of what to control in priority.
In addition keeping track of the drying and/or conserving process may be interesting to a bunch of users

If you're interested in this idea i can change the structure of the logfile to match your JSON objects but have still no ideao on how to do it.

@7LPdWcaW
Copy link
Owner

I would love to integrate the app with more third party software, and actually was the original intention behind the way the app was structured with the json and location of the data files. Unfortunately, the direction Google is taking Android severely limits the way other apps are able to access and modify data of other apps which makes doing things like this much more difficult.

The current version the app uses a basic JSON structure (as outlined in the README) with 3 separate files

  • plants.json
  • gardens.json
  • schedules.json

All stored in the same location Android/data/me.anon.grow/files/. I am unsure if these files are accessible via third party applications for editing.

For the 3.0 version of the app, the data structure and location has been changed (partly because of this) and is no longer a simple file-based storage but instead a nosql document storage which will be less accessible for end users and third party developers.

I would still like to have the option to integrate, but I think I will need to consider alternative integration methods that are a bit more privacy and Android 10+ compliant

@Maxtille
Copy link
Author

Okey I see, but OpenDryer is not an android application, it's running on a prototyping board Arduino (C++-like flashable microcontroller) . So it would be up to you to implement a function to get data from the SD card when inserted in the phone after drying process is finished ?

@Maxtille
Copy link
Author

Maxtille commented Apr 14, 2021

Temperature and humidity data may be imported through xslx files or something ? Or should OpenDryer directly create json files ?

@7LPdWcaW
Copy link
Owner

hmm the only real way of getting data from an external source into the app currently is to read and save the data into the above file location directly (via a third party application).

An import functionality for importing data from external sources will need to be implemented within the app (a planned feature for 3.0 with importing from the current app version) so would need to conform to which ever spec is created out of the 3.0 version.

Another option would be to create "import template" style code adapters and allow third party developers to write their own and submit a PR to have their device/app's data readable by the app specifically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants