AMBIsense: Difference between revisions
From ASAsense Documentation (staging)
No edit summary |
English source text for translation |
||
| Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
== Data formats == | == Data formats == | ||
* as a self explanatory CSV | Within the AMBIsense solution, measurements of the 1/3-octave band spectrum are performed. The results of these measurements can be exported in multiple formats: | ||
* as | |||
** phen1 file: a very restrictive format | * as a self-explanatory CSV table; | ||
** | * as one of the following very simple, yet efficient proprietary binary formats: | ||
** a phen1 file: a very restrictive format that keeps small datasets as small as possible, while maintaining random access on row level; | |||
** an [[ASAsense Binary Table (ABT) format/en|ABT]] file: a binary table format with fast and efficient random access (both on row and column level). | |||
== Instant measurements == | == Instant measurements == | ||
* audio | The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure: | ||
** topic: /instant/<deviceName>/measurements | |||
** payload | * audio measurements (8 messages / s): | ||
** topic: <code>/instant/<deviceName>/measurements</code> | |||
** payload, in msgpack: | |||
*** timestamp: float | *** timestamp: float | ||
*** dBA: float (sound level) | *** dBA: float (sound level) | ||
* classifications (frequency depends on model): | * classifications (frequency depends on the model): | ||
** topic: /instant/<deviceName>/classification/<modelId>/<modelVersion> | ** topic: <code>/instant/<deviceName>/classification/<modelId>/<modelVersion></code> | ||
** payload | ** payload, in msgpack: | ||
*** timestamp: float | *** timestamp: float | ||
*** confidences: float[] for each class | *** confidences: float[] for each class | ||
</translate> | |||
Revision as of 10:22, 14 October 2026
Data formats
Within the AMBIsense solution, measurements of the 1/3-octave band spectrum are performed. The results of these measurements can be exported in multiple formats:
- as a self-explanatory CSV table;
- as one of the following very simple, yet efficient proprietary binary formats:
- a phen1 file: a very restrictive format that keeps small datasets as small as possible, while maintaining random access on row level;
- an ABT file: a binary table format with fast and efficient random access (both on row and column level).
Instant measurements
The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure:
- audio measurements (8 messages / s):
- topic:
/instant/<deviceName>/measurements - payload, in msgpack:
- timestamp: float
- dBA: float (sound level)
- topic:
- classifications (frequency depends on the model):
- topic:
/instant/<deviceName>/classification/<modelId>/<modelVersion> - payload, in msgpack:
- timestamp: float
- confidences: float[] for each class
- topic: