Metric Subscribe Topics
To subscribe to specific read-only metrics topics from the O3, use the format events/metrics/SUBTOPIC and read the Present_Value JSON key. To subscribe to all metrics topics, use events/metrics/#.
| Topic | Description |
| events/metrics/occupantTemperature/mean | Average occupant temperature during previous hour. |
| events/metrics/occupantTemperature/min | Lowest occupant temperature during previous hour. |
| events/metrics/occupantTemperature/max | Highest occupant temperature during previous hour. |
| events/metrics/occupantHumidity/mean | Average occupant humidity during previous hour. |
| events/metrics/occupantHumidity/min | Lowest occupant humidity during previous hour. |
| events/metrics/occupantHumidity/max | Highest occupant humidity during previous hour. |
| events/metrics/lightLevel/mean | Average light level during previous hour. |
| events/metrics/lightLevel/min | Lowest light level during previous hour. |
| events/metrics/lightLevel/max | Highest light level during previous hour. |
| events/metrics/soundLevel/mean | Average sound level during previous hour. |
| events/metrics/soundLevel/min | Lowest sound level during previous hour. |
| events/metrics/soundLevel/max | Highest sound level during previous hour. |
| events/metrics/combinedOccupancy/utilization | Percentage of time the space was occupied during the previous hour. |
Metric Publish Topics
Publish to a metrics topic using the format commands/metrics/SUBTOPIC and write to the data JSON key.
| Topic | Description |
| commands/metrics/clear | Deletes all metrics data in the database. Set to 1 (On) or 0 (Off). Default value is 0 (Off). |
| commands/metrics/compute | Computes metrics now (forces update). Set to 1 (On) or 0 (Off). Default value is 0 (Off). If there isn't enough data, the calculation isn't executed. |
| commands/metrics/history | Retrieves all metrics data (10,080 samples from the past 30 days). Set to 1 (On) or 0 (Off). Default value is 0 (Off). |
Comments
0 comments
Please sign in to leave a comment.