AMBIsense: Difference between revisions
From ASAsense Documentation (staging)
No edit summary |
Marked this version for translation |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Data formats == | <languages/> | ||
<translate> | |||
== Data formats == <!--T:1--> | |||
<!--T:2--> | |||
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: | |||
<!--T:3--> | |||
* 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). | |||
* audio | == Instant measurements == <!--T:4--> | ||
** topic: /instant/<deviceName>/measurements | |||
** payload | <!--T:5--> | ||
The AMBIsense sensors can be configured to send instant measurements to a dedicated MQTT broker. These have the following structure: | |||
<!--T:6--> | |||
* 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> | |||
Latest 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: