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

Changing SensorSpec Frequency #872

Open
kijote0 opened this issue Dec 18, 2024 · 4 comments
Open

Changing SensorSpec Frequency #872

kijote0 opened this issue Dec 18, 2024 · 4 comments
Assignees
Labels
priority MEDIUM Medium priority item question Question about existing features or bugs

Comments

@kijote0
Copy link
Contributor

kijote0 commented Dec 18, 2024

We would like to update our documentation on SensorSpecs, and we were wondering where in the code we can change the frequency of a SensorSpec.

@kijote0 kijote0 added the priority MEDIUM Medium priority item label Dec 18, 2024
@MattMatt27 MattMatt27 added the question Question about existing features or bugs label Dec 18, 2024
@kijote0
Copy link
Contributor Author

kijote0 commented Dec 19, 2024

@jijopulikkottil Looking at #145 and #290, it seems that it is possible to change the sensor frequency calling an API method using cURL with a frequency parameter on the command line: one of the comments references the API section of the docs (https://docs.lamp.digital/api/update-a-sensor); since the docs for the API are currently down, is there any way to find the file for this page of the docs?

@jijopulikkottil
Copy link

As a quick look, I can share a document which is prepared two years before. Let me know its helped you or not!. If not, I can work on this and provide you a working sample tomorrow. mindLAMP2_AddSensorSpec.docx

@kijote0
Copy link
Contributor Author

kijote0 commented Dec 19, 2024

Thank you for sharing this document! I think it might still be helpful to have a working sample to go off of.
Some questions that I have regarding the document you shared:

  1. When adding a Sensor Spec after logging onto api.lamp.digital, is the Sensor Spec added to all studies, or is there a way to specify which studies it should be added to?
  2. Similarly, when updating a Sensor Spec (e.g. to change the frequency at which it collects data), are all Sensor Specs of the same type across all studies updated?

@jijopulikkottil
Copy link

jijopulikkottil commented Dec 20, 2024

  1. All Sensor Specs will be in the system, but after log in, we have to manually add specific sensors to each group or study.
  1. Similarly, when updating a Sensor Spec (e.g. to change the frequency at which it collects data), are all Sensor Specs of the same type across all studies updated?

Yes


I have tried to update the settings of a sensor in staging server as per the doc, but it didn't updated. Need to investigate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority MEDIUM Medium priority item question Question about existing features or bugs
Projects
None yet
Development

No branches or pull requests

4 participants