device_monitor_status - bruno-beloff/scs_analysis GitHub Wiki
docs > software repositories > scs_analysis > commands > estate management
The device monitor periodically checks on the availability and health of every air quality monitoring device. The device_monitor_status utility is used to deliver the most recent report for the specified device(s).
The --credentials flag is only required where the user wishes to store multiple identities. Setting the credentials is done interactively using the command line interface.
device_monitor_status.py [-c CREDENTIALS] [-t DEVICE_TAG [-x]] [-i INDENT] [-v]
Options | |
---|---|
-h, --help | show this help message and exit |
-c CREDENTIALS_NAME, --credentials=CREDENTIALS_NAME | the stored credentials to be presented |
-t TAG_FILTER, --tag-filter=TAG_FILTER | the (partial) tag of the device(s) |
-x, --exactly | exact match for tag |
-i INDENT, --indent=INDENT | pretty-print the output with INDENT |
-v, --verbose | report narrative to stderr |
device_monitor_status.py -vi4 -c super -t scs-bgx-570 -x
{ "scs-bgx-570": { "device-tag": "scs-bgx-570", "availability": { "is-ok": true, "since": "2023-01-16T13:45:42Z" }, "data": { "south-coast-science-test/pmx/device/praxis-000570/status": { "is-ok": false, "since": "2021-07-30T11:30:43Z" }, "south-coast-science-test/pmx/loc/570/climate": { "is-ok": false, "since": "2021-07-30T11:45:42Z" }, "south-coast-science-test/pmx/loc/570/particulates": { "is-ok": false, "since": "2021-07-30T12:00:43Z" } }, "power": { "is-ok": true, "since": "2023-01-16T14:15:42Z" }, "uptime": { "period": null } } }
scs_analysis/cognito_user_credentials
scs_analysis/device_monitor