Comments (5)
We'll be basing the snippet generator off this .ino file:
https://github.com/EnviroDIY/ModularSensors/blob/master/examples/logging_to_EnviroDIY/logging_to_EnviroDIY.ino
from odm2datasharingportal.
@fryarludwig, please let me know if there's anything in that .ino that you don't understand!
from odm2datasharingportal.
As of my latest push, the devices page creates code that has each of the device's and sensors' UUIDs (see screenshot below). This is far from a full .ino file generator, but there are enough challenges (pins used, calibration values, header includes, and sensor initialization) that reliably generating full files would optimistically take about a week.
To generate the full .ino file, we would need to gather all of the sensor class names and constructors from the sensor repository, know which sensors require which pins and which calibration values (we could leave these blank for the user to fill in), and assume serial port details. We would also need a way to handle new sensors that are added after the release of this tool. There would still be a lot of values for the user to fill in, but it may save enough time to be useful. What's the group consensus on this? (We could also wait on the full .ino file generator for a later release, if there are higher priorities right now)
Edit: The UUIDs in the screenshot are not the actual values and won't work.
from odm2datasharingportal.
@fryarludwig - rather than displaying the code on the page, let's add a button that opens a modal window.
@SRGDamia1 and @aufdenkampe - I think we probably need some feedback from you guys on this.
from odm2datasharingportal.
@fryarludwig, thanks for all this hard work! What you just showed looks like a great help, and I'm leaning toward releasing the next version based on just generating the code snippets with the UUIDs and leaving the full .ino generation for a later release, because, as you point out, @SRGDamia1 and I will need to do some work to provide additional information about the pin configurations for each sensor, etc.
I also agree that there may be some higher priority issues to work on, which you could do in parallel to the our work.
Let's meet this week to discuss next steps.
from odm2datasharingportal.
Related Issues (20)
- Creation of a visual output for StreamWatch sampling event HOT 5
- Anchor Link for StreamWatch program location HOT 3
- Batch upload protocol extension HOT 7
- Performance enhancement of CSV download endpoint. HOT 1
- Unable to delete leaf pack experiment from details page HOT 1
- POST to monitormywatershed.org broken HOT 6
- Create obvious path for users to change their own password
- Create path for users to transfer station ownership
- Characterization POSTs against MMW server 2023 May HOT 4
- MMW site down for viewing graphs HOT 1
- create new site Server Error 500 hurrah still created HOT 7
- Inconsistent display of multiple datapoints at one timestamp
- potential db compression settings? HOT 1
- Fix Browse Maps red-green icons for color-blind HOT 1
- Characterization POSTs from 2023 July wrt to MMW
- Users unable to create new or update site notifications HOT 1
- Revisions to Home Page HOT 1
- StreamWatch Schools Updates to Browse Sites HOT 3
- Updates to StreamWatch Assessment Forms HOT 2
- StreamWatch Schools Marcoinvertebrate Forms
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 odm2datasharingportal.