synergylabs / BuildingDepot

An open source data storage, management, and actuation system for building-related data.
https://buildingdepot.org
Other
13 stars 0 forks source link

Sensor Groups #78

Closed KiithNabaal closed 4 years ago

KiithNabaal commented 5 years ago

Can we elaborate more on how tags work with sensors and sensor groups? In fact, I think it would be super useful to have a short tutorial/how-to showing how to set this up.

yuvrajagarwal commented 5 years ago

We used to have a document that explained how the permissons (which use user groups and sensor groups) work. We should find out where that is, update it and then in fact have a PDF copy (with the date code and which version of BD that it conforms to) in the repository itself. Sudershan or Shreyas can figure this out but this would be useful for many people using BD and building on it.

On Wed, Jun 19, 2019 at 3:12 PM Mike Czapik notifications@github.com wrote:

Can we elaborate more on how tags work with sensors and sensor groups? In fact, I think it would be super useful to have a short tutorial/how-to showing how to set this up.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/synergylabs/BuildingDepot-v3/issues/78?email_source=notifications&email_token=AAN3YSDGZN3PTL6W6QT4FEDP3KAJ7A5CNFSM4HZMRDMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2PJPBA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAN3YSGFPKG4Y574WEXP353P3KAJ7ANCNFSM4HZMRDMA .

--

Yuvraj Agarwal yuvraj.agarwal@gmail.com

Cell : +1-(858)-717-2800

sud335 commented 5 years ago

It's specified in the BuildingDepot documentation on port 80 of your installation. There is a simple example to do the operations which is pretty straight forward. To answer your question: (pasting from the documentation): Sensor Groups are a virtual collection of sensors that are created based on the tags that are specified. The list of sensors that belong to a SensorGroup can be changed by modifying the tags attached to this SensorGroup. All sensors having the current tags will fall under this SensorGroup automatically for any subsequent permission operations. Sensor Groups: https://bd-test.andrew.cmu.edu/api/CentralService/sensorgroup.html User Groups: https://bd-test.andrew.cmu.edu/api/CentralService/usergroup.html Permission: https://bd-test.andrew.cmu.edu/api/CentralService/permission.html If you are looking more into how it is implemented you may have to look at the code. If it is still unclear, let us know. specified documentation let us know how to update it.