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

Add support for the sensor API #13

Open
paul121 opened this issue Apr 29, 2019 · 3 comments
Open

Add support for the sensor API #13

paul121 opened this issue Apr 29, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@paul121
Copy link
Member

paul121 commented Apr 29, 2019

Creating an issue so we can talk about adding support for sensors in the future. They are a little different because they use a public/private key auth, not username/password.

Potential features:

  • Add/update/remove sensors
  • Send sensor data
  • Get sensor data
@paul121 paul121 added the enhancement New feature or request label Apr 29, 2019
@mstenta
Copy link
Member

mstenta commented Apr 29, 2019

Add/update/remove sensors

This is partially possible now - but will require some work on the server farmOS code to make it fully possible. You can already create sensor assets, just like any other asset. But you can't set the "sensor type" or add additional type-specific sensor configuration via API currently. That can only be done via the normal farmOS UI.

@mstenta
Copy link
Member

mstenta commented Apr 29, 2019

Another question: should this be added to farmOS.js as well? @jgaehring

I think some of the sensor stuff wouldn't make sense in client-side code (eg: pushing data), but could be useful in server side JS (node.js). Or maybe all of it would be useful. Worth thinking through...

@jgaehring
Copy link
Member

Yea I could see this being useful to a Node application running on a sensor device, or a server running Node. Is there anyone who actually wants to use it that way currently? Idk...

@paul121 paul121 mentioned this issue Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants