POCS
POCS copied to clipboard
Create Unit registration script
A script should be run from the computer hosting the unit that:
- Generates a unique
PAN_ID
(e.g.PAN001
). - Stores basic config (location, name) in datastore
Unit:PAN_ID
key. This will be used by a website that reports on units and will also act as root parent key for observations. - Generates a service account key as json file and saves on computer (
$PANDIR/.key/
). - Stores
PAN_ID
inpocs_local.yaml
and set env variable.
Related https://github.com/panoptes/panoptes-tutorials/issues/48
Some of this work has gone into the various pocs cli PRs.
#1214 #1220 #1122 #1162 (and more)
Most of this has been done by other PRs. Please open a new PR with specific information as needed.